Installing PATROL Agents
This topic provides instructions for installing PATROL Agents.
Installing a PATROL Agent by using the API Key |
---|
Step 1: Creating deployable packages
On the Administration > Repository > Deployable Packages tab, click Create, and do the following:
- Select the operating system and platform for which you want to create a package. The list of platforms changes according to the operating system that you select.
Select one of the following PATROL Agent components, and select a version:
- PATROL Agent for Windows
- PATROL Agent for Unix
- Specify the PATROL Agent installation directory:
- Proceed with the default installation directory.
- Enter a different directory for installation.
- Leave the field blank and proceed with the installation.
When you leave the field blank, the correct directory is automatically selected through the BMC_BASE variable.
- Specify the PATROL 3.x product directory and click Next.
Follow the instructions in the Important Instructions section of the wizard. (UNIX only) Enter the root or sudo use credentials with root privileges.
- Enter the PATROL Agent account credentials.
- (Windows) DOMAIN_NAME\account name
- (Linux) DOMAIN_NAME\\account name
Double slash before the account name ensures that the account name is parsed correctly. While editing the package, if the double slash is deleted, type it again.
Select one of the following security options:
- No Certificate Validation (default) - PATROL Agent uses TLS 1.2 communication channels, but PATROL Agent does not validate the certificate.
- Certificate Validation - PATROL Agent uses TLS 1.2 communication channels, and PATROL Agent validates the certificate received from server.
- Enter the PATROL Agent port number.
- Select one of the following level of access control.
- Restricted Access Control (default)
Full Access Control
The Restricted Access Control option is selected by default and is applicable for the default account only. You can modify the access control list to give PATROL Agent access to specific users by setting up the pconfig variable, /AgentSetup/accessControlList.If you select the Full Access Control option, all the users get access to PATROL Agent from pconfig and PatrolCli.
Choose to restart the PATROL agent automatically or manually, and click Next.
- Specify the streaming endpoint details. This will be used for automatic registration of the PATROL Agent with BMC Helix Operations Management. Enter the details in the following format:
https:<IP address or FQDN of the load balancer>:<port_no> - Enter a comma-separated list of tags for associating PATROL Agents to monitoring policies.
PATROL Agents use the specified tags to get configuration details from BMC Helix Operations Management. Enter the tag name in the following format:
<Tag Name>:<Description>
Note: If the description contains a blank space, enclose it within double quotes.
For example, WinOS:"Windows OS Monitoring" - Choose if you want to manage the PATROL Agent configuration via a monitoring policy, and click Next.
Configure the firewall settings.
You can choose to automatically add the components to the firewall exception list.- Review the package details.
- Enter a name and an optional description for the package.
The description is displayed when the packages are listed in the Deployable Packages tab. - Select the package file format.
- Save the deployable package.
- Select one of the following:
- Save: Save the package for future installation on the current host or other hosts.
- Save and Download: Save and download the package and note the downloaded package location. You will need the downloaded package location details while deploying the package.
- Close: Cancel the package creation and go back to the Administration > Repository page.
Step 2: Downloading deployable packages
On the Administration > Repository > Deployable Packages tab, do the following:
- Click the Download icon next to a package.
- From the package menu, select Download, and note the location. You will need this information while performing Step 3.
- On the Administration > Repository > Deployable Packages page, click Copy API Key and note the information. You will need this information while performing Step 3.
Step 3: Deploying packages
- Log on to the host computer on which you plan to install the PATROL Agent.
- Copy the API key that you saved in Step 2 to a temporary text file.
- Copy the package that you downloaded in Step 2 to a temporary directory.
- Extract the package. It is extracted to the <PA_EXTRACTED_PACKAGE>\bmc_products directory. This directory contains the two installations files, RunSilentInstall.exe.
From the bmc_products directory, run the following command in the command prompt:
#Syntax
RunSilentInstall.exe -apikey=<api key TOKEN> -forwardProxyServer=<FQDN of the PATROL Agent forward proxy server>:<port> -forwardProxyUser=<Proxy Username> --forwardProxyPassword=<password for the proxy server>
#Example 1 - Install with API key and forward proxy server option
RunSilentInstall.exe -apikey=a1236789-123f-1d23-12d4-1234abc12345 -forwardProxyServer=proxyServer.bmc.com:3128
#Example 2 - Install with API key and forward proxy server options that include forward proxy credentials
RunSilentInstall.exe -apikey=a1236789-123f-1d23-12d4-1234abc12345 -forwardProxyServer=http://proxyServer1.bmc.com:3128 -forwardProxyUser=user2 --forwardProxyPassword=user456
#Example 3 - Install with API key and without forward proxy server options
RunSilentInstall.exe -apikey=a1236789-123f-1d23-12d4-1234abc12345- Review the log file to check the installation status.
Installing the PATROL Agent by using the Copy Install Script option |
---|
|
(UNIX only) Run hostname__install.log_rootscripts |
---|
Perform the steps in this section after installing or upgrading a package. When deploying the package silently, if you did not enter the root password, you need to run the <hostname>_<port>_install.log_rootscripts script and make some other small modifications.
|
Installing PATROL Agent by using MSI package
To install PATROL Agent by using MSI package, first create a deployable package. For more information, see Create a deployable package.
- Log on to the host computer on which you want to install PATROL Agent.
- Copy the API key that you saved in Step 2 to a temporary text file.
- Copy the package that you downloaded in Step 2 to a temporary directory.
- Extract the package.
The package is extracted to the <PA_EXTRACTED_PACKAGE>\bmc_products directory. This directory contains the Setup.msi file. - To install the package from the UI:
- Double-click Setup.msi or open the command prompt as an administrator user and run the following command:
msiexec /i Setup.msi /l*v log.txt
The installer setup wizard is displayed. - Click Next.
- Enter the configuration details such as API key, proxy server, proxy user ID, proxy password, publish host name.
- Click Next and Install.
Review the log file to check the installation status.
- Double-click Setup.msi or open the command prompt as an administrator user and run the following command:
- To install the package silently, open the command prompt as an administrator user and run one of the following commands:
-
- start /wait msiexec /i Setup.msi /l*v log.txt /qn
- start /wait msiexec /i Setup.msi [APIKEY=<API key for connecting to the Operations Management server>] [FORWARDPROXYSERVER=<PROXY Server hostname>] [FORWARDPROXYUSER =<PROXY Server username>] [FORWARDPROXYPASSWORD =<PROXY Server password>] [PUBLISHHOST =<host name that will be displayed in the Operations Management server >] /l*v log.txt /qn
The installation process starts in the silent mode. Review the log file to check the installation status.