Changeset 203 for drbl-virt/sbin
- Timestamp:
- Aug 30, 2010, 6:10:37 PM (14 years ago)
- Location:
- drbl-virt/sbin
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/check_drbl_vm.sh
r202 r203 36 36 37 37 if [ $IP_status == "online" ]; then 38 ssh -o StrictHostKeyChecking=no $client_IP "xentop -b -i1" > >$drbl_vm_xentop_file38 ssh -o StrictHostKeyChecking=no $client_IP "xentop -b -i1" > $drbl_vm_xentop_file 39 39 vm_hostnames="$(cat $drbl_vm_xentop_file | sed -n '3,$p' | awk '{print $1}')" 40 40 -
drbl-virt/sbin/drbl_PXE_PV-VM_create.sh
r200 r203 126 126 # = 2. Get VM MAC address = 127 127 #IP_MAC_files=$(ls $Work_Home/etc | grep 'macadr-VM-eth[0-9]*.txt') 128 IP_VM_files=$(ls $Work_Home/etc | grep 'IP_VM_eth[0-9]*') 128 129 IP_VM_files=$(ls $Work_Home/IP_VM_eth[0-9]*) 129 130 IP_VM_right_file="" 130 131 IP_VM_right_line="" … … 142 143 if [ -z $IP_VM_right_file ]; then 143 144 echo "" 144 echo " Error:don't fine ${vm_name}'s IP address"145 echo "[Error] don't fine ${vm_name}'s IP address" 145 146 echo "Please check $Wokr_Home/etc/" 146 147 exit 2 … … 176 177 echo "extra = 'console=hvc0 xencons=tty'" >> $vm_cfg 177 178 179 # 180 echo "$vm_cfg is completion" 181 echo "Use this command drbl_PXE_PV-VM_deploy.sh to deploy vm" -
drbl-virt/sbin/drbl_PXE_PV-VM_deploy.sh
r199 r203 44 44 if [ -z "$(echo $1 |grep ^-.)" ]; then 45 45 if [ -n "$(echo $1)" ]; then 46 client_name=$146 client_name=$1 47 47 else 48 48 echo "-h host_value is null" -
drbl-virt/sbin/functions_drbl_virt
r202 r203 68 68 echo "Xen will be the only Hypervisior in your DRBL" 69 69 echo -e "Because CPU don't support virtualization, it can't choose KVM to be the Hypervisior" 70 echo ""70 read -p "push [enter] to contiunte..." 71 71 VMM_select=1 72 72 echo "Xen" > $Work_Home/etc/hypervisior … … 426 426 chown -R drbl-virter.drbl-virter $Work_Home/tomcat-7.0.2 427 427 su drbl-virter -c "$Work_Home/tomcat-7.0.2/bin/startup.sh" 428 } 428 echo "" 429 echo "[Go to http://{server_IP}:8080/drbl-virt/ to check !]" 430 }
Note: See TracChangeset
for help on using the changeset viewer.