Revision as of 23:27, October 23, 2014 by Sschlich (talk | contribs)
Jump to: navigation, search

Resource Manager HA (Windows)

Task Summaries and Procedures

Task Summary: Configuring the RM in HA Active Standby (Windows)
Objective Related Procedures and Actions
  1. Configure NLB on the Resource Manager hosts.
See Procedure: Configuring Resource Manager HA (Windows 2003) or Procedure: Configuring Resource Manager HA (Windows 2008).
  1. Configure the member IDs and NLB script path in the Resource Manager Applications.
See Procedure: Configuring the Resource Manager HA-Pair.
  1. Configure the virtual IP address of the HA-pair in the INIT and NLB script files.
See Procedure: Configuring the INIT and NLB Script Files (Windows).
  1. Specify the NICs that require monitoring (optional).
See Procedure: Specifying the NICs to Monitor (Windows).

Note: In Windows environments, NICs monitoring is optional. If there are only two NICs installed on the host, omit this procedure. For more information about monitoring the NICs, see Monitoring the NICs.

  1. If you are installing Resource Manager HA on Windows 2008, configure a network account with Administrator privileges (not required on Windows 2003).
See Procedure: Configuring the Resource Manager Service (Windows).

Note: Windows 2008 does not support the NLB command /PASSW argument for remote procedure calls. Therefore, the Resource Manager Service must run as a network account that has Administrator privileges.

  1. Complete finals steps before starting the Resource Manager HA-pair in NLB mode.
See Start Resource Manager HA-pair in NLB mode.
Task Summary: Configuring the RM in HA Active Active (Windows)
Objective Related Procedures and Actions
  1. Configure the member IDs in the Resource Manager Applications.
See Procedure: Configuring the Resource Manager HA-Pair.
  1. Configure the virtual IP in the Media Control Platform, Call Control Platform, and CTI Connector Applications.
See Procedure: Integrating Application Objects with Resource Manager and Procedure: Configuring the Call Control Platform.

Note: When you use these procedures to configure active active HA mode, the virtual IP is used as the Resource Manager IP.

  1. Configure the external load balancer.
See the vendor documentation for the type of load balancer you are using (for example, F5 or Radware).

You can configure the Resource Manager in HA active standby mode by using the Windows NLB service. Use the procedures in this section to configure the Resource Manager HA-pair on Windows 2003 or 2008.

Procedure: Configuring Resource Manager HA (Windows 2003)

Complete this procedure on each of the Resource Manager hosts in the HA-pair, specifying a unique ID for each host.

[+] Purpose


[+] Steps


[+] Next


Procedure: Configuring Resource Manager HA (Windows 2008)

Perform this procedure on each of the Resource Manager hosts in the NLB cluster, specifying a unique ID for each host.

[+] Purpose


[+] Prerequisites


[+] Steps


[+] Next


Tip
The following information applies to NLB configuration on Windows 2003 and 2008:

In active standby mode, when the active Resource Manager nodes NLB-dedicated NIC cannot be reached (due to an unplugged cable, a disabled NIC, or a shutdown host), it can take several seconds to several minutes before the traffic is re-routed to the standby Resource Manager node.

When the active Resource Manager node cannot be reached, the standby node issues the wlbs command (see Procedure: Configuring the INIT and NLB Script Files (Windows)) as part of the failover sequence. If the dedicated NLB NIC of the currently active Resource Manager node cannot be reached, then the wlbs command can hang for several seconds and cause the failover to be delayed.

In addition, if the failover occurred because the Resource Manager machine was shut down, the previously active Resource Manager might temporarily take over the traffic when the machine reboots. To resolve this issue:

  1. In the Network Load Balancing Properties on both of the Resource Manager hosts in the cluster, go to the Host Parameters section.
  2. In the Initial host state section, select Stopped from the Default state drop-down menu.

Procedure: Configuring the Resource Manager HA-Pair

Complete this procedure for each Resource Manager HA Application in the HA-pair.

[+] Purpose


[+] Prerequisites


[+] Steps


[+] Next


Procedure: Specifying the NICs to Monitor (Windows)

[+] Purpose


[+] Prerequisites


[+] Steps


[+] Next


Procedure: Configuring the INIT and NLB Script Files (Windows)

Configure the INIT.bat and NLB.bat files on each Resource Manager host in the HA-pair.

[+] Purpose


[+] Prerequisites


[+] Steps


[+] Next


Procedure: Configuring the Resource Manager Service (Windows)

[+] Purpose


[+] Steps


[+] Next


Start Resource Manager HA-pair in NLB mode

[+] Steps


Resource Manager HA IP Address Takeover for Windows

Beginning with release 8.1.6, Resource Manager supports IP Address Takeover for Windows.

Resource Manager (RM) is used with SIP Server for Media Server applications, and with GVP for VoiceXML applications. Resource Manager provides an essential intelligence for GVP and media policy management, resource management and reporting. Resource Manager monitors the availability of media servers and directs SIP Server to connect sessions to the most suitable media server.

Resource Manager High Availability means that the RM function can be deployed as a pair of RM processes. You can configure RM pairs to send updates to each other regarding the status of requests and system states. RM pairs can be deployed in Active Standby or Active Active modes.

If SIP Server is sending requests to an RM Active Active configuration, it requires that a load balancer be placed between SIP Server and the Resource Manager Pairs. F5, NLB, and Radware are examples of third party load balancers that can perform these functions. Active Active designs require load balancing to maintain stickiness of the session between SIP Server and the RM selected.

If SIP Server is sending requests to an RM pair configured in Active Standby, then SIP Server is directing requests only to the active RM, using a Virtual IP. The RMs have an internal selection mechanism to determine which node should be the active one. The standby RM is used to take over the role of the Primary only when the current active RM process fails. There are two ways to accomplish the takeover: you can use Windows NLB for monitoring and switching.

Or, you can use the Genesys Solution Control Server (SCS) to monitor alarms sent to it for RM; if the active RM goes down, then SCS can execute scripts that change the Virtual IP addressing between SIP Server to the formerly-standby-now-active RM. The RM also has its internal mechanism of performing failover using heartbeat monitoring between the pair. The active standby configuration does not require a load balancer, but does need an effective script solution.

Table 53: IP Address Takeover vs. Load Balancing A Comparison
RM Configuration RM Scripts RM Load Balancing Pro Con
Active Standby
(Load Balancing)
Windows NLB Comes with the product, slightly easier config; supports Windows.
Active Standby
(IP Address Takeover)
IP-Takeover Patch with Scripts Comes with the product, slightly easier configuration; supports Windows & Linux. Still less reliable than NLB in this configuration for switchover timing; see the Resource Manager Release Note.
Active Active
(IP Address Takeover)
F5, NLB Fast takeover. Complex Config, 3rd Party sw, NLB is windows only.
Active Active
(Load Balancing)
Genesys SIP Server with internal load balancing Comes with the product, easy configuration, baked-in function.

Procedure: Configure Resource Manager High Availability Using Virtual IP Address Takeover for Windows

[+] Purpose


[+] Prerequisites


[+] Steps


[+] Caution


Virtual IP (VIP) Address Takeover for Windows is less reliable than a Windows NLB cluster configuration

Adding or removing an IP address using VIP Address Takeover is more complicated than enabling or disabling a port in the Windows NLB configuration. VIP Address Takeover fails when either command on the backup or the primary fails. By comparison, in the Windows NLB configuration there is no dependency on a backup command to succeed for most of the failover scenarios.

Netsh (the Microsoft utility used for IP Address Takeover) takes longer to modify the network configuration than it does to enable or disable a port in the NLB configuration. Also, the time may depend upon a particular NIC and its configuration. Normally, modification takes less than 15 seconds to execute, but in this situation it can take as long as 30-45 seconds.

In addition, the Netsh command can fail if the NIC configuration is already being accessed through the Network Properties User Interface.

Virtual IP Interface Takeover Scripts

Find these scripts on your Installation CD or in the IP package that you downloaded over the internet:

Ping.vbs: Ping host and return 1 if the ping is successful, 0 if not, -1 if target not specified.

Check_ip.vbs: Check if the IP address (arg0) can be found on the host (arg1) and return 1 if found, 0 if not, -1 if address and host not specified.

INIT_IPTakeOver.bat: Optional. You can manually execute this batch script, to disable the Virtual IP interface in the RM box before starting the RM process.

IPTakeOver.bat: Enable or disable the Virtual IP interface in the RM box, during RM's own internal election process or when a failover event occurs.

For steps that configure the Resource Manager application, go to Procedure: Configuring the Resource Manager HA-Pair.

Comments or questions about this documentation? Contact us for support!