| | 57 | |
| | 58 | == Configure PXELinux for Xen Network Booting == |
| | 59 | |
| | 60 | * To load Xen-based kernels you have to use the SYSLINUX multiboot module mboot.c32. So we copy mboot.c32 and xen kernel to TFTP root directory of DRBL. |
| | 61 | * Reference: [http://syslinux.zytor.com/wiki/index.php/Xen Syslinux Wiki] |
| | 62 | {{{ |
| | 63 | root@drbl-xen-srv:~# dpkg -S mboot.c32 |
| | 64 | syslinux: /usr/lib/syslinux/mboot.c32 |
| | 65 | root@drbl-xen-srv:~# cp /usr/lib/syslinux/mboot.c32 /tftpboot/nbi_img/. |
| | 66 | root@drbl-xen-srv:~# cp /boot/xen-3.0.3-1-i386-pae.gz /tftpboot/nbi_img/. |
| | 67 | }}} |
| | 68 | * Add an Xen Option to pxelinux.cfg |
| | 69 | {{{ |
| | 70 | root@drbl-xen-srv:~# cat << EOF >> /tftpboot/nbi_img/pxelinux.cfg/default |
| | 71 | > label xen cluster |
| | 72 | > MENU DEFAULT |
| | 73 | > # MENU HIDE |
| | 74 | > MENU LABEL Xen 3.0.1-1-i386-pae |
| | 75 | > # MENU PASSWD |
| | 76 | > kernel mboot.c32 |
| | 77 | > append xen-3.0.3-1-i386-pae.gz --- vmlinuz-2.6.18-6-xen-vserver-686 root=/dev/sda1 ro console=tty0 --- initrd-pxe.2.6.18-6-xen-vserver-686.img |
| | 78 | > TEXT HELP |
| | 79 | > Run Xen 3.0 in each DRBL Client |
| | 80 | > ENDTEXT |
| | 81 | > EOF |
| | 82 | }}} |
| | 83 | * Use Thin Client VMWare Image to test DRBL |
| | 84 | * [[Image(drbl_xen_client_boot_2.jpg)]] |