Difference between revisions of "Agile testbed/Cloud/Installation notes"
From PDP/Grid Wiki
Jump to navigationJump to searchm |
|||
Line 13: | Line 13: | ||
** <tt>yum install xen kernel-xen</tt> | ** <tt>yum install xen kernel-xen</tt> | ||
** make grub boot Xen kernel by default (change <tt>default</tt> in <tt>/boot/grub/menu.lst</tt>), add <tt>nosmp</tt> to kernel cmdline and reboot | ** make grub boot Xen kernel by default (change <tt>default</tt> in <tt>/boot/grub/menu.lst</tt>), add <tt>nosmp</tt> to kernel cmdline and reboot | ||
+ | * Allow <tt>oneadmin</tt> user to execute cloud-related commands using <tt>sudo</tt> | ||
+ | Cmnd_Alias CLOUD = /usr/sbin/xm, /usr/sbin/xentop, /usr/sbin/lvs, /usr/sbin/lvcreate, /usr/sbin/lvremove, /bin/dd | ||
+ | oneadmin ALL = NOPASSWD: CLOUD | ||
== Master == | == Master == |
Revision as of 12:36, 11 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)
- update /etc/pam.d/system-auth using command authconfig --enableldap --enableldapauth --update
- create homedirs for your users as /user/<username> with correct owner, populate authorized_keys
- disable ssh PasswordAuthentication
- 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
- Allow oneadmin user to execute cloud-related commands using sudo
Cmnd_Alias CLOUD = /usr/sbin/xm, /usr/sbin/xentop, /usr/sbin/lvs, /usr/sbin/lvcreate, /usr/sbin/lvremove, /bin/dd oneadmin ALL = NOPASSWD: CLOUD
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 Virtual Machines working group
Slaves
- Enable passwordless ssh login from master for oneadmin user
- Install ruby
- Add to master