Architecture
PATROL for Agent Failover empowers BMC Helix Operations Management / TrueSight customers by allowing them to assign data collection responsibilities to a pair of PATROL Agents. If the primary PATROL Agent (Primary) becomes unreachable, the partnered PATROL Agent (Secondary) is automatically configured to connect to BMC Helix Operations Management / TrueSight and resume the collection duties of the failed agent. Upon the Primary Agent regaining connectivity, it resumes its duties, and the Secondary Agent disconnects from BMC Helix Operations Management / TrueSight.
This Knowledge Module (KM) is designed to run on a PATROL Agent outside of the identified failover pairs. This setup enables a single PATROL for Failover agent to efficiently support any number of PATROL Agent pairs.
This Monitoring Agent can be paired with another agent, providing monitor-the-monitor redundancy if required.
A typical architecture for PATROL for Agent Failover is as follows:

How PATROL for Agent Failover works
Step 1:
To begin, configure the host for the PATROL for Agent Failover knowledge module (KM) as a standard Agent, connected to BMC Helix Operations Management / TrueSight. Deploy the PATROL for Failover knowledge module to this agent.
Step 2:
Next, install and configure the PATROL Agents intended to function as a Failover Pair. Ensure that both instances are configured to utilize an ENVIRONMENT Variable to control their "hostname".
- On Windows, setting the environment variable is performed in the "System" area.
- On Linux/UNIX systems, create a "userrc.sh" file in the "Patrol3" directory to set the environment variable. The OOTB PatrolAgent startup is designed to search for the "userrc.sh" file and read its content into the PATROL Agent environment. Multiple Agents can be registered in the file.
Example:
export PATROL_VIRTUALNAME_3182
Ensure that the PATROL Agents have the required Knowledge Modules installed to support the desired data collection (e.g., the LWP km if used to collect "ping" data).
Initially, the Pair of PATROL Agents should NOT be configured to use any existing Policy. The "Primary" Agent is connected to the TrueSight infrastructure initially, while the "Secondary" Agent remains disconnected from TrueSight. The FailOver Agent will manage when and how the Secondary is connected as needed. To ensure this behavior, servers on which the collecting Agent pair is installed should have a NULL value in the integrationservice.current file. This ensures that these Agents will not both connect to TrueSight simultaneously, should they be purged.
Before proceeding to step 3:
- Confirm that the Primary Agent is connected to TrueSight and is visible in Manage Devices using the Alias Name.
- Ensure the Secondary Agent is running but NOT connected to TrueSight.
Step 3: Configure the PATROL for Failover Agent using Policy configuration in the TrueSight UI. Configure the Policy in a manner similar to the description provided on the following Pages: