Administering Big Data Discovery with the bdd-admin Script
This section describes the
bdd-admin script and how you can use it to perform
different administrative operations for the Dgraph, the Dgraph HDFS Agent,
Studio, and the Dgraph Gateway.
About the bdd-admin script
You can use the bdd-admin script to perform a number of administrative tasks for the BDD cluster from the command line.
Refreshing cluster configuration
You update the configuration for the entire Big Data Discovery cluster by making the desired changes to the bdd.conf file on the Admin Server, then running the bdd-admin script with the refresh-config command. This command uses the SCP protocol to copy bdd.conf from the Admin Server to all other nodes in the cluster.
Enabling and disabling autostart
You can enable and disable autostart for the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway services by running the bdd-admin script with the autostart command. Services that have autostart enabled start automatically after their host machines are rebooted.
Starting services
You can start the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway by running the bdd-admin script with the start command.
Stopping services
You can stop the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway by running the bdd-admin script with the stop command.
Restarting services
You can restart the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway by running the bdd-admin script with the restart command.
Checking the status of services
You can check the status of the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway by running the bdd-admin script with the status command.