Previous Topic: power_on Command (Server Management)--Power on a ServerNext Topic: power_cycle Command (Server Management)--Power Cycle a Server


power_off Command (Server Management)--Power off a Server

Power off a server

Syntax
server power_off name [ reason=reason ] [ --kill ] [ --force ] 
Arguments
name

Name of the server to power off. If name is "--all", then all servers are powered off.

reason

Reason why server is being powered off

--kill

Force power off of server even though there may be an application currently running on the server. This option is supported in CA 3Tera AppLogic 2.8.x+.

--force

Skip user verification. Prior to CA 3Tera AppLogic 2.8.x, this option had the same functionality as the --kill option.

Examples
server power_off srv3 reason="Memory upgrade"

Power off 'srv3'

Note: This command will fail if there is an application currently running on the server (a volume is in use or a component is running on the server) and if the --kill option is not specified. Prior to CA 3Tera AppLogic 2.8.x, this command will fail if there is an application currently running on the server (a volume is in use, or a component on the server) and if the --force option is not specified.