White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
156
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.
Invoke ClearForeignConfig() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
EXAMPLE:
winrm i ClearForeignConfig cimv2/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:ClearForeignConfig.xml
The input file ClearForeignConfig.xml is shown below:
<p:ClearForeignConfig_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:ClearForeignConfig_INPUT>
OUTPUT:
ClearForeignConfig_OUTPUT
ReturnValue = 0