To configure monitoring for VoIP Availability Manager and the VoIP Trap Adapter on the Failover Manager:
-
From the installation directory of failover monitor (BASEDIR/smarts/bin), open the failover.conf file. Type:
./sm_edit conf/failover/failover.conf
-
Under the Server section, add an entry for the VoIP Availability Manager to be monitored. Specify the ServerType as VoIP. Example:
Server { DetachInterval = 300; Name = "VoIP-AM"; ServerType = "VoIP"; LocationA { HostName = "host-VOIP-A"; PortNumber = 2700; Basedir = "/opt/InCharge/VoIP/smarts"; } LocationB { HostName = "host-VOIP-B"; PortNumber = 2700; Basedir = "/opt/InCharge/VoIP/smarts"; } }
-
Add an entry for the VoIP Trap Adapter to be monitored. Specify the ServerType as TRAPD. Example:
Server { Name = "TRAP-INCHARGE-VOIP"; ServerType = "TRAPD"; LocationA { HostName = "host-VOIP-A"; PortNumber = 9002; Basedir = "/opt/InCharge/VoIP/smarts"; InstalledServiceName = "ic-voip-notification-trapd-receiver"; } LocationB { HostName = "host-VOIP-B"; PortNumber = 9002; Basedir = "/opt/InCharge/VoIP/smarts"; InstalledServiceName = "ic-voip-notification-trapd-receiver"; } }
-
Save the failover.conf file and exit.
Note:If you configure VoIP Availability 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.