Here, the word "server" is a logical representation of database server processes. Depending on its status, a server can be either an active server or a standby server.
- Active server: A server that belongs to a master node; the status is active. An active server provides all services, including read, write, etc. to the user.
- Standby server: A standby server that belongs to a non-master node; the status is standby. A standby server provides only the read service to the user.
The server status changes based on the status of the node. You can use the cubrid changemode utility to verify server status. The maintenance mode exists for operational convenience and you can change it by using the cubrid changemode utility.
- active: The status of servers that run on a master node is usually active. In this status, all services including read, write, etc. are provided.
- standby: The status of servers that run on a slave node or a replica node is standby. In this status, only the read service is provided.
- maintenanc: The status of servers can be manually changed for operational convenience is maintenance. In this status, only a csql can access and no service is provided to the user.
- to-be-active: The status in which a standby server will become active for reasons such as failover, etc. is to-be-active. In this status, servers prepare to become active by reflecting transaction logs from the existing master node to its own server.
- Other : This status internally used.