Managing Multiple KVM Hosts With Enomalism2 [Ubuntu 8.10] - Page 2
3 Setup On server2server2: 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 (server2.example.com instead of server1.example.com): cp server2.example.com.cfg config/server2.example.com.cfg When you edit that file, make sure you fill in the correct IP address (192.168.0.101), and what is even more important, that you use the IP address of server1 (192.168.0.100) instead of localhost in the sqlobject.dburi line: vi config/server2.example.com.cfg
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 192.168.0.100:/opt/enomalism2/repo /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
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/enomalism2.sh start command. Finally, open http://192.168.0.101:8080/install in a browser (not just http://192.168.0.101:8080!) - this will complete the cluster node setup on server2: Afterwards, you have two control panels, one on server1 (http://192.168.0.100:8080/) and one on server2 (http://192.168.0.101:8080/). 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):
4 Links
|







Recent comments
13 hours 52 min ago
15 hours 27 min ago
19 hours 48 min ago
23 hours 38 min ago
1 day 11 hours ago
1 day 17 hours ago
1 day 20 hours ago
1 day 21 hours ago
1 day 21 hours ago
1 day 22 hours ago