Reference Guide

160 Lifecycle Controller Web Services Interface Guide for Linux
</p:ResetConfig_INPUT>
OUTPUT:
<n1:ResetConfig_OUTPUT>
<n1:RebootRequired>YES</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:ResetConfig_OUTPUT>
16.16 Clearing the Foreign ConfigurationClearForeignConfig()
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?Sy
stemCreationClassName=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/cimschema/2/root/dcim/DCIM_RAIDS
ervice”>
<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.17 Applying the Pending Values for RAIDCreateTargetedConfigJob()
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)
RebootJobType: There are three options for rebooting the System.
1 = PowerCycle