Cisco Unified MeetingPlace, Release 7.0 -- How to Configure Application Server Failover

From DocWiki

Jump to: navigation, search

Main page: Cisco Unified MeetingPlace, Release 7.0

Up one level: Configuration



Contents

Setting Up Failover for Two Newly Installed Application Servers

Before You Begin


Procedure
  1. Install the first Application Server (Node 1).
    During installation, you configure the hostname and IP address of eth0, which is called "Ethernet Port 1(device eth0)" on the Network Setup page.
  2. Log in to the CLI of Node 1.
    If you are logging in remotely, use the eth0 IP address or hostname.
  3. Enter the following command to set up Node 1 for failover:
    failoverUtil setDeployment failover
  4. Follow the CLI prompts to configure the virtual network interface (eth0:0) with an IP address, subnet mask, default gateway, and hostname.
    Node 1 automatically restarts and enters standby mode.
  5. Install the second Application Server (Node 2), ensuring the following:
    • Node 1 and Node 2 use the exact same IP address and hostname for eth0.
    • Time is synchronized between Node 1 and Node 2.
  6. Log in to the CLI of Node 2.
    If you are logging in remotely, use the eth0 IP address or hostname.
  7. Enter the following command to set up Node 2 for failover:
    failoverUtil setDeployment failover
  8. Follow the CLI prompts to configure the virtual network interface (eth0:0) with an IP address, subnet mask, default gateway, and hostname.
    Node 2 automatically restarts and enters standby mode.
  9. Enter the following command to initialize database replication:
    mp_replication init -s 1 -n 2 -l node2-eth0:0-hostname -r node1-eth0:0-hostname -h
  10. Log in to the CLI of Node 1.
    If you are logging in remotely, use the Node 1 eth0:0 IP address or hostname.
  11. Enter the following commands to initialize and start database replication:
    mp_replication init -s 1 -n 1 -l node1-eth0:0-hostname -r node2-eth0:0-hostname -h
    mp_replication switchON -r node2-eth0:0-hostname
  12. Enter the following command to change Node 1 from standby mode to active mode:
    failoverUtil setServer active


Verifying

Using the hostname or IP address of the virtual eth0:0 interface, log in to the Administration Center of each node, and verify that the correct failover deployment mode (active or standby) appears at the top of the page.


Troubleshooting Tips
  • If the Administration Center in both nodes displays "Failover deployment. Standby server," something may have interrupted the process initiated in Step 12. To resolve this issue, see the failoverUtil setServer command description.
  • During this process, you may see several error messages. These error messages are expected behavioor and informational only. The final message of the command explicitly says if the command ran successfully or not.
An example of an error message that you can ignore is:
* Error:
'/opt/cisco/meetingplace/database/versions/IIF.10.00.UC5XL/etc/sqlhosts not initialized. xxxxxx  is missing'
* Forcing the fix
The final message, which indicates if the process was successful, is:
Database Replication changes for this machine (Host = <hostname>; IP Addr = <ip addr>) is SUCCESSFUL


Related Topics


What To Do Next

Proceed to Configuring the Application Servers in a Failover Deployment.


Setting Up Failover for One Existing Application Server and One Newly Installed Application Server

In this task:

  • Node 1 is the existing Application Server.
  • Node 2 is the new Application Server.


Before You Begin


Caution! Performing this task temporarily brings down your Cisco Unified MeetingPlace system. Proceed only during a scheduled maintenance period.


Procedure
  1. Install the second Application Server (Node 2), ensuring the following:
    • To reduce system downtime during this procedure, enter the Node 2 eth0:0 (or any valid and currently unused) IP address and hostname when you configure "Ethernet Port 1(device eth0)" on the Network Setup page.
      This configuration is temporary; you will change the eth0 IP address and hostname to the correct value later in this procedure.
    • Node 1 and Node 2 server times must be synchronized with each other.
  2. Log in to the CLI of Node 1.
    If you are logging in remotely, use the Node 1 eth0 IP address or hostname.
  3. Enter the following command to set up Node 1 for failover:
    failoverUtil setDeployment failover
  4. Follow the CLI prompts to configure the virtual network interface (eth0:0) with an IP address, subnet mask, default gateway, and hostname.
    Node 1 automatically restarts and enters standby mode.
  5. Log in to the CLI of Node 2.
    If you are logging in remotely, use the temporary Node 2 eth0 IP address or hostname that you entered during installation in Step 1.
  6. Enter the net command to change the Node 2 eth0 IP address and hostname to match the Node 1 eth0 IP address and hostname.
    Because Node 1 is still in standby mode, Node 2 is now the active server.
  7. Enter mpx_sys restart to restart Node 2.
  8. Log in to the CLI of Node 2, this time using the shared eth0 IP address or hostname.
  9. Enter the following command to set up Node 2 for failover:
    failoverUtil setDeployment failover
  10. Follow the CLI prompts to configure the virtual network interface (eth0:0) with an IP address, subnet mask, default gateway, and hostname.
    Node 2 automatically restarts and enters standby mode.
  11. Enter the following command to initialize database replication:
    mp_replication init -s 1 -n 2 -l node2-eth0:0-hostname -r node1-eth0:0-hostname -h
  12. Log in to the CLI of Node 1.
    If you are logging in remotely, use the Node 1 eth0:0 IP address or hostname.
  13. Enter the following commands to initialize and start database replication and synchronize existing data:
    mp_replication init -s 1 -n 1 -l node1-eth0:0-hostname -r node2-eth0:0-hostname -h
    mp_replication switchON -r node2-eth0:0-hostname -S -F node1-eth0:0-hostname
    For more information about synchronization, see About Synchronization.
  14. Enter the following command to change Node 1 from standby mode to active mode:
    failoverUtil setServer active


Verifying

Using the hostname or IP address of the virtual eth0:0 interface, log in to the Administration Center of each node, and verify that the correct failover deployment mode (active or standby) appears at the top of the page.


Troubleshooting Tips
  • If the Administration Center in both nodes displays "Failover deployment. Standby server," something may have interrupted the process initiated in Step 14. To resolve this issue, see the failoverUtil setServer command description.
  • During this process, you may see several error messages. These error messages are expected behavioor and informational only. The final message of the command explicitly says if the command ran successfully or not.
An example of an error message that you can ignore is:
* Error:
'/opt/cisco/meetingplace/database/versions/IIF.10.00.UC5XL/etc/sqlhosts not initialized. xxxxxx  is missing'
* Forcing the fix
The final message, which indicates if the process was successful, is:
Database Replication changes for this machine (Host = <hostname>; IP Addr = <ip addr>) is SUCCESSFUL



Related Topics


What To Do Next

Proceed to Configuring the Application Servers in a Failover Deployment.


Configuring the Application Servers in a Failover Deployment

Whenever you need to configure the Application Server in a failover deployment, use this procedure to make sure that both the active and standby servers have the same configuration.


Before You Begin
  • Determine the hostname or IP address of both of the following virtual network interfaces:
    • eth0:0 of the active server
    • eth0:0 of the standby server


Procedure
  1. Go to http://<application-server>/admin/.
    Use the shared eth0 hostname or IP address, which always goes to the active Application Server.
  2. Log in as a System administrator.
  3. Configure the active server.
    Take note of any changes you make on pages or fields that are labeled as:
    • Copied
    • Server-specific
    • Partially replicated
  4. If you made changes to any copied pages or parameters, perform the following steps:
    1. Log in to the CLI of the active server.
      If you are logging in remotely, use the eth0 IP address or hostname.
    2. Enter the following command to compress and transfer the files from the active server to the standby server:
      failoverUtil copyConfigFiles
    3. Log in to the CLI of the standby server.
      If you are logging in remotely, use eth0:0 IP address or hostname.
    4. Enter the following command to decompress the transferred files and put them in the correct directories on the standby server:
      failoverUtil restoreConfigFiles
  5. If you made changes to any server-specific pages or parameters, perform the following steps.
    Tip: If your workstation screen is large enough to accommodate two full web browser windows without overlapping, you can simultaneously view the Administration Center for both the active and standby servers. This may help you configure the server-specific parameters to match between the active and standby servers.
    1. Go to http://standby-eth0:0/admin/.
      Use either the hostname or IP address of the virtual eth0:0 interface of the standby Application Server.
    2. Log in as a System administrator.
    3. Verify that "Failover deployment. Standby server." appears at the top of the page.
    4. Configure the server-specific parameters on the standby server.


Related Topics

Rating: 0.0/5 (0 votes cast)

Personal tools