Use the following steps to configure monitoring for Network Protocol Manager on the Failover Manager:

  1. From the installation directory of Failover Manager (BASEDIR/smarts/bin), open the failover.conf file. Type:

                   ./sm_edit conf/failover/failover.conf
                
  2. Add entries for BGP, EIGRP, IS-IS, and OSPF servers in the ServerSection of the failover.conf file.

    Example:

    ServerSection
    {    
       Server
        {
      DetachInterval = 300;
      Name           = "INCHARGE-BGP";
            ServerType     = "NPM";
            LocationA
            {
                HostName   = "host-NPM-A";
                PortNumber = 1679; 
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
            LocationB
            {
                HostName   = "host-NPM-B";
                PortNumber = 1679;
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
        }
        Server
        {
      DetachInterval = 300;
      Name           = "INCHARGE-EIGRP";
            ServerType     = "NPM";
            LocationA
            {
                HostName   = "host-NPM-A";
                PortNumber = 1681;
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
            LocationB
            {
                HostName   = "host-NPM-B";
                PortNumber = 1681;
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
        }
    Server
        {
      DetachInterval = 300;
      Name           = "INCHARGE-ISIS";
            ServerType     = "NPM";
            LocationA
            {
                HostName   = "host-NPM-A";
                PortNumber = 1681;
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
            LocationB
            {
                HostName   = "host-NPM-B";
                PortNumber = 1681;
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
        }
    Server
        {
      DetachInterval = 300;
      Name           = "INCHARGE-OSPF";
            ServerType     = "NPM";
            LocationA
            {
                HostName   = "host-NPM-A";
                PortNumber = 1680;
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
            LocationB
            {
                HostName   = "host-NPM-B";
                PortNumber = 1680;
                Basedir    = "/opt/InCharge/NPM/smarts";
       }
        }
    
  3. Save the failover.conf file and exit.

    Note:

    If you configure Network Protocol Manager for failover while the Failover Manager is already running, use the ic-failover-server script reload option to reload the failover.conf file and use the Reconfigure button in the Domain Manager Administration Console to reconfigure the Failover Manager.