Technical White Paper

16.13 Clearing the Foreign Configuration-
ClearForeignConfig()
The ClearForeignConfig() method is used to prepare any foreign physical disk drives 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:
wsman invoke -a ClearForeignConfig
http://schemas.dmtf.org/wbem/wscim/1/cimschema/
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 ClearForeignConfig.xml -j utf-8 -y basic
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:
<n1: ClearForeignConfig_OUTPUT >
<n1:RebootRequired>YES</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
</n1: ClearForeignConfig_OUTPUT>
If no foreign physical disk drives are available, the following message may be displayed:
<n1:ClearForeignConfig_OUTPUT>
<n1:Message>No foreign drives detected</n1:Message>
<n1:MessageID>STOR018</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:ClearForeignConfig_OUTPUT>
16.14 Applying the Pending Values for RAID-
CreateTargetedConfigJob()
The CreateTargetedConfigJob() method is called to apply the pending values created by RAID methods.
The system will automatically reboot depending on the
ScheduledStartTime
selected. The
CreateTargetedConfigJob()
jobID
output with the job control section can be used to obtain its status.
Invoke CreateTargetedConfigJob() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the
DCIM_ControllerView
(Section 16.7)