Starting the Database
You can start a database through one of the following:
Administration Tools
- Open the Administration Tools and select View Database Cluster State to make sure that all nodes are down and that no other database is running.
- Open the Administration Tools. See Using the Administration Tools for information about accessing the Administration Tools.
- On the Main Menu, select Start Database,and then select OK.
-
Select the database to start, and then click OK.
You should start only one database at a time. If you start more than one database at any time, the results can be unpredictable. Users might encounter resource conflicts or perform operations on the wrong database.
- Enter the database password and click OK.
- When prompted that the database started successfully, click OK.
- Check the log files to make sure that no startup problems occurred.
Command Line
You can start a database with the command line tool start_db
:
$ /opt/vertica/bin/admintools -t start_db -d db-name [-p password] [-F]
Option | Description |
---|---|
‑p ‑‑password
|
Required only during database creation, when you install a new license. If the license is valid, the option If the license is invalid, Vertica uses the |
‑F
|
Forces the database to start at an epoch that precedes detection of data consistency problems |
Following is an example of using start_db
on a standalone node:
$ /opt/vertica/bin/admintools -t start_db -d VMart Info: no password specified, using none Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (DOWN) Node Status: v_vmart_node0001: (UP) Database VMart started successfully