Oracle Server CLI Tools Overview
CLI Tools Command Syntax and Conventions
Restoring and Modifying Oracle ILOM XML Configuration Files
XML File Configuration Commands
How to Export an XML Configuration
How to Restore Oracle ILOM to Defaults
How to List System Summary Information
How to Modify a User Password or Role
How to Create an SNMP Community
How to List IPv4 Network Settings
How to Modify IPv4 Network Settings
How to List IPv6 Network Settings
How to Modify IPv6 Network Settings
How to List Service Processor Identification Information
How to Modify Identification Information
How to Modify Clock Information
Host-to-ILOM Interconnect Configuration Commands
How to Enable the Host-to-ILOM Interconnect
How to Disable the Host-to-ILOM Interconnect
How to Modify the Host-to-ILOM Interconnect
How to List the Host-to-ILOM Interconnect Settings
How to Set Up a Credential Cache on the Host
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.
In the following examples, filename.xml represents the file to which you are importing the ILOM configuration.
ilomconfig import config --xmlfile=filename.xml
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=config.xml
Where passphrase is passphrase that you want to use.
or
cat file_with_passphrase | ilomconfig import config --xmlfile=config.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 export config --xmlfile=filename.xml -y
For example:
#ilomconfig export 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.
See Also