Difference between revisions of "Virtual Machines working group"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 18: Line 18:
 
* Debian-squeeze comes with Xen 3.3
 
* Debian-squeeze comes with Xen 3.3
 
** Debian-squeeze Xen packages have a [http://lists.alioth.debian.org/pipermail/pkg-xen-devel/2009-June/002344.html problem] with tap:aio.
 
** Debian-squeeze Xen packages have a [http://lists.alioth.debian.org/pipermail/pkg-xen-devel/2009-June/002344.html problem] with tap:aio.
  Fix:<br\>
+
  Fix:
  ln -s /usr/lib/xen-3.2-1/bin/tapdisk /usr/sbin<br\>
+
  ln -s /usr/lib/xen-3.2-1/bin/tapdisk /usr/sbin
 
  echo xenblktap >> /etc/modules
 
  echo xenblktap >> /etc/modules
 
* Opennebula has been installed following [http://www.opennebula.org/doku.php?id=documentation:rel1.2:qg this] guide
 
* Opennebula has been installed following [http://www.opennebula.org/doku.php?id=documentation:rel1.2:qg this] guide
 
** A few additional staps were needed:
 
** A few additional staps were needed:
 
*** Install rubygems and rubygem-sqlite3
 
*** Install rubygems and rubygem-sqlite3
 +
*** Opennebula has to be added to the sudoers file for xm
 +
*** Sudoers should not require a tty
 
  wget ftp://fr.rpmfind.net/linux/EPEL/5/x86_64/rubygem-sqlite3-ruby-1.2.4-1.el5.x86_64.rpm
 
  wget ftp://fr.rpmfind.net/linux/EPEL/5/x86_64/rubygem-sqlite3-ruby-1.2.4-1.el5.x86_64.rpm
 
  wget ftp://fr.rpmfind.net/linux/EPEL/5/x86_64/rubygems-1.3.1-1.el5.noarch.rpm
 
  wget ftp://fr.rpmfind.net/linux/EPEL/5/x86_64/rubygems-1.3.1-1.el5.noarch.rpm
 
  sudo rpm -Uvh rubygems-1.3.1-1.el5.noarch.rpm rubygem-sqlite3-ruby-1.2.4-1.el5.x86_64.rpm  
 
  sudo rpm -Uvh rubygems-1.3.1-1.el5.noarch.rpm rubygem-sqlite3-ruby-1.2.4-1.el5.x86_64.rpm  
*** Opennebula has to be added to the sudoers file for xm
+
 
*** Sudoers should not require a tty
 
 
  opennebula ALL = NOPASSWD: /usr/sbin/xm
 
  opennebula ALL = NOPASSWD: /usr/sbin/xm
 
  #Defaults    requiretty
 
  #Defaults    requiretty

Revision as of 12:24, 22 July 2009

Meetings

Kick-off <date> agenda minutes

Presentations

Open Issues

  • Network Address Translation - What is the load?<br\>
  • Virtual Machine Isolation - Prohibit internal network connectivity with IPTables.<br\>
  • Image repository - Storage Area Network or distributed over worker nodes.<br\>
  • Policy document<br\>

Infrastructure

I am setting up a testbed to investigate technical issues related to virtual machine management.

Hardware and Operating Systems

  • 2 Dell 1950 machines, dual CPU, 4 cores per CPU
    • One machine has a Centos-5 installation
    • One machine has a Debian-squeeze installation

Software

  • Centos-5 comes with Xen 3.0
  • Debian-squeeze comes with Xen 3.3
    • Debian-squeeze Xen packages have a problem with tap:aio.
Fix:
ln -s /usr/lib/xen-3.2-1/bin/tapdisk /usr/sbin
echo xenblktap >> /etc/modules
  • Opennebula has been installed following this guide
    • A few additional staps were needed:
      • Install rubygems and rubygem-sqlite3
      • Opennebula has to be added to the sudoers file for xm
      • Sudoers should not require a tty
wget ftp://fr.rpmfind.net/linux/EPEL/5/x86_64/rubygem-sqlite3-ruby-1.2.4-1.el5.x86_64.rpm
wget ftp://fr.rpmfind.net/linux/EPEL/5/x86_64/rubygems-1.3.1-1.el5.noarch.rpm
sudo rpm -Uvh rubygems-1.3.1-1.el5.noarch.rpm rubygem-sqlite3-ruby-1.2.4-1.el5.x86_64.rpm 
opennebula ALL = NOPASSWD: /usr/sbin/xm
#Defaults    requiretty