Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
185
wsman invoke -a EnableControllerEncryption 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 EnableControllerEncryption.xml -j utf-8 -y basic
The information in the input file EnableControllerEncryption.xml is shown below:
<p:EnableControllerEncryption_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:Mode>1</p:Mode>
<p:Key>Abcd@123</p:Key>
<p:Keyid>LKM</p:Keyid>
</p:EnableControllerEncryption_INPUT>
OUTPUT:
This method requires an PERC controller with Local Key encryption or DKM support to function
correctly.
<n1:EnableControllerEncryption_OUTPUT>
<n1:RebootRequired>YES</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:EnableControllerEncryption_OUTPUT>
16.17.4 Rekeying the Controller-ReKey()
The ReKey() method is used to reset the key on the controller that supports encryption. This method
switches the controller mode between Local Key encryption or Dell Key Manager (DKM) encryption.
Invoke the ReKey() method with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView class. See section 16.1.
OldKey: Old controller key
NewKey: New controller key. The Key can be maximum 32 characters long, and must
have one character from each of the following:
Upper Case
Lower Case
Number
Special Character
The special characters in the following set must be passed as mentioned