Specifications

VMware, Inc. 251
Chapter 16 Using Snapshots
Snapshots and Other Activity in the Virtual Machine
Whenyoutakeasnapshot,beawareofotheractivitygoingoninthevirtualmachine
andthelikelyeffectofrevertingtothatsnapshot.Ingeneral,itisbesttotakeasnapshot
whennoapplicationsinthevirtualmachinearecommunicatingwithothercomputers.
Thepotentialforproblemsis
greatestifthevirtualmachineiscommunicatingwith
anothercomputer,especiallyinaproductionenvironment.
Forexample,ifyoutakeasnapshotwhilethevirtualmachineisdownloadingafile
fromaserveronthenetwork,thevirtualmachinecontinuesdownloadingthefile,
communicatingitsprogresstotheserver.Ifyou
reverttothesnapshot,communications
betweenthevirtualmachineandtheserverareconfusedandthefiletransferfails.
Anotherexampleistakingasnapshotwhileanapplicationinthevirtualmachineis
sendingatransactiontoadatabaseonaseparatemachine.Ifyoureverttothat
snapshot—especiallyif
yourevertafterthetransactionstartsbutbeforeithasbeen
committed—thedatabaseislikelytobeconfused.
Taking a Snapshot
Takingasnapshotisasynchronousoperation.Alluseroperationstothevirtual
machineduringthisperiodareblockedforsnapshotanddataconsistency.Thetime
takentodevelopasnapshotdependsontheamountofdataandtheloadontheserver.
Onaverage,thetimerangesfrom30to
40secondsforminimalsnapshotcreation.
Youcantakeasnapshotwhileavirtualmachineispoweredon,poweredoff,or
suspended.Ifyouaresuspendingavirtualmachine,waituntilthesuspendoperation
hasfinishedbeforetakingasnapshot.
Youmustpoweroffthevirtualmachinebeforetakingasnapshot
ifthevirtualmachine
hasmultipledisksindifferentdiskmodes.Forexample,ifyouhaveaspecialpurpose
configurationthatrequiresyoutouseanindependentdisk,youmustpoweroffthe
virtualmachinebeforetakingasnapshot.
To take a snapshot
1 ChooseInventory>VirtualMachine>Snapshot>TakeSnapshot.
Youcan
alsoclicktheTakeasnapshotofthisvirtualmachinebutton,orrightclick
thevirtualmachineandchooseSnapshot>TakeSnapshot.
TheTakeVirtualMachineSnapshotwindowappears.
2Typeanameforyoursnapshot.