Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

4장. Bare Metal에서 RHEL 기반 셀프 호스트 환경으로 마이그레이션

4.1. 셀프 호스트 환경으로 마이그레이션

표준 Red Hat Virtualization의 기존 인스턴스를 셀프 호스트 엔진 환경으로 마이그레이션하기 위해 hosted-engine 스크립트를 사용합니다. 이 스크립트는 사용자에게 일련의 질문을 표시하며 사용자의 응답을 기반으로 환경을 구성합니다. 다음 절차에서 표준 Red Hat Virtualization 환경의 Manager를 BareMetal-Manager라고 합니다.
RHV-M Virtual Appliance는 사용자와 Manager 가상 머신 간의 필요한 소통량을 줄여서 이러한 절차를 단축시킵니다. 하지만 표준 설치 시 가상 어플라이언스가 engine-setup을 자동화할 수 있지만 마이그레이션 과정에서는 engine-setup을 수동으로 실행해야 사전에 새로운 Manager 가상 머신에 BareMetal-Manager 백업 파일을 복원할 수 있습니다.
이러한 마이그레이션은 다음과 같은 핵심 동작으로 구성됩니다:
  • hosted-engine 스크립트를 실행하여 호스트를 셀프 호스트 엔진으로 사용하도록 설정하고 새로운 Red Hat Virtualization 가상 머신을 생성합니다.
  • engine-backup 도구를 사용하여 엔진 데이터베이스 및 설정 파일을 백업하고, 이러한 백업을 새로운 Manager 가상 머신으로 복사하며, engine-backup--mode=restore 매개변수를 사용하여 백업을 복원합니다. engine-setup을 실행하여 Manager 가상 머신 설정을 완료합니다.
  • hosted-engine 스크립트에 따라 설정을 완료합니다.

전제 조건

  • ovirt-hosted-engine-setup 패키지가 설치된 새로운 호스트를 준비합니다. 서브스크립션 및 패키지 설치에 대한 보다 자세한 내용은 2.1절. “Red Hat Enterprise Linux 호스트에서 셀프 호스트 엔진 배포 시작”에서 참조하십시오. 이 호스트는 현재 Red Hat Virtualization 환경에서 지원되는 버전이어야 합니다.

    참고

    기존 호스트를 사용하려는 경우 호스트를 유지관리 모드로 전환하고 기존 환경에서 제거합니다. 자세한 내용은 관리 가이드에 있는 호스트 제거 를 참조하십시오.
  • 셀프 호스트 엔진 환경을 위한 스토리지를 준비합니다. 셀프 호스트 엔진에는 Manager 가상 머신 전용 공유 스토리지 도메인이 필요합니다. 이 도메인은 배포하는 동안 생성되며 60GB 이상이어야 합니다. 배포에 사용할 스토리지 준비에 대한 자세한 내용은 관리 가이드스토리지 장을 참조하십시오.

    중요

    iSCSI 스토리지를 사용하는 경우 공유 스토리지 도메인 및 데이터 스토리지 도메인에 같은 iSCSI 대상을 사용하지 마십시오.
  • rhevm-appliance 패키지를 설치하여 RHV-M Virtual Appliance를 가져옵니다. RHV-M Virtual Appliance는 항상 지원되는 최신 Manager 버전을 기반으로 합니다. 마이그레이션을 하려면 Manager 버전이 같아야 하므로 현재 환경의 Manager 버전이 지원되는 최신 Y-stream 버전으로 업데이트되었는지 확인합니다.
  • Manager 설치에 RHV-M Virtual Appliance를 사용하려면 한 개의 디렉토리가 60GB 이상이어야 합니다. hosted-engine 스크립트는 먼저 /var/tmp에 어플라이언스 파일을 추출할 공간이 충분히 있는지 확인합니다. 공간이 충분하지 않은 경우 다른 디렉토리를 지정하거나 외부 스토리지를 마운트할 수 있습니다. VDSM 사용자 및 KVM 그룹에는 디렉토리에 대한 읽기, 쓰기 및 실행 권한이 있어야 합니다.
  • 새로운 Manager의 정규화된 도메인 이름(FQDN)은 BareMetal-Manager의 FQDN과 같아야 합니다. 순방향 및 역방향 조회 기록은 모두 DNS에 설정되어야 합니다.
  • 사용자가 BareMetal-Manager에 액세스할 수 있고 이를 변경할 수 있어야 합니다.
  • BareMetal-Manager를 마이그레이션하는 대상 가상 머신에는 BareMetal-Manager를 마이그레이션 중인 원래의 물리적 머신과 동일한 양의 RAM이 있어야 합니다. BareMetal-Manager를 마이그레이션 중인 원래의 물리적 머신보다 RAM이 적은 가상 머신으로 마이그레이션해야 하는 경우 다음 Red Hat Knowledgebase 문서를 참조하십시오(https://access.redhat.com/articles/2705841).

절차 4.1. 셀프 호스트 환경으로 마이그레이션

  1. 셀프 호스트 엔진 배포 시작

    참고

    버전 3.5 이하에서 업데이트하는 경우 hosted-engine --deploy --config-append=/etc/ovirt-hosted-engine/answers.conf 명령을 실행해야 합니다. answers.conf 파일에는 OVEHOSTED_NETWORK/bridgeName=str:rhevm 매개 변수가 포함되어야 합니다. 버전 3.5에서 버전 3.6 이상으로 업그레이드하는 경우 이 매개 변수를 설정하지 않으면 기본 관리 네트워크가 작동하지 않게 됩니다.
    hosted-engine 스크립트를 실행합니다. 스크립트를 중지하려면 언제든지 CTRL+D 키보드 조합을 사용하여 배포를 중지합니다. 네트워크 또는 터미널 중단 시 세션을 잃지 않도록 screen 윈도우 관리자를 사용하여 스크립트를 실행하는 것이 좋습니다. screen 패키지는 일반 Red Hat Enterprise Linux 리포지터리에 있으므로 아직 설치하지 않은 경우 이 패키지를 설치합니다.
    # yum install screen
    # screen
    # hosted-engine --deploy

    참고

    세션 시간 초과 또는 연결 중단 시 screen -d -r을 실행하여 hosted-engine 배포 세션을 복구합니다.
  2. 스토리지 설정

    사용할 스토리지 유형을 선택합니다.
    During customization use CTRL-D to abort.
    Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]:
    • NFS 스토리지 유형의 경우 FQDN 또는 IP 주소를 사용하여 전체 주소를 입력하고 공유 스토리지 도메인의 경로 이름을 입력합니다.
      Please specify the full shared storage connection path to use (example: host:/path): storage.example.com:/hosted_engine/nfs
    • iSCSI의 경우 iSCSI 포털 IP 주소, 포트, 사용자 이름 및 암호를 입력하고 자동 감지된 목록에서 대상 이름을 선택합니다. 배포 도중 iSCSI 대상을 하나만 선택할 수 있습니다.
      Please specify the iSCSI portal IP address:           
      Please specify the iSCSI portal port [3260]:           
      Please specify the iSCSI portal user:           
      Please specify the iSCSI portal password:
      Please specify the target name (auto-detected values) [default]:
    • Gluster 스토리지의 경우 FQDN 또는 IP 주소를 사용하여 전체 주소를 입력하고 공유 스토리지 도메인의 경로 이름을 입력합니다.

      중요

      복제 (replica) 3 Gluster 스토리지만 지원됩니다. 다음의 설정이 완료되었는지 확인합니다:
      • 세 개의 Gluster 서버 모두의 /etc/glusterfs/glusterd.vol 파일에서 rpc-auth-allow-insecureon으로 설정합니다.
        option rpc-auth-allow-insecure on
      • 다음과 같이 볼륨을 설정합니다:
        gluster volume set volume cluster.quorum-type auto
        gluster volume set volume network.ping-timeout 10
        gluster volume set volume auth.allow \*
        gluster volume set volume group virt
        gluster volume set volume storage.owner-uid 36
        gluster volume set volume storage.owner-gid 36
        gluster volume set volume server.allow-insecure on
      Please specify the full shared storage connection path to use (example: host:/path): storage.example.com:/hosted_engine/gluster_volume
    • 파이버 채널(Fibre Channel)의 경우 호스트 버스 어댑터가 반드시 설정 및 연결되어야 하며, hosted-engine 스크립트가 사용 가능한 LUN을 자동으로 감지합니다. LUN에는 기존 데이터가 존재하지 않아야 합니다.
      The following luns have been found on the requested target:
      [1]     3514f0c5447600351       30GiB   XtremIO XtremApp
                              status: used, paths: 2 active
                
      [2]     3514f0c5447600352       30GiB   XtremIO XtremApp
                              status: used, paths: 2 active
      
      Please select the destination LUN (1, 2) [1]:
  3. 네트워크 설정

    해당 스크립트는 사용자 환경에서 매니지먼트 브리지(management bridge)로 사용할 수 있는 네트워크 인터페이스 컨트롤러(NIC)를 감지합니다. 그 후 사용자의 방화벽 설정을 확인하고 HostedEngine-VM 콘솔 (SPICE 또는 VNC) 액세스를 위해 설정을 수정할 수 있도록 제공하고 있습니다. 사용자가 ping할 수 있는 게이트웨이 IP 주소를 입력하면 ovirt-ha-agent는 이를 사용하여 호스트가 HostedEngine-VM을 실행하기에 적합한지 확인할 수 있습니다.
    Please indicate a nic to set rhvm bridge on: (eth1, eth0) [eth1]:
    iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]: 
    Please indicate a pingable gateway IP address [X.X.X.X]:
  4. 가상 머신 설정

    이 스크립트가 가상 머신을 생성하고 Red Hat Virtualization Manager로 설정하며, 이 절차에서 이를 HostedEngine-VM이라고 합니다. 부팅 장치로 disk 선택 시 스크립트는 사용 가능한 RHV-M 어플라이언스를 자동 감지합니다. 어플라이언스를 선택합니다.
             Please specify the device to boot the VM from (choose disk for the oVirt engine appliance) 
             (cdrom, disk, pxe) [disk]: 
             Please specify the console type you would like to use to connect to the VM (vnc, spice) [vnc]: vnc
    [ INFO ] Detecting available oVirt engine appliances
             The following appliance have been found on your system:
                   [1] - The oVirt Engine Appliance image (OVA)
                   [2] - Directly select an OVA file
             Please select an appliance (1, 2) [1]:
    [ INFO ] Checking OVF archive content (could take a few minutes depending on archive size)
    Yes 선택 시 cloud-init가 Manager 가상 머신 초기 설정을 처리합니다. Generate 선택 시 cloud-init가 root 암호 설정, 네트워크 설정, 그리고 호스트 이름 설정 등의 작업을 처리합니다. 옵션으로 기존 cloud-init 스크립트가 있는 경우 Existing 선택 시 cloud-init의 더 정교한 기능을 처리합니다. Manager 가상 머신의 FQDN을 입력합니다. 이는 BareMetal-Manager의 FQDN과 같아야 합니다.

    참고

    cloud-init에 대한 보다 자세한 내용은 https://cloudinit.readthedocs.org/en/latest/에서 참조하시기 바랍니다.
    Would you like to use cloud-init to customize the appliance on the first boot (Yes, No)[Yes]? Yes
    Would you like to generate on-fly a cloud-init no-cloud ISO image or do you have an existing one(Generate, Existing)[Generate]? Generate
    Please provide the FQDN you would like to use for the engine appliance.
    Note: This will be the FQDN of the engine VM you are now going to launch.
    It should not point to the base host or to any other existing machine.
    Engine VM FQDN: (leave it empty to skip): manager.example.com
    다음 질문에 No라고 응답해야 BareMetal-Manager 백업 파일을 HostedEngine-VM에 복원한 후 engine-setup을 실행할 수 있습니다.
    Automatically execute engine-setup on the engine appliance on first boot (Yes, No)[Yes]? No
    Manager의 도메인 이름, root 암호, 네트워크, 하드웨어, 그리고 콘솔 액세스 상세 정보를 설정합니다.
    Enter root password that will be used for the engine appliance (leave it empty to skip): p@ssw0rd
    Confirm appliance root password: p@ssw0rd
    The following CPU types are supported by this host:
        - model_Penryn: Intel Penryn Family
        - model_Conroe: Intel Conroe Family
    Please specify the CPU type to be used by the VM [model_Penryn]: 
    Please specify the number of virtual CPUs for the VM [Defaults to appliance OVF value: 4]: 
    You may specify a MAC address for the VM or accept a randomly generated default [00:16:3e:77:b2:a4]: 
    How should the engine VM network be configured (DHCP, Static)[DHCP]? Static
    Please enter the IP address to be used for the engine VM: 192.168.x.x
    Please provide a comma-separated list (max3) of IP addresses of domain name servers for the engine VM
    Engine VM DNS (leave it empty to skip):
    Add lines for the appliance itself and for this host to /etc/hosts on the engine VM?
    Note: ensuring that this host could resolve the engine VM hostname is still up to you (Yes, No)[No] Yes
  5. 셀프 호스트 엔진 설정

    Red Hat Virtualization 환경에서 Host-HE1이 인식될 수 있는 이름을 입력하고 admin@internal 사용자가 관리 포털에 액세스하기 위한 암호를 입력합니다. 마지막으로 SMTP 서버의 이름 및 TCP 포트 번호, 이메일 알림 전송에 사용되는 이메일 주소, 그리고 이러한 알림을 수신하는 콤마로 구분된 이메일 주소 목록을 입력합니다.
    Enter engine admin password: p@ssw0rd
    Confirm engine admin password: p@ssw0rd
    Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_1]:
    Please provide the FQDN for the engine you would like to use.
              This needs to match the FQDN that you will use for the engine installation within the VM.
              Note: This will be the FQDN of the VM you are now going to create,
              it should not point to the base host or to any other existing machine.
              Engine FQDN:  []: manager.example.com
    Please provide the name of the SMTP server through which we will send notifications [localhost]: 
    Please provide the TCP port number of the SMTP server [25]: 
    Please provide the email address from which notifications will be sent [root@localhost]: 
    Please provide a comma-separated list of email addresses which will get notifications [root@localhost]:
  6. 설정 미리 보기

    진행하기 전에 hosted-engine 스크립트는 사용자가 입력한 설정값을 표시하며 해당 값으로 진행할 것인지 확인하라는 메시지가 표시됩니다.
    Bridge interface                 : eth1
    Engine FQDN                      : manager.example.com
    Bridge name                      : ovirtmgmt
    Host address                     : host.example.com
    SSH daemon port                  : 22
    Firewall manager                 : iptables
    Gateway address                  : X.X.X.X
    Host name for web application    : Host-HE1
    Host ID                          : 1
    Image size GB                    : 50
    Storage connection               : storage.example.com:/hosted_engine/nfs
    Console type                     : vnc
    Memory size MB                   : 4096
    MAC address                      : 00:16:3e:77:b2:a4
    Boot type                        : pxe
    Number of CPUs                   : 2
    CPU Type                         : model_Penryn
    
    Please confirm installation settings (Yes, No)[Yes]:
  7. HostedEngine-VM 생성

    이 스크립트는 HostedEngine-VM으로 설정될 가상 머신을 생성하고 연결 상세 정보를 제공합니다. 사용자가 HostedEngine-VM에 백업 파일을 복원한 후 수동으로 engine-setup을 실행해야 hosted-engine 스크립트가 Host-HE1에서 진행할 수 있습니다.
    [ INFO  ] Stage: Transaction setup
    ...
    [ INFO  ] Creating VM
              You can now connect to the VM with the following command:
                      /bin/remote-viewer vnc://localhost:5900
              Use temporary password "3463VnKn" to connect to vnc console.
              Please note that in order to use remote-viewer you need to be able to run graphical applications.
              This means that if you are using ssh you have to supply the -Y flag (enables trusted X11 forwarding).
              Otherwise you can run the command from a terminal in your preferred desktop environment.
              If you cannot run graphical applications you can connect to the graphic console from another host or connect to the serial console using the following command:
              socat UNIX-CONNECT:/var/run/ovirt-vmconsole-console/8f74b589-8c6f-4a32-9adf-6e615b69de07.sock,user=ovirt-vmconsole STDIO,raw,echo=0,escape=1
              Please ensure that your Guest OS is properly configured to support serial console according to your distro documentation.
              Follow http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way for more info.
              If you need to reboot the VM you will need to start it manually using the command:
              hosted-engine --vm-start
              You can then set a temporary password using the command:
              hosted-engine --add-console-password
              Please install and setup the engine in the VM.
              You may also be interested in subscribing to "agent" RHN/Satellite channel and installing rhevm-guest-agent-common package in the VM.
            
            
              The VM has been rebooted.
              To continue please install oVirt-Engine in the VM
              (Follow http://www.ovirt.org/Quick_Start_Guide for more info).
            
              Make a selection from the options below:
              (1) Continue setup - oVirt-Engine installation is ready and ovirt-engine service is up
              (2) Abort setup
              (3) Power off and restart the VM
              (4) Destroy VM and abort setup
            
              (1, 2, 3, 4)[1]:
    다음의 명령을 통해 VNC 프로토콜을 사용하여 가상 머신에 연결합니다. FQDN을 셀프 호스트 엔진 호스트의 FQDN 또는 IP 주소로 변경합니다.
    # /bin/remote-viewer vnc://FQDN:5900
  8. HostedEngine-VM에서 SSH 활성화

    RHV-M Virtual Appliance에서 SSH 암호 인증은 기본값으로 활성화되어 있지 않습니다. VNC를 통해 HostedEngine-VM에 연결하여 SSH 암호 인증을 활성화하면 나중에 SSH를 사용하여 가상 머신에 액세스할 수 있으며 BareMetal-Manager 백업 파일을 복원하고 새로운 Manager를 설정할 수 있습니다. sshd 서비스가 실행 중인지 확인합니다. /etc/ssh/sshd_config을 편집하여 다음 두 옵션을 yes로 변경합니다.
    [...]
    PermitRootLogin yes       
    [...]
    PasswordAuthentication yes
    변경 사항을 적용하기 위해 sshd 서비스를 다시 시작합니다.
    # systemctl restart sshd.service
  9. BareMetal-Manager 비활성화

    사용자의 Red Hat Virtualization 환경의 Manager인 BareMetal-Manager에 연결하여 엔진을 중지하고 이것이 실행되지 못하도록 합니다.
    # systemctl stop ovirt-engine.service
    # systemctl disable ovirt-engine.service

    참고

    BareMetal-Manager의 실행을 중지하는 것이 필수는 아니지만 백업 생성 후 사용자 환경이 변경되지 않도록 하려면 이렇게 하는 것이 좋습니다. 또한 BareMetal-Manager 및 HostedEngine-VM이 동시에 기존 리소스를 관리하는 것을 방지합니다.
  10. DNS 업데이트

    사용자의 DNS를 업데이트하여 Red Hat Virtualization 환경의 FQDN을 HostedEngine-VM의 IP 주소와 연결하고 이전에 Host-HE1에서 hosted-engine 배포 스크립트를 설정할 때 제공된 FQDN과 연결합니다. 이 과정에서 FQDN이 manager.example.com으로 설정된 이유는 마이그레이션된 호스트 엔진 (hosted-engine) 설정 시 해당 엔진에 지정된 FQDN은 본래 엔진의 설정 시 지정된 FQDN과 동일해야 하기 때문입니다.
  11. BareMetal-Manager 백업 생성

    BareMetal-Manager에 연결하여 --mode=backup 매개 변수로 백업 모드를 지정, --file=FILE 매개 변수로 백업에 사용될 백업 파일 이름을 지정, 그리고 --log=LogFILE 매개 변수로 백업 로그를 저장할 로그 파일 이름을 지정해서 engine-backup 명령을 실행합니다.
    # engine-backup --mode=backup --file=FILE --log=LogFILE
  12. HostedEngine-VM에 백업 파일 복사

    BareMetal-Manager에서 백업 파일을 HostedEngine-VM으로 보안 복사합니다. 다음 예시에서는 manager.example.com이 HostedEngine-VM의 FQDN이며 /backup/은 지정된 임의의 폴더 또는 경로입니다. 지정된 폴더 또는 경로가 존재하지 않는 경우 사용자가 HostedEngine-VM에 연결해서 이것을 먼저 생성한 후 BareMetal-Manager에서 백업을 보안 복사해야 합니다.
    # scp -p FILE LogFILE manager.example.com:/backup/
  13. HostedEngine-VM에 백업 파일 복원

    engine-backup 도구를 사용하여 백업을 완전히 복원합니다. engine-setup 시 BareMetal-Manager 데이터베이스를 수동으로 설정한 경우 백업 환경을 수동으로 복원하기 위해 6.2.3절. “셀프 호스트 엔진 Manager 수동 복구”에 있는 절차를 따릅니다.
    • Manager만 복원하는 경우 다음과 같이 실행합니다:
      # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --restore-permissions
    • Manager 및 Data Warehouse를 복원하는 경우 다음과 같이 실행합니다:
      # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --provision-dwh-db --restore-permissions
    완료시 다음과 같은 출력 결과가 표시됩니다:
    You should now run engine-setup.
    Done.
  14. HostedEngine-VM 설정

    복원된 Manager 가상 머신을 설정합니다. 이 과정에서 기존 설정 및 데이터베이스 컨텐츠를 찾습니다. 설정을 확인합니다. 완료 후, 그 설정은 SSH 지문 및 내부 Certificate Authority 해시를 제공합니다.
    # engine-setup
    [ INFO  ] Stage: Initializing
    [ INFO  ] Stage: Environment setup
    Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
    Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20140304075238.log
    Version: otopi-1.1.2 (otopi-1.1.2-1.el6ev)
    [ INFO  ] Stage: Environment packages setup
    [ INFO  ] Yum Downloading: rhel-65-zstream/primary_db 2.8 M(70%)
    [ INFO  ] Stage: Programs detection
    [ INFO  ] Stage: Environment setup
    [ INFO  ] Stage: Environment customization
             
              --== PACKAGES ==--
             
    [ INFO  ] Checking for product updates...
    [ INFO  ] No product updates found
             
              --== NETWORK CONFIGURATION ==--
             
    Setup can automatically configure the firewall on this system.
    Note: automatic configuration of the firewall may overwrite current settings.
    Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
    [ INFO  ] iptables will be configured as firewall manager.
             
              --== DATABASE CONFIGURATION ==--
             
             
              --== OVIRT ENGINE CONFIGURATION ==--
             
             
              --== PKI CONFIGURATION ==--
             
             
              --== APACHE CONFIGURATION ==--
             
             
              --== SYSTEM CONFIGURATION ==--
             
             
              --== END OF CONFIGURATION ==--
             
    [ INFO  ] Stage: Setup validation
    [ INFO  ] Cleaning stale zombie tasks
             
              --== CONFIGURATION PREVIEW ==--
             
              Default SAN wipe after delete           : False
              Firewall manager                        : iptables
              Update Firewall                         : True
              Host FQDN                               : manager.example.com
              Engine database secured connection      : False
              Engine database host                    : X.X.X.X
              Engine database user name               : engine
              Engine database name                    : engine
              Engine database port                    : 5432
              Engine database host name validation    : False
              Engine installation                     : True
              PKI organization                        : example.com
              NFS mount point                         : /var/lib/exports/iso
              Configure VMConsole Proxy               : True
              Engine Host FQDN                        : manager.example.com
              Configure WebSocket Proxy               : True
             
              Please confirm installation settings (OK, Cancel) [OK]:
  15. Host 및 Manager 동기화

    Host-HE1로 돌아가서 옵션 1을 선택하여 hosted-engine 배포를 계속해서 진행합니다:
    (1) Continue setup - oVirt-Engine installation is ready and ovirt-engine service is up
    스크립트가 내부 Certificate Authority 해시를 표시하며, 스크립트의 메시지에 따라 Host-HE1을 추가할 클러스터를 선택합니다.
    [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
    [ INFO  ] Acquiring internal CA cert from the engine
    [ INFO  ] The following CA certificate is going to be used, please immediately interrupt if not correct:
    [ INFO  ] Issuer: C=US, O=example.com, CN=manager.example.com.23240, Subject: C=US, O=example.com, CN=manager.example.com.23240, Fingerprint (SHA-1): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    [ INFO  ] Connecting to the Engine
              Enter the name of the cluster to which you want to add the host (DB1, DB2, Default) [Default]:
    [ INFO  ] Waiting for the host to become operational in the engine. This may take several minutes...
    [ INFO  ] The VDSM Host is now operational
    [ INFO  ] Saving hosted-engine configuration on the shared storage domain
              Please shutdown the VM allowing the system to launch it as a monitored service.
              The system will wait until the VM is down.
  16. HostedEngine-VM 종료

    HostedEngine-VM을 종료합니다.
    # shutdown -h now
  17. 설정 확인

    Host-HE1로 돌아가서 HostedEngine-VM이 중지된 것을 감지했는지 확인합니다.
    [ INFO  ] Enabling and starting HA services
    [ INFO  ] Stage: Clean up
    [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160509162843.conf'
    [ INFO  ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
    [ INFO  ] Stage: Pre-termination
    [ INFO  ] Stage: Termination
    [ INFO  ] Hosted Engine successfully set up
Red Hat Virtualization 엔진이 셀프 호스트 엔진 설정으로 마이그레이션되었습니다. Manager는 이제 환경에서 HostedEngine-VM이라고 하는 Host-HE1의 가상 머신에서 작동합니다. HostedEngine-VM은 가용성이 매우 높으므로 필요한 경우 같은 환경 내의 다른 호스트로 마이그레이션됩니다.