To use an RCM, you must configure OpenSwitch by setting the COORD_MODE parameter to ALWAYS. The RCM can then coordinate the switch of users between the active and the standby Adaptive Servers so that the OpenSwitch server does not allow users to connect unless the RCM is available. OpenSwitch determines which server the users are connected to when failover occurs, while the RCM determines the state of each server (either UP or DOWN). If the RCM determines that the active server is down, OpenSwitch switches clients from that server to the standby server.
The parameters in Table 4-1, which are located in the [CONFIG] section of the OpenSwitch configuration file, are vital to the success of coordinated failover, and you must set them correctly.
Parameter |
Description |
Value |
---|---|---|
COORD_MODE |
Setting this parameter to ALWAYS indicates that an RCM is required. For warm standby environments with coordinated failover, this parameter must be set to ALWAYS. |
|
COORD_PASSWORD |
The password that the RCM uses to log in to the OpenSwitch server. This parameter must match the RCM COORD_PASSWORD configuration parameter. |
OpenSwitch administrator password |
COORD_USER |
The user name that the RCM uses to log in to the OpenSwitch server. This parameter must match the RCM COORD_USER configuration parameter. |
OpenSwitch administrator user name |
SERVER_NAME |
The name of the OpenSwitch server. This is the name of the OpenSwitch server as defined in the sql.ini (Windows) or interfaces (UNIX) file. |
OpenSwitch server name |