oVirt 4.2 : oVirt 管理サーバーの設定2018/10/12 |
RHEV (Red Hat Enterprise Virtualization) の オープンソース実装 oVirt のインストールと設定です。
当例では以下のような環境を例に設定します。(ノードは増設可能) +----------------------+ | +----------------------+ | [ oVirt Management ] |10.0.0.30 | 10.0.0.51| [ oVirt Node ] | | dlp.srv.world +----------+----------+ node01.srv.world | | | | | +----------------------+ +----------------------+ |
[1] | oVirt 管理サーバーを設定します。 |
[root@dlp ~]#
yum -y install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
[root@dlp ~]#
[root@dlp ~]# yum -y install ovirt-engine engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20181012101318-1y4czu.log Version: otopi-1.7.8 (otopi-1.7.8-1.el7) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== PRODUCT OPTIONS ==-- # 全てそのまま Enter Configure Engine on this host (Yes, No) [Yes]: Configure ovirt-provider-ovn (Yes, No) [Yes]: Configure Image I/O Proxy on this host (Yes, No) [Yes]: Configure WebSocket Proxy on this host (Yes, No) [Yes]: * Please note * : Data Warehouse is required for the engine. If you choose to not configure it on this host, you have to configure it on a remote host, and then configure the engine on this host so that it can access the database of the remote Data Warehouse host. # 全てそのまま Enter Configure Data Warehouse on this host (Yes, No) [Yes]: Configure VM Console Proxy on this host (Yes, No) [Yes]: --== PACKAGES ==-- [ INFO ] Checking for product updates... [ INFO ] No product updates found --== NETWORK CONFIGURATION ==-- # 自身のホスト名を確認して Enter Host fully qualified DNS name of this server [dlp.srv.world]: Setup can automatically configure the firewall on this system. Note: automatic configuration of the firewall may overwrite current settings. NOTICE: iptables is deprecated and will be removed in future releases # そのまま Enter Do you want Setup to configure the firewall? (Yes, No) [Yes]: [ INFO ] firewalld will be configured as firewall manager. --== DATABASE CONFIGURATION ==-- # Data Warehouse 用の DB をローカルかリモートにするか選択 (当例は Local を選択) Where is the DWH database located? (Local, Remote) [Local]: Setup can configure the local postgresql server automatically for the DWH to run. This may conflict with existing applications. # Data Warehouse DB の構成を自動設定か手動設定か選択 (当例は Automatic を選択) Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: # Engine 用の DB をローカルかリモートにするか選択 (当例は Local を選択) Where is the Engine database located? (Local, Remote) [Local]: Setup can configure the local postgresql server automatically for the engine to run. This may conflict with existing applications. # Engine DB の構成を自動設定か手動設定か選択 (当例は Automatic を選択) Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: --== OVIRT ENGINE CONFIGURATION ==-- # oVirt 管理者パスワードを設定 Engine admin password: Confirm engine admin password: # アプリケーションモードを選択 (当例は Both を選択) Application mode (Virt, Gluster, Both) [Both]: # デフォルトクレデンシャルを使用するか否か Use default credentials (admin@internal) for ovirt-provider-ovn (Yes, No) [Yes]: --== STORAGE CONFIGURATION ==-- # 仮想マシンディスクの削除時に仮想ディスクのブロックも消去するか否か (当例は No を選択) Default SAN wipe after delete (Yes, No) [No]: --== PKI CONFIGURATION ==-- # 証明書の組織名を指定 (通常は自動認識されている) Organization name for certificate [srv.world]: --== APACHE CONFIGURATION ==-- Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications. # Web サーバーのデフォルトページをアプリケーションにするかを選択 (当例は Yes を選択) Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]: Setup can configure apache to use SSL using a certificate issued from the internal CA. # 証明書の構成を自動設定か手動設定か選択 (当例は Automatic を選択) Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]: --== SYSTEM CONFIGURATION ==-- --== MISC CONFIGURATION ==-- # Data Warehouse Sampling Scale を選択 # Data Warehouse がリモートの場合は Full 推奨 # Data Warehouse がローカルの場合は Basic 推奨 Please choose Data Warehouse sampling scale: (1) Basic (2) Full (1, 2)[1]: 1 --== END OF CONFIGURATION ==-- [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Application mode : both Default SAN wipe after delete : False Firewall manager : firewalld Update Firewall : True Host FQDN : dlp.srv.world Configure local Engine database : True Set application as default page : True Configure Apache SSL : True Engine database secured connection : False Engine database user name : engine Engine database name : engine Engine database host : localhost Engine database port : 5432 Engine database host name validation : False Engine installation : True PKI organization : srv.world Set up ovirt-provider-ovn : True Configure WebSocket Proxy : True DWH installation : True DWH database host : localhost DWH database port : 5432 Configure local DWH database : True Configure Image I/O Proxy : True Configure VMConsole Proxy : True # 内容を確認して OK であれば進む Please confirm installation settings (OK, Cancel) [OK]: [ INFO ] Stage: Transaction setup [ INFO ] Stopping engine service [ INFO ] Stopping ovirt-fence-kdump-listener service [ INFO ] Stopping dwh service [ INFO ] Stopping Image I/O Proxy service [ INFO ] Stopping vmconsole-proxy service [ INFO ] Stopping websocket-proxy service [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Upgrading CA [ INFO ] Initializing PostgreSQL [ INFO ] Creating PostgreSQL 'engine' database [ INFO ] Configuring PostgreSQL [ INFO ] Creating PostgreSQL 'ovirt_engine_history' database [ INFO ] Configuring PostgreSQL [ INFO ] Creating CA [ INFO ] Creating/refreshing DWH database schema [ INFO ] Configuring Image I/O Proxy [ INFO ] Setting up ovirt-vmconsole proxy helper PKI artifacts [ INFO ] Setting up ovirt-vmconsole SSH PKI artifacts [ INFO ] Configuring WebSocket Proxy [ INFO ] Creating/refreshing Engine database schema [ INFO ] Creating/refreshing Engine 'internal' domain database schema [ INFO ] Adding default OVN provider to database [ INFO ] Adding OVN provider secret to database [ INFO ] Setting a password for internal user admin [ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf' [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up [ INFO ] Starting engine service [ INFO ] Starting dwh service [ INFO ] Restarting ovirt-vmconsole proxy service --== SUMMARY ==-- [ INFO ] Restarting httpd Please use the user 'admin@internal' and password specified in order to login Web access is enabled at: http://dlp.srv.world:80/ovirt-engine https://dlp.srv.world:443/ovirt-engine Internal CA 3F:07:3B:94:3B:38:77:3F:49:71:FD:44:22:1F:24:9E:2F:BC:26:EB SSH fingerprint: SHA256:ZlvFsKtarAQlWGoUvcNDQ309KvD7AHaaxWIxd8ZpVyc --== END OF SUMMARY ==-- [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20181012101318-1y4czu.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20181012102044-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ INFO ] Execution of setup completed successfully |
Sponsored Link |