databases.txt

The databases.txt file that has information on servers to be connected by a broker and their order is located in the $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

testdb01       /home/cubrid/DB/testdb01 masterdb.cub:slavedb.cub   /home/cubrid/DB/testdb01/log

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