This utility uses the values from the <BASEDIR>/smarts/local/conf/failover.conf file as input.


sm_perl [options... ]

Options for the utility are provided in Syntax options for the utility .

Table 1. Syntax options for the utility




Required, only creates subscriptions by using the failover.conf file in the <BASEDIR>/smarts/local/conf/failover directory.

Specify this option by itself to create subscriptions for SAM, Adapter Platform and BIM.

Also -s.


Optional, creates subscriptions and appends information to the Server section in the failover.conf file. Used with the --file option.

Valid for SAM, Adapter Platform, BIM, and all Domain Managers.

Also -a.


The --file option is mandatory if --append is specified. This text file contains the configuration details that need to be appended to the failover.conf file.

The information in text file must be listed in this format:

#DomainType DomainName portA portB hostA hostB directoryPathA directoryPathB


AMPM AMPM-test 4300 4300 ITOPS-QA-106 ITOPS-QA-108 <BASEDIR>/smarts <BASEDIR>/smarts

Also -f <file_path>/<file_name>.


Print help and exit. Also -h.


  • This command creates only subscriptions for Active and Standby SAM, Adapter Platform, and BIM:

     ./sm_perl -s
  • This command edits the Server sections in the failover.conf file and creates the subscriptions accordingly.

     ./sm_perl -s -a -f <file_path>/file.txt
    SAM INCHARGE-SA 2000 2000 /opt/InCharge/SAM/smarts /opt/InCharge/SAM/smarts
    BIM INCHARGE-MBIM 2010 2010 /opt/InCharge/SAM/smarts /opt/InCharge/SAM/smarts