Server – HP Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem User Manual

Page 79

Advertising
background image

Command line 79

Item

Description

->show role *

Displays the authentication order for all user roles

server

Manage server blades.
Supported actions: help, poweroff, poweron, reboot, show

Item

Description

poweroff server

Power off one or more physical servers.

Syntax

poweroff server <ServerID|*> [-Force|-ForceOnTimeout]

[-timeout=<timeout>]

Parameter

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

<EnclosureID:DeviceBay>. If the EnclosureID is not specified, the local

enclosure is used by default. Use "*" to power off all servers in the domain. For a
multi-blade server, the ServerID must be that of the monarch bay. This is the ID
displayed by the show server command.

Options

Force

Forces a power off operation without waiting for the operating system to shut down

gracefully. Only use this option 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 (60 seconds by default), the server is forced to power off.

Timeout

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

server). The default timeout is 60 seconds.

Examples

->poweroff server enc0:2

Powers off the server in device bay 2 of the local enclosure

->poweroff server enc0:2 -Force

Forces the server in device bay 2 of the local enclosure to power off

->poweroff server *

Powers off all servers in the domain

->poweroff server enc0:*

Powers off all servers in the local enclosure

->poweroff server enc0:2 -ForceOnTimeout

Attempts a graceful shutdown, but forces a shutdown at the end of the timeout

period

->poweroff server * -Timeout=180

Powers off all servers and specifies a custom timeout of 3 minutes

->poweroff server enc0:1

Powers off the multi-blade server in bays 1-4 of the local enclosure

Item

Description

poweron server

Power on one or more physical servers.

Syntax

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

Parameter

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

<EnclosureID:DeviceBay>. If the EnclosureID is not specified, the local

Advertising