Stopping and starting an Eon Mode cluster
Stopping your Eon Mode database and cluster using the MC
When running an Eon Mode database in the cloud, you usually want to stop the nodes running your database when you stop the database. Stopping your nodes avoids wasting money. The nodes aren't needed while the database is down.
Note
Instead of shutting down your entire database, you can still save money by shutting down subclusters that aren't being used. This technique lets your database continue to run and load data, while reducing the hourly cost. See Starting and stopping subclusters for more information.The easiest way to stop both your database and the nodes that run it is to use the MC:
-
From the MC home page, click View Your Infrastructure.
-
In row labeled Databases, click the database you want to stop.
-
In the popup, click Stop.
-
Click OK to confirm you want to stop the database.
-
Once your database has stopped, in the row labeled Clusters, click the entry for the cluster running the database you just stopped.
-
In the popup, click Manage.
-
In the ribbon at the top of the cluster view, click Stop Cluster.
-
In the dialog box, check the I would like to stop all instances in the cluster box and click Stop Cluster.
Manually stopping the database and cluster
To manually stop your database and cluster, first stop your database using one of the following methods:
-
Use the
stop_db
admintools command to stop the database. See Stopping the database. -
Use the SHUTDOWN or SHUTDOWN_WITH_DRAIN function to stop the database.
Once you have stopped the database, you can stop your nodes. If you are in a cloud environment, see your cloud provider's documentation for instruction on stopping nodes.
Starting your cluster and database using the MC
To start your database cluster and database:
-
From the MC home, click View Infrastructure.
-
In the Clusters row, click the cluster that runs the database you want to start.
-
In the pop-up, click Manage.
-
In the ribbon at the top of the cluster's page, click Start Cluster.
-
Check the I would like to start all instances in the cluster box and click Start Cluster.
Starting the cluster automatically starts the database.
Manually starting your cluster and database
To manually start your cluster and database:
-
Start the nodes in your database cluster. If you are running in the cloud, see your cloud provider's documentation on how to start instances.
-
Connect to one of the nodes in the cluster and use the admintools menus or command line to start your database. See Starting the database for instructions.