Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

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


The databases.txt file that has information on servers to be connected by a broker and their order is located in the $CUBRID_DATABASES (if not specified, $CUBRID/databases) directory; the information can be configured by using db_hosts. You can specify multiple nodes by using a colon (:).

The following example shows how to configure databases.txt.

#db-name    vol-path        db-host     log-path     lob-base-path

testdb01       /home/cubrid/DB/testdb masterdb.cub:slavedb.cub   /home/cubrid/DB/testdb01/log  file:/home/cubrid/DB/testdb/lob

testdb02       /home/cubrid/DB/testdb02 masterdb.cub:slavedb.cub   /home/cubrid/DB/testdb02/log  file:/home/cubrid/DB/testdb02/lob