Oracle Solaris 11.2용 Oracle® Server CLI 도구 사용 설명서

인쇄 보기 종료

업데이트 날짜: 2015년 11월
 
 

XML 구성 가져오기

XML 구성 파일을 가져와서 Oracle ILOM을 구성하려면 ilomconfig import config 명령을 사용합니다. 이 명령을 사용하여 알려져 있고 신뢰성 있는 XML 파일을 가져와서 시스템 구성을 복원할 수도 있습니다.


주 -  계속하기 전에 모든 활성 ILOM 로그인 세션을 종료하거나 닫으십시오. ilomconfig import 파일 명령을 사용하여 현재 Oracle ILOM 구성을 가져올 수 있습니다. 가져오기 작업을 실행하기 전에 모든 활성 열린 세션을 닫아야 합니다. 가져오기 작업 중에는 /SP/console에 로그인한 활성 ILOM 세션이 없어야 합니다.
  • 다음 중 하나를 수행합니다.
    • 문장암호를 사용하여 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.
        

        문장암호는 명령줄을 통해 자동으로 제공됩니다.

    • 문장암호를 사용하지 않고 XML 구성을 가져오려면 다음과 같이 입력합니다.

      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 구성을 가져옵니다.