Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.3 |  CUBRID 9.0.0 | 

Multiple-Standby Server Structure

Although its node structure has a single master node and a single slave node, many slave nodes from different services are physically configured in a single server.

This structure is for very small services in which the read load of slave nodes are light. It is strictly for the availability of the CUBRID service. For this reason, when a master node that failed after a failover has been restored, the load must be moved back to the original master node to minimize the load of the server with multiple-slave nodes.

admin_ha_comp_standby.png

An Example of Node Configuration

You can configure each node in the basic structure of HA as shown below:

  • node AM, node AS: Configure them in the same manner.
    • Configure the ha_mode of the cubrid.conf file to on.
    • ha_mode=on
    • The following example shows how to configure cubrid_ha.conf.
    • ha_port_id=10000
    • ha_node_list=cubridA@Host1:Host5
    • ha_db_list=testdbA1,testdbA2
  • node BM, node BS: Configure them in the same manner.
    • Configure the ha_mode of the cubrid.conf file to on.
    • ha_mode=on
    • The following example shows how to configure cubrid_ha.conf.
    • ha_port_id=10001
    • ha_node_list=cubridB@Host2:Host5
    • ha_db_list=testdbB1,testdbB2
  • node CM, node CS: Configure them in the same manner.
    • Configure the ha_mode of the cubrid.conf file to on.
    • ha_mode=on
    • The following example shows how to configure cubrid_ha.conf.
    • ha_port_id=10002
    • ha_node_list=cubridC@Host3:Host5
    • ha_db_list=testdbC1,testdbC2
  • node DM, node DS: Configure them in the same manner.
    • Configure the ha_mode of the cubrid.conf file to on.
    • ha_mode=on
    • The following is an example of the cubrid_ha.conf configuration.
    • ha_port_id=10003
    • ha_node_list=cubridD@Host4:Host5
    • ha_db_list=testdbD1,testdbD2