NAME

power - Control power for a device or collection.


MODULE

base


SYNOPSIS

power [ --help ] [ --db <dbname> ] [ --off | --on | --cycle | --inter ] <{device|collection}...>


DESCRIPTION

This script performs the specified power operation on a device, a list of devices, or a collection.

Devices on the same power controller will be operated on serially, but operations on different power controllers will be parallelized. (If you want devices on the same power controller to be operated on in parallel, add that functionality to a higher level tool.)


OPTIONS

--db <dbname> Filename of cluster database to use.

--off | --on | --cycle | --inter Operation to perform.

--help Print manpage.


NOTES

Set the environment variable CLUSTER_CONFIG to the location of the cluster database, for example /cluster/machine/machine_name.


FILES

The default paths for location of the database, cloned directories, and other defaults are recorded in $CLUSTER_CONFIG/CConf.pm.


SEE ALSO

boot, clone, console, discover, dumpdb, lookup, power, status