With Central Monitoring Administration, administrators select monitor installation components, such as the BMC PATROL Agent and monitoring solutions, from the Central Monitoring Repository to create an installation package. The components can then be installed together using the installation package. You can reuse the installation packages, or deploy the packages to multiple computers.
After creating a component installation package, administrators can save the package to the Monitoring Installation Packages list for future use, or download the package on the current host without saving the package. For saved packages, administrators can download and install the package on any host, or edit a package.
Consult the following topics for information on creating installation packages for Infrastructure Management monitoring components.
Import the Central Monitoring Repository for Infrastructure Management. The Central Monitoring Repository is required on the Presentation Server where Central Monitoring Administration is enabled. The Central Monitoring Repository includes the current versions of BMC components that you can use with Infrastructure Management.
Review the Central Monitoring Administration repository best practices.
Consider the following options:
A package can contain an integration tag value. This tag can then be used as part of the selection criteria in a staging policy to help determine the proper data collection Integration Service to assign the agent to. You must also leverage criteria such as the BMC TrueSight Infrastructure Management Server that the agents are to report into for staging policies.
Settings in a package can allow or deny the use of policies. If you choose to deny policy usage, the PATROL Agent does not leverage policies unless the PATROL agent configuration is set to allow policies. You can manage this from the Central Monitoring Administration UI. Note the following points:
If you allow policy management, the installation package must include configuring the PATROL Agent to connect to the staging Integration Service. Using the allow setting causes the agent to leverage the new policy configuration format rules, and the old configuration rules that conflict with the new rules format are ignored by the agent.
If you deny policy management, the package must include configuring the PATROL Agent to connect to a data collection Integration Service. The deny setting is useful during upgrades and migrations. It ensures that the current Agent configuration is maintained but used in the newly updated PATROL Agent and Infrastructure Management infrastructure.
Warning
If a BMC PATROL Agent is already configured through the PATROL Configuration Manager, and the agent is integrated with Infrastructure Management through the adapter for BMC PATROL, do not add a tag to that BMC PATROL Agent. Instead, continue managing the configuration for that BMC PATROL Agent through the PATROL Configuration Manager.
If you add a tag to the BMC PATROL Agent, configuration information might be overwritten. Duplicate instances could be created, conflicting monitor instances that were based on PATROL Configuration Manager settings will be marked for deletion, and all historical data will be lost.
If you migrated a previous version of a component installation package, perform the following steps for it to work with version 10.0 of Central Monitoring Administration:
The installation wizards for the products that you selected are displayed, and they vary depending on the products or components that you selected to include in the package. To complete the installation wizards, follow the instructions for creating a component installation package in the installation documentation for the selected products.
Enter one or more existing Integration Service(s) to connect to. Separate each entry by a comma and use the format Protocol:IntegrationServiceHostname:PortNumber. For example tcp:Integration Service Hostname:3183, where 3183 is the port on which the Integration Service host listens for an incoming PATROL Agent auto-registration connection.
Central Monitoring Administration Tag(s):
Provide comma separated tags that the PATROL Agent will use to get configuration from Central Monitoring Administration. Each tag follows the format TagName:Description. If there is a space in the description, enclose it with quotes. For example, WinOS:"Windows OS Monitoring".
(Optional) Provide the cell configuration details.
Enter the Infrastructure Management encryption key and the cell details in the format Host/Port.
You can choose to route events via an Integration Service.
To route events via an Integration Service, the /EventSetup/Configuration/ForwardEventsToIS PATROL Agent pconfig variable must be set to Yes.
During the upgrade of earlier versions of the BMC PATROL Agent to version 9.5, ensure to provide the correct Cell name in the Infrastructure Management - Primary Cell and Infrastructure Management - Secondary Cell fields in the Infrastructure Management Performance Management Cell Configurations installation screen.
Proceeding with the default value resets the Event Destination of the BMC PATROL Agent to localhost/1828.
If /EventSetup/Configuration/ForwardEventsToIS is set to Yes and Infrastructure Management - Primary Cell is set to localhost/1828, then the PATROL Agent sends events to the local Cell of the Integration Service.
You can edit any part of an existing component installation package except the operating system and platform.
Click Finish Update to skip to the Installation Package Details window.
Note
If you add a component to the package, you must complete the configuration process. The Finish Update button shows an explanatory tooltip and does not skip to the Installation Package Details window.
To download the installation package immediately, click Download.
Note
If you click Download and do not click Save Installation Package, the changes are not saved in the Monitoring Installation Packages list for later use or editing.
Note
On non-English Linux computers, if you use the Firefox browser, in the Add/Edit Component Installation Package page, when you click Cancel, a confirmatory message is displayed with the black background. On other browsers, the confirmatory message is properly displayed.
Most managed environments need or require a way to apply policy-related tags to PATROL Agents at the time of installation. This might include the PATROL Agent and Knowledge Module (KM) installs separately or together.
The following methods support these requirements.
With this method, you include the tags in separate install packages in the Central Monitoring Administration Deployable Package Repository. Below is a summary of the process:
This method allows you to create and maintain a minimum number of deployable packages. The deployable package contains only the necessary agent or KM installation bundles with their associated tags. Follow the steps below to create the package.
Create a .current configuration file for the tag data, such as BasicOraDB.current. This file is constructed like any other file that can be read and applied by the pconfig
command line utility and must contain the PATROL configuration criteria for the tag values. Each tag value should have a unique .current file name so that you can apply them independently. Below is an example of the file content for a tag used for Basic Oracle Monitoring with the file name BasicOraDB.current.
Use the PCIG utility to create importable packages for each .current file. Each package you create should have a unique name, product name, and file name. The .current files must be in the lib directory of the source data that is read by the PCIG utility. Below is an example PCIG command with arguments. (This example was run on Red Hat Enterprise Linux. The same format applies to Microsoft Windows.)
The following table lists the command line arguments with the example values from the command above.
Argument | Purpose | Example | Comments |
---|---|---|---|
-p | product | BasicOraDB | Enter a value that does not match or conflict with any other products. |
-r | release number | 1.0.00 | Enter a three-segment value separated by periods. All three segments are required (for example, 1 and 1.0 will not work). |
-s | location of all source files and their respective sub directories | BasicOraDB/ | This is the top-level directory under which custom files are stored. The subdirectories must follow the same structure as a normal PATROL Agent or KM installation. This directory should be a subdirectory in the directory where you are running PCIG. Use this syntax exactly as shown with the proper subdirectory name followed by a forward slash at the end. |
-l | comma separated list of supported OS types | ALL | Make sure this value matches the Knowledge Module design. |
-t | product title name | BasicOraDB | This is the name of the compressed .zip file that is generated for import. |
The PCIG utility will create a bmc_products directory and a .zip file for the solution.
Import each tag package as a custom solution into the Central Monitoring Administration Manage Repository.
Note
For help with the command line arguments, run the PCIG utility with no arguments as shown.
[root@BPPMRHEL62-HM LINUX-X64-64]# ./pcig
PATROL Common Install generator v9.5.00 (build:20140921815)
Usage: pcig.exe -p product -r release -s source_path [-l os_list] [-t title] [-c]
-p <product>: Required name (also specifies name of output ppf file without ".ppf")
-s <source_path>: Required path to package member files. The files under <source_path>
are copied to <dest_path>/products/<product_name> and gzipped,
and their respective entries are added under the files section
of the ppf. The ppf and cat file are placed in
<dest_path>/Products/<product_name>, and a copy of the ppf
is also placed in <dest_path>/Index/.
-r <release>: the version (vv.mm.rr) of the package to be used with BPPM in the format of.
-l <os_list>: comma separated list of OS types (possible values: AIX,SOLARIS,HP-UX,LINUX,WINDOWS,ALL,ALL-UNIX).
-t <title>: Product name, to be used on the BPPM Central Monitoring Administration repository UI
Apply the tags as part of a BMC Server Automation deployment package.
Create and run custom scripts using the pconfig
PATROL Agent command line utility to update the agent tags immediately after the agent install.