HP Virtual Connect 1.10Gb-F Ethernet Module for c-Class BladeSystem User Manual

Page 50

Advertising
background image

Command line 50

Item Description

->poweroff server * -timeout=180
Shuts down all servers and specifies a custom timeout of 3 minutes

Item Description

poweron server

Power on one or more physical servers.

Syntax

poweron server [<ServerID> | *] [-timeout=<timeout>]

Parameter

ServerID (required) The reference ID of a server in the domain. The format of the server ID is

<EnclosureID:DeviceBay>. If the EnclosureID is not provided, then the

primary or local enclosure is used by default. "*" powers on all servers in the

domain.

Option

Timeout

The timeout period (in seconds) to wait for the operation to complete. The default

timeout is 60 seconds.

Examples

->poweron server 2
Powers on the specific server in bay 2 of the primary enclosure

->poweron server *
Powers on all servers in the domain

->poweron server enc0:*
Powers on all servers in a specific enclosure

Item Description

reboot server

Reboot one or more physical servers.

Syntax

reboot server [<ServerID>|*] [-Force]

[-ForceOnTimeout] [-timeout=<timeout>

Parameter

ServerID (required) The reference ID of a server in the domain. The format of the server ID is

<EnclosureID:DeviceBay>. If the Enclosure ID is not provided, then the

primary or local enclosure (enc0) is used by default. "*" reboots all servers in the

domain.

Options

Force

Forces a reboot operation without waiting for the OS to shut down gracefully.

This option should be used only as a last resort because it can cause potential
data loss on the server.

ForceOnTimeout

Attempts a graceful shutdown, but if the server does not shut down within the

timeout period (default is 60 seconds), then the server is forced to reboot.

Timeout

Specifies the timeout period (in seconds) to wait for the operation to complete

(per server). The default timeout is 120 seconds.

Examples

->reboot server 2
Reboots the specific server in device bay 2 of the primary enclosure

->reboot server enc0:2 -force
Reboots a server using the force option

Advertising