White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
165
The special characters in the following set must be passed as mentioned
below.
& &
< &lt;
> &gt;
&quot;
&apos;
Keyid: Key Identifier- Describes Key. The Keyid can be maximum 32 characters long and shoutd
not have spaces in it.
Mode: Mode of the Controller
1 - Local Key Encryption
2 Dell Key Manager
EXAMPLE:
winrm i ReKey
cimv2/root/dcim/DCIM_RAIDService?SystemCreationClassName=DCIM_ComputerSystem+CreationClassN
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