GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltdb.com — 6.2. Starting a VoltDB Database for the First Time Documentation6.2. Starting a VoltDB Database for the First TimeOnce you define the configuration of your cluster, you start a VoltDB database by starting the VoltDB server process on each node of the cluster. You start the server process by invoking VoltDB and specifying:
The host can be any node in the cluster and plays a special role during startup; it hosts the application catalog and manages the cluster initiation process. Once startup is complete, the host's role is complete and it becomes a peer of all the other nodes. It is important that all nodes in the cluster can resolve the hostname or IP address of the host node you specify. For example, the following $ voltdb create mycatalog.jar \
--deployment=deployment.xml \
--host=voltsvr1Or you can also use shortened forms for the argument flags: $ voltdb create mycatalog.jar \
-d deployment.xml \
-H voltsvr1If you are using the VoltDB Enterprise Edition, you must also provide a license file. The license is only required by
the host node when starting the cluster. To simplify startup, VoltDB looks for the license as a file named
So if you store the license file in any of these locations, you do not have to explicitly identify it on the command
line. Otherwise, you can use the $ voltdb create mycatalog.jar \
-d deployment.xml \
-H voltsvr1 \
-l /usr/share/voltdb-license.xmlWhen you are developing an application (where your cluster consists of a single node using localhost), this one command is sufficient to start the database. However, when starting a cluster, you must:
The deployment file must be identical on all nodes for the cluster to start. 6.2.1. Simplifying Startup on a ClusterManually logging on to each node of the cluster every time you want to start the database can be tedious. There are several ways you can simplify the startup process:
6.2.2. How VoltDB Database Startup WorksWhen you are starting a VoltDB database, the VoltDB server process performs the following actions:
At this point, the cluster is complete and the database is ready to receive requests from client applications. Several points to note:
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |