The autostart command enables and disables autostart for components. Components that have autostart enabled restart automatically after their hosts are rebooted.
./bdd-admin.sh autostart <operation> [option <arg>]
autostart requires one of the following operations.
Operation | Description |
---|---|
on | Enables autostart for the specified component(s). |
off | Disables autostart for the specified component(s). |
status | Returns the status of autostart for the specified component(s). |
autostart also supports the following options.
Option | Description |
---|---|
-c, --component <component(s)> | A comma-separated list of the
components to run on:
|
-n, --node <hostname(s)> | A comma-separated list of the nodes to run on. Each must be defined in $BDD_HOME/BDD_manager/conf/bdd.conf. |
If no options are specified, the script runs on all supported components.
./bdd-admin.sh autostart on
./bdd-admin.sh autostart status -c agent -n web009.us.example.com