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

From PDP/Grid Wiki
Jump to navigationJump to search
(add xen, add master and slave steps)
(add links)
Line 19: Line 19:
 
** create OpenNebula hooks with <tt>ddns-update</tt> script
 
** create OpenNebula hooks with <tt>ddns-update</tt> script
 
* Setup image repository
 
* Setup image repository
 +
 +
[[http://www.opennebula.org/doku.php?id=documentation OpenNebula documentation]] [[http://www.slideshare.net/rsmontero/building-clouds-one-14 Building Clouds presentation]]
  
 
== Slaves ==
 
== Slaves ==
 
* Enable passwordless ssh login from master for <tt>oneadmin</tt> user
 
* Enable passwordless ssh login from master for <tt>oneadmin</tt> user

Revision as of 11:05, 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
  • Setup dynamic DNS
    • install and configure bind
    • create OpenNebula hooks with ddns-update script
  • Setup image repository

[OpenNebula documentation] [Building Clouds presentation]

Slaves

  • Enable passwordless ssh login from master for oneadmin user