Start a Database
This article explains how to start a database.
Starting a database starts the main cluster and all worker clusters. You can also specify to start the nodes if they are offline.
Prerequisites
The database must be stopped. For more information, see Stop a Database.
Procedure - ConfD
The following examples use ConfD through the command-line tool confd_client, which is available on all database nodes.
-
Connect to the cluster operating system (COS) using
c4 connect -i PLAY_ID -s cos
. For example:Copy./c4 connect -i c3275f84 -s cos
For more information about how to use
c4 connect
, see How to use c4. -
To find the name of the database, use the ConfD job db_list. For example:
Copyconfd_client db_list
- MY_DATABASE -
To start the database, use the ConfD job db_start. For example:
Copyconfd_client db_start db_name: MY_DATABASE