= Xen 和 DRBL 整合上得問題 = == 1. DRBL for DRBL Xen Client 的環境設定 == * __Xen image 和 grub menu 設定__ {{{ $ cp /boot/*xen* /tftboot/nbi_img $ vim /tftboot/nbi_img/pxelinux.cfg/default label drbl MENU DEFAULT # MENU HIDE MENU LABEL Ubuntu 8.10 (DRBL, Xen & Lustre) # MENU PASSWD kernel mboot.c32 append xen.gz --- vmlinuz-pxe netloop.nloopbacks=0 --- initrd-pxe.img devfs=nomount drblthincli=off selinux=0 edd=on TEXT HELP * DRBL version: 1.9.3-24. (C) 2003-2008, NCHC, Taiwan * Disclaimer: DRBL comes with ABSOLUTE NO WARRANTY ENDTEXT }}} * __Setup domU IP from DHCP (192.168.1.50 ~ 192.168.1.250)__ {{{ $ vim /etc/dhcp3/dhcpd.conf subnet 192.168.1.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; option routers 192.168.1.254; next-server 192.168.1.254; range 192.168.1.50 192.168.1.250 //skip// $ iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE }}} [[BR]] == 2. 問題 == * Client 開機時,若有三個 eth,會依序使用 eth0 eth1 eth2 透過 udhcpc 來跟 DRBL Server 要 IP,是否有方法來指定 eth0 要即可? * Client 啟動 xend 時,無法 bridge eth0 {{{ $ xend restart ifdown: interface eth0 not configured SIOCSIFNAME: Device or resource busy }}} * Client 沒有 mount /home 成功