Network Install (Recommended)
Follow this steps to to install a KVM Cloud Node (hypervisor host) ready to be used by Abiquo Server. Use this installation method if you have internet access in your cloud node
Perform a CentOS/RHEL 5 x86_64 Core Install
Minimal install. No graphical environment needed.
Refer to the official RedHat/CentOS documentation if you need assistance with the installation process:
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/index.html
IMPORTANT!!!
|
Add the Abiquo yum repository config
Install the Abiquo YUM repository package:
rpm -Uvh http://packages.abiquolabs.com/abiquo-repo-0.1-2.x86_64.rpm
You can also get the sample repo config file from http://packages.abiquolabs.com/abiquo.repo and add it to /etc/yum.repos.d directory
Install the abiquo-kvm package
yum install abiquo-kvm --nogpgcheck
Configure and mount the NFS repository
Add the following line to /etc/fstab to have the NFS client mount the FS after rebooting the server:
your-nfs-server-ip:/opt/vm_repository /opt/vm_repository nfs defaults 0 0
'your-nfs-server-ip' should be the IP address of your NFS server.
Configure Openwsman
/etc/openwsman/openwsman.conf
In particular, make sure you have the right libvirt_uri (comment out other libvirtu_uri settings):
libvirt_uri = qemu+unix:///system
And change the NFS repository IP address:
| remoteRepository = your-nfs-server:/opt/vm_repository |
There are sample config files in /usr/share/doc/abiquo-kvm
Configure the network bridge (br0)
The following example bridges eth0 to the bridge br0
DEVICE=eth0 TYPE=Ethernet ONBOOT=yes USERCTL=yes IPV6INIT=no PEERDNS=no BRIDGE=br0 ONBOOT=yes PROMISC=yes
DEVICE=br0 TYPE=Bridge BOOTPROTO=dhcp ONBOOT=yes USERCTL=yes IPV6INIT=no PEERDNS=no PROMISC=yes
Check
To check that the all services are 'ok' to use the node in Abiquo, follow the next steps:
cd /usr/local/bin/ wget http://download.abiquo.com/support/scripts/abiquoNodeCheckState.sh chmod +x abiquoNodeCheckState.sh
And run the script:
# /usr/local/bin/abiquoNodeCheckState.sh kvm Checking openwsmand... OK (pid 21281, listening at 8889) Checking libvirtd... OK (pid 2626, listening at 16509) Checking bridge... OK (br0 attached to eth0) Checking firewall... Firewall status: DISABLED, active rules found! Runlevel config: current = 3, default = 3 Firewall activation: 0:off 1:off 2:off 3:off 4:off 5:off SELinux status: DISABLED Checking AIM... Remote repository... OK (at nfs-server:/opt/vm_repository) Destination repository... OK (at /var/lib/virt) Checking KVM configuration... Checking vagent... OK (libvirt_uri = qemu+unix:///system) Checking emulator... OK (/usr/bin/qemu-kvm) Checking loader... OK (/usr/bin/qemu-kvm)


Comments (19)
Sep 26, 2010
Anonymous says:
just a note for those installing on a single box where NFS is also on the node: ...just a note for those installing on a single box where NFS is also on the node:
change the mount location by creating another folder (for example)/opt/vm_repository_src
changing appropriately as below:
Configure and mount the NFS repository
Add the following line to /etc/fstab to have the NFS client mount the FS after rebooting the server:your-nfs-server-ip:/opt/vm_repository_src /opt/vm_repository nfs defaults 0
Configure OpenwsmanremoteRepository = your-nfs-server:/opt/vm_repository_src
Sep 03, 2011
Anonymous says:
Just what the doctor ordered, tahintky you!Just what the doctor ordered, tahintky you!
Sep 03, 2011
Anonymous says:
j10OY0 <a href="http://ikdevcyomwrs.com/">ikdevcyomwrs</a>j10OY0 <a href="http://ikdevcyomwrs.com/">ikdevcyomwrs</a>
Sep 04, 2011
Anonymous says:
2EhB3d , [url=http://bblaiuuwtowg.com/]bblaiuuwtowg[/url], [...2EhB3d , [url=http://bblaiuuwtowg.com/]bblaiuuwtowg[/url], [link=http://dluifqgnccqy.com/]dluifqgnccqy[/link], http://aanzhwugcixq.com/
Oct 07, 2011
Anonymous says:
Mighty useful. Make no mstaike, I appreciate it.Mighty useful. Make no mstaike, I appreciate it.
Oct 08, 2011
Anonymous says:
B2YHR8 <a href="http://cbhnlisemnjx.com/">cbhnlisemnjx</a>B2YHR8 <a href="http://cbhnlisemnjx.com/">cbhnlisemnjx</a>
Oct 08, 2011
Anonymous says:
6a8qdw , [url=http://unhbmlsivaue.com/]unhbmlsivaue[/url], [...6a8qdw , [url=http://unhbmlsivaue.com/]unhbmlsivaue[/url], [link=http://kkmiwmpqhnrh.com/]kkmiwmpqhnrh[/link], http://dfyzfogrfvxz.com/
Oct 10, 2011
Anonymous says:
XJqGQA <a href="http://tpeecqdplkty.com/">tpeecqdplkty</a>XJqGQA <a href="http://tpeecqdplkty.com/">tpeecqdplkty</a>
Oct 12, 2011
Anonymous says:
wpWXnj , [url=http://ttygrsfcuoln.com/]ttygrsfcuoln[/url], [...wpWXnj , [url=http://ttygrsfcuoln.com/]ttygrsfcuoln[/url], [link=http://qprmtshileee.com/]qprmtshileee[/link], http://vgqwfawwcfkn.com/
Sep 04, 2011
Anonymous says:
HBloXa <a href="http://fxryembplzpd.com/">fxryembplzpd</a>HBloXa <a href="http://fxryembplzpd.com/">fxryembplzpd</a>
Sep 03, 2011
Anonymous says:
I rocekn you are quite dead on with that.I rocekn you are quite dead on with that.
Sep 03, 2011
Anonymous says:
D3xfP8 <a href="http://jzlhwvxewyzp.com/">jzlhwvxewyzp</a>D3xfP8 <a href="http://jzlhwvxewyzp.com/">jzlhwvxewyzp</a>
Oct 08, 2011
Anonymous says:
And to think I was going to talk to someone in peorsn about this.And to think I was going to talk to someone in peorsn about this.
Oct 08, 2011
Anonymous says:
DrfNMl <a href="http://rgyerkecbwwd.com/">rgyerkecbwwd</a>DrfNMl <a href="http://rgyerkecbwwd.com/">rgyerkecbwwd</a>
Oct 10, 2011
Anonymous says:
aLV14t , [url=http://kdqjhyfnezud.com/]kdqjhyfnezud[/url], [...aLV14t , [url=http://kdqjhyfnezud.com/]kdqjhyfnezud[/url], [link=http://buywqbiyvway.com/]buywqbiyvway[/link], http://wwmwmaccfxcu.com/
Oct 11, 2011
Anonymous says:
barjCP <a href="http://qczmruiygoqi.com/">qczmruiygoqi</a>barjCP <a href="http://qczmruiygoqi.com/">qczmruiygoqi</a>
Oct 12, 2011
Anonymous says:
5MK4MF , [url=http://ghboipixoqgv.com/]ghboipixoqgv[/url], [...5MK4MF , [url=http://ghboipixoqgv.com/]ghboipixoqgv[/url], [link=http://djlpaansxxkn.com/]djlpaansxxkn[/link], http://jxzhfgcobflb.com/
Sep 04, 2011
Anonymous says:
TZ94qn , [url=http://zbayqytirqgd.com/]zbayqytirqgd[/url], [...TZ94qn , [url=http://zbayqytirqgd.com/]zbayqytirqgd[/url], [link=http://ruvivohajhda.com/]ruvivohajhda[/link], http://kzypftqzbgud.com/
Sep 06, 2011
Anonymous says:
y63EOF , [url=http://qfufjspccmva.com/]qfufjspccmva[/url], [...y63EOF , [url=http://qfufjspccmva.com/]qfufjspccmva[/url], [link=http://lpsnemnlbvac.com/]lpsnemnlbvac[/link], http://wgxiqlsbpdpw.com/