AllInOne configuration with fedora 18 and ovirt 3.2 ( ovirt-engine-setup-plugin-allinone “Configure VDSM on this host?” ) ..

In this article, I am gonna write about “ovirt-engine-setup-plugin-allinone ” setup , a nice feature of ovirt. My strings are about ovirt 3.2 and fedora 18.

“All in One” means configuring VDSM on the same host where oVirt-engine is installed, so that VMs can be hosted on the same machine”.

Normally the ovirt manager, hypervisors/hosts, shared storage ..etc used to be on different systems or hardware. How-ever everything on the same piece of hardware can be handy when it comes to a situation like a demo , poc..etc, or maybe a devel environment.

You could also run a system with live cd which can be downloaded from

http://resources.ovirt.org/releases/3.2/tools/

How-ever its a live cd and nothing persistent.

‘All in one’ allows you to have a persisted ovirt setup in single system.

Coooooooool, Isn’t it?

Refer this url for more information on this:

http://www.ovirt.org/Feature/AllInOne

The installation flow consists mainly below steps.

Install ovirt-engine-setup-plugin-allinone rpm.
Start the regular engine-setup procedure.
When asked “Configure VDSM on this host?”, answer yes.
After all answers are provided, the setup will install oVirt-engine and configure VDSM, including local cluster, local datacenter and local host.

I tried ovirt engine all in one setup in my fedora 18 system. For getting the binary, first of all you have to configure the ovirt repo in fedora and then install required package as shown below:

[terminal]
#yum localinstall http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm
[/terminal]

Now, let us install ovirt-engine-setup-plugin-allinone package.

[terminal]
#yum install ovirt-engine-setup-plugin-allinone
[/terminal]

After successful installation of above package, you have to run

[terminal]
#engine-setup
[/terminal]

Above will ask you different inputs and my settings looked similar to below:

[terminal]

oVirt Engine will be installed using the following configuration:
=================================================================
http-port: 80
https-port: 443
host-fqdn: nested-l0.humblec.com
auth-pass: ********
org-name: humblec.com
default-dc-type: NFS
db-remote-install: local
db-local-pass: ********
nfs-mp: /mnt/iso
iso-domain-name: my-iso-domain
override-iptables: yes
config-allinone: yes
storage-path: /mnt/vms
superuser-pass: ********
Proceed with the configuration listed above? (yes|no): yes

Installing:
AIO: Validating CPU Compatibility… [ DONE ]
Configuring oVirt-engine… [ DONE ]
Creating CA… [ DONE ]
Editing JBoss Configuration… [ DONE ]
Setting Database Configuration… [ DONE ]
Setting Database Security… [ DONE ]
Creating Database…
Updating the Default Data Center Storage Type… [ DONE ]
Editing oVirt Engine Configuration… [ DONE ]
Editing Postgresql Configuration… [ DONE ]
Configuring the Default ISO Domain…[ 893.498574] RPC: Registered named UNIX socket transport module.
[ 893.500176] RPC: Registered udp transport module.
[ 893.501439] RPC: Registered tcp transport module.
[ 893.502772] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 893.669165] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 893.727458] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 893.729275] NFSD: starting 90-second grace period
[ DONE ]
Configuring Firewall (iptables)… [ DONE ]
Starting JBoss Service…[ 894.617043] Ebtables v2.0 unregistered
[ DONE ]
Handling HTTPD… [ DONE ]
AIO: Creating storage directory… [ DONE ]
AIO: Adding Local Datacenter and cluster…
AIO: Adding Local host (This may take several minutes)…[ 976.740420] 8021q: adding VLAN 0 to HW filter on device eth0
[ 976.746399] device eth0 entered promiscuous mode
[ 976.800550] ovirtmgmt: port 1(eth0) entered forwarding state
[ 976.802086] ovirtmgmt: port 1(eth0) entered forwarding state
[ 987.878188] Ebtables v2.0 registered
[ 987.907895] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 991.522657] ata1: soft resetting link
[ 991.527429] ata2: soft resetting link
[ 991.674220] ata1: EH complete
[ 991.679207] ata2: EH complete
[ DONE ]
AIO: Adding Local storage (This may take several minutes)…[ 994.892038] ata1: soft resetting link
[ 994.894442] ata2: soft resetting link
[ 995.044682] ata1: EH complete
[ 995.048239] ata2: EH complete
[ 1020.420554] ata1: soft resetting link
[ 1020.429261] ata2: soft resetting link
[ 1020.573578] ata1: EH complete
[ 1020.581356] ata2: EH complete
*** Installation completed successfully ******

(Please allow oVirt Engine a few moments to start up…..)

Additional information:
* SSL Certificate fingerprint: 7D:5E:45:66:5D:EB:6E:43:76:B5:11:3B:20:82:EE:9F:A4:35:98:A5
* SSH Public key fingerprint: b0:81:0a:6c:d1:95:90:0f:eb:bd:76:85:1f:1f:c8:0b
* A default ISO share has been created on this host.
If IP based access restrictions are required, please edit /mnt/iso entry in /etc/exports
* The installation log file is available at: /var/log/ovirt-engine/engine-setup_2013_06_05_07_37_41.log
* Please use the user “admin” and password specified in order to login into oVirt Engine
* To configure additional users, first configure authentication domains using the ‘engine-manage-domains’ utility
* To access oVirt Engine please go to the following URL: http://nested-l0.humblec.com:80
[root@localhost ~]#

[/terminal]

WoW. It’s done. I can access my engine page by browsing http://nested-l0.humblec.com:80

1 thought on “AllInOne configuration with fedora 18 and ovirt 3.2 ( ovirt-engine-setup-plugin-allinone “Configure VDSM on this host?” ) ..”

Comments are closed.