XML 구성 파일을 가져와서 Oracle ILOM을 구성하려면 ilomconfig import config 명령을 사용합니다. 이 명령을 사용하여 알려져 있고 신뢰성 있는 XML 파일을 가져와서 시스템 구성을 복원할 수도 있습니다.
ilomconfig import config --xmlfile=filename.xml
여기서 filename.xml은 ILOM 구성을 가져올 파일을 나타냅니다.
예:
# 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
여기서 passphrase는 사용하려는 문장암호입니다.
또는
cat file_with_passphrase | ilomconfig import config --xmlfile=filename.xml
여기서 file_with_passphrase는 문장암호가 들어 있는 파일입니다.
예:
# 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.
문장암호는 명령줄을 통해 자동으로 제공됩니다.
ilomconfig import config --xmlfile=filename.xml -y
여기서 filename.xml은 ILOM 구성을 가져올 파일을 나타냅니다.
예:
# 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.
이 옵션은 문장암호를 사용하지 않고 ILOM 구성을 가져옵니다.