Add Reserve Node
This section explains how to define an existing node as a reserve node.
Reserve nodes are standby nodes that will take over if an active node in the cluster fails. For more information about the failover mechanisms in Exasol, see Fail Safety.
This procedure is carried out using ConfD.
Prerequisites
The node to be defined as a reserve node must already be added to the cluster and configured accordingly.
Procedure
The following examples use ConfD through the command-line tool confd_client, which is available on all database nodes. For more information, see ConfD.
Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.
-
Connect to EXAClusterOS (COS) using
c4 connect -t <DEPLOYMENT>[.<NODE>]/cos
. For example:In most cases it does not matter on which node you access ConfD. If you do not specify a node, c4 will connect to the first active node in the deployment. The command prompt in COS indicates which node you are connected to:
For more information about how to use
c4 connect
, see How to use c4. -
To stop the database, use the ConfD job db_stop. For example:
-
To verify that the database has stopped, use the ConfD job db_state. If the result is
setup
, the database is stopped. For example: -
To add one or more nodes as reserve nodes, use the ConfD job db_add_reserve_nodes. For example:
-
Start the database using the ConfD job db_start. For example:
Verification
To verify that the reserve nodes have been added, use the ConfD job node_list.