Common administrative tasks
Stop, restart, and revive
This procedure can be useful in cases where you want to change AWS instances to save money. For example, you can use us-east
instances during the day and switch to us-west
instances at night.
This example uses the database created by the following command using the region us-east-1
:
Note
When the Vertica host is stopped and restarted, you must restart the NMA to ensure proper functionality.-
Stop the database:
-
Revive the database. For this example, the database is revived into a different region:
-
Start the database:
Test on sandboxed subclusters
You can create sandboxed subclusters and perform tests on them without affecting your production database. For details, see Subcluster sandboxing:
-
Add the subcluster
sc1
which contains nodes192.2.0.4
and192.2.0.5
: -
Sandbox the subcluster
sc1
with a the new sandboxsand
: -
Verify that your nodes were sandboxed with
list_all_nodes
. The following command is run from outside the sandboxsand
, so thestate
of nodes insand
are listed asUNKNOWN
: -
After you finish testing your sandboxed subcluster, unsandbox it: