Web Services Interface Guide

228 Dell Lifecycle Controller Web Services Interface Guide for Windows
16.17.2 Locking the Virtual Disk-LockVirtualDisk()
The LockVirtualDisk() method encrypts the virtual disk. Note that the virtual disk must first exist for this
method to be successful.
Invoke LockVirtualDisk() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the target virtual disk
EXAMPLE:
winrm i LockVirtualDisk 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:LockVirtualDisk.xml
The input file LockVirtualDisk.xml is shown below:
<p:LockVirtualDisk_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<p:Target>Disk.Virtual.0:RAID.Integrated.1-1</p:Target>
</p:LockVirtualDisk_INPUT>
OUTPUT:
This method requires an H700 or H800 controller to properly function, as does the LockVirtualDisk()
method. If the key is not set by LockVirtualDisk(), the following message may be displayed:
LockVirtualDisk_OUTPUT
Message = Controller Key is not present
MessageID = STOR021
ReturnValue = 2
16.17.3 Locking the Controller with a Key-EnableControllerEncryption()
The EnableControllerEncryption() method is used to set either Local Key encryption or Dell Key Manager
(DKM) encryption on controllers that support encryption of the drives.
Invoke EnableControllerEncryption() method with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView class. See Section 16.1.