Web Services Interface Guide

231 Dell Lifecycle Controller Web Services Interface Guide for Windows
ationClassN
ame=DCIM_RAIDService+SystemName=DCIM:ComputerSystem+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
-file:ReKey.xml
The information in the input file ReKey.xml is shown below:
<p:ReKey_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:OldKey>Abcd@123</p:OldKey>
<p:NewKey>Efgh@123</p:NewKey>
<p:Keyid>NewLKMid</p:Keyid>
<p:Mode>1</p:Mode>
</p:ReKey_INPUT>
OUTPUT:
This method requires a PERC controller with Local Key encryption or DKM support to function correctly. If
the EnableControllerEncryption() method does not set the key, the following message is displayed:
ReKey_OUTPUT
Message = Controller Key is not present
MessageID = STOR021
ReturnValue = 2
16.17.5 Removing the Key-RemoveControllerKey()
The RemoveControllerKey() method is used to erase the key on the controller along with the attached
encrypted drives.
Invoke the RemoveControllerKey() method with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView class. See section 16.1.
EXAMPLE:
winrm i RemoveControllerKey
cimv2/root/dcim/DCIM_RAIDService?SystemCreationClassName=DCIM_ComputerSystem+Cre