oVirt - Configure Control Server2014/06/15 |
Install oVirt that is the management tool for virtualization environment.
It's the OSS edition of Red Hat Enterprise Virtualization.
This example shows to configure on the environment below.
(1) ovirt.srv.world
[10.0.0.50] ⇒ oVirt Control Server ( up to 4G memory ) (2) node01.srv.world [10.0.0.40] ⇒ oVirt Node ( KVM Host configured ) (3) client.srv.world [10.0.0.30] ⇒ ClientPC ( Desktop Environment configured )
Setup DNS lookup first that oVirt Control Server or oVirt Node can resolve normally.
|
|
[1] | Configure oVirt Control Server. |
[root@ovirt ~]#
yum -y install http://resources.ovirt.org/pub/yum-repo/ovirt-release34.rpm
[root@ovirt ~]#
[root@ovirt ~]# yum -y install ovirt-engine engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20140614220853-b3t8wu.log Version: otopi-1.2.1 (otopi-1.2.1-1.el6) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== PRODUCT OPTIONS ==-- --== PACKAGES ==-- [ INFO ] Checking for product updates... [ INFO ] No product updates found --== NETWORK CONFIGURATION ==-- # specify the FQDN of own the host Host fully qualified DNS name of this server [ovirt.srv.world]: Setup can automatically configure the firewall on this system. Note: automatic configuration of the firewall may overwrite current settings. # Enter with Yes Do you want Setup to configure the firewall? (Yes, No) [Yes]: The following firewall managers were detected on this system: iptables # specify iptables
Firewall manager to configure (iptables): iptables [ INFO ] iptables will be configured as firewall manager. --== DATABASE CONFIGURATION ==-- # select local DB or remote DB (selet Local on here) 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. # select auto or manual for setting DB (select Automatic on here) Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: --== OVIRT ENGINE CONFIGURATION ==-- # select apprication mode (select Both) Application mode (Both, Virt, Gluster) [Both]: # select storage type (select NFS on here) Default storage type: (NFS, FC, ISCSI, POSIXFS, GLUSTERFS) [NFS]: # ser oVirt admin password Engine admin password: Confirm engine admin password: --== PKI CONFIGURATION ==-- # specify Organization name for certificate Organization name for certificate [srv.world]: --== APACHE CONFIGURATION ==-- Setup can configure apache to use SSL using a certificate issued from the internal CA. # select auto or manual for setting certificate Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]: Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications. # select Yes or No (select Yes on here) Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]: --== SYSTEM CONFIGURATION ==-- # select Yes or No (select Yes on here) Configure WebSocket Proxy on this machine? (Yes, No) [Yes]: # select Yes or No (select Yes on here) Configure an NFS share on this server to be used as an ISO Domain? (Yes, No) [Yes]: # specify local ISO Domain's PATH (keep default and Enter on here) Local ISO domain path [/var/lib/exports/iso]: # specify local ISO Domain's ACL (keep default and Enter on here) Local ISO domain ACL [0.0.0.0/0.0.0.0(rw)]: # specify local ISO Domain's name (keep default and Enter on here) Local ISO domain name [ISO_DOMAIN]: --== MISC CONFIGURATION ==-- --== END OF CONFIGURATION ==-- [ INFO ] Stage: Setup validation [WARNING] Less than 16384MB of memory is available --== CONFIGURATION PREVIEW ==-- 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 NFS setup : True PKI organization : srv.world Application mode : both Firewall manager : iptables Update Firewall : True Configure WebSocket Proxy : True Host FQDN : ovirt.srv.world NFS export ACL : 0.0.0.0/0.0.0.0(rw) NFS mount point : /var/lib/exports/iso Datacenter storage type : nfs Configure local Engine database : True Set application as default page : True Configure Apache SSL : True # Enter if it's OK all Please confirm installation settings (OK, Cancel) [OK]: [ INFO ] Stage: Transaction setup [ INFO ] Stopping engine 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 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: DE:1A:BA:0F:55:E7:D2:0C:0D:BD:ED:DA:6A:AD:9B:D9 Internal CA E4:DF:4B:09:87:7C:0C:E4:19:2A:D9:4B:BC:F9:47:DB:37:CD:E5:F9 Web access is enabled at: http://ovirt.srv.world:80/ovirt-engine https://ovirt.srv.world: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 ] Restarting nfs services [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140614220853-b3t8wu.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140614221352-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ INFO ] Execution of setup completed successfully
[root@ovirt ~]#
vi /etc/sysconfig/nfs # add at the last line NFS4_SUPPORT="no"
mkdir /var/lib/exports/data [root@ovirt ~]# chown vdsm:kvm /var/lib/exports/data
[root@ovirt ~]#
vi /etc/exports # add a line for data storage /var/lib/exports/iso 0.0.0.0/0.0.0.0(rw) /var/lib/exports/data 0.0.0.0/0.0.0.0(rw) /etc/rc.d/init.d/nfs restart Shutting down NFS daemon: [ OK ] Shutting down NFS mountd: [ OK ] Shutting down NFS services: [ OK ] Shutting down RPC idmapd: [ OK ] Starting NFS services: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [ OK ] Starting RPC idmapd: [ OK ] |
Sponsored Link |
|