Server – HP Virtual Connect Flex-10 10Gb Ethernet Module for c-Class BladeSystem User Manual

Page 46

Advertising
background image

Command line 46

Item

Description

unassign profile

Unassign a server profile from a device bay.

Syntax

unassign profile <ProfileName>

Parameter

ProfileName

(required)

The name of a server profile that is currently assigned to a device bay

Example

->unassign profile MyProfile1

Unassigns a server profile from a device bay

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 reference ID of a physical 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 is used by

default. "*" powers 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 OS to shutdown gracefully.
This option should only be used 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 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

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 shutdown, but forces a shutdown at the end of the timeout
period

->poweroff server * -timeout=180

Shuts down all servers and specifies a custom timeout of 3 minutes

->poweroff server enc0:1

Powers off a specific multi-blade server that occupies bays 1-4 of the primary

enclosure

Advertising