HP Virtual Connect Enterprise Manager 6.3 CLI Guide

assign profile
The -assign profile command assigns the profile identified by the ProfileName to the bay
specified by the BayName.
Syntax
-assign profile ProfileName <profileName>
-enclosurename <enclosureName> -bayname <bayName> [-poweronbay]
Parameters
Table 5 Parameter descriptions for -assign profile
OptionalRequiredDescriptionParameter
xUnique name of the server
profile to be assigned
-profilename
xThe enclosure containing the
bay to assign the profile to.
-enclosurename
xThe device bay that the
server profile is assigned to.
NOTE: To assign a profile
to a multi-blade server, the
enclosure name and bay
name must those for the
primary bay.
-bayname
xPowers on the server after
the profile has been
assigned.
-poweronbay
Output
The function returns the result of the assign operation or a jobid if nb is specified.
Examples
Assign a profile to device bay 1 of the enclosure:
vcemcli -assign profile -profilename MyProfile1 enclosurename BigEnclosure bayname 1
Assign a profile to a multi-blade server in bays 5-8 of the enclosure:
NOTE: Note the use of bay number 5 for a multi-blade server. A multi-blade server occupies
more than one slot in the enclosure. The operation fails If you specify any slot other than the
slot occupied by the upper-left quadrant of the multi-blade server.
vcemcli -assign profile profilename MyProfile1 enclosurename enc0 bayname 5
assign profile 21