To import an XML configuration file to configure Oracle ILOM, use the ilomconfig import config command. You can also use this command to restore the system configuration by importing a known reliable XML file.
ilomconfig import config --xmlfile=filename.xml
where filename.xml represents the file from which you are importing the ILOM configuration.
For example:
# ilomconfig import config --xmlfile=config.xml Are you sure you want to import the settings from the XML file to ILOM? [y/n]? y Do you want to enter a passphrase to restore sensitive data? [y/n]? y Enter passphrase: ******** Preparing to restore XML file to ILOM... Done preparing to restore XML file ILOM. Restoring configuration (allow several minutes)............................... .............................................................................. .......Done.
echo passphrase | ilomconfig import config --xmlfile=filename.xml
where passphrase is passphrase that you want to use.
or
cat file_with_passphrase | ilomconfig import config --xmlfile=filename.xml
where file_with_passphrase is the file containing the passphrase.
For example:
# echo passphrase | ilomconfig import config --xmlfile=config.xml Enter passphrase: ******** Preparing to restore XML file to ILOM... Done preparing to restore XML file ILOM. Restoring configuration (allow several minutes)............................... .............................................................................. .......Done.
The passphrase is automatically passed in through the command line.
ilomconfig import config --xmlfile=filename.xml -y
where filename.xml represents the file from which you are importing the ILOM configuration.
For example:
# ilomconfig import config --xmlfile=config.xml -y Preparing to restore XML file to ILOM... Done preparing to restore XML file ILOM. Restoring configuration (allow several minutes).............................. ............................................................................. .......Done.
This option imports the ILOM configuration without using a passphrase.