kj0 wrote: » ESXTOP lsusb watch -d 'ls -luth | grep -E "delta|flat|sesparse"' That's pretty much it.
To monitor the VMDK snapshot and base disks which are currently being updated, run this watch command:# watch -d 'ls -luth | grep -E "delta|flat|sesparse"'where:-d highlights the differences between successive updatest sorts by modification timel shows a long listing which displays additional file information u sorts by and shows access timeh prints sizes in a readable format such as 1K 234M 2G
Deathmage wrote: » What does "watch -d 'ls -luth | grep -E "delta|flat|sesparse"'" do?
kj0 wrote: » Due to the size of our environment and customer VMs and IaaS infrastructure we have a lot of Snapshots taking place during backups, sometimes there are issues removing or consolidating, so this helps keep an eye on things and get an idea of how long it may be away.
Deathmage wrote: » I'm finding out at my employer the EMC Avamar doesn't always remove, well never, removes snapshots and I'm getting extremely intimate with ESXCli and datastore Storage vMotions to the point that my list of commands has grown immensely in less than a month.... 1. vim-cmd vmsvc/get.tasklist [vim] 2. vim-cmd vmsvc/getallvms 3. ls -lah 4. ls - lh 5. df -h 6. ls -la test.txt 7. services.sh restart 8. esxcli software vib list | grep -i EMC 9. esxcli storage nfs list
TheProf wrote: » This is actually very good practice for the VCAP-DCA.. Maybe you should look into it
Deathmage wrote: » .... Make matters worse our Avamar failed a 14 TB VM restore and then made a .lck on the 14 TB .vmdk that could only be fixed by a Storage vMotion.... on a 14 TB LUN!!!!!!! Long story short, the cluster should have been able to sustain a 1 node lose but it made all of the nodes read only and it broke vBlock.... ....VCAP is looking more appealing everyday...
vim-cmd vmsvc/getallvms for i in `vim-cmd vmsvc/getallvms |grep -v Vmid |awk '{print $1}'`; do if [ "`vim-cmd vmsvc/power.getstate $i |grep on`" == 'Powered on' ]; then vim-cmd vmsvc/power.shutdown $i; echo “$i Powered Down”; fi; done vim-cmd hostsvc/maintenance_mode_enter esxcli software vib update -d '/vmfs/volumes/Storage/Patch/VMware-ESXi-5.5.0-Update3-3568722...Apr2016.zip' vim-cmd hostsvc/maintenance_mode_exit reboot
JBrown wrote: » what kind of application are you running in that VM? I have a file share VM with 3 TB data on it, and use EMC's Networker for backing it up. It was taking forever to release a snapshots after backing it up, so ended up switching from a snapshot level backup to in-guest agent.