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

Page 27

Advertising
background image

Command line 27

Item Description

->poweroff server enc0:2

Shuts down a specific server in device bay 2 of an enclosure with ID enc0

->poweroff server enc0:2 -Force

Forces a power off operation on a specific server (primary/local enclosure)

->poweroff server *

Powers off all servers in the domain

->poweroff server enc0:*

Powers off all servers in a specific enclosure

->poweroff server enc0:2 -ForceOnTimeout

Attempts a graceful poweroff, but forces a shutdown if not completed within
timeout period

->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>]

Parameters:

ServerID

The reference ID of a server in the domain. The format of the server ID is

<EnclosureID:DeviceBay>

Options:

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>

Parameters:

ServerID

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.

Options:

Force

Forces a reboot operation without waiting for the OS to shutdown gracefully. This
option should only be used as a last resort because it can potentially cause data

loss on the server.

Advertising