Assign profile, Assign, Syntax – HP Insight Management-Software User Manual
Page 24: Parameters, Output, Examples, Minimum required role-based security
assign profile
The -assign profile command assigns the profile identified by the ProfileName to the bay
specified by the BayName.
Syntax
-assign profile –ProfileName
-enclosurename
Parameters
Table 5 Parameter descriptions for -assign profile
Optional
Required
Description
Parameter
x
Specifies the unique name
of the server profile to be
assigned.
-profilename
x
Specifies the enclosure that
contains the bay to assign
the profile to.
-enclosurename
x
Specifies the 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 match those for
the primary bay.
-bayname
x
Powers 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 to 8 of the enclosure:
NOTE:
Note the use of bay 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
that the upper-left quadrant of the multi-blade server occupies.
vcemcli -assign profile –profilename MyProfile1 –enclosurename enc0 –bayname 5
Minimum required role-based security
VCEM Group Limited Operator
CAUTION:
If the VCEMCLI is used in environments where logical server managers or upper-level
managers are present, assigning a server profile can make it inconsistent with the upper-level
managers. HP recommends using the upper level managers to assign server profiles.
24
Using VCEM commands