Web Services Interface Guide
227 Dell Lifecycle Controller Web Services Interface Guide for Windows
16.17.1 Setting the Key-SetControllerKey()
The SetControllerKey() method sets the key on controllers that support encryption of the virtual disk
drives.
Invoke SetControllerKey() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
Key: Maximum size 32 characters
Keyid: Identifier, or description, for the key (maximum size 255 characters)
EXAMPLE:
winrm i SetControllerKey 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 -u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
-file:SetControllerKey.xml
The input file SetControllerKey.xml is shown below:
<p:SetControllerKey_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<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 yield this message:
SetControllerKey_OUTPUT
Message = Controller is not security capable
MessageID = STOR022
ReturnValue = 2