Redundant (HA) Message Servers
Contents
This section describes how to deploy redundant Message Servers.
Redundancy
Redundant Message Servers support only the Warm Standby redundancy type, with the addition that the data is synchronized between the primary and backup servers.
Deploying Redundant Message Servers
This section describes how to install and set up redundant Message Servers.
Installation Recommendations
If you are installing the primary and backup Message Servers on the same host computer:
- Install them in different directories.
- Specify a different port number for each server.
Prerequisites
- Configuration Layer components are installed and running as described in Deploying Configuration Layer.
- You are logged into Genesys Administrator.
Important
Once installed, the two Message Servers must be started from the same account.Installation and Configuration
Tip
(Optional) If the backup Message Server is to reside on a remote Host, you can deploy it to that Host using Genesys Administrator Extension. For instructions, refer to the
Framework 8.1 Genesys Administrator Extension Help.- Configure an Application object for the backup Message Server.
- Go to Provisioning > Environment > Applications.
- If the Application object for this backup Message Server does not already exist, click New to create it.
- In the General section of the Configuration tab:
- Enter a descriptive name in the Name text box.
- Select the appropriate template, as follows:
- Click the search icon in the Application Template field to open a Browse dialog box that lists the available application templates. If a Message Server template file is not listed, close the dialog box and import the Message_Server_current-version.apd file from the Management Framework 8.1 product CD.
- In the Browse dialog box, select the Message Server template file.
- Click OK.
- In the Server Info section of the Configuration tab, enter the following information, as required:
- In the Host field, click the magnifying glass icon to select the Host object on which this Message Server is running.
- For each listening port that an application must use to connect to this Message Server:
- In the Listening Ports field, click Add.
- Enter the port properties in the Port Info dialog box.
- Click OK.
- For the Working Directory, Command Line, and Command Line Arguments fields, do one of the following:
- Enter the appropriate information in each of the text boxes. For information about command-line parameters, see Starting a Backup Message Server.
- Type a period (.) in the Working Directory and Command Line text boxes, and leave the Command Line Arguments text box blank. The information will be filled in automatically when you install Message Server, but only if the Installation Package can connect to Configuration Server.
- Select the Auto-Restart check box.
- Click Save and Close in the toolbar to save the new object.
- If you did not deploy the backup Message Server using Genesys Administrator Extension, install it now.
- Modify the primary Message Server Application object to work with the backup Message Server.
Prerequisite
- The primary and backup Message Server Application objects exist.
Procedure
- Go to Provisioning > Environment > Applications, and double-click the primary Message Server Application object to open its properties.
- In the Server Info section of the Configuration tab:
- Select the backup Message Server Application object.
- Select Warm Standby as the redundancy type.
- Select Auto-Restart if required.
- Click Save and Close to save the configuration.
- If you installed the backup Message Server on UNIX, check the run.sh file and modify it, if necessary, so the Application can be started properly.
- In a text editor, open the run.sh file.
- Check if the following parameters are currently in the command line in the file, and if not, add them:
-host <configuration server host> -port <configuration server port> -app <application object name>
- Synchronize options and ports between the redundant Message Servers.
Starting the Backup Message Server
When starting a backup Message Server, be sure to use the following command-line options:
-host | The name of the host on which Configuration Server is running. |
-port | The communication port that client applications must use to connect to Configuration Server. |
-app | The exact name of the backup Message Server Application object as configured in the Configuration Database. |
For a description of the command-line parameters specific to Message Server, refer to Message Server.
Starting the Backup Message Server on UNIX
Prerequisite
- The run.sh file has been modified accordingly. See Step 5, above.
Procedure
- To start from Genesys Administrator, refer to Starting and Stopping with the Management Layer.
- To start manually, go to the directory in which the backup Message Server is installed, and do one of the following:
- To use only the required command-line parameters, type the following command line:
sh run.sh - To specify the command line yourself, or to use additional command-line parameters, type the following command line:
MessageServer -host <Configuration Server host> -port <Configuration Server port> -app <backup Message Server Application> [<additional parameters and arguments as required>]
- To use only the required command-line parameters, type the following command line:
Starting the Backup Message Server on Windows
- To start as a Windows Service, refer to Starting and Stopping with Windows Services Manager.
- To start from Genesys Administrator, refer to Starting and Stopping with the Management Layer.
- To start manually, do one of the following:
- Use the Start > Programs menu.
- To use only the required command-line parameters, go to the directory in which the backup Message Server is installed, and double-click the file startServer.bat.
- To specify the command line yourself, or to use additional command-line parameters, open the MS-DOS window, go to the directory in which the backup Message Server is installed, and type the following command line:
MessageServer.exe -host <Configuration Server host> -port <Configuration Server port> -app <backup Message Server Application> [<additional parameters and arguments as required>]
This page was last edited on January 26, 2018, at 18:31.
Comments or questions about this documentation? Contact us for support!