Linux and CUBRID version 2008 R2.2 or later must be installed on the equipment to be used as the master and the slave nodes. CUBRID HA does not support Windows operating system.
Specifications of Configuring the CUBRID HA Equipment
| CUBRID Version | OS |
|---|---|---|
For master nodes | CUBRID 2008 R2.2 or later | Linux |
For slave nodes | CUBRID 2008 R2.2 or later | Linux |
Preparation
Setting HA parameters use Easy HA wizard
Configure hosts information
Add host info to /etc/hosts files both servers. The content is “host address” “host name” (e.g. 10.34.64.149 NC-PL-DEV001). (If host address is “localhost” or “127.0.0.1”, please replace it by real address).
Start HA service
Stop current service use command “cubrid service stop”.
Start service use command “cubrid service start”.
Start heart beat use command “cubrid heartbeat start”.
Check HA server status use command “cubrid hb status”.
As shown in illustration: The master server is “NC-VM-PL-QA-34” and “NC-PL-DEV001” is slave server.
So far, the simple HA environment configure finished.
For more detail, Please see http://www.cubrid.org/manual/843/en/CUBRID%20HA