Web Services Interface Guide

220 Dell Lifecycle Controller Web Services Interface Guide for Windows
ServiceTag
SlotCount = 6
TempProbeCount = 0
Version = 1.07
WiredOrder = 0
16.12 Reset Configuration-ResetConfig()
The ResetConfig() method is used to delete all virtual disks and unassign all HotSpare physical disks. The
deletions will not occur until a configuration job ( Section 16.15) is scheduled and the system is rebooted.
All data on the existing virtual disks will be lost!
Invoke ResetConfig with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
EXAMPLE:
winrm i ResetConfig 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:ResetConfig.xml
The input file ResetConfig.xml is shown below:
<p:ResetConfig_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:ResetConfig_INPUT>
OUTPUT:
ResetConfig_OUTPUT
ReturnValue = 0
16.13 Clearing the Foreign Configuration-ClearForeignConfig()
The ClearForeignConfig() method is used to prepare any foreign physical disks for inclusion in the local
configuration.