Onapp hypervisor installation

These instructions take in account that your control panel (with ip 10.40.1.1 in this example) is where templates and backups are stored, if this is not the case adjust them accordingly.

Before starting with the hypervisor installation, make sure you can reach your SAN/Volumes and Onapp management network.

  1. echo >> /etc/fstab ‘10.40.1.1:/onapp/backups /onapp/backups nfs soft,noatime,intr,tcp,rsize=32768,wsize=32768 0 0’
  2. echo >> /etc/fstab ‘10.40.1.1:/onapp/templates /onapp/templates nfs soft,noatime,intr,tcp,rsize=32768,wsize=32768 0 0’
  3. Go to 10.40.1.1 and edit the file /etc/exports in order to allow nfs access from the hypervisor ip you are installing. Restart nfs by doing /etc/init.d/nfs restart
  4. mkdir -p  /onapp/backups
  5. mkdir -p /onapp/templates
  6. wget http://rpm.repo.onapp.com/repo/centos/5/x86_64/OnApp-x86_64.repo -O /etc/yum.repos.d/OnApp-x86_64.repo
  7. yum install onapp-hv-install
  8. /onapp/onapp-hv-install/onapp-hv-xen-install.sh or /onapp/onapp-hv-install/onapp-hv-kvm-install.sh
  9. /onapp/onapp-hv-install/onapp-hv-config.sh -h 10.40.1.1
  10. nohup ruby /onapp/tools/vmon.rb > /dev/null &
  11. nohup ruby /onapp/tools/stats.rb > /dev/null &
  12. mount -a (in order to make sure everything is alright with your fstab)
  13. reboot
  14. Go to your cloud control painel and add the hypervisor to the desired hypervisor zone.

These instructions worked at the time i wrote this, in the future they may not work.

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s