Difference between revisions of "Agile testbed/Cloud/Installation notes"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 16: Line 16:
 
* Install and configure OpenNebula
 
* Install and configure OpenNebula
 
** add [http://fedoraproject.org/wiki/EPEL EPEL] repository
 
** add [http://fedoraproject.org/wiki/EPEL EPEL] repository
** install packages: <tt>ruby ruby-devel gcc gcc-c++ make sqlite-devel openssl-devel scons flex bison</tt>
+
** install packages: <tt>ruby ruby-devel gcc gcc-c++ make openssl-devel scons flex bison</tt>
 
** enable [http://centos.karan.org/ Karan] Extras repository and install xmlrpc-c: <tt>yum install --enablerepo=kbs-CentOS-Testing xmlrpc-c-devel</tt>
 
** enable [http://centos.karan.org/ Karan] Extras repository and install xmlrpc-c: <tt>yum install --enablerepo=kbs-CentOS-Testing xmlrpc-c-devel</tt>
** download OpenNebula source, make and install
+
** download and install OpenNebula
 +
*** either manually from source, installing a recent sqlite first (according to manual)
 +
*** or [http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment use] the [http://svn.opennebula.org/components/packages/trunk/redhat/one-1.4.0.spec spec file]
 
* Setup dynamic DNS
 
* Setup dynamic DNS
 
** install and configure bind
 
** install and configure bind

Revision as of 13:58, 10 February 2010

This page contains notes on the installation of the agile testbed cloud.

Base install

  • Install CentOS 5 bare-bones
  • Setup LDAP authentication (see this guide)
    • add ldap to /etc/nsswitch.conf's passwd, shadow and group entries
    • configure /etc/ldap.conf according to this
    • make sure the DutchGrid CA certificate is in /etc/openldap/cacerts/16da7552.0 (from rpm or here)
    • add an appropriate pam_ldap.so before each pam_unix line in /etc/pam.d/system-auth
    • create homedirs for your users as /user/<username> with correct owner
  • Enable Xen (see also Xen on CentOS 5)
    • yum install xen kernel-xen
    • make grub boot Xen kernel by default (change default in /boot/grub/menu.lst), add nosmp to kernel cmdline and reboot

Master

  • Install and configure OpenNebula
    • add EPEL repository
    • install packages: ruby ruby-devel gcc gcc-c++ make openssl-devel scons flex bison
    • enable Karan Extras repository and install xmlrpc-c: yum install --enablerepo=kbs-CentOS-Testing xmlrpc-c-devel
    • download and install OpenNebula
      • either manually from source, installing a recent sqlite first (according to manual)
      • or use the spec file
  • Setup dynamic DNS
    • install and configure bind
    • create OpenNebula hooks with ddns-update script
  • Setup image repository

OpenNebula documentation Building Clouds presentation Virtual Machines working group

Slaves

  • Enable passwordless ssh login from master for oneadmin user
  • Install ruby
  • Add to master