Contents
[hide]Redundant (HA) Configuration Servers
This section describes how to deploy redundant Configuration Servers.
Redundancy
Redundant Configuration Servers support only the Warm Standby redundancy type.
Both the primary and backup Configuration Servers operate with the same Configuration Database. The backup Configuration Server does not accept client connections or make changes to the data until its role is switched to primary. When the backup Configuration Server starts, it establishes a connection to the primary Configuration Server. During the operation, the primary Configuration Server sends notifications about all changes made in the Configuration Database to the backup Configuration Server.
If there are any Configuration Server Proxies connected to the primary Configuration Server when it fails, those Proxy servers connect to the backup Configuration Server when it assumes the primary role.
Deploying Redundant Configuration Servers
This section describes how to install and set up redundant Configuration Servers.
Installation Recommendations
- To ensure proper redundancy, Genesys recommends running the primary and backup Configuration Servers on separate computers.
- When both the primary and backup Configuration Servers are running, do not remove the backup Configuration Server Application object from the configuration.
- You are responsible for ensuring that the configuration options of the primary and backup Configuration Servers are the same, with some exceptions: the log options in the primary Configuration Server can differ from those in the backup Configuration Server configuration.
Prerequisites
- Configuration Layer components are installed and running as described in Deploying Configuration Layer.
- You are logged into Genesys Administrator.
Installation and Configuration
1. Configure an Application object for the backup Configuration Server. [+] Show steps
|
2. Install the backup Configuration Server. [+] Show stepsPrerequisite
Installing the Backup Configuration Server on UNIX
When the installation process is finished, a message indicates that installation was successful. The process places the backup Configuration Server in the directory specified during the installation process. The installation script also writes a sample configuration file, confserv.sample, in the directory in which the backup Configuration Server is installed. If you chose to configure the backup Configuration Server during installation, the sample configuration file, confserv.sample, is renamed confserv.conf, and the parameters specified in Steps l and m are written to this file. Next StepsIf you chose to configure the backup Configuration Server after installation, you must manually rename the sample file as confserv.conf and modify the configuration options before you start the backup Configuration Server. See Configuration Server Configuration File.
Installing the Backup Configuration Server on UNIXWarning Genesys does not recommend installation of its components via a Microsoft Remote Desktop connection. The installation should be performed locally.
As a result of the installation, the wizard adds Application icons to the:
For more information about the Configuration Server configuration file, see Configuration Server Configuration File. For information about Configuration Server configuration options and their values, refer to the relevant chapters in the Framework Configuration Options Reference Manual. |
3. Modify the primary Configuration Server Application object to work with the backup Configuration Server. [+] Show stepsPrerequisite
Procedure
|
4. If you installed the backup Configuration Server on UNIX and chose to configure it after installation, create and modify the configuration file for the backup Configuration Server. [+] Show steps The configuration file for the backup Configuration Server must be the same as that for the primary Configuration Server with the following exceptions:
The name of the Configuration Server section must be exactly the same as the name of the Application object for the backup Configuration Server. For both the primary and backup Configuration Servers, specify the same database and user account for accessing this database. The No Default Access for New Users feature must be configured the same in both the primary and backup Configuration Servers. In other words, both Configuration Servers must have the feature either configured or not. Sample configuration files are shown side-by-side in the figure below. The arrows show the differences described in this section. |
5. If you installed the backup Configuration Server on UNIX, modify the run.sh file to enable the backup server to be started. [+] Show steps
|
6. Manually synchronize options and ports between the redundant Configuration Servers. |
7. Manually synchronize high-availability (HA) ports between the redundant Configuration Servers. [+] Show steps When Configuration Servers operate in a high-availability (HA) environment, the backup Configuration Server must be ready to take on the primary role when required. This requires that both Configuration Servers are running and that they must have the same information. When you configure redundant Configuration Servers to operate with the Warm Standby redundancy type, the primary Configuration Server uses the connection to the backup to deliver synchronization updates. Genesys recommends that you enable Advanced Disconnect Detection Protocol (ADDP) for this connection. Important You can configure multiple ports for any Application of type Server. When multiple ports are configured for a server in a Warm Standby redundancy pair, the number of ports, their Port IDs, and the Listening Mode settings of the primary and backup servers must match, respectively. |
8. Solution Control Server is required for HA Configuration Servers to switch over. Modify and start the SCS responsible for that pair to work with the Configuration Server running in Primary mode. [+] Show steps The SCS configuration file has a filename extension of .cfg (for Windows), and .conf (for UNIX). Here is a sample of the contents: [backup_configserver]
host=<backup CS host name>
port=<backup CS port>
name=<SCS application name>
server=primary_configserver
[primary_configserver]
host=<primary CS host name>
port=<primary CS port>
name=<SCS application name>
server=backup_configserver Important
When using HA Configuration Servers, you must restart Solution Control Server to enable it to connect it to the Configuration Server running in Primary mode. If a Master Configuration Server is part of an HA pair, the SCS responsible for that pair of servers must be provisioned with a startup option as follows: scs.exe -f SCS configuration file |
Starting the Backup Configuration Server
When starting a backup Configuration Server, specify the following values in the startup command line:
-s | The name of the Configuration Server section within the configuration file for the backup Configuration Server. |
-c | The name of the configuration file that contains configuration information for the backup Configuration Server. |
For a description of the command-line parameters specific to Configuration Server, refer to Configuration Server.
Starting a Backup Configuration Server on UNIX
- 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 Configuration 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:
confserv -s <section name> -c <configuration file name> [<additional parameters as required>]
- To use only the required command-line parameters, type the following command line:
Starting a Backup Configuration 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 Configuration 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 Configuration Server is installed, and type the following command line:
confserv.exe -s <section name> -c <configuration file name> [<additional parameters as required>]
Configuring ADDP between Redundant Configuration Servers
Advanced Disconnect Detection Protocol (ADDP) is supported between primary and backup Configuration Servers. Use the new configuration options protocol, addp-timeout, addp-remote-timeout, and addp-trace, setting them in the configuration server section of the configuration files for both Configuration Servers. For the primary Configuration Server, this section is called [confserv]. For the backup Configuration Server, this section has the same name as the backup Configuration Server Application object. For detailed descriptions of these options, refer to the Framework Configuration Options Reference Manual.
For example, in a primary Configuration Server configuration file, the ADDP options would appear as follows:
[confserv]
...
protocol=addp
addp-timeout=16
addp-remote-timeout=32
addp-trace=both
...
For more information about ADDP, see Advanced Disconnect Detection Protocol.