Managing server instances

Creating a server instance

Once the server binaries are downloaded and installed, you use the command line to create server instances and databases.

You can run any number of server instances on a machine, they just need to have unique ports. Each server instance can have any number of databases.

A server instance is initialized with the server daemon:

Creating a server instance in the user’s ${HOME}/.dboo directory:

> dbood create

The directory can also be specified:

> dbood create /path/to/server_instance

By default, the server instance will be using port 8822. If you want multiple server instances simultaneously, you will have to specify the port (and potentially host name) on the command line:

> dbood create /path/to/server_instance localhost 8801
> dbood create /path/to/server_instance 8801

Starting a server instance

A server instance is started like this from the home directory:

> dbood

or from specified directory:

> dbood /path/to/server_instance

Or, to start in daemon mode, add option -d:

> dbood -d /path/to/server_instance

To stop a server instance running in daemon mode, use ps/grep to get the process id and then the kill command:

> ps -ef | grep dbood
> kill <dbood pid>