構成全体を XML ファイルにエクスポートするには、ilomconfig export config コマンドを使用します。
ilomconfig export config --xmlfile=filename.xml
ここで、filename.xml は、ILOM 構成のエクスポート先のファイルを表します。
例:
# ilomconfig export config --xmlfile=config.xml Do you want to enter a passphrase to back up sensitive data? [y/n]? y Enter passphrase: ******** Wrote backup of ILOM configuration to 'config.xml'.
echo passphrase | ilomconfig export config --xmlfile=filename.xml
ここで、passphrase は、使用するパスフレーズです。
または
cat file_with_passphrase | ilomconfig export config --xmlfile=filename.xml
ここで、file_with_passphrase は、パスフレーズが含まれているファイルです。
例:
# echo passphrase | ilomconfig export config --xmlfile=config.xml Enter passphrase: ******** Wrote backup of ILOM configuration to 'config.xml'.
パスフレーズは、コマンド行を介して自動的に渡されます。
ilomconfig export config --xmlfile=filename.xml -y
ここで、filename.xml は、ILOM 構成のエクスポート先のファイルを表します。
例:
# ilomconfig export config --xmlfile=config.xml -y Wrote backup of ILOM configuration to 'config.xml'.
このオプションは、パスフレーズを使用せずに ILOM 構成をエクスポートします。