KVM

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!!!
  • Only x86_64 architecture is supported. i386 will NOT work.
  • SELinux and Firewall must be disabled. See Disabling SELinux.
  • IPv6 can be disabled during the install process

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)
 
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. 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

    1. Sep 03, 2011

      Anonymous says:

      Just what the doctor ordered, tahintky you!

      Just what the doctor ordered, tahintky you!

    2. Sep 03, 2011

      Anonymous says:

      j10OY0 <a href="http://ikdevcyomwrs.com/">ikdevcyomwrs</a>

      j10OY0 <a href="http://ikdevcyomwrs.com/">ikdevcyomwrs</a>

    3. 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/

      1. Oct 07, 2011

        Anonymous says:

        Mighty useful. Make no mstaike, I appreciate it.

        Mighty useful. Make no mstaike, I appreciate it.

      2. Oct 08, 2011

        Anonymous says:

        B2YHR8 <a href="http://cbhnlisemnjx.com/">cbhnlisemnjx</a>

        B2YHR8 <a href="http://cbhnlisemnjx.com/">cbhnlisemnjx</a>

      3. 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/

      4. Oct 10, 2011

        Anonymous says:

        XJqGQA <a href="http://tpeecqdplkty.com/">tpeecqdplkty</a>

        XJqGQA <a href="http://tpeecqdplkty.com/">tpeecqdplkty</a>

      5. 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/

    4. Sep 04, 2011

      Anonymous says:

      HBloXa <a href="http://fxryembplzpd.com/">fxryembplzpd</a>

      HBloXa <a href="http://fxryembplzpd.com/">fxryembplzpd</a>

  2. Sep 03, 2011

    Anonymous says:

    I rocekn you are quite dead on with that.

    I rocekn you are quite dead on with that.

  3. Sep 03, 2011

    Anonymous says:

    D3xfP8 <a href="http://jzlhwvxewyzp.com/">jzlhwvxewyzp</a>

    D3xfP8 <a href="http://jzlhwvxewyzp.com/">jzlhwvxewyzp</a>

    1. 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.

    2. Oct 08, 2011

      Anonymous says:

      DrfNMl <a href="http://rgyerkecbwwd.com/">rgyerkecbwwd</a>

      DrfNMl <a href="http://rgyerkecbwwd.com/">rgyerkecbwwd</a>

    3. 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/

    4. Oct 11, 2011

      Anonymous says:

      barjCP <a href="http://qczmruiygoqi.com/">qczmruiygoqi</a>

      barjCP <a href="http://qczmruiygoqi.com/">qczmruiygoqi</a>

    5. 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/

  4. 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/

  5. 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/