(6)Engine VM操做流程
a、配置網絡node
IP:192.168.14.77 NETMASK:255.255.252.0 GATEWAY:192.168.14.1
b、配置域名解析git
192.168.14.67 node.test 192.168.14.77 engine.test
c、執行命令,部署engineweb
# 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就配置完成了。bash
打開瀏覽器,訪問Engine的IP地址:192.168.14.77便可訪問到oVirt的WEB管理界面。websocket
關於整個流程中一些細節分析,後續再添加。。。
網絡