Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
186
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:
wsman invoke -a ReKey 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 -J ReKey.xml -j utf-8 -y basic
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:
<n1:ReKey_OUTPUT>
<n1:Message>Controller is not security capable</n1:Message>
<n1:MessageID>STOR022</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:ReKey_OUTPUT>