The restart command restarts components regardless of whether they're currently running or stopped.
./bdd-admin.sh restart [option <arg>]
restart supports the following options.
Option | Description |
---|---|
-t, --timeout <minutes> | The amount of time to wait (in
minutes) before terminating the component(s).
If this value is 0, the script forces the component(s) to shut down immediately. If it's greater than 0, the script waits the specified amount of time for the component(s) to shut down gracefully, then terminates them if they don't. If this option isn't specified, the script shuts the component(s) down gracefully, which may take a very long time. If a component is down, a timeout value should be specified or the script will hang. |
-c, --component <component(s)> | A comma-separated list of the
components to restart:
Note the following:
|
-n, --node <hostname(s)> | A comma-separated list of the nodes to run on. Each must be defined in bdd.conf. |
If no options are specified, the script restarts all supported components gracefully.
./bdd-admin.sh restart
./bdd-admin.sh restart -t 5 -c dgraph -n web009.us.example.com