oVirt專題:Hosted Engine之Engine Appliance使用(3)

來源:互聯網
上載者:User

標籤:ovirt hosted engine ovirt-appliance engine appliance


(6)Engine VM操作流程
    a、配置網路

IP:192.168.14.77NETMASK:255.255.252.0GATEWAY:192.168.14.1

    b、佈建網域名解析

192.168.14.67      node.test192.168.14.77      engine.test

    c、執行命令,部署engine

# engine-setup --config-append=/root/ovirt-engine-answers --offline        #(調用answer進行配置(answer檔案在製作engine-appliance時已經放到appliance中),採用離線模式rpm包已安裝) [ 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‘, ‘/root/ovirt-engine-answers‘]           Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20141009035420-427q5m.log           Version: otopi-1.3.0_master (otopi-1.3.0-0.0.master.20140911.git7c7d631.el6) [ INFO  ] Stage: Environment packages setup [ INFO  ] Stage: Programs detection [ INFO  ] Stage: Environment setup [ INFO  ] Stage: Environment customization                     --== PRODUCT OPTIONS ==--                     Configure Engine on this host (Yes, No) [Yes]:            Configure WebSocket Proxy on this host (Yes, No) [Yes]:                      --== PACKAGES ==--                               --== ALL IN ONE CONFIGURATION ==--                               --== 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.           Host fully qualified DNS name of this server [engine.test.eayun]:  [WARNING] Failed to resolve engine.test.eayun using DNS, it can be resolved only locally                     --== DATABASE CONFIGURATION ==--                               --== OVIRT ENGINE CONFIGURATION ==--                     Engine admin password:            Confirm engine admin password:                      --== PKI CONFIGURATION ==--                     Organization name for certificate [test.eayun]:                      --== APACHE CONFIGURATION ==--                               --== SYSTEM CONFIGURATION ==--                               --== MISC CONFIGURATION ==--                               --== END OF CONFIGURATION ==--           [ INFO  ] Stage: Setup validation [WARNING] Less than 16384MB of memory is available        #記憶體大小檢測(ovirt3.5推薦engine記憶體大小16384MB)                    --== CONFIGURATION PREVIEW ==--                     Application mode                        : virt           Datacenter storage type                 : False           Firewall manager                        : iptables           Update Firewall                         : True           Host FQDN                               : engine.test.eayun           Engine database name                    : engine           Engine database secured connection      : False           Engine database host                    : localhost           Engine database user name               : engine           Engine database host name validation    : False           Engine database port                    : 5432           Engine installation                     : True           PKI organization                        : test.eayun           Configure local Engine database         : True           Set application as default page         : True           Configure Apache SSL                    : True           Configure WebSocket Proxy               : True [ INFO  ] Stage: Transaction setup [ INFO  ] Stopping engine service [ INFO  ] Stopping ovirt-fence-kdump-listener service [ INFO  ] Stopping websocket-proxy service [ INFO  ] Stage: Misc configuration [ INFO  ] Stage: Package installation [ INFO  ] Stage: Misc configuration [ INFO  ] Initializing PostgreSQL [ INFO  ] Creating PostgreSQL ‘engine‘ database [ INFO  ] Configuring PostgreSQL [ INFO  ] Creating/refreshing Engine database schema [ INFO  ] Creating CA [ INFO  ] Configuring WebSocket Proxy [ 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                     --== SUMMARY ==--           [WARNING] Less than 16384MB of memory is available           SSH fingerprint: D9:E9:E9:B5:0C:17:16:9F:8E:9D:B1:12:FD:AE:CA:17           Internal CA D1:91:7E:6E:1C:1F:A5:EC:91:BE:5A:C5:ED:6B:63:F4:94:A8:DF:31           Web access is enabled at:               http://engine.test.eayun:80/ovirt-engine               https://engine.test.eayun:443/ovirt-engine           Please use the user "admin" and password specified in order to login                     --== END OF SUMMARY ==--           [ INFO  ] Starting engine service [ INFO  ] Restarting httpd [ INFO  ] Stage: Clean up           Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20141009035420-427q5m.log [ INFO  ] Generating answer file ‘/var/lib/ovirt-engine/setup/answers/20141009035903-setup.conf‘ [ INFO  ] Stage: Pre-termination [ INFO  ] Stage: Termination [ INFO  ] Execution of setup completed successfully

此處返回第(5)步繼續後面的操作。

OK。到此為止,基於Engine Appliance的hosted engine就配置完成了。

開啟瀏覽器,訪問Engine的IP地址:192.168.14.77即可訪問到oVirt的WEB管理介面。


關於整個流程中一些細節分析,後續再添加。。。

本文出自 “BlackArt” 部落格,請務必保留此出處http://blackart.blog.51cto.com/1142352/1561891

oVirt專題:Hosted Engine之Engine Appliance使用(3)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.