Starting the Database

To start your Vertica database, add a command to your packaging script that uses the admintools script with either the start_db or restart_db option:

start_db Option

$ /opt/vertica/bin/admintools --tool start_db [ options ]

Command-Line Options

Option Purpose
-h
--help
Show this help message and exit.
-d DB
--database=DB
Name of database to be started.
-p DBPASSWORD 
--password=DBPASSWORD
Database password in single quotes.
-i
--noprompts
Do not stop and wait for user input. (Default: False.)

The following example starts the database called VMart and assigns the database password Vertica1:

$ admintools -t start_db -d VMart -p Vertica1

restart_db Option

$ /opt/vertica/bin/admintools --tool restart_db [ options ]

Command-Line Options

Option Purpose
-h
--help
Show this help message and exit.
-d DB
--database=DB
Name of database to be restarted.
-e EPOCH
--epoch=EPOCH

Epoch at which the database is to be restarted. If 'last' is given as the argument, the database restarts from the last good epoch.

-p DBPASSWORD  
--password=DBPASSWORD
Database password in single quotes.
-i
--noprompts
Do not stop and wait for user input. (Default: False.)