nagarjuna8686 / appd-ansible-playbooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appdynamics Ansible Toolkit

Ansible playbooks to install and configure Appdynamics machine agent and java agent. Current ‘use cases’ for these playbooks are:

  • configure machine and java agents while conducting a PoV
  • configure agents for a quick PS engagement, when the engineer don’t have time to fully engage the customer’s DevOps teams
  • share the playbooks with customers; so that they can extend it to their needs and customize it for their individual requirements

Getting Started

These instructions will help you with setting up Ansible on your local desktop/laptop.

Prerequisites

sudo xcode-select --install
sudo xcode-select -p
sudo xcodebuild -license

Installing

sudo easy_install pip
sudo -H pip install ansible

ansible --version ansible 2.3.2.0 config file = configured module search path = Default w/o overrides python version = 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]

Configure Ansible

By default, Ansible uses password-less SSH to communicate with remote systems. Authentication is done using server keys. Each host needs to have a server key and ansible master host needs to be in the authenticated server list on each target hosts.

Refer to 'key based authentication' and SSH configuration specifics, before using the ansible toolkit. https://robferguson.org/blog/2014/04/10/installing-ghost-step-2/#keybasedauthentication https://robferguson.org/blog/2014/04/10/installing-ghost-step-2/#createasshconfigfile

Ansible Toolkit

AppDynamics Ansible toolkit consists of basic roles to install and configure machine agent and java agent modules. Currently, machine agent is not configured as service. Java agent can be configured to report to a specific controller. And application specific configuration are specified as JVM startup arguments.

###Roles:

configureHost - Setup and update the host with necessary software

install-machineagent - Installs the machine agent files

start-machineagent - Restarts the machine agent

install-javaagent - Installs the java agent files

configure-javaagent - Configures the java agent to report to a specified controller

Contributing

Please feel free to add yourself as contributor to make changes or additions.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Srikar Achanta - Initial work - sachanta

See also the list of contributors who participated in this project.

License

Acknowledgments

  • Original contribution from Thiago Margo

About


Languages

Language:Ruby 91.6%Language:Shell 8.4%