Starting and Stopping AnzoGraph with the System Manager
This topic provides instructions for starting and stopping AnzoGraph.
Important: Make sure that you are logged in as the Anzo service user any time you start and stop AnzoGraph.
Note: The system manager daemon, azgmgrd, that you started when you installed AnzoGraph should remain running at all times. When you restart the database, do not stop and start azgmgrd. There are two circumstances that require you to restart azgmgrd:
- When Upgrading AnzoGraph you stop azgmgrd before the upgrade and start it after the upgrade.
- When making changes to the
AnzoGraph_root_dir/config/ip_addrs.conf
file if you add or remove servers from an AnzoGraph cluster.
Follow the appropriate instructions below, depending on the current state of AnzoGraph and your use case:
- Stop AnzoGraph and Leave the System Management Daemon (azgmgrd) Running
- Start AnzoGraph (the System Management Daemon, azgmgrd, is Running)
- Stop AnzoGraph and the System Management Daemon (azgmgrd)
- Start the System Management Daemon (azgmgrd) and AnzoGraph
Stop AnzoGraph and Leave the System Management Daemon (azgmgrd) Running
To stop the AnzoGraph database, run the following command. For clusters, run this command on the leader server:
./installation_path/AnzoGraph_root_dir/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 AnzoGraph (the System Management Daemon, azgmgrd, is Running)
To start the database, run the following command. For clusters, run this command on the leader server:
./installation_path/AnzoGraph_root_dir/bin/azgctl -start
Stop AnzoGraph and the System Management Daemon (azgmgrd)
To stop the system management daemon, run the following commands to stop the database and then the daemon. On a cluster, run these commands on the leader node:
./install_path/AnzoGraph_root_dir/bin/azgctl -stop
./install_path/AnzoGraph_root_dir/bin/azgctl -stopdaemon
Start the System Management Daemon (azgmgrd) and AnzoGraph
To start the system management daemon, run the following command. On clusters, run this command on each server in the cluster:
./install_path/AnzoGraph_root_dir/bin/azgmgrd
To start AnzoGraph after the system management daemon is running, run the following command. On clusters, run this command on the leader node:
./install_path/AnzoGraph_root_dir/bin/azgctl -start