Reference Guide
182 Lifecycle Controller Web Services Interface Guide for Linux
–k AssetName=”Proposed enclosure asset name
-j utf-8 -y basic
16.21.15 Set enclosure asset tag -SetAssetTag()
The method is used to set the external enclosure asset tag. This configuation is supported by both staged
and real time. Upon success of the method, the property “AssetTag” under DCIM_EnclosureView class
will be changed with the proposed value.
Invoke SetAssetTag() method with the following input parameters:
TARGET: FQDD of the enclosure.
AssetTag: New asset tag to be entered. The AssetName value shall be maximum of 10 ASCII alpha-
numeric characters length.
EXAMPLE:
wsman invoke -a SetAssetTag
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService"
-h $IPADDRESS-V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-k Target="Enclosure.External.0-0:RAID.Slot.1-1"
–k AssetTag=”Proposed enclosure asset tag
-j utf-8 -y basic
16.22 Setting Controller Attributes
16.22.1 Changing the Value of a RAID Controller Enumeration Attribute
The SetAttribute() method is used to set or change the value of a RAID controller or a virtual disk
attribute. The example below shows setting a RAID controller enumeration attribute. To set a virtual disk
attribute, use the FQDD of the virtual disk attribute for the Target, and the AttributeName and
AttributeValue.
Invoke SetAttribute() with the following parameters (from Section 16.1) and syntax:
TARGET: Obtained from the FQDD field
AttributeName: Obtained from the AttributeName field
AttributeValue: Obtained from the PossibleValues field
EXAMPLE:
wsman invoke -a SetAttribute
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J SetAttribute_Enumeration_RAID_Controller.xml xml -j utf-8 -y basic
The input file SetAttribute_Enumeration_RAID_Controller.xml is shown below:
<p:SetAttribute_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDS
ervice">
<p:Target>RAID.Integrated.1-1</p:Target>
<p:AttributeName>RAIDBatteryLearnMode</p:AttributeName>
<p:AttributeValue>Disabled</p:AttributeValue>