ckelner / datadog-ansible-ms-sql

Datadog + Ansible for Windows Servers running MS SQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

THIS IS A WORK IN PROGRESS - DOES NOT WORK AT THIS TIME

datadog-ansible-ms-sql

Datadog + Ansible for Windows Servers running MS SQL.

Provision

Architecture

arch

Ansible

Target Servers

Be sure to prep windows servers for Ansible by following these instructions.

Credentials

Copy group_vars/tmobile-manual.yml.example to group_vars/tmobile-manual.yml and fill in the necessary credentials.

Inventory

Create an inventory file locally (e.g. ./inventory which has been ignored in .gitignore [server ips could be commited to SCM if so desired if working in a private setting with a team larger than one]) and use it with the -i <inventory-path> when you run ansible, or update /etc/ansible/hosts on your machine. File should contain something akin to:

[tmobile-manual]
<ip/DNS>
<ip/DNS>
...

Test the connectivity to these servers: ansible <inventory-group-name> -i <inventory-file> -m win_ping which should result in something like:

<ip-address> | SUCCESS => {
    "changed": false,
    "ping": "pong"
}
<ip-address> | SUCCESS => {
    "changed": false,
    "ping": "pong"
}

SQL Server

Failover: https://docs.aws.amazon.com/quickstart/latest/sql/step4.html

Generate Load

There's a few scripts in the repo to do random things too. #TODO

Links

About

Datadog + Ansible for Windows Servers running MS SQL

License:MIT License


Languages

Language:PowerShell 47.2%Language:PLSQL 45.2%Language:Python 7.6%