1 / 28

VMware Tips for AE’s

VMware Tips for AE’s. Gary Cochrane. VMWare Tips. Topics VMware Shrink Resetting after a demo or training class Performance tips. Shrinking Virtual Machines. Q. Why is my VM so large? A. Because Windows never really deletes anything…

yuval
Download Presentation

VMware Tips for AE’s

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. VMware Tips for AE’s Gary Cochrane

  2. VMWare Tips • Topics • VMware Shrink • Resetting after a demo or training class • Performance tips

  3. Shrinking Virtual Machines • Q. Why is my VM so large? • A. Because Windows never really deletes anything… • Yes, with the right software, files can still be un-deleted • Even after having emptied the Wastebasket? Yes • Q. What can I do about it? • A. Use the VMware “Shrink” tool

  4. Virtual Machine hard drives 1. Stored as 1 (or more) files on your host hard drive 2. Size established when VM is created 2. VM hard drive size cannot be modified afterwards I typically use 10-12 GB

  5. Virtual Disk Creation

  6. Actual Size Virtual Machine – Split hard drives 1. Multiple files, each up to 2 GB on your host hard drive 2. Again, Maximum Size established when VM is created. Maximum Size (Ex: 10 gb)

  7. Hard drive use – over time 1. Each 2 GB (on your host hard drive) gets filled as it is needed 2. When one fills up, usage spills over to the next Maximum Size Used space – active file Used space – deleted file Un-used space

  8. Hard drive use – over time 1. Deleted files are still files! 2. Windows uses up all un-used space, before reclaiming deleted files Maximum Size Used space – active file Used space – deleted file Un-used space

  9. Hard drive use – over time 1. Multiple files, each up to 2 GB on your host hard drive 2. Again, Total Size established when VM is created. Maximum Size Used space – active file Used space – deleted file Un-used space

  10. Hard drive use – over time 1. Multiple files, each up to 2 GB on your host hard drive 2. Again, Total Size established when VM is created. Maximum Size Used space – active file Used space – deleted file Un-used space

  11. “High Water” mark 1. Prepare for shrinking – converts deleted files to un-used space 2. Shrink – moves files so that they are contiguous Maximum Size Actual VM Size

  12. Shrink Process 1. Prepare for shrinking – converts deleted files to un-used space 2. Shrink – moves files so that they are contiguous Maximum Size Used space – active file Used space – deleted file Un-used space

  13. Shrink Process 1. Prepare for shrinking – converts deleted files to un-used space 2. Shrink – moves files so that they are contiguous Maximum Size Used space – active file Used space – deleted file Un-used space

  14. Shrink Process - Complete 1. Prepare for shrinking – converts deleted files to un-used space 2. Shrink – moves files so that they are contiguous Maximum Size Final Size

  15. How to Shrink? • Boot up the VM, then…

  16. How to Shrink - continued • Switch to Shrink tab • Select> Prepare to shrink

  17. Optimizing the Shrink process • Before starting the shrink process • Delete any un-necessary files from the VM • Run Windows Disk Cleanup on the VM disk • Right-click the disk, choose Properties, and then Cleanup • Run Windows defrag within the VM • Now start the shrink process

  18. Training Class/Demo tips • How to reset machine after demo, or class • In other words, how to get machine back to state before demo: • Non-persistent disks • VM Snapshots

  19. Non-persistent Mode • Does not save any changes • Enable it only after VM is ready to go! • Boot VM • Run Demo/Class • Shutdown VM • VM does not save any changes, and is automatically ready for next demo/class • If student shuts machine down in middle of class, you’re in trouble…

  20. Enabling Non-persistent Mode

  21. Enabling Non-persistent Mode

  22. Enabling Non-persistent Mode

  23. Revert-to-Snapshot Mode • Very similar to Non-persistent mode • Enable it only after VM is ready to go! • Take Shapshot • Boot VM • Run Demo/Class • Shutdown VM • VM does not save any changes, and is automatically ready for next demo/class

  24. Enabling Revert-to-Snapshot Mode

  25. Enabling Revert-to-Snapshot Mode

  26. Before booting VM, take Snapshot

  27. Before booting VM, take Snapshot

  28. VM Performance tips • On host machine • If possible, store VM’s on second hard drive • Allows your host O/S to own the primary drive, and the VM to own the secondary • Defrag often, VM files are large, and tend to fragment as a result

More Related