Resource Manager HA (Linux)
Two options exists to achieve high availability when the Resource Manager is installed on Linux operating systems: Simple Virtual IP failover and Bonding Driver failover.
When you configure either of these two options, each host in the HA-pair has a static private IP address, however, all hosts share one public virtual IP address. The public IP address is used by external Session Initiation Protocol (SIP) endpoints to interact with the Resource Manager on each host in the cluster. If an instance of the Resource Manager fails on any host, the failover is transparent to the caller.
Furthermore, when you use the Bonding Driver failover option, and two or more network cards are installed on the same server, the bonding driver provides active standby functionality for the individual network interfaces.
Precaution for Failover Scenarios
Use the procedures in this section to configure Resource Manager HA in active standby mode on the Linux host(s).
Limitation
A limitation exists when the Resource Manager is configured in HA mode on Linux, where the NICs, that are associated with the aliases and used for the virtual IPs, are active on both Resource Manager hosts. Depending on the network topology, a situation might arise where a SIP User Agent sends a query to find the active Resource Manager, and instead of sending it to the active instance, sends it to the backup Resource Manager.
To workaround for this issue, configure the primary and secondary Resource Manager instances as described in the section, Creating Alarm Reaction Scripts, Conditions, and Reaction Applications on page 435.
Task Summaries
Objective | Related Procedures and Actions |
---|---|
|
Procedure: Configuring Simple Virtual IP Failover |
|
Procedure: Configuring the INIT and NLB Script Files (Linux). |
|
Procedure: Specifying the NICs for Monitoring (Linux). |
|
Start Resource Manager HA-pair in NLB mode. |
Objective | Related Procedures and Actions |
---|---|
|
Procedure: Configuring the Resource Manager HA-Pair. |
|
Procedure: Integrating Application Objects with Resource Manager and |
|
the vendor documentation for the type of load balancer you are using (for example, F5 or Radware). |
Procedure: Configuring Simple Virtual IP Failover
Configure Resource Manager HA in active standby mode by using Simple Virtual IP failover.
Use this failover method if you do not have multiple NICs in the Resource Manager host.
- Verify that:
- The Resource Manager hosts conform to the prerequisites for Linux. See Prerequisites.
- Management Framework is installed, and fully functional. See the Management Framework 8.5 Deployment Guide.
- At the Linux host, log in as root.
- Copy the contents of the /etc/sysconfig/network-scripts/ifcfg-eth0 file to the ifcfg-eth0:1 file.
- On the active host, modify the lines in the ifcfg-eth0:1 file as follows, replacing <virtual_IP_addr> with the actual virtual IP address:
IPADDR=<virtual_IP_addr> ONBOOT=no ONPARENT=no DEVICE=eth0:1 BOOTPROTO=none
For RHEL 5 Releases only:
- Prepare the ifup-eth script:
- Copy /etc/sysconfig/network-scripts/ifup-eth file to <RM_Install_Dir>/bin directory.
- In the <RM_Install_Dir>/bin/ifup-eth file, comment out lines 266 to 269, as follows:
# if !arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR}; then # echo $"Error, some other host already uses address ${IPADDR}." # exit 1 # fi
- Enable executable permission, by typing chmod +x <RM_Install_Dir>/bin/ifup-eth, and then press Enter.
- In the <RM_Install_Dir>/bin/ifup-eth file, comment out lines 266 to 269, as follows:
- Prepare the ifup script:
- Copy the /etc/sysconfig/network-scripts/ifup script to the <RM_Install_Dir>/bin directory.
- In the <RM_Install_Dir>/bin/ifup file, modify lines 145 to 149, as follows:
OTHERSCRIPT="<RM_Install_Dir>/bin/ifup-eth" # if [!-x ${OTHERSCRIPT}]; then # OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth" # fi
- Enable executable permission by typing chmod +x <RM_Install_Dir>/bin/ifup, and then pressing Enter.
- Repeat these steps on the standby host.
For RHEL 4 Releases only:
- Enable executable permission by typing chmod +x <RM_Install_Dir>/bin/ifup, and then pressing Enter.
- Repeat Steps 1, 2, 3, and 7 on the standby host.
- Modify the INIT and NLB script files. See Procedure: Configuring the INIT and NLB Script Files (Linux).
Procedure: Configuring Bonding Driver Failover for RHEL 4.x and RHEL 5.x
Configure Bonding Driver failover on the Resource Manager to achieve High Availability.
- Verify that:
- The Resource Manager hosts conform to the prerequisites for Linux. See Software Requirements for Linux.
- Management Framework is installed, and fully functional. See the Management Framework 8.5 Deployment Guide.
- At the Linux host, log in as root.
TipGenesys recommends that root user perform the steps in this procedure. However, if a non-root user must use this procedure, see Procedure: Enabling a Non-root User to Configure and Run Resource Manager to make that possible.
- In the /etc/modprobe.conf file, on separate lines add:
alias bond0 bonding
and
options bond0 miimon=1000 mode=1 - In the /etc/sysconfig/network-scripts directory, copy the contents of the ifcfg-eth0 file to the ifcfg-bond0 file.
- In the ifcfg-bond0 file:
- Change DEVICE=eth0 to DEVICE=bond0.
- Remove any line that refers to the hardware address for example, HWADDR=.
- Set this option: BONDING_OPTS= "miimon=1000 mode=1"
- In the ifcfg-eth0 file:
- Remove any line that refers to the hardware address for example, HWADDR=.
- Remove any line that refers to the IP address for example, IPADDR=.
- On a separate line, add MASTER=bond0.
- On a separate line, add SLAVE=yes.
- Repeat the previous step for the ifcfg-eth1 file.
- Restart the host computer.
- Make a copy of the ifcfg-bond0 file, and name it ifcfg-bond0:1.
- After the host has restarted, modify the ifcfg-bond0:1 file, as follows, substituting <virtual_IP_addr> for the actual virtual IP address:
IPADDR=<virtual_IP_addr> ONBOOT=no ONPARENT=no DEVICE=bond0:1 BOOTPROTO=none
For RHEL 5 Releases only:
- Prepare the ifup-eth script:
- Copy the /etc/sysconfig/network-scripts/ifup-eth file to <RM_Install_Dir>/binINSERT_TEXT directory.
- In the <RM_Install_Dir>/bin/ifup-eth file, comment out lines 266 to 269, as follows:
# if !arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR}; then # echo $"Error, some other host already uses address ${IPADDR}." # exit 1 # fi
- Enable executable permission, by typing chmod +x <RM_Install_Dir>/bin/ifup-eth, and then press Enter.
- Prepare the ifup script:
- Copy the /etc/sysconfig/network-scripts/ifup script to the <RM_Install_Dir>/bin directory.
- In the <RM_Install_Dir>/bin/ifup file, modify lines 145 to 149, as follows:
OTHERSCRIPT="<RM_Install_Dir>/bin/ifup-eth" # if [!-x ${OTHERSCRIPT}]; then # OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth" # fi
- Enable executable permission by typing chmod +x <RM_Install_Dir>/bin/ifup, and then pressing Enter.
- Repeat Steps 2 to 11 on the standby host in the HA-pair.
For RHEL 4 Releases only:
- Enable executable permission by typing chmod +x <RM_Install_Dir>/bin/ifup, and then pressing Enter.
- Repeat Steps 2–9 and 13 on the standby host in the HA-pair.
- Configure the member IDs and NLB script path in the Resource Manager HA Application. See Procedure: Configuring the Resource Manager HA-Pair.
- Modify the INIT and NLB script files. See Procedure: Configuring the INIT and NLB Script Files (Linux).
Procedure: Configuring Bonding Driver Failover for RHEL 6.x
Configure Bonding Driver failover on the Resource Manager to achieve High Availability.
- Verify that:
- The Resource Manager hosts conform to the prerequisites for Linux. See Software Requirements for Linux.
- Management Framework is installed, and fully functional. See the Management Framework 8.5 Deployment Guide.
- At the Linux host, log in as root.
- For a channel bonding interface to be valid, the kernel module must be loaded. To ensure that the module is loaded when the channel bonding interface is brought up,
- Create a new file as root named <bonding>.conf in the /etc/modprobe.d/ directory.
You can name this file anything you like as long as it ends with a .conf extension. - Insert the following line into this new file:
alias bond<n> bonding - Replace <n> with the interface number, such as 0.
- For each configured channel bonding interface, there must be a corresponding entry in your new /etc/modprobe.d/<bonding>.conf file.
- Do not specify options for the bonding device in /etc/modprobe.d/<bonding>.conf, or in the deprecated /etc/modprobe.conf file.
TipGenesys recommends that root user perform the steps in this procedure. However, if a non-root user must use this procedure, see Procedure: Enabling a Non-root User to Configure and Run Resource Manager to make that possible. - Create a new file as root named <bonding>.conf in the /etc/modprobe.d/ directory.
- In the /etc/sysconfig/network-scripts directory, copy the contents of the ifcfg-eth0 file to the ifcfg-bond0 file.
- In the ifcfg-bond0 file:
- Change DEVICE=eth0 to DEVICE=bond0.
- Remove any line that refers to the hardware address (for example, HWADDR=).
- Set these options as follows:
- BONDING_OPTS="<bonding parameters separated by spaces>"
- BONDING_OPTS= "miimon=1000 mode=1"
- ONBOOT=yes
- NM_CONTROLLED=no
- In the ifcfg-eth0 file:
- Remove any line that refers to the hardware address (for example, HWADDR=).
- Remove any line that refers to the IP address (for example, IPADDR=).
- On a separate line, add MASTER=bond0.
- On a separate line, add SLAVE=yes.
- Set these options as follows:
- ONBOOT=yes
- NM_CONTROLLED=no
- Repeat the previous step for the ifcfg-eth1 file.
- Restart the host computer.
- Make a copy of the file ifcfg-bond0:0, and name it ifcfg-bond0:1.
- After the host has restarted, modify the ifcfg-bond0:1 file, as follows, substituting <virtual_IP_addr> for the actual virtual IP address:
IPADDR=<virtual_IP_addr> ONBOOT=no ONPARENT=no DEVICE=bond0:1 BOOTPROTO=none NM_CONTROLLED=no
Note: You can deleted BONDING_OPTS= "miimon=1000 mode=1" because it is not required and is already present in bond0.
- Prepare the ifup-eth script:
- Copy /etc/sysconfig/network-scripts/ifup-eth file to <RM_Install_Dir>/bin directory.
- In the <RM_Install_Dir>/bin/ifup-eth file, comment out lines 243 to 246, as follows:
# if ! /sbin/arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${ipaddr[$idx]} ; then # net_log $"Error, some other host already uses address ${ipaddr[$idx]}." # exit 1 # fi
- Enable executable permission by entering chmod +x <RM_Install_Dir>/bin/ifup-eth.
- Prepare the ifup script:
- Copy the /etc/sysconfig/network-scripts/ifup script to the <RM_Install_Dir>/bin directory.
- In the <RM_Install_Dir>/bin/ifup file, modify lines 157 to 161, as follows:
OTHERSCRIPT="''<RM_Install_Dir>''/bin/ifup-eth" # if [ ! -x ${OTHERSCRIPT} ]; then # OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth" # fi
- Enable executable permission by entering chmod +x <RM_Install_Dir>/bin/ifup.
- Repeat All previous steps on the standby host in the HA-pair.
Procedure: Configuring Bonding Driver Failover for RHEL 7.x
Configure Bonding Driver failover on the Resource Manager to achieve High Availability. To proceed with the following steps, log on to the Linux machine as a root user.
- Configure a bonding interface called BOND0. This interface is a virtual Ethernet interface that contains the physical Ethernet interface of ETH0. Go to the /etc/sysconfig/network-scripts/ directory and create the following file:
- Modify the physical ethernet interface related to the BOND0 interface:
- Repeat step (2) for ifcfg-eth1.
- Restart the network service to load the new configuration:
- Now, the new interface called bond0 is part of the network list:
- Check the bonding status using the following command:
- Create another virtual interface bond0:1 and enter the details as:
- Copy and paste /etc/sysconfig/network-scripts/ifup-eth file to the <RM_installation>/bin directory and comment out the following lines:
- Copy and paste the ifup file from network-scripts directory to <RM_installation>/bin directory. Then modify the following lines:
- Bring the bond0:1 interface up using the following command:
- Give read, write, and execute permissions to all the files in the bin directory of <RM_installation_path>.
- Repeat all the steps on the other host of the RM HA pair.
# vi ifcfg-bond0
DEVICE=bond0
TYPE=Ethernet
MASTER=yes
ONBOOT=yes
IPADDR=<ip_addr>
NETMASK=
GATEWAY=
BONDING_OPTS="mode=1 miimon=100"
BOOTPROTO=none
NM_CONTROLLED=no
Inside the BOND0 interface, an IP address is included. This IP address is the only IP address connected to the server.
# vi ifcfg-eth0
DEVICE=ens32
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
In the above example, the interface ETH0 is modified. Also, the IP address inside the eth0 interface is removed and MASTER = bond0 is appended.
# service network restart
If network restart fails, then disable NetworkManager using:
# service NetworkManager stop (To stop)
# chkconfig NetworkManager off (To disable)
Restart the network service again.
#service network restart
Now start and enable NetworkManager:
#service NetworkManager start
#chkconfig NetworkManager on
# ifconfig
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500
...
...
eth0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500
...
...
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
...
...
# cat /proc/net/bonding/bond0
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 08:00:27:61:e4:88
Slave queue ID: 0
# vi ifcfg-bond0:1
DEVICE=bond0:1
TYPE=Ethernet
NM_CONTROLLED=no
IPADDR=<your virtual IP address> (Same as virtual-ip in cluster section of RM Application)
NETMASK=
GATEWAY=
PREFIX=24
NAME=bond0:1
ONBOOT=no
ONPARENT=no
BOOTPROTO=none
After completing the above steps, make sure that the following files are available in the /etc/sysconfig/network-scripts/ directory:
ifcfg-bond0
ifcfg-bond0:1
ifcfg-eth0
# if ! LC_ALL=C ip addr ls ${REALDEVICE} | LC_ALL=C grep -q "${ipaddr[$idx]}/${prefix[$idx]}" ; then
# if [ "${REALDEVICE}" != "lo" ] && [ "${arpcheck[$idx]}" != "no" ] ; then
# /sbin/arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${ipaddr[$idx]}
# if [ $? = 1 ]; then
# net_log $"Error, some other host already uses address ${ipaddr[$idx]}."
# exit 1
# fi
# fi
OTHERSCRIPT="<RM_installation_directory>/bin/ifup-eth"
#if [ ! -x ${OTHERSCRIPT} ]; then
# OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth"
#fi
# ifup bond0:1
Restart the network service again. New interface bond0:1 is shown on the network list.
bond0:1: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500
…………
………….
Procedure: Enabling a Non-root User to Configure and Run Resource Manager
Create a user with permission to operate Resource Manager without root access. This user will access the Resource Manager install directory, and the directories /bin/ifup and /sbin/ifdown.
Run the following commands through the root account to give sudo permission for selected commands (<RM Install directory>/bin/ifup, /sbin/ifdown) to this user.
- Run the following commands in the console of the RHEL machine:
- visudo
This command opens the file. - Beneath the line root ALL= (ALL) ALL, add this line:
gvp-user ALL= NOPASSWD: <RM Install directory>/bin/ifup, /sbin/ifdown - Comment the new line Defaults requiretty.
- visudo
- Execute the following commands:
...to grant permission to gvp-user to edit/use the necessary files and folders.- chown gvp-user /etc/modprobe.conf ...for RHEL 5
- chown -R gvp-user /etc/modprobe.d ...for RHEL 6
- chown -R gvp-user /etc/sysconfig/network-scripts
- chown -R gvp-user /opt/genesys ...Grants permission to gvp-user for installing the GVP software.
- Log on (using ssh) as gvp-user.
- Configure Resource Manager for High Availability with the Procedure: Configuring the Resource Manager HA-Pair. Once you have completed the Resource Manager High Availability configuration...
- Modify the following files:
- NLB.bat: add sudo to the beginning of lines 10 and 13...
- line number 10 should read:
sudo <RM Install directory>/bin/ifup $activeIntf - line number 13 should read:
sudo /sbin/ifdown $activeIntf
- line number 10 should read:
- INIT.sh: add sudo at the beginning of line 6...
- line number 6 should read:
sudo /sbin/ifdown $activeIntf
- line number 6 should read:
- NLB.bat: add sudo to the beginning of lines 10 and 13...
- The non-root user gvp-user should begin the Procedure: Configuring Bonding Driver Failover at step 2.
Procedure: Configuring the INIT and NLB Script Files (Linux)
Verify that the mymemberid parameter that is configured in the cluster section of the Resource Manager Application for mymemberid=1 (and mymemberid=2) is the same as the configuration in the NLB.bat file for mymemberid=1 (and mymemberid=2).
Configure the INIT and NLB script files so that each Resource Manager host is assigned a unique member ID in the HA-pair.
- Verify that HA is set up on the Resource Manager hosts. See Procedure: Configuring Simple Virtual IP Failover, or Procedure: Configuring Bonding Driver Failover.
- At the Linux host, log in as root.
NLB.bat File
- Follow the instructions in the NLB.bat file to update the mymemberids:
- On the Resource Manager host that is assigned memberID=1 in the <RM_Install_Dir>/bin directory, update mymemberid=1.
- On the Resource Manager host that is assigned memberID=2 in the <RM_Install_Dir>/bin directory, update mymemberid=2.
- Save the changes.
INIT.sh File
- Follow the direction in the INIT.sh file to update the following lines:
- If you are using Simple Virtual IP Failover activeIntf="eth0:1".
- If you are using Bonding Driver Failover activeIntf="bond0:1".
- Save the changes.
Note: In the NLB.bat and INIT.sh files, the activeIntf= parameter must match the bonding-driver configuration; for example, use activeIntf="bond0:1 if you are configuring Bonding Driver failover. Use activeIntf="eth0:1 if the bonding driver is not configured. - Repeat this procedure on the Resource Manager host that is assigned memberID=2.
- Specify the NICs that you want to monitor. See Procedure: Specifying the NICs for Monitoring (Linux).
Procedure: Specifying the NICs for Monitoring (Linux)
Specify the NICs that are to be monitored by the Resource Manager.
- Verify that:
- More than two NICs are configured on the same host, and they are fully functional.
- Two NICs are configured as part of an HA-pair. See Procedure: Configuring Simple Virtual IP Failover or Procedure: Configuring Bonding Driver Failover.
- a unique member ID to each Resource Manager host in the HA-pair. See Procedure: Configuring the INIT and NLB Script Files (Linux).
- Log in to Genesys Administrator.
- On the Provisioning tab, select Environment > Applications.
- Select the Resource Manager Application you want to configure.
- On the Options tab, scroll to the GVP section. (Create the gvp section if it does not exist.)
- Add the nic parameter that corresponds nic.ethX parameter.
- If not configured by default, edit the nic.upvalue parameter as follows:
nic.upvalue = up - If not configured by default, edit the nic.linkattribute parameter as follows:
nic.linkattribute = MII Status: - Edit the nic.eth0 parameter as follows:
nic.eth0 = "/proc/net/bonding/bond0" Configure the nic.eth0 parameter value as shown above, even when Simple Virtual IP failover is used. If the file cannot be read, the NIC status is queried directly by default during NIC detection. - Add the nic.eth1 parameter as follows:
nic.eth1 = "/proc/net/bonding/bond0" If Simple Virtual IP failover is used, configure the nic.eth1 parameter as follows (where represents an empty string): nic.eth1 = - If more than two NICs exist, configure the nics option value to 0 1.
TipThe instructions in Step 8, 9, and 10 are based on the assumption that the chosen network interfaces are numbered 0 and 1. If this configuration does not match the actual interface numbers in your system, change the values accordingly.
- Save the changes.
- Execute the INIT file on each Resource Manager host. See Start Resource Manager HA-pair in NLB mode.
Creating Alarm Reaction Scripts, Conditions, and Reaction Applications
When an active Resource Manager goes down, but does not stop it's virtual IP, and then the backup Resource Manager becomes active and starts it's virtual IP, the two systems will claim the virtual IP. Therefore, when a system sends an ARP query to determine where the virtual IP can be reached, it might obtain or use the response from the system with the inactive Resource Manager.
To ensure this does not occur, complete each task in the Task Summary: Configuring the Resource Manager to Use Alarm Scripts on both the primary and backup Resource Manager instances.
Objective | Related Procedures and Actions |
---|---|
|
Procedure: Creating the Third Party Server Template. |
|
Procedure: Creating the Reaction Applications. |
|
Procedure: Creating and Configuring the Alarm Reaction Scripts. |
|
Procedure: Creating an Alarm Condition for an RM Stopped Intentionally. |
|
Procedure: Creating an Alarm Condition for an RM Stopped Unexpectedly. |
Procedure: Creating the Third Party Server Template
Create a Third Party Server template to use for the Reaction Applications (which the next procedure will create).
- Log in to Genesys Administrator.
- On the Provisioning tab, select Provisioning > Environment > Application Templates.
- Click New.
- On the Configuration tab, populate the following fields:
- Name: Third Party Server
- Type: Third Party Server
- Version: 1.0
- Click Save & Close.
- Create the Reaction Applications. See Procedure: Creating the Reaction Applications (immediately below).
Procedure: Creating the Reaction Applications
Create the Reaction Applications that stop the NIC (the virtual IP interface) on the Resource Manager that is down (intentionally or unintentionally).
- In Genesys Administrator, go to Provisioning > Environment > Applications.
- Click New.
- On the Configuration tab, in the General section, populate the following fields:
- Name: stop_pri_VIP or stop_bac_VIP
- Application template: Third Party Server
- In the Server Info section, populate the following fields:
- Host: <Primary RM host object> or <Backup RM host object>
(Add the name of the primary or backup Resource Manager host object.) - Listening Ports: <Port Number>
(Add a default unused port, typically in the 70xx range.) - Working Directory: <RM bin directory>
(Add the actual Resource Manager bin directory.) - Command Line: ./NLB.bat
For IPTakeover, you must use IPTakeOver.bat
Command Line=IPTakeOver.bat}} - Command Line Arguments: disable 2
(for stop_pri_VIP) or disable 1 (for stop_bac_VIP)
- Host: <Primary RM host object> or <Backup RM host object>
- Click Save & Close.
- Create the Alarm Scripts. See Procedure: Creating and Configuring the Alarm Reaction Scripts.
Procedure: Creating and Configuring the Alarm Reaction Scripts
Configure the Alarm Reaction scripts that cause the Reaction Applications to be run when the Alarm Reaction script is called.
- In Genesys Administrator, go to Provisioning > Environment > Scripts.
- Click New.
- On the Configuration tab, in the General section, populate the following fields:
- Name: pri_rm_not_running or bac_rm_not_running
- Script Type: Alarm Reaction
- Click Save & Close.
Configuring Alarm Scripts
- In the list of Scripts, click (to highlight) the Alarm script you created in Procedure: Creating and Configuring the Alarm Reaction Scripts.
- In the Tasks pane, click Script Wizard and enter the following in each step of the wizard:
- Tenant and Name: Select the applicable tenant.
- Alarm Reaction Type: Start a specified application.
- Alarm Reaction Details: stop_pri_VIP or stop_bac_VIP (See Procedure: Creating the Reaction Applications.)
- When the wizard is complete, Click Finish.
- Create the Alarm Conditions. See Procedure: Creating an Alarm Condition for an RM Stopped Intentionally.
Procedure: Creating an Alarm Condition for an RM Stopped Intentionally
Create an Alarm condition under which an Alarm script is activated when the Resource Manager is stopped intentionally.
- In Genesys Administrator, go to Provisioning > Environment > Alarm Conditions.
- Click New.
- On the Configuration tab, in the General section, populate the following fields as shown here:
- Name: rm_pri_stopped or rm_bac_stoppedINSERT_TEXT
- Description: primary RM was manually stopped or backup RM was manually stopped
- Detect Clearance Timeout: 1 (change the default value from 86400)
- Detect Log Event ID: 5091
- Detect Selection Mode: Select by Application (from drop-down menu)
- Detect Application: Enter primary or backup Resource Manager Application object (the actual Resource Managers, not the reaction objects).
- In the Scripts section, populate the following fields with equivalent data:
colspan="2"|Scripts
Field Sample Data General Name rm_pri_stopped Description Primary RM was manually stopped Category Major (selected from a drop-down list) Detect Script (select from a search field) Clearance Timeout 1 Detect Log Event ID 5091 Detect Selection mode Select by Application (from a drop-down list of applications) Detect Application Type GVP Resource Manager (selected from a drop-down list) Detect Application HA_RM_2 (selected from a search field) Cancel Log Event ID: 0 State: Enabled Name pri_rm_not_running Script Type Alarm Reaction State Enabled - Click Add in the Reaction Scripts: field to add pri_rm_not_running or bac_rm_not_running. (See Procedure: Creating and Configuring the Alarm Reaction Scripts.)
- Click Save & Close.
- Provision the Alarm Conditions. See Procedure: Creating an Alarm Condition for an RM Stopped Intentionally
Procedure: Creating an Alarm Condition for an RM Stopped Unexpectedly
Create an Alarm condition that activates an Alarm script when the Resource Manager is stopped unexpectedly.
- In Genesys Administrator, go to Provisioning > Environment > Alarm Conditions.
- Click New.
- On the Configuration tab, in the General section, populate the following fields:
- Name: rm_pri_down or rm_bac_down
- Description: primary RM stopped unexpectedly or "backup RM stopped unexpectedly"
- Detect Clearance Timeout: 1 (change the default value from 86400)
- Detect Log Event ID: 5064
- Detect Selection Mode: Select by Application (from drop-down menu)
- Detect Application: Enter primary or backup Resource Manage Application object (the actual Resource Manager instances, not the reaction objects).
- In the Scripts section, populate the following fields:
- Click Add in the Reaction Scripts: field to add pri_rm_not_running or bac_rm_not_running. (See Procedure: Creating and Configuring the Alarm Reaction Scripts.)
- Click Save and Close.