Reference Guide
165 Lifecycle Controller Web Services Interface Guide for Linux
EXAMPLE:
wsman invoke -a SetControllerKey
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 SetControllerKey.xml -j utf-8 -y basic
The input file SetControllerKey.xml is shown below:
<p:SetControllerKey_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:Key>abc123</p:Key>
<p:Keyid>keyid</p:Keyid>
</p:SetControllerKey_INPUT>
OUTPUT:
This method requires an H700 or H800 controller to properly function. Running this method on older
controllers may display this message:
<n1:SetControllerKey_OUTPUT>
<n1:Message>Controller is not security capable</n1:Message>
<n1:MessageID>STOR022</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:SetControllerKey_OUTPUT>
16.20.2 Locking the Virtual Disk-LockVirtualDisk()
The LockVirtualDisk() method encrypts the virtual disk. Note: The virtual disk must first exist for this
method to be successful.
Invoke LockVirtualDisk() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the target virtual disk
EXAMPLE:
wsman invoke -a LockVirtualDisk
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 LockVirtualDisk.xml -j utf-8 -y basic
The input file LockVirtualDisk.xml is shown below:
<p:LockVirtualDisk_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDS
ervice”>
<p:Target>Disk.Virtual.0:RAID.Integrated.1-1</p:Target>
</p:LockVirtualDisk_INPUT>
OUTPUT:
This method requires an H700 or H800 controller to properly function, as does the LockVirtualDisk()
method. If the key is not set by LockVirtualDisk(), the following message may be displayed:
<n1:LockVirtualDisk_OUTPUT>
<n1:Message>Controller is not security capable</n1:Message>