[[PageOutline]] = Massive Deployment of Xen enabled Virtual Cluster with Diskless Remote Boot Linux = == Test Environment == * VMWare Server 1.0.3 * VMWare Image debian 4.0r1 as DRBL Server * [[Image(drbl_xen_vmx.jpg)]] * VMWare Image without disk as DRBL Client * [[Image(drbl_xen_client_vmx.jpg)]] == Pre-installation == * First, install Xen Hypervisor and Xen enabled Linux Kernel and then reboot {{{ root@drbl-xen-srv:~# uname -a Linux drbl-xen-srv 2.6.18-6-686 #1 SMP Sat May 24 10:24:42 UTC 2008 i686 GNU/Linux root@drbl-xen-srv:~# apt-get install xen-hypervisor-3.0.3-1-i386-pae linux-image-2.6.18-6-xen-vserver-686 xen-tools libc6-xen root@drbl-xen-srv:~# update-grub root@drbl-xen-srv:~# reboot }}} * Note: If you did not install libc6-xen, you might have "4gb seg fixup" error message keep showing up while booting. * [[Image(xen_4gb_seg_fixup.png)]] * Choose Xen to boot at GRUB menu * [[Image(xen_grub.png)]] * Install DRBL * Download GPG-KEY-DRBL and add GPG key via apt-key {{{ root@drbl-xen-srv:~# wget http://drbl.nchc.org.tw/GPG-KEY-DRBL root@drbl-xen-srv:~# apt-key add GPG-KEY-DRBL }}} * Add DRBL repository URL {{{ root@drbl-xen-srv:~# echo "deb http://free.nchc.org.tw/drbl-core drbl stable" > /etc/apt/sources.list.d/drbl-sources.list }}} * Use drblsrv command to setup DRBL server. Here we choose linux-image-2.6.18-6-486 as default DRBL PXE kernel image {{{ root@drbl-xen-srv:~# /opt/drbl/sbin/drblsrv -i [....skip....] Install kernel for clients... ... In ayo repository, searching the latest kernel ... *****************************************************. Now run: /opt/drbl/sbin/drblsrv-offline -c -d -a -l en_US -k /var/cache/apt/archives/linux-image-2.6.18-6-486_2.6.18.dfsg.1-18etch5_i386.deb "" "" Kernel package /var/cache/apt/archives/linux-image-2.6.18-6-486_2.6.18.dfsg.1-18etch5_i386.deb is used for client... *****************************************************. [....skip....] }}}