Previous Topic: reboot Command (Server Management)--Reboot a ServerNext Topic: enable Command (Server Management)--Enable a Server


shutdown Command (Server Management)--Shutdown a Server

Shutdown a server

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

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

reason

Reason why server is being shutdown

--kill

Force shutdown of server even though there may be an application currently running on the server. This option is supported in CA AppLogic for System z® 2.8.x+.

--force

Skip user verification. Prior to CA AppLogic for System z® 2.8.x, this option had the same functionality as the --kill option.

Examples
server shutdown srv3 reason="Memory upgrade"

Shutdown 'srv3'

Note: 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 --kill option is not specified. Prior to CA AppLogic for System z® 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.