caapm
Version information
This version is compatible with:
- Puppet Enterprise >= 3.7.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'Ecetera-caapm', '1.0.3'
Learn more about managing modules with a PuppetfileDocumentation
#CA Application Performance Management (APM) Module
####Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Installation and Setup
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- Release Notes - Notes on the most recent updates to the module
##Overview This CA APM module manages both CA APM Workstation and Enterprise Managers on Windows, Redhat, AIX, and Solaris.
This module does not configure firewall rules. Firewall rules will need to be configured separately in order to allow for correct operation of CA APM components. Additionally, this module does not supply CA APM installation media. Installation media will need to be acquired separately, and the module configured to use it.
Released under the terms of Apache 2 License.
##Module Description The CA APM module manages both the CA APM Workstation and Enterprise Managers. It will use configuration defaults on most occasions but may require some explicit configuration via heira or passed parameters.
The module attempts to make installation and management of a CA APM components through Puppet. It lso provides a means to manage CA APM Enterprise Manager configuration.
Configuration of nodes can also be defined using [Puppet Roles and Profiles] (http://www.craigdunn.org/2012/05/239/)
##Limitations For supported OS's refer to [CA APM Compatibility Guide] (http://www.ca.com/us/support/ca-support-online/product-content/status/compatibility-matrix/application-performance-management-compatibility-guide.aspx) and [Puppet Enterprise System Requirements] (https://docs.puppetlabs.com/pe/latest/install_system_requirements.html#operating-system)
##Installation and Setup To begin using this module, use the Puppet Module Tool (PMT) from the command line to install this module:
puppet module install Ecetera-caapm
This will place the module into your primary module path if you do not utilize the --target-dir directive.
Once the module is in place, there is just a little setup needed.
First, you will need to place your downloaded CA APM installers into the files directory, <module_path>/caapm/files/. The files must be placed according to directory structure example given below.
The expected directory structure is:
-- caapm
|-- files
| |-- ${version}
| | |-- ca-eula.txt
| | |-- eula.txt
| | |-- introscope${version}linuxAMD64.bin
| | |-- introscope${version}windowsAMD64.exe
| | |-- IntroscopeWorkstation${version}windows.exe
| | |-- osgiPackages.v${version}.unix.tar
| | `-- osgiPackages.v${version}.windows.zip
| `-- license
| `-- ${ipaddress}.em.lic
`-- templates
`-- ${version}
`-- EnterpriseManager.ResponseFile.txt
`-- Workstation.ResponseFile.txt
##Beginning with CA APM
To install the CA APM Workstation:
caapm::workstation {'apmws':
version => "${version}",
user_install_dir => "D:/Apps/CA/APM/Introscope${version}/",
}
To install the CA APM Enterprise Manager (Standalone) with default settings:
caapm::em {'win_standalone':
version => "${version}",
features => 'Enterprise Manager,WebView,Database',
clusterEM => false,
user_install_dir => "C:/Ecetera/Introscope${version}/",
txnTraceDir => 'C:/Ecetera/traces',
smartstor_dir => 'C:/Ecetera/smartstor',
threaddump_dir => 'C:/Ecetera/threaddumps',
emLaxNlJavaOptionAdditional => '-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dorg.owasp.esapi.resources=./config/esapi',
database => 'postgres',
postgres_dir => 'C:/Ecetera/PostgreSQL/',
config_em_as_service => true,
config_wv_as_service => true,
owner => 'Administrator',
group => 'Users'
}
To install the CA APM Database (PostgreSQL) on Windows:
caapm::database { 'apmdb':
version => "${version}",
user_install_dir => "/opt/caapm/Introscope${version}/",
database => 'postgres',
postgres_dir => '/opt/caapm/PostgreSQL/',
owner => 'postgres',
group => 'postgres',
}
To install the CA APM Enterprise Manager as a Collector role:
class { "caapm::role::collector":}
##Basic management
Disable the Introscope Enterprise Manager service:
class { "caapm::em ":}
ensure => "stopped",
}
##Limitations
This module was developed for use on *nix puppet master with Windows and Unix puppet agents.
Please log tickets and issues at our Module Issue Tracker.
##Extension management
Planned - modules to allow the deployment of CA APM Extensions and PowerPacks including profiles and configuration
##Agent management
Planned - modules to allow the deployment of CA APM Agents and manage the agent profiles and configuration
##Development
Running tests
This project should contain test if not for rspec-puppet so fragile to get going. Any help will be attributed. This project contains tests for rspec-puppet to verify functionality. For in-depth information please see their respective documentation.
Quickstart:
gem install bundler
bundle install
bundle exec rake spec
##Copyright and License
Copyright (C) 2015 Raul Dimar / Ecetera
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependencies
- puppetlabs/stdlib (>=4.3.2)
- nanliu/staging (>= 1.0.3)
Copyright (C) 2015 Raul Dimar / Ecetera for the relevant commits Copyright (C) by the respective authors. Contact Ecetera at: enquiries@ecetera.com.au Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.