Starting and Stopping AnzoGraph

The Query & Admin Console provides options to stop and start AnzoGraph. The following information provides instructions for starting and stopping AnzoGraph when the Query & Admin Console is not included in the deployment or is unavailable.

Note See Using the Query & Admin Console for information on using the Query & Admin Console to start and stop AnzoGraph as well as performing other operations using the Console graphical user interface.

Starting and Stopping AnzoGraph with Docker

To start AnzoGraph with Docker, run the following command:

docker start anzograph_container_name

Where anzograph_container_name is the name of the AnzoGraph container to start. For example: docker start anzograph

To stop AnzoGraph with Docker, run the following command:

docker stop anzograph_container_name

Where anzograph_container_name is the name of the AnzoGraph container to stop. For example: docker stop anzograph

Starting and Stopping AnzoGraph from the File System

Note The system management daemon, azgmgrd, should remain running at all times. When you restart the database, do not stop and start the daemon. There are three circumstances that require you to restart azgmgrd:
  1. When changing a system configuration setting value that requires a restart of the system management daemon, such as sysmgr_port or auto_restart_max_attempts.
  2. When using the RHEL-CentOS tarball and upgrading or re-installing AnzoGraph.
  3. When using the RHEL-CentOS tarball and making changes to the install_path/config/ip_addrs.conf file if you add or remove servers from a cluster.

Follow the appropriate instructions below, depending on the current state of AnzoGraph and your use case:

Stop the Database and Leave the System Management Daemon Running

To stop the database, run the following command from the leader server:

/install_path/bin/azgctl -stop

If queries are running, the system manager waits the number of seconds in stop_timeout (the default value is 30 seconds) for any outstanding queries to complete and then stops the database.

Start the Database (the System Management Daemon is Running)

To start the database, run the following command from the leader server:

/install_path/bin/azgctl -start

Stop the Database and the System Management Daemon

To stop the database and system management daemon, run the following commands from the leader server:

/install_path/bin/azgctl -stop
/install_path/bin/azgctl -stopdaemon

Start the System Management Daemon and the Database

To start the system management daemon, run the following command. On clusters, run the command on each server in the cluster:

/install_path/bin/azgmgrd

To start the database after the system management daemon is running, run the following command on the leader node:

/install_path/bin/azgctl -start
Related Topics