Changes between Version 30 and Version 31 of jazz/DRBL_Xen
- Timestamp:
- Jul 29, 2008, 1:05:49 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/DRBL_Xen
v30 v31 26 26 * [[Image(xen_4gb_seg_fixup.png)]] 27 27 * Note2: amd64 architecture does not have libc6-xen package (i386 only) 28 * Note3: disable tls for ?? 28 * Note3: disable tls for libc6-xen 29 {{{ 30 root@drbl-xeb-srv:/lib# dpkg -S /lib/tls 31 libc6-xen, libc6: /lib/tls 32 }}} 33 * [FYI] [http://www.linuxquestions.org/questions/fedora-35/what-is-the-meaning-of-libtls-directory-385934/ Reload this Page what is the meaning of /lib/tls directory?] 29 34 * Note4: Xen will use loop device for creating new DormU machine, so we load ''loop'' kernel module while booting. 30 35 * Choose Xen to boot at GRUB menu … … 118 123 * You can run '''/etc/init.d/xend start''' manually to start xen service for each DRBL clients via '''drbl-doit''' command. 119 124 {{{ 120 drbl-xen-srv:~# /opt/drbl/bin/drbl-doit /etc/init.d/xend start125 root@drbl-xeb-srv:~# /opt/drbl/bin/drbl-doit /etc/init.d/xend start 121 126 }}} 122 127 * You can check the status of xend by running '''xm list''' 123 128 {{{ 124 drbl-xen-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/xm list129 root@drbl-xeb-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/xm list 125 130 }}} 126 131 * To save your time, we recommand you to add xend to default rcX.d by running '''update-rc.d xend defaults''' 127 132 {{{ 128 drbl-xen-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/update-rc.d xend defaults133 root@drbl-xeb-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/update-rc.d xend defaults 129 134 }}} 130 135 … … 170 175 * Step 3: creat a shell script to mount /boot for each node. 171 176 {{{ 172 drbl-srv:~# vi mount_boot173 drbl-srv:~# /opt/drbl/sbin/drbl-cp-host mount_boot /etc/init.d/174 drbl-srv:~# /opt/drbl/sbin/drbl-client-service mount_boot on177 root@drbl-xeb-srv:~# vi mount_boot 178 root@drbl-xeb-srv:~# /opt/drbl/sbin/drbl-cp-host mount_boot /etc/init.d/ 179 root@drbl-xeb-srv:~# /opt/drbl/sbin/drbl-client-service mount_boot on 175 180 }}} 176 181 * Here is mount_boot … … 209 214 * Use '''xen-create-image''' command to create new DormU image 210 215 {{{ 211 drbl-srv:~# xen-create-image -dir /home/xen --dist etch --debootstrap --fs reiserfs --accounts --kernel /boot/vmlinuz-2.6.18-6-xen-vserver-686 --initrd /boot/initrd.img-2.6.18-6-xen-vserver-686 --hostname etch1 --dhcp --mirror http://free.nchc.org.tw/debian216 root@drbl-xeb-srv:~# xen-create-image -dir /home/xen --dist etch --debootstrap --fs reiserfs --accounts --kernel /boot/vmlinuz-2.6.18-6-xen-vserver-686 --initrd /boot/initrd.img-2.6.18-6-xen-vserver-686 --hostname etch1 --dhcp --mirror http://free.nchc.org.tw/debian 212 217 drbl-srv:~# ssh 192.168.0.2 213 pc002:~# xm create etch1214 pc002:~# xm list218 root@pc002:~# xm create etch1 219 root@pc002:~# xm list 215 220 }}} 216 221