The sm_configureFailover.pl tool establishes connections between the Active and Standby locations for Service Assurance Manager, Adapter Platform, and BIM. The tool creates subscriptions that are predefined and, depending on the configuration, sets them to the Enable or Disable states. The tool eliminates the manual task of adding subscriptions to Active and Standby hosts.
This utility uses the values from the <BASEDIR>/smarts/local/conf/failover.conf file as input. As a prerequisite, if you have not configured the failover.conf file, go to “Configure SAM, Adapter Platform, and BIM for failover” on page 27.
To create subscriptions to SAM, Adapter Platform and BIM:
-
Type:
./sm_perl sm_configureFailover.pl -s
-
For each connection you are prompted to enter the manager name (for example INCHARGE-SA, INCHARGE-OI) and the VMware Smart Assurance administrator credentials (for example, admin/changeme).
After the script exits, it creates the following subscriptions:
-
Disabled direct connection from Active SAM to Standby SAM.
-
Disabled direct connection from Active SAM to Standby BIM.
-
Enabled direct Connection from Standby SAM to Active SAM.
-
Disabled direct connection from Standby SAM to Standby BIM
-
Disabled direct connection from Standby SAM to Active BIM
-
Disabled direct connection from Active Adapter Platform to Standby Adapter Platform.
-
Enabled direct Connection from Standby Adapter Platform to Active Adapter Platform.
The script also accommodates Hierarchical SAM setup as well.
Note:You may observe that after importing the configurations from an Active Service Assurance Manager into the Standby Service Assurance Manager, the console connected to the Standby SAM in the Failover setup disconnects for a brief duration and automatically reconnects.
Also, you can use this tool to append Domain Manager information to the failover.conf file, instead of manually modifying the failover.conf file. For example, if you add more Domain Managers to your failover system after you deploy the Failover Manager, you can append the information. Use the options in “Syntax for the sm_configureFailover.pl script” on page 27.
-