HP 449298-001 manual Poweroff server enc02 -ForceOnTimeout, Poweroff server * -timeout=180

Page 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.

 

 

Command line 27

Image 27
Contents HP Virtual Connect Manager Command Line Interface User Guide Audience assumptions Contents Technical support Command line overview IntroductionVirtual Connect overview Options Command line syntaxSubcommand managed element parameters options properties ParametersProperties CLI command execution modesRemote access to the Virtual Connect Manager Command line SubcommandsManaged elements Domain DevicebaySupported actions delete, help, set, show Enclosure Supported actions add, help, remove, set Enet-connectionEthernetMAC Network=SomeNetwork2 PXE=enabledAddressType=Factory-Default AddressTypeExternal-manager Fabric Fc-connection Firmware Support actions help, show, updateInterconnect IgmpLdap Supported actions add, help, remove, set, show Ldap-groupMac-cache Network Profile Assign profile Add profile MyNewProfile2 -NoDefaultEnetConnAdd profile MyNewProfile2 -NoDefaultFcConn Add profile MyNewProfileServer Supported actions help, poweroff, poweron, reboot, showPoweroff server enc02 -ForceOnTimeout Poweroff server enc02Poweroff server enc02 -Force Poweroff server enc0Stackinglink Status SystemlogUplinkport Set uplinkport enc012 Network=MyNetwork Speed=1Gb Set uplinkportSet uplinkport PortID Network=NetworkName Speed=Auto10Mb100Mb1GbDisabledUplinkset User Remove user steve Set user steve Password=fgY87hHlSet user steve Password Set user bill Password=HGtwf7272562Help subsystem VcmVersion Command line Interactive user output format Output formatBrad Domain Brad Mills Brad.mills@hp.com True Server Scriptable output format Command line Ssh 192.168.0.120 login as Administrator Configuring the Virtual Connect domain using the CLIBasic configuration Ssh 192.168.0.120 login as Administrator passwordImporting an enclosure Domain setupSetting the domain name Configuring local usersRemove user Add user bob password=fhkjdhfk privileges=domain,networkSet user bob fullname=Bob J Smith enabled=false Remove user bobNetwork setup Configuring Ldap authentication support for usersConfiguring MAC Address ranges Assigned MAC addresses Creating an enet-network Adding uplink ports to an enet-networkCreating a shared uplink port set Creating a network that uses a shared uplink port set Fibre Channel setupConfiguring WWN address ranges Adding uplink ports to a shared uplink port setSet fabric name=MyNewName portspeed=4Gb Server Profile setupModifying FC fabric properties Displaying FC fabricsConfiguring the Virtual Connect domain using the CLI Adding FC fabric connections to a server profile Configuring Igmp settingsCreating server profiles Adding enet-network connections to a profileLogging out of the CLI Configuring MAC cache failover settingsSet mac-cache enabled=true refresh=10 Common management operationsReset vcm Reset vcm -failover Resetting the Virtual Connect ManagerVirtual Connect Manager not found at this IP address Technical support Before you contact HPHP contact information Igmp Acronyms and abbreviationsPXE Index Index