/tmp/cup_convert_vmx.sh
vi  *lun*/*server38/*.vmx
grep generatedAddress *lun*/*server38/*.vmx | grep -v Offset
grep displayName *lun*/*server38/*.vmx
grep addressType *lun*/*server38/*.vmx
grep NET *lun*/*server38/*.vmx
cd /vmfs/volumes
cd /vmfs/volumes; ls -1 *lun*/*server38/*.vmx > /tmp/bbb; vi /tmp/bbb
chmod 777 /tmp/bbb
/tmp/bbb
vi /tmp/cup_convert_vmx.sh
chmod 777 /tmp/cup_convert_vmx.sh
/tmp/cup_convert_vmx.sh
vi  *lun*/*server37/*.vmx
cd /vmfs/volumes/
vi  *lun*/*server37/*.vmx
grep generatedAddress *lun*/*server37/*.vmx | grep -v Offset
vi rs_lun_19/appserver37/appserver37.vmx
grep generatedAddress *lun*/*server37/*.vmx | grep -v Offset
grep displayName *lun*/*server37/*.vmx
grep addressType *lun*/*server37/*.vmx
grep NET *lun*/*server37/*.vmx
cd /vmfs/volumes; ls -1 *lun*/*server37/*.vmx > /tmp/bbb; vi /tmp/bbb
chmod 777 /tmp/bbb
more /tmp/bbb
/tmp/bbb
cd
cd auto_start_VMs.sh.28  /tmp/uuu
cp auto_start_VMs.sh.28  /tmp/uuu
vi /tmp/uuu
chmod 777 /tmp/uuu
vi /tmp/uuu
/tmp/uuu
vi /tmp/uuu
/tmp/uuu
ping 10.10.37.5
ssh 10.10.37.5
ssh 10.10.37.2
cd /vmfs/volumes
ls -1 *lun*/*server38/*.vmx > /tmp/bbb; vi /tmp/bbb
vi /tmp/uuu
/tmp/uuu
cd
cp shut_all_VMs.sh  /tmp/ccc
vi /tmp/ccc
chmod 777 /tmp/ccc
mv /tmp/ccc /tmp/ddd
vi /tmp/ddd
cd /var/log
ll -t | more
vi vmkernel vmkwarning
more /tmp/dddd
more /tmp/ddd
/tmp/ddd
vi /etc/hosts
vi /etc/hosts
cd /
/sbin/shutdown -h 0
cp auto_start_VMs.sh.28  auto_start_VMs.sh030
mv  auto_start_VMs.sh030 auto_start_VMs.sh.30
vi *30
mv auto_start_VMs.sh.30 auto_start_VMs.sh.31
vi *31
exit
ll 
cd /vmfs/volumes; ls -1 *lun*/*server29/*.vmx > /tmp/bbb
ls -1 *lun*/*server30/*vmx >> /tmp/bbb
ls -1 *lun*/*server31/*vmx >> /tmp/bbb
vi /tmp/bbb
chmod 777 /tmp/bbb
/tmp/bbb
cd
vi auto_start_VMs.sh.28
nohup ./auto_start_VMs.sh.28 > /tmp/start.out 2>&1 & 
exit
tail -f /tmp/start.out
ssh client1
tail -f /tmp/start.out
cp sync_vm_time.sh.28 sync_vm_time.sh.31
vi *31
vi shut_all_VMs.sh 
./sync_vm_time.sh.31
./sync_vm_time.sh.31
cd /var/log
ll -t | more
vi vmkernel.1
exit
vi shut_all_VMs.sh 
./shut_all_VMs.sh 
vi shut_all_VMs.sh 
ll -t | more
cp shut_all_VMs.sh shut_all_VMs.sh.31
ll *31
tar -cvf /tmp/lily.tar ./*.31
scp /tmp/lily.tar lilyf@zebra:/tmp
exit
cd /
/sbin/shutdown -r 0
vi auto_start_VMs.sh.31
./auto_start_VMs.sh.31
ssh client1
./vmmark_esx_tune.sh 
ssh client1
esxtop
cd /var/log
ll -t | more
vi vmkernel
cd 
./sync_vm_time.sh.31
./sync_vm_time.sh.31
ssh client1
exit
ls -1 /vmfs/volumes/*lun*/*server1/*.vmx > /tmp/aaa
vi /tmp/aaa
cp /tmp/aaa /tmp/bbb
vi /tmp/bbb
chmod 777 /tmp/bbb
/tmp/bbb
vi /tmp/bbb
/tmp/bbb
vi /tmp/bbb
/tmp/bbb
cd /vmfs/volumes/rs_lun_1/webserver1
ll 
vi /tmp/zzz
exit
ssh client1
exit
vi shut_all_VMs.sh.31 
exit
more shut_all_VMs.sh.31
ssh 10.10.1.1
more shut_all_VMs.sh.31
ssh 10.10.1.5
more shut_all_VMs.sh.31
ssh 10.10.1.1
more shut_all_VMs.sh.31
ssh 10.10.1.4
more shut_all_VMs.sh.31
ssh 10.10.1.5
more shut_all_VMs.sh.31
ssh 10.10.4.1
ssh 10.10.1.4
more shut_all_VMs.sh.31
ssh 10.10.1.5
cd 
ll | more
ll vm*
vi /tmp/zzz
vi /tmp/lll
chmod 777 /tmp/lll
/tmp/lll 
vi /tmp/lll
/tmp/lll
vi /tmp/lll.1
vi /tmp/lll
/tmp/lll
vi /tmp/lll.1
vi /tmp/lll
/tmp/lll
vi /tmp/lll.1
ls
ll reg*
chmod 777 register_vm.sh.29_37 
vi register_vm.sh.29_37 
ll reg*
nohup ./register_vm.sh.29_37 > register_vm.sh.29_37.out 2>&1 & 
exit
ll -t | more
tail -f register_vm.sh.29_37.out 
tail -f register_vm.sh.29_37.out 
ps -ef | grep register
kill -9 22659
ps -ef | grep register
tail -f register_vm.sh.29_37.out 
ps -ef | grep register
pwd
ll reg*
rm register_vm.sh.29_37.out
mv register_vm.sh.29_37 register_vm.sh.32_37
vi register_vm.sh.32_37 
vi register_vm.sh.32_37 
vi /tmp/lll.1
vi /tmp/lll
/tmp/lll
vi /tmp/lll.1
more vmware-cmd -s register /vmfs/volumes/db_lun_5/dbserver31/*.vmx
ll /vmfs/volumes/db_lun_6/dbserver31/*.vmx
vi /vmfs/volumes/db_lun_6/dbserver31/*.vmx
vi /vmfs/volumes/db_lun_6/dbserver31/*.vmx
vi /tmp/lll.1
ll reg*
cp /tmp/lll.1 register_vm.sh.32_37 
vi register_vm.sh.32_37 
ll reg*
nohup ./register_vm.sh.32_37 > register_vm.sh.32_37.out 2>&1 & 
exit
ll -t | more
tail -f register_vm.sh.32_37.out
exit
ls
ll -t | more
vi /tmp/aaa
chmod 777 /tmp/aaa
more /tmp/aaa
vi /tmp/aaa
/tmp/aaa
exit
esxcfg-vswitch -a vSwitch35
esxcfg-vswitch -a vSwitch35
man  esxcfg-vswitch | more
vi shut_all_VMs.sh.31
./shut_all_VMs.sh.31
cd /
/sbin/shutdown -r 0
vi auto_start_VMs.sh.31
exit
cd /tmp
ll 
vi /tmp/aaa
chmod 777 /tmp/aaa
/tmp/aaa
vi /tmp/bbb
chmod 777 /tmp/bbb
/tmp/bbb
ping 10.10.32.7
ssh 10.10.32.7
vi /tmp/ccc
chmod 777 /tmp/ccc
/tmp/ccc
ping 16.89.135.21 
exit
ping 16.89.135.22
ping 16.89.135.21
ping 16.89.135.21
ping 16.89.135.22
ping 10.10.38.7
ping 16.89.135.23
ping 16.89.135.23
ping 16.89.135.22
exit
more shut_all_VMs.sh.31
cp auto_start_VMs.sh.28 /tmp/aaa
more /tmp/aaa
cp auto_start_VMs.sh.28 /tmp/aaa
vi /tmp/aaa
/tmp/aaa
vi /tmp/aaa
/tmp/aaa
more shut_all_VMs.sh
ssh client1
more shut_all_VMs.sh
ssh 10.10.1.4
vi auto_start_VMs.sh.31
cp auto_start_VMs.sh.31 /tmp/bbb
more /tmp/bbb
cp auto_start_VMs.sh.31 /tmp/bbb
vi /tmp/bbb
/tmp/bbb
exit
cd /vmfs/volumes/
vi *lun*/*server37/*.vmx
cd '
cd 
more auto_start_VMs.sh.31
exit
./sync_vm_time.sh.31
exit
./sync_vm_time.sh.31
exit
cd /vmfs/volumes/
vi *lun*/*server38/*.vmx
ls -1  *lun*/*server38/*.vmx > /tmp/aaa
vi /tmp/aaa
chmod 777 /tmp/aaa
/tmp/aaa
cd 
cp auto_start_VMs.sh.31 /tmp/bbb
vi /tmp/bbb
chmod 777 /tmp/bbb
more /tmp/bbb
/tmp/bbb
exit
./sync_vm_time.sh.31
./sync_vm_time.sh.31
exit
exstop
esxtop
exit
ssh 10.10.38.4
exit
cp sync_vm_time.sh.31 sync_vm_time.sh.38
vi sync_vm_time.sh.38
./sync_vm_time.sh.38
vi /etc/hosts
ssh client37
ssh 10.10.37.7
ssh 10.10.32.7
ssh 10.10.33.7
ssh 10.10.34.7
ssh 10.10.35.7
ssh 10.10.36.7
ssh 10.10.37.7
ssh 10.10.38.7
ssh 10.10.32.7
ssh client31
cd /home/spec
ssh 10.10.31.7
ssh 10.10.32.7
ssh 10.10.3.7
ssh 10.10.33.7
ssh 10.10.2.7
ssh 10.10.32.7
ssh 10.10.1.7
exit
ll vmx* | more
vi shut_all_VMs.sh
vi shut_all_VMs.sh.38
ls vmx* | more
cd /vmfs/volumes/
cd ms_lun_12/mailserver23/
ll | more
vi *vmx
exit
ll shut* | more
cp shut_all_VMs.sh.31 shut_all_VMs.sh.38
vi *38
./shut_all_VMs.sh.38
ll | more
ll *38 | more
ll | more
vi vmx_files.ALL
vi /tmp/aaa
vi /tmp/aaa
chmod 777 /tmp/aaa
more /tmp/aaa
/tmp/aaa
ll -t | more
vi vmx_files.ALL.38
vi /tmp/aaa
/tmp/aaa
vi vmx_files.ALL.38
ll vmx* | more
awk '{print "cp "$1" "$1".DL580_base "}' vmx_files.ALL.38 > /tmp/jjj; vi /tmp/jjj
chmod 777 /tmp/jjj
/tmp/jjj
ll vmx* | more
more  vmx_files.ma28
d /vmfs/volumes/
cd /vmfs/volumes/
ls -1 *lun*/*server*/*.vmx.DL580_base > /tmp/bbb
vi /tmp/bbb
/tmp/bbb > /tmp/ccc
vi /tmp/ccc
grep TRUE /tmp/ccc | wc -l
ifconfig | mroe
ifconfig | more
ssh client1
ssh client1
cd 
ll *app.38 | more
ll vmx* | more
grep appserver vmx_files.ALL.38 > vmx_files.app38
vi vmx_files.app38
vi /vmfs/volumes/rs_lun_19/appserver38/appserver38.vmx
ll vm* | more
cp vmx_files.app38 /tmp/jjj
vi /tmp/jjj
ll *vmx* | more
grep dbserver vmx_files.ALL.38 > vmx_files.db38
vi vmx_files.db38
vi /vmfs/volumes/db_lun_4/dbserver23/dbserver23.vmx
ll vm*
vi /tmp/jjj
ll vm* | more
awk '{print "grep 2900 " $1}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
chmod 777 /tmp/jjj
/tmp/jjj > /tmp/jjj.out
vi /tmp/jjj
vi /tmp/jjj.out
awk '{print "grep 2900 " $1}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
/tmp/lll
chmod 777 /tmp/lll
vi /tmp/jjj
vi /vmfs/volumes/rs_lun_1/appserver1/appserver1.vmx
/tmp/lll
/tmp/lll > /tmp/lll.out 
vi /tmp/lll.out
 awk '{print "sed -i s/2900/3600/g " $1}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
/tmp/lll
awk '{print "grep 3600 " $1}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
/tmp/lll
/tmp/lll > /tmp/lll.out
vi /tmp/lll.out
ll -t | more
ls auto* | more
cp auto_start_VMs.sh.31 auto_start_VMs.sh.38
vi auto_start_VMs.sh.38
ll auto* | more
cp auto_start_VMs.sh.38 auto_start_VMs.sh.37
vi auto_start_VMs.sh.37
./auto_start_VMs.sh.37
ll sy*
cp sync_vm_time.sh.38 sync_vm_time.sh.37
vi sync_vm_time.sh.37
./sync_vm_time.sh.37
exit
ll | more
ll vmx* | more
more vmx_files.web_ALL
vi /vmfs/volumes/rs_lun_18/webserver35/webserver35.vmx
ll vmx* | more
vi vmx_files.app38
vi /vmfs/volumes/rs_lun_11/appserver21/appserver21.vmx
exit
esxcfg-vswitch -l
esxcfg-vswitch -a vSwitch39
man esxcfg-vswitch | more
esxcfg-vswitch -a vSwitch39
cd /vmfs/volumes/rs_lun_9/reporter
ll | more
rm -rf vSphere-spv014-20110311-02.15.tgz 
vi /root/vSphere-get-config.sh 
vi /etc/vmware/esx.conf
cd 
ll shht*
ll shut*
cp shut_all_VMs.sh.38 shut_all_VMs.sh.37
vi shut_all_VMs.sh.37
./shut_all_VMs.sh.37
ll | more
more vmx_files.app38
vi /vmfs/volumes/rs_lun_10/appserver19/appserver19.vmx
ll | more
grep webserver vmx_files.ALL.38 > vmx_files.web38
vi vmx_files.web38
vi /vmfs/volumes/rs_lun_11/webserver22/webserver22.vmx
ll | more
vi vmx_files.db38
ll /vmfs/volumes/db_lun_2/dbserver10/*.vmx* | more
diff /vmfs/volumes/db_lun_2/dbserver10/dbserver10.vmx /vmfs/volumes/db_lun_2/dbserver10/dbserver10.vmx.DL580_base
ll vmx*38 | more
more  vmx_files.db38
vi /vmfs/volumes/db_lun_4/dbserver20/dbserver20.vmx
ssh client1
ll | more
ll -t /tmp | more
vi lll jjj ccc bbb aaa
cd /tmp
vi lll jjj ccc bbb aaa
/tmp/bbb > /tmp/bbb.out
vi /tmp/bbb
cd /vmfs/volumes/
/tmp/bbb > /tmp/bbb.out
vi /tmp/bbb
/tmp/bbb > /tmp/bbb.out
vi /tmp/bbb.out
grep TRUE /tmp/bbb.out | wc -l
cd 
awk '{print "grep 11264 " $1}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
ll  /tmp/lll.out
vi /tmp/lll
/tmp/lll
vi /vmfs/volumes/rs_lun_18/appserver35/appserver35.vmx
vi /vmfs/volumes/rs_lun_18/appserver35/appserver35.vmx
awk '{print "grep 11264 " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
awk '{print "sed -i s/11264/19456/g " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll 
awk '{print "grep 19456 " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
awk '{print "grep 1536 " $1}' vmx_files.db38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
awk '{print "sed -i s/1536/2048/g " $1}' vmx_files.db38 > /tmp/lll; vi /tmp/lll
vi /tmp/lll
/tmp/lll
awk '{print "grep 2048 " $1}' vmx_files.db38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
ssh client1
/sbin/shutdown -h 0
cd /var/log
ll -t | more
vi vmkernel
cd /etc/vmware
ll -t | more
ll esx.conf* | more
diff esx.conf esx.conf.DL9804s | more
ll esx.conf* | more
vi esx.conf.orig_install
tail esx.conf
cd 
ll vmx* | more
cp vmx_files.ALL.38 chk_shut.sh
more vmx_files.ALL.38
vi /vmfs/volumes/ms_lun_2/mailserver4/mailserver4.vmx
ll -t | more
vi chk_shut.sh 
chmod 777 chk_shut.sh 
./chk_shut.sh 
./chk_shut.sh | grep TRUE | wc -l
ll auto_start_VMs.sh* | more
./auto_start_VMs.sh.37
ll syn* | more
./sync_vm_time.sh.37
exit
./sync_vm_time.sh.37
exit
./sync_vm_time.sh.37
./sync_vm_time.sh.37
./sync_vm_time.sh.37
ssh client1
esxtop
./sync_vm_time.sh.37
exit
vi /tmp/lll
chmod 777 /tmp/lll
/tmp/lll
vi /tmp/lll.sort
man sort | more
sort -u /tmp/lll.sort > /tmp/lll.sort-u
vi /tmp/lll.sort-u
diff /tmp/lll.sort /tmp/lll.sort-u
vi /tmp/kkk
sort /tmp/kkk > /tmp/kkk.sort
sort -u /tmp/kkk > /tmp/kkk.sort-u
vi /tmp/kkk.sort*
esxcfg-vswitch -l > /tmp/vswitch.out
vi /tmp/vswitch.out
ll -t /tmp
pwd
mv /tmp/vswitch.out .
ll vswitch.out | more
mv vswitch.out vswitch.out.layout_1.1
cp vswitch.out.layout_1.1 vswitch.out.layout_1.2
ll vsw* | more
vi vswitch.out.layou*
ls
ll |more
ll -t | more
esxcfg-vswitch -a vSwitch39
esxcfg-vswitch -a vSwitch40
esxcfg-vswitch -A VT_NET_39vSwitch39
esxcfg-vswitch -A VT_NET_39 vSwitch39
esxcfg-vswitch -A VT_NET_40 vSwitch40
esxcfg-vswitch -L vmnic4 vSwitch39
esxcfg-vswitch -l 
cd 
ll vm* | more
more vmx_files.ALL.38
ls vmx_files.1-4
 for i in 1 2 3 4;     do        grep server${i}.vmx vmx_files.ALL.38 >> vmx_files.1-4;     done
ll - t| more
ll -t | more 
vi vmx_files.1-4
grep webserver vmx_files.1-4 > vmx_files.web1-4
grep -v webserver vmx_files.1-4 > vmx_files.tile1-4
ll | more
ll -t | mroe
ll -t | more
vi vmx_files.web1-4 vmx_files.tile1-4
vi /tmp/kkk
pwd
ll vm* | more
vi  vmx_files.ALL.38
ll vm* | more
vi vmx_files.web38
ll vm* | more
grep -v webserver  vmx_files.ALL.38 > vmx_files.others38
vi vmx_files.others38
ll vm* | more
ll vmx*1-4
rm -f vmx*1-4
ll *38 |more
awk '{print "sed -i s/VT_NET_x/VT_NET_xx/g " $1}' vmx_files.others38 > vmx_files.others38.vs1
vi vmx_files.others38.vs1
ll -t | more
vi vmx_files.others38.vs1
awk '{print "sed -i s/VT_NET_x/VT_NET_xx/g " $1}' vmx_files.web38 > vmx_files.web38.vs1
vi vmx_files.web38.vs1
awk '{print "cp "$1" "$1".DL580_37tiles_3625 "}' vmx_files.ALL.38 > /tmp/jjj; vi /tmp/jjj
ssh 10.10.35.5
exit
ssh client1
cd 
ll -t |more
vi vmx_files.web38.vs1
ll -t | more
ll vmx_files.web38.vs2 | more
ll *vs2 | more
ll *vs1 | more
cp vmx_files.others38.vs1 vmx_files.others38.vs2
cp vmx_files.web38.vs1 vmx_files.web38.vs2
ll -t | more
vi vmx_files.web38.vs1 vmx_files.web38.vs2
ll -t | more
vi vmx_files.web38.vs1 vmx_files.web38.vs2
ll -t | more
vi vmx_files.others38.vs1
vi vmx_files.others38.vs2
ll -t | more
vi *.vs1 *.vs2
cd /etc/vmware
ll esx.conf
pwd
cd 
ll | more
vi svconfig_VSP_1018-DL580.sh
vi /root/vSphere-get-config.sh
ssh client1
exit
ll /vmfs/volumes/db_lun_1/dbserver1/
ll /vmfs/volumes/rs_lun_1/appserver1
ll /vmfs/volumes/rs_lun_1/idleserver1
/vmfs/volumes/if_lun_1/infraserver1
ll /vmfs/volumes/if_lun_1/infraserver1
cd /vmfs/volumes/if_lun_1/infraserver1
ll 
more 6 vmware-15.log
ll 
more vmware.log
ll 
rm vmware*.log
pwd
cd ..
ll 
cd infraserver2
ll 
cd ..
cd ../if_lun_2
ll 
cd infraserver3
l
ll 
cd ../*4
ll 
pwd
rm -f /vmfs/volumes/*lun*/infra*/vmware*.log
cd ..
cd ../if_lun_3
ll 
cd *5
ll 
ll /vmfs/volumes/ms_lun_1/mailserver1
ll /vmfs/volumes/rs_lun_1/webserver1
exit
ll vmx* | more
more vmx_files.ALL.38
grep memsize /vmfs/volumes/rs_lun_12/webserver23/webserver23.vmx
vi shut_all_VMs.sh
vi shut_all_VMs.sh.37
./shut_all_VMs.sh.37
pwd
awk '{print "cp "$1" "$1".DL580_37tiles_3625 "}' vmx_files.ALL.38 > /tmp/jjj; vi /tmp/jjj
chmod 777 /tmp/jjj
more /tmp/jjj
/tmp/jjj
ll vmx* | more
grep server1 vmx_files.ALL.38 > /tmp/aaa
more /tmp/aaa
grep servera.vmx1 vmx_files.ALL.38 > /tmp/aaa
grep server1.vmx vmx_files.ALL.38 > /tmp/aaa
more /tmp/aaa
vi /vmfs/volumes/rs_lun_1/appserver1/appserver1.vmx /vmfs/volumes/db_lun_1/dbserver1/dbserver1.vmx
exit
ls
cd /vmfs/volumes/rs_lun_1/webserver1
ls
more webserver1.vmx
ls
cp -p webserver1.vmx webserver1.vmx.031911
vi webserver1.vmx
pwd
cd ..
ls
cd webserver2
ls
cp -p webserver2.vmx webserver2.vmx.1031911
vi webserver2.vmx
cd ..
cd ..
cd rs_lun2
cd rs_lun_2
ls
cd webserver3
ls
cp -p webserver3.vmx webserver3.vmx.031911
vi webserver3.vmx
cd ../webserver4
vi webserver4.vmx
exit
ls
ls -lt | more
more vmx_files.web38.vs2 
ls -lt | more
more vmx_files.web38.vs1 
pwd
ls
exit
cd /tmp
ll -t | more
vi aaa 
date
ll | more
ll -t | more
exit
ll -t | more
grep infra vmx_files.ALL.38 > vmx_files.inf38
ll *28
mv vmx_files.if38
mv vmx_files.inf38 vmx_files.if38
ll *38
grep idle vmx_files.ALL.38 > vmx_files.id38
ll *38
grep mail vmx_files.ALL.38 > vmx_files.ma38
ll *28
ll *38
vi *38
grep server1.vmx vmx_files.ALL.38 > /tmp/aaa
vi /tmp/aaa
ssh client1
vi /tmp/bbb
vi /tmp/bbb
vi /tmp/bbb
vi /tmp/bbb
exit
more shut_all_VMs.sh
vi /vmfs/volumes/db_lun_1/dbserver1/dbserver1.vmx
vi /tmp/aaa
ll /tmp | more
vi /tmp/bbb
chmod 777 /tmp/bbb
vi /tmp/bbb
/tmp/bbb
vi t/mp/jjj
vi /tmp/jjj
/tmp/jjj > /tmp/jjj.out 2>&1 
vi /tmp/jjj
vi /tmp/bbb
awk '{print "grep memsize " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out
vi /tmp/lll.out
grep 18432 /tmp/lll.out | wc -l
vi /tmp/lll.out
/tmp/lll > /tmp/lll.out 2>&1
vi /tmp/lll.out
vi shut_all_VMs.sh.38
vi /vmfs/volumes/rs_lun_15/webserver30/webserver30.vmx
/tmp/lll > /tmp/lll.out 2>&1
vi /tmp/lll.out
/tmp/lll > /tmp/lll.out 
vi /tmp/lll.out
grep 18432 /tmp/lll.out | wc -l
awk '{print "grep sched.mem.minsize " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/l
vi /tmp/lll
/tmp/lll > /tmp/lll.out
vi /tmp/lll.out
grep 16384 /tmp/lll.out | wc -l
grep 2560 /tmp/lll.out > /tmp/kkk
vi /tmp/kkk
rm /tmp/kkk
awk '{print "grep sched.mem.minsize " $1}' vmx_files.ma38 > /tmp/lll
vi /tmp/lll
/tmp/lll > /tmp/lll.out
vi /tmp/lll.out
grep -v 0 /tmp/lll.out | wc -l
awk '{print "grep memsize " $1}' vmx_files.ma38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out
vi /tmp/lll.out
grep 1024 /tmp/lll.out | wc -l
awk '{print "grep sched.mem.affinity " $1}' vmx_files.app38 > /tmp/lll
vi /tmp/lll
/tmp/lll > /tmp/lll.out 2>&1 
vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v #}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
awk '{print "grep sched.mem.affinity " $1" | grep -v #"}' vmx_files.app38 > /tmp/lll
vi /tmp/lll
/tmp/lll
vi /tmp/lll
awk '{print "grep sched.mem.affinity " $1" | grep -v \#"}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
/tmp/lll
/tmp/lll > /tmp/lll.out 2>&1 
vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.db38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out 2>&1 
vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.id38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out 2>&1 
vi/tmp/lll.out
vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.if38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out 2>&1
vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.ma38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out 2>&1 
vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out 2>&1 
vi /tmp/lll
vi /tmp/lll.out
./shut_all_VMs.sh.38
awk '{print "cp "$1" "$1".DL580_affinity "}' vmx_files.ALL.38 > /tmp/jjj; vi /tmp/jjj
/tmp/jjj
ll /vmfs/volumes/*lun*/*server*/*affinity > /tmp/kkk; vi /tmp/kkk
ll /vmfs/volumes/db_lun_2/dbserver8/* 
ls /vmfs/volumes/db_lun_2/dbserver8/*
awk '{print "cp "$1".DL580_37tiles_3625 "$1}' vmx_files.ALL.38 > /tmp/jjj; vi /tmp/jjj
/tmp/jjj
vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
awk '{print "grep 19456 " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
awk '{print "sed -i s/19456/16384/g " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll
awk '{print "grep 16384 " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out
vi /tmp/lll.out
awk '{print "sed -i s/memsize = \"16384\"/memsize = \"18432\"/g " $1}'  vmx_files.web38 > /tmp/lll; vi /tmp/lll
cp /vmfs/volumes/rs_lun_6/webserve11/webserver11.vmx /tmp/kkk
cp /vmfs/volumes/rs_lun_6/webserver11/webserver11.vmx /tmp/kkk
sed -i s/memsize = "16384"/memsize = "18432"/g  /tmp/kkk
sed -i s/memsize = \"16384\"/memsize = \"18432\"/g  /tmp/kkk
man sed | more
sed -i s/memsize = \"16384\"/memsize = \"18432\"/g  /tmp/kkk
more /tmp/lll
sed -i s/memsize = "16384"/memsize = "18432"/g /tmp/kkk
sed -i s/memsize \= \"16384\"/memsize \= \"18432\"/g /tmp/kkk
more mvx_files.web38
pwd
more  vmx_files.web38 
vi /tmp/lll
vi /vmx/volumes/*lun*/*webserver*/*.vmx
pwd
vi /vmfs/volumes/*lun*/*webserver*/*.vmx
awk '{print "grep 16384 " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
mv /tmp/lll.out /tmp/lll.out.1
awk '{print "grep 18432 " $1}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
mv /tmp/lll.out /tmp/lll.out.2
wc -l 18432 /tmp/lll.out.2 | wc -l
grep 18432 /tmp/lll.out.2 | wc -l
grep 16384 /tmp/lll.out.1 | wc -l
vi /tmp/lll.out.*
awk '{print "cp "$1" "$1".DL580_mem_4_38tiles "}' vmx_files.ALL.38 > /tmp/jjj; vi /tmp/jjj
awk '{print "cp "$1" "$1".DL580_mem_4_38tiles "}' vmx_files.web38 > /tmp/jjj; vi /tmp/jjj
/tmp/jjj
awk '{print "diff "$1".DL580_affinity  "$1".DL580_mem_4_38tiles "}' vmx_files.web38 > /tmp/lll;vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
ll *38
more vmx_files.ma38
vi /vmfs/volumes/ms_lun_12/mailserver23/mailserver23.vmx
vi /vmfs/volumes/*lun*/*mailserver*/*.vmx
awk '{print "grep sched.mem.minsize " $1}' vmx_files.ma38 > /tmp/lll;vi /tmp/lll
/tmp/lll > /tmp/lll.out; vi /tmp/lll.out
awk '{print "cp "$1" "$1".DL580_mem_4_38tiles "}' vmx_files.ma38 > /tmp/jjj;vi /tmp/jjj
/tmp/jjj
awk '{print "diff "$1".DL580_affinity  "$1".DL580_mem_4_38tiles "}'  vmx_files.ma38 > /tmp/jjj; vi /tmp/jjj
/tmp/jjj > /tmp/jjj.out; vi /tmp/jjj.out 
ssh client1
/sbin/shutdown -r 0
cd /vmfs
ls
cd volumes
ls
ls | more
cd rs_lun_1
ls
cd appserver1
ls
ls -lt
ftp ftp.use.hp.com
scp appserver1.vmx sp5163:/tmp
cd ..
ls
cd webserver1
ls
scp webserver1.vmx sp5163:/tmp
pwd
ls
cd ..
ls
cd ..
ls
cd db_lun_1
ls
cd dbserver1
ls
scp dbserver1.vmx sp5163:/tmp
cd ..
ls
cd ../inf_lun_1
ls
cd ..
ls
cd if_lun_1
ls
cd infraserver1
scp infraserver1.vmx sp5163
ls
scp infraserver1.vmx sp5163:/tmp
cd ../../ms_lun_1
ls
cd mailserver1
ls
scp mailserver1.vmx sp5163:/tmp
cd ..
ls
cd ..
cd rs_lun_1
ls
cd idleserver
cd idleservr1
ls
cd idleserver1
ls
scp idleserver1.vmx sp5163:/tmp
./auto_start_VMs.sh.38
pwd
./sync_vm_time.sh.38
./sync_vm_time.sh.38
ll -t |more
ssh client1
ll syn*
exit
./shut_all_VMs.sh.38
ll *38 | more
vi vmx_files.web38
ls -1 /vmfs/volumes/*lun*/*.vmx.DL580_affinity > /tmp/jjj; vi /tmp/jjj
pwd
ll *38* | more
more vmx_files.ALL.38
ll /vmfs/volumes/ms_lun_2/mailserver4/mailserver4.vmx* | more
ls -1 /vmfs/volumes/*lun*/*server*/*.vmx.DL580_affinity > /tmp/jjj; vi /tmp/jjj
ls -1 /vmfs/volumes/*lun*/*server*/*.vmx.DL580_mem_4_38tiles > /tmp/jjj; vi /tmp/jjj
vi /tmp/jjj
awk '{print "cp "$1".DL580_affinity  "$1}' vmx_files.app38 > /tmp/jjj; vi /tmp/jjj
/tmp/jjj
chmod chmod 777 /tmp/jjj
chmod 777 /tmp/jjj
vi /tmp/jjj
/tmp/jjj
vi /tmp/jjj
awk '{print "cp "$1".DL580_affinity  "$1}' vmx_files.db38 > /tmp/jjj; vi /tmp/jjj
ll /vmfs/volumes/db_lun_2/dbserver7/dbserver7.vmx*  | more
more /tmp/jjj
/tmp/jjj
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
chmod 777 /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out 
more /tmp/lll
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.db38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.id38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.if38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.ma38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.mem.affinity " $1" | grep -v \\#"}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.cpu.affinity " $1" | grep -v \\#"}' vmx_files.app38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.cpu.affinity " $1" | grep -v \\#"}' vmx_files.db38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.cpu.affinity " $1" | grep -v \\#"}' vmx_files.id38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.cpu.affinity " $1" | grep -v \\#"}' vmx_files.if38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.cpu.affinity " $1" | grep -v \\#"}' vmx_files.ma38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
awk '{print "grep sched.cpu.affinity " $1" | grep -v \\#"}' vmx_files.web38 > /tmp/lll; vi /tmp/lll
/tmp/lll > /tmp/lll.out ; vi /tmp/lll.out
exit
ll /vmfs/volumes/rs_lun_3/appserver5/appserver5.vmx.*  | more
diff /vmfs/volumes/rs_lun_3/appserver5/appserver5.vmx /vmfs/volumes/rs_lun_3/appserver5/appserver5.vmx.DL580_37tiles_3625 
diff /vmfs/volumes/rs_lun_3/appserver5/appserver5.vmx /vmfs/volumes/rs_lun_3/appserver5/appserver5.vmx.DL580_affinity | more
pwd
./auto_start_VMs.sh.38
./sync_vm_time.sh.38
./sync_vm_time.sh.38
who
exit
ls
pwd
ls -lt | more
ls
ls -lt | more
exit
pwd
ll -t | mroe
ll -t | more
ls *580*
ll | more
vi vSphere-get-config.sh
ll /vmfs/volumes/$(ls /vmfs/volumes |grep -v " "|sort -u |tail -1)/reporter
cd /vmfs/volumes/$(ls /vmfs/volumes |grep -v " "|sort -u |tail -1)/reporter
ll | more
rm -rf vSphere-spv014-20110321-04.26.tgz vSphere-spv014-20110320-10.14.tgz vSphere-spv014-20110320-00.29.tgz
exit
