Managing Multiple KVM Hosts With Enomalism2 [Ubuntu 8.10] - Page 2

3 Setup On server2


server2 must be set up according to page 1 of this tutorial, but with small differences: KVM Virtualization With Enomalism 2 On An Ubuntu 8.10 Server

I will outline the differences here - the rest is as described in the other tutorial:

When you copy the Enomalism2 configuration file, make sure you use the correct hostname ( instead of

cp config/

When you edit that file, make sure you fill in the correct IP address (, and what is even more important, that you use the IP address of server1 ( instead of localhost in the sqlobject.dburi line:

vi config/

sqlobject.dburi="mysql://enomalism:[email protected]:3306/enomalism2"

Now after the

/etc/init.d/libvirt-bin restart

part, we must configure NFS. Install the NFS client as follows:

aptitude install nfs-common portmap

Then mount the remote /opt/enomalism2/repo directory to /opt/enomalism2/repo:

mount /opt/enomalism2/repo

To make sure that the NFS share gets mounted automatically when the client boots, open /etc/fstab and append the following line:

vi /etc/fstab

[...]  /opt/enomalism2/repo/opt/enomalism2/repo   nfs      rw,sync,hard,intr  0     0

After the NFS setup is finished, you can go on in the KVM Virtualization With Enomalism 2 On An Ubuntu 8.10 Server tutorial with the

scripts/ start


Finally, open in a browser (not just!) - this will complete the cluster node setup on server2:

Afterwards, you have two control panels, one on server1 ( and one on server2 ( It doesn't matter which one you use, they look and do the same.

Under Virtual Infrastructure > Infrastructure, you should now see both cluster nodes,...

... and you can now start deploying virtual machines on that cluster (as shown in KVM Virtualization With Enomalism 2 On An Ubuntu 8.10 Server):


Share this page:

0 Comment(s)

Add comment