Download presentation
Presentation is loading. Please wait.
Published byIrma Ray Modified over 8 years ago
1
Gary Cochrane VMware Tips for AE’s
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 2. Size established when VM is created 1. Stored as 1 (or more) files on your host hard drive I typically use 10-12 GB 2. VM hard drive size cannot be modified afterwards
5
Virtual Disk Creation
6
Virtual Machine – Split hard drives 2. Again, Maximum Size established when VM is created. 1. Multiple files, each up to 2 GB on your host hard drive Maximum Size (Ex: 10 gb) Actual Size
7
Hard drive use – over time 2. When one fills up, usage spills over to the next 1. Each 2 GB (on your host hard drive) gets filled as it is needed Maximum Size Used space – active file Used space – deleted file Un-used space
8
Hard drive use – over time 2. Windows uses up all un-used space, before reclaiming deleted files 1. Deleted files are still files! Maximum Size Used space – active file Used space – deleted file Un-used space
9
Hard drive use – over time 2. Again, Total Size established when VM is created. 1. Multiple files, each up to 2 GB on your host hard drive Maximum Size Used space – active file Used space – deleted file Un-used space
10
Hard drive use – over time 2. Again, Total Size established when VM is created. 1. Multiple files, each up to 2 GB on your host hard drive Maximum Size Used space – active file Used space – deleted file Un-used space
11
“High Water” mark 2. Shrink – moves files so that they are contiguous 1. Prepare for shrinking – converts deleted files to un-used space Maximum Size Actual VM Size
12
Shrink Process 2. Shrink – moves files so that they are contiguous 1. Prepare for shrinking – converts deleted files to un-used space Maximum Size Used space – active file Used space – deleted file Un-used space
13
Shrink Process 2. Shrink – moves files so that they are contiguous 1. Prepare for shrinking – converts deleted files to un-used space Maximum Size Used space – active file Used space – deleted file Un-used space
14
Shrink Process - Complete 2. Shrink – moves files so that they are contiguous 1. Prepare for shrinking – converts deleted files to un-used space 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
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
26
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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.