The cubrid_broker.conf file that has general information on configuring CUBRID broker is located in the $CUBRID/conf directory. This section explains the parameters of cubrid_broker.conf that are used by CUBRID HA.
A parameter used to specify the mode of a broker. The default is RW.
Its value can be one of the followings: RW (Read Write), RO (Read Only), SO (Slave Only), or PHRO (Preferred Host Read Only). For details, see Broker Mode.
A parameter used only when the ACCESS_MODE parameter value is PHRO. The default value is NULL.
You can specify multiple nodes by using a colon (:). First, it tries to connect to host in the following order: host specified in the PREFERRED_HOSTS parameter first and host specified in $CUBRID_DATABASES/databases.txt second.
The following example shows how to configure cubrid_broker.conf.
# Broker mode setting parameter