Defining primary and secondary node HotStandby configuration
At minimum, to configure HotStandby, you must set the HotStandby.HSBEnabled parameter to yes on both nodes, and define the connection settings between the two nodes.
The solid.ini configuration files on each node must have the following minimum configuration information in the [HotStandby] sections of the solid.ini files:
▪The HotStandby.HSBEnabled parameter must be set to yes.
If the HotStandby.HSBEnabled is not set to yes, the server starts as a non-HotStandby server and HotStandby replication is not used.
▪The HotStandby.Connect parameter must be set. This parameter defines the network name that is used to connect to the other server (either Primary or Secondary). If you do not set this parameter in the solid.ini file, the server can run only in the states that do not require a connection, for example, PRIMARY ALONE, SECONDARY ALONE, and STANDALONE. When the server is running, you can set or change this parameter by using the ADMIN COMMAND 'parameter' command.
▪The HotStandby.Connect string for each server must match the Com.Listenstring of the other server. For example, if the server on Node 1 is listening at tcp 2315, the HotStandby.Connect parameter on the server at Node 2 must be set to tcp <node_name | ip_address> 2315. The node_name or ip_address of the server on Node 1 must be specified also.
Example: Node 1 minimum configuration
[Com] Listen=tcp 2315
[HotStandby] HsbEnabled=yes
Connect=tcp node2 2325 ;The server on Node 1 connects to the server on Node 2 ;using the connect string 'tcp node2 2325': ;The host name 'node2' can be replaced by IP address.
Example: Node 2 minimum configuration
[Com] Listen=tcp 2325
[HotStandby] HsbEnabled=yes
Connect=tcp node1 2315 ;The server on Node 2 connects to the server on Node 1 ;using the connect string 'tcp node1 2315'. ;The host name 'node1' can be replaced by IP address.