Changeset 179


Ignore:
Timestamp:
Aug 13, 2010, 6:06:26 PM (14 years ago)
Author:
rock
Message:

Add: Create DRBL PV-VM

Location:
drbl-virt
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • drbl-virt/sbin/drbl_PXE_VM_create.sh

    r178 r179  
    2424VM_final_IP=""
    2525get_VM_IP_range
     26# == Get VM IP prefix hostname  == #
    2627
    2728
  • drbl-virt/sbin/functions_drbl_virt

    r178 r179  
    146146
    147147
     148function debain-lenny_xen_patch(){
     149echo xen.independent_wallclock=1 >> /etc/sysctl.conf
     150echo loop max_loop=255 >> /etc/modules
     151echo xenblktap >> /etc/modules
     152ln -s /usr/lib/$/bin/tapdisk /usr/sbin
     153}
     154
     155
    148156function get_Host_IP_range(){
    149157cat /etc/drbl/IP_HOST_TABLE | sed "${Host_first_Line}p"
  • drbl-virt/sbin/xen_install.sh

    r178 r179  
    4949
    5050            if [ $hypervisior == "Xen" ]; then
    51                 aptitude install xen-linux-system-2.6.26-2-xen-${Linux_bit} xen-tools bridge-utils
     51                echo ""
     52                echo "Install Xen Hypervisior"
     53                aptitude install xen-linux-system-2.6.26-2-xen-${Linux_bit} xen-tools bridge-utils python-xml
     54                cp $Work_Home/conf/debian-lenny_xend-config.sxp /etc/xen/xend-config.sxp
    5255                if [ $1 == "stop" ]; then
     56                    echo ""
     57                    echo "DRBL server default will not enabled xend."
     58                    echo "DRBL client default will enabled xend."
    5359                    update-rc.d xend remove
    5460                    update-rc.d xendomains remove
Note: See TracChangeset for help on using the changeset viewer.