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

Page 80

Advertising
background image

Command line 80

Item

Description

enclosure is used by default. Use "*" to power on 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.

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 server in bay 2 of the local enclosure

->poweron server *

Powers on all servers in the domain

->poweron server enc0:*

Powers on all servers in the local enclosure

->poweron server * -Timeout=120

Powers on all servers in the domain and specifies a custom timeout of 2 minutes

->poweron server enc0:1

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

Item

Description

reboot server

Reboot one or more physical servers.

Syntax

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

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

enclosure is used by default. Use "*" to reboot 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 reboot 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), 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 server in device bay 2 of the local enclosure

->reboot server enc0:2 -Force

Forces the server in device bay 2 of the local enclosure to reboot

->reboot server * -ForceOnTimeout -Timeout=180

Attempts a graceful shutdown, but forces a reboot on all servers after a timeout of 2

minutes

->reboot server *

Reboots all servers in the domain

->reboot server enc0:*

Reboots all servers in the local enclosure

->reboot server enc0:1

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

Advertising