Migrating PATROL Agents
This topic provides instructions on how to reconfigure PATROL Agents in the following scenarios:
- When you migrate from TrueSight Operations Management to BMC Helix Operations Management
- When you migrate from an instance of BMC Helix Operations Management to another
To configure PATROL Agents when you migrate from TrueSight Operations Management to BMC Helix Operations Management
Do the following:
- Download the PATROL Agent security certificate:
- Log in to the BMC Helix Operations Management console.
- On the Administration > Repository page, click the action menu of the appropriate pre-defined package, and select Download.
- (Windows) Predefined_Package_For_Windows_x64
- (Linux) Predefined_Package_For_Linux_x64
- Extract the downloaded package and locate the mca_ca.cer file in the following directory:
- (Windows) bmc_products\Install\instdata
- (Linux) bmc_products/Install/instdata
- Log in to the host computer on which the PATROL Agent is installed.
- Copy the mca_ca.cer file from the extracted package in Step1c to the following directory:
- (Windows) %PATROL_HOME%\security\certificates
- (Linux) $PATROL_HOME/../security/certificates/
Update the following configuration variables:
- (Windows)
- On the BMC Helix Operations Managementconsole, go to the Administration > Repository page, and click Copy API Key.
Create a text file called config_file.cfg and add the following information:
PATROL_CONFIG "/SecureStore/mca/tenant/apiKey" = {REPLACE = "MCA/<API Key>"},
"/AgentSetup/integration/integrationServices" = {REPLACE="https:<FQDN of BMC Helix Operations Management tenant>:443"}Replace <API Key> with the API Key that you copied in the previous step.
- Save the config_file.cfg file.
Run the following command to apply the configuration variable changes:
pconfig -p <port> -host <PATROL Agent host name> <config_file.cfg>Restart the PATROL Agent using the following command:
pconfig +RESTART -p <port>
- (Linux)
- On the BMC Helix Operations Managementconsole, go to the Administration > Repository page, and click Copy API Key.
Go to the PATROL Agent installation directory and run the following script:
#For Korn and Bourne shell:
. ./patrolrc.sh
#For C shell:
source .patrolrcCreate a text file called config_file.cfg and add the following information:
PATROL_CONFIG "/SecureStore/mca/tenant/apiKey" = {REPLACE = "MCA/<API Key>"},
"/AgentSetup/integration/integrationServices" = {REPLACE="https:<FQDN of BMC Helix Operations Management tenant>:443"}Replace <API Key> with the API Key that you copied in the previous step.
- Save the config_file.cfg file.
Run the following command to apply the configuration variable changes:
pconfig -p <port> -host <PATROL Agent host name> config_file.cfgRestart the PATROL Agent using the following command:
pconfig +RESTART -p <port>
- (Windows)
(Optional) You can set up a proxy server for the PATROL Agent to communicate with BMC Helix Operations Management. For more information, see Configuring-PATROL-Agents-to-support-a-forward-proxy-server.
- Restart the PATROL Agent.
To configure PATROL Agents when you migrate from a BMC Helix Operations Management instance to another
Do the following:
- Download the PATROL Agent security certificate:
- Log in to BMC Helix Operations Management console of the new BMC Helix Operations Management instance to which the PATROL Agent needs to communicate with.
- On the Administration > Repository page, click the action menu of the appropriate pre-defined package, and select Download.
- (Windows) Predefined_Package_For_Windows_x64
- (Linux) Predefined_Package_For_Linux_x64
- Extract the downloaded package and locate the mca_ca.cer file in the following directory:
- (Windows) bmc_products\Install\instdata
- (Linux) bmc_products/Install/instdata
- Log in to the host computer on which the PATROL Agent is installed.
- Copy the mca_ca.cer file from the extracted package in Step1c to the following directory:
- (Windows) %PATROL_HOME%\security\certificates
- (Linux) $PATROL_HOME/../security/certificates/
Update the following configuration variables:
- (Windows)
- On the BMC Helix Operations Managementconsole, go to the Administration > Repository page, and click Copy API Key.
Create a text file called config_file.cfg and add the following information:
PATROL_CONFIG "/SecureStore/mca/tenant/apiKey" = {REPLACE = "MCA/<API Key>"},
"/AgentSetup/integration/integrationServices" = {"https:<FQDN of BMC Helix Operations Management tenant>:443"}Replace <API Key> with the API Key that you copied in the previous step.
- Save the config_file.cfg file.
Run the following command to apply the configuration variable changes:
pconfig -p <port> -host <PATROL Agent host name> <config_file.cfg>Restart the PATROL Agent using the following command:
pconfig +RESTART -p <port>
- (Linux)
- On the BMC Helix Operations Managementconsole, go to the Administration > Repository page, and click Copy API Key.
Go to the PATROL Agent installation directory and run the following script:
#For Korn and Bourne shell:
. ./patrolrc.sh
#For C shell:
source .patrolrcCreate a text file called config_file.cfg and add the following information:
PATROL_CONFIG "/SecureStore/mca/tenant/apiKey" = {REPLACE = "MCA/<API Key>"},
"/AgentSetup/integration/integrationServices" = {REPLACE="https:<FQDN of BMC Helix Operations Management tenant>:443"}Replace <API Key> with the API Key that you copied in the previous step.
- Save the config_file.cfg file.
Run the following command to apply the configuration variable changes:
pconfig -p <port> -host <PATROL Agent host name> config_file.cfgRestart the PATROL Agent using the following command:
pconfig +RESTART -p <port>
- (Windows)
(Optional) You can set up a proxy server for the PATROL Agent to communicate with BMC Helix Operations Management. For more information, see Configuring-PATROL-Agents-to-support-a-forward-proxy-server.
- Restart the PATROL Agent.