Important

   

This documentation space contains information about PATROL Agents when deployed in a BMC Helix Operations Management environment. If you are a TrueSight Operations Management user, see PATROL Agent 20.08.

Installing PATROL Agents

This topic provides instructions for installing PATROL Agents.

Installing a PATROL Agent using the API Key

Step 1: Creating deployable packages

On the Administration > Repository > Deployable Packages tab, click Create, and do the following:

  1. 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.

  2. Select one of the following PATROL Agent components, and select a version:

    • PATROL Agent for Windows
    • PATROL Agent for Unix

    If you want to install any monitoring solutions along with the PATROL Agent, select the required monitoring solutions.

  3. 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.

  4. Specify the PATROL 3.x product directory, and click Next.

    Follow the instructions in the Important Information section of the wizard.

  5. Enter the PATROL Agent account credentials.

  6. Enter the PATROL Agent port number.
  7. Choose to restart the PATROL agent automatically or manually, and click Next.
  8. 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: 

    http:<IP address or FQDN of the load balancer>:<port_no>

  9. 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. 

  10. Choose if you want to manage the PATROL Agent configuration via a monitoring policy, and click Next.

  11. Configure the firewall settings.
    You can choose to automatically add the components to the firewall exception list.

  12. Review the package details.

  13. Enter a name and an optional description for the package.
    The description is displayed when the packages are listed in the Deployable Packages tab.

  14. Select the package file format. 

  15. Save the deployable package.

  16. 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:

  1. Click the Download  icon next to a package.
  2. From the package menu, select Download, and note the location. You will need this information while performing Step 3.
  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

  1. Log in to the host computer on which you plan to install the PATROL Agent.
  2. Copy the API key that you saved in Step 2 to a temporary text file.
  3. Copy the package that you downloaded in Step 2 to a temporary directory.
  4. Extract the package. It is extracted to the <PA_EXTRACTED_PACKAGE>\bmc_products directory.
  5. From the bmc_products directory, run the following command: 

    #Syntax
    RunSilentInstall.exe -apikey=<TOKEN> -proxyserver=<FQDN of the PATROL Agent forward proxy server>:<port> -proxyuser=<Proxy Username> -proxypasswd=<password for the proxy server>
     
    #Example 1 - Install with API key and forward proxy server options
    RunSilentInstall.exe -apikey=a1236789-123f-1d23-12d4-1234abc12345 -forwardProxyServer=proxyServer.bmc.com:3128 -forwardProxyUser=user1 -forwardProxyPasswd=user123
    
    
    #Example 2 - Install only with forward proxy server option
    RunSilentInstall.exe -apikey=a1236789-123f-1d23-12d4-1234abc12345 -forwardProxyServer=http://proxyServer1.bmc.com:3128 -forwardProxyUser=user2 -forwardProxyPasswd=user456
    
    
    #Example 3 - Install without API key and forward proxy server options
    RunSilentInstall.exe -apikey=a1236789-123f-1d23-12d4-1234abc12345

    Note

    API key

    PATROL Agents use the API key to encrypt message requests sent to BMC Helix Operations Management. You can set the API key in one of the following ways:

    • During the installation of PATROL Agents: As explained in the preceding example, provide the API key details when you run the RunSilentInstall command.

    • After the installation of PATROL Agents: You can update the API key after the installation. For details, see Support for HTTP communication.


    PATROL Agent forward proxy server

    You can set up a proxy server in your infrastructure environment so that PATROL Agents can communicate with BMC Helix Operations Management via the proxy server. Setting up a proxy server is optional.

    You can configure the proxy server details in one of the following ways:

    • During the installation of PATROL Agents: As explained in the preceding example, provide the proxy server details, user name, and password when you run the RunSilentInstall command.

    • After the installation of PATROL Agents: You can configure the forward proxy server details in the PATROL Agent after the installation. For details, see Configuring PATROL Agents to support a forward proxy server.

  6. Review the log file to check the installation status.

Installing the PATROL Agent using the Copy Install Script option

On the BMC Helix Operations Management console, on the Administration > Repository page, do the following:

  1. From the predefined or custom package Actions menu, select Copy Install Script.
    Default predefined packages:
    • (Microsoft Windows) Predefined_Package_For_Windows_x64
    • (Linux) Predefined_Package_For_Linux_x64
    Note: If you plan to run the copy install script using a custom package, ensure that the package includes the PATROL Agent component.
  2. Log in to the host computer on which you want to deploy the package, and create a new PATROL Agent user.
  3. In the home directory of the new user, create a directory.
  4. Provide read/write/execution permission to the PATROL user for the directory.
  5. Paste and run the install script in this directory. For pre-defined packages, the default directory is:
    (Microsoft Windows) <installation_directory>\BMC Software
    (Linux) /opt/bmc
  6. Provide the following information when prompted:
    • (Linux) Root login name and password
    • PATROL default account login name and password
  7. (Linux) In the directory that has read/write/execute permission for the PATROL user, paste and run the install script.
  8. (Microsoft Windows) Open the Windows PowerShell, paste and run the install script.


Was this page helpful? Yes No Submitting... Thank you

Comments