HP Virtual Connect Enterprise Manager 6.3.1 CLI Guide
Table Of Contents
- HP Insight Software Virtual Connect Enterprise Manager
- Contents
- 1 Getting Started
- 2 Using VCEMCLI
- 3 Using VCEM commands
- add profile
- set profile
- assign profile
- export profiles
- unassign profile
- add enet-connection
- set enet-connection
- remove enet-connection
- add fc-connection
- set fc-connection
- remove fc-connection
- add fcoe-connection
- set fcoe-connection
- remove fcoe-connection
- add iscsi-connection
- set iscsi-connection
- remove iscsi-connection
- set iscsi-boot-param
- remove iscsi-boot-param
- add server-port-map
- set server-port-map
- remove server-port-map
- poweroff devicebay
- poweron devicebay
- show power-status
- show job
- show version
- show vcem-status
- startvcdmaint
- cancelvcdmaint
- completevcdmaint
- 4 Error messages
- 5 Troubleshooting VCEMCLI
- VCEMCLI calls result in access denied errors
- VCEMCLI calls result in errors for invalid leading character or invalid characters
- VCEMCLI calls result in 404 errors
- API timeouts
- High CPU usage on the CMS server while running a VCEMCLI client
- Job reports failed status
- Completed with warning job status
- Unable to assign a profile to a Domain Group
- VC Domain reports Configuration Mismatch status
- VC Domain reports Expired License status
- Error on database operation occurs
- Failed to execute VCEM operation because VC firmware not supported
- Creating a server profile fails
- Server profile edit operation fails when target server is powered on
- Server profile job completed with success but changes have not occurred
- After a server profile assignment, some connections defined in the server profile are not functional
- Commands -add profile or -set profile error messages
- Command -add profile error messages
- Additional Troubleshooting Information and tools
- 6 Support and other resources
- Index

poweroff devicebay
The -poweroff devicebay command sends a power-off request to Virtual Connect Manager
for a given bay.
Syntax
-poweroff devicebay –enclosurename <enclosurename> —bayname <bayname>
[-force|-forceontimeout]
Parameters
Table 27 Parameter descriptions for -poweroff devicebay
OptionalRequiredDescriptionParameter
xThe name of the enclosure
containing the bay to be
powered off.
-enclosurename
xThe name of the bay to be
powered off.
NOTE: For a multi-blade
server the bay name must be
that of the primary bay.
-bayname
xForces a power off
operation without waiting for
-force
the OS to shut down
normally. This option should
only be used as a last resort
because it can cause data
loss on the server.
xAttempts a normal power
off, but if the server does not
-forceontimeout
shut down within the timeout
period (default is 3600
seconds), it is forced to
power off.
Output
The result of the power off operation. If –nb is in effect for the command, nothing is returned and
the results of the command can be checked by polling -show power-status for the enclosure
bay.
Examples
• Normal shutdown device bay 2 of an enclosure with ID enc0:
vcemcli -poweroff -enclosurename enc0 –bayname 2
• Forced power off operation on device bay 2 of an enclosure with ID enc0:
vcemcli -poweroff –enclosurename enc0 –bayname 2 –force –timeout
300
56 Using VCEM commands