Changes between Version 30 and Version 31 of jazz/DRBL_Xen


Ignore:
Timestamp:
Jul 29, 2008, 1:05:49 AM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/DRBL_Xen

    v30 v31  
    2626   * [[Image(xen_4gb_seg_fixup.png)]]
    2727   * Note2: amd64 architecture does not have libc6-xen package (i386 only)
    28    * Note3: disable tls for ??
     28   * Note3: disable tls for libc6-xen
     29{{{
     30root@drbl-xeb-srv:/lib# dpkg -S /lib/tls
     31libc6-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?]
    2934   * Note4: Xen will use loop device for creating new DormU machine, so we load ''loop'' kernel module while booting.
    3035 * Choose Xen to boot at GRUB menu
     
    118123 * You can run '''/etc/init.d/xend start''' manually to start xen service for each DRBL clients via '''drbl-doit''' command.
    119124{{{
    120 drbl-xen-srv:~# /opt/drbl/bin/drbl-doit /etc/init.d/xend start
     125root@drbl-xeb-srv:~# /opt/drbl/bin/drbl-doit /etc/init.d/xend start
    121126}}}
    122127 * You can check the status of xend by running '''xm list'''
    123128{{{
    124 drbl-xen-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/xm list
     129root@drbl-xeb-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/xm list
    125130}}}
    126131 * To save your time, we recommand you to add xend to default rcX.d by running '''update-rc.d xend defaults'''
    127132{{{
    128 drbl-xen-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/update-rc.d xend defaults
     133root@drbl-xeb-srv:~# /opt/drbl/bin/drbl-doit /usr/sbin/update-rc.d xend defaults
    129134}}}
    130135
     
    170175   * Step 3: creat a shell script to mount /boot for each node.
    171176{{{
    172 drbl-srv:~# vi mount_boot
    173 drbl-srv:~# /opt/drbl/sbin/drbl-cp-host mount_boot /etc/init.d/
    174 drbl-srv:~# /opt/drbl/sbin/drbl-client-service mount_boot on
     177root@drbl-xeb-srv:~# vi mount_boot
     178root@drbl-xeb-srv:~# /opt/drbl/sbin/drbl-cp-host mount_boot /etc/init.d/
     179root@drbl-xeb-srv:~# /opt/drbl/sbin/drbl-client-service mount_boot on
    175180}}}
    176181     * Here is mount_boot
     
    209214 * Use '''xen-create-image''' command to create new DormU image
    210215{{{
    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/debian
     216root@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
    212217drbl-srv:~# ssh 192.168.0.2
    213 pc002:~# xm create etch1
    214 pc002:~# xm list
     218root@pc002:~# xm create etch1
     219root@pc002:~# xm list
    215220}}}
    216221