Using VMware Infrastructure for Backup and Restore
webhostingguy
2,839 views
20 slides
Apr 15, 2010
Slide 1 of 20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
About This Presentation
No description available for this slideshow.
Size: 954.53 KB
Language: en
Added: Apr 15, 2010
Slides: 20 pages
Slide Content
(vinwane est rence]
Table of Contents
Disk Structure of ESX Server
Virtual Machine Disk cc À
Disk Files and Redo Log Files.
Raw Device Mappings.
VMware Consolidated Backup.
‘Accessing and Managing Virtual Disk Files.
sacking Up ESX Server and Virtual Machines...
‘Treating Virtual Machines as Physical Machines.
‘Treating Virtual Machines as Files on an ESX Server Host.
‘Treating Virtual Machines as Files on Shared Stora:
Consolidated Backup: Moving the Workload Off the Server
jacking Up Virtual Machines as Physical Machines .
Creating Backup Coples of Virtual Machine Files on an ESX Server Host.
Built-in VMware File Operations
Using vmkfstools.
Using vebMounter and vebRestore.
Using a Backup Agent on the Service Console
ackup Off-Loading.
SAN Imag
Using VMware Consolidated Backup
‚Appendix A: vebMounter and vebRestore
‘Appendix B: Using vmkfstools
Glossary.
References .
VMWARE BEST PRACTICES
Using VMware Infrastructure for Backup and Restore
Introduction
Backup etre, and date cor a amargt most
(mc lement of starter management ae SK
Serer and la stc provide many lent caps.
chantage and schatage ad den enormes
‘ver dent casos Te Nery prod y War
faste ons out negre EX Sener Bch and
restore proceso your exiting metres and po
ces You nya ind tha the unge tu of
technology or new nd moe adaragees ways
pc tee celts
Ts vt paper debs what esc shuld be Bc up
onan See stem and existe options asalto or
‘abou, cing anges and saamagesct ach
pion The paper alo ce Some scores bon
ee rade of
VMware Infrastructure and VMware ESX Server
ite stein it atthe
alto sue that lows etorri ad saluos
Sauce tough vruszaton Var asc debes
compraste veualeston management resource optimiza
to, pelan aati rd operando apo
bises in animated ofa,
are Save ay component far nas
à ron even urn lye un on py
esa sts peces, memory 6292 ad etwa
ng eures be poco 1 mule vito machines 2
rs HA À
VirtualCenter Management Server
Virtual Machines
Enterprise:
Enterprise Network
ESK Server
Servers
Enterprise Storage
Disk Structure of ESX Server
EX Sere uses the Wate SB rem ros al
‘til machines nor ES hh perkumance fe
tem on ha SCS eN nd patos nie SAN and
Stage ystems nis opted o tang ge es Such
‘stil ages and Ihe mern Images ane
EX Sener se MS 3a enhanced en ofthe
fe sem ved near lees of Sk Sere One ey au
fan MES support for tetes, owing EX
Sartre mall itil machnes sept hs on
betes.
acu es 0 on Viva VFS fle yate may
‘exceed 26 they anna has acesso ard mails
sie seta used freon a adn et, FN,
FNS le ser.
Virtual Machine Disks
‘Ae ou above the kes fu machines ae red on
VS tem shonnin te 2 Meses ra
peca formatand ve exentos Te ik esca
opte al etico e vea mach ces onthe
‘til do bebe equal fsbo tk om a VIFS
{ora LUN en o device mappings BOM! we
Disk Files and Redo Log Files
Te simples use ase asthe dk les comping athe
mt na wt mache Int det sae ech
itl ks simply a single le Alange ttt are
ten dec andmmadandy to that he However hen
sn cnrs rapto ofa via machine on ES
Seve the yen ces whi dered as eo
‘ter the sapsot len. the ase kl becomes st
échange Als ar ten o tere gl,
instead Y e bae dake aed dale and, we dag
ie ad dived, REDO Ade maya mese
thar one acceded ba ie Te names fhe dg
fis a based onthe rae of tebe dk fs — fox eam,
disk. vmdk disk. vmdk REDO and ik. vmdk
‘REDO. REDO. The von fi ot log. as aterm
ere wed Rate na bm of changes the ek
The soporte ch mate poste so matan
a change bed portante cri uch
pions espec the ar Consolas Bhp op
Ida vt E Sere.
Raw Device Mappings
Thera dee mopping ROM) capte o ESX Sen ge
atthe ros exe storage Cab fr ita machines
In eins: is maping nf eich
VMWARE BEST PRACTICES
LU The wet mein court esto the maging
fie thee tata e aw LUN the vat
roche te an a do Tr remato
{bout he he en WN sted te ni ie Tus e
trapping fe came consertectoninwbichthe via
roche can edit dik even he vet mane mon
10200 ES Sener stem andthe LUN reset it
to excl oe ES Sere stem
Tere se to modes fr ROM — vi compis
company Va compta mde sows à
rapping act each tal eke nding the se
nano Ph comp mode lows det CH
‘cess tote device being mapped foros platos that
ar dk acess and contol uch sorge
ay sed plan products expen bth ses
do sted he WN ON SS dev, aia eta dk ie.
lobo modes an DM fein a VMS vota manages
"meat ors mapped doce, Ter one ne mag
even mapping es nd mapped device The mapping fe
1 piesmedta he Vire Sac Coni sn cda dl
fe 2a oe str peas To tal mac,
ESX seer rats the mapped device as local ached
pa compe mode ROM pres mi SC
\atusetonf te mapped dee nth made, e eme
vies SSI commands ote device wth ene excepto:
the Report LUNs commands aid th Were an
Virtual Machines
ESX Server
lta acti ofthe urge hadnt e
pos Paco empty mode da ben e
et SAN management agents tte SCS ge
‘ied oftware in vital mache. Ts mode ako ua
formato phys useing for cosecha
bin,
‘VMware Consolidated Backup
tare Corso Boch es he bcp lad ofthe ES
Series, elites he badup wind temores tuu
‘efi om the LAN and elites tetra backup
gets mde the tu machne 1 prom eee chaps
‘tvs machine dan.
Console Backup uses new ap are Tos o
‘gone the le sytem nie teat mio esa at
hante ratas ken a perdes daa changes ave
ben writen to dsksothesropsot contas consisten data
Const Back ao oes png segs be ar
seth bach, 50 you can ere and quesc phates
‘hen eta hem ier
‘once the sapst token separe pal machine — the
backup pony — moun he base dk as wrealocaty
stacked sm o top ant unig onthe pros
“an radar tack up the ies ng te same atures de
pert mes tl fr biking up pales as shown
infgue
[VMWARE 8657 PRACTICES
Accessing and Managing Virtual Disk Files
Vers ik fhe ona WAS aces tough te SK
Sena Sere Console taker e Viva SOK andthe
tcp,
Yu an se e vmk stools command oimpartand
port mde ls Mot ther operators pros by
‘mkt oole a sil more convert though he
late Gent
Tre vebounter and vehRestore vit tht
tomate mary common back arder sa an
Fame ere coso You cane vebMount et
amp tke à pot tin machine ten ep
kee tw commands a dci inate scion ois
document
‘Backing Up ESX Server and Virtual Machines
Vienna what to Backup on an ES Servet em,
ou may want to ende os tat eed tobe as
La one Wah ES ere ter a tee ma components
worth on acho:
+ Wess
+ Veunmdin congrio Hes
+ Theconiguaon the ES Seve system sl
Note tht frit ching lth tomaron
laced upin e ete fast clay Be open
lng stem als and dita nude inthe wu is.
options
Becas vita machine jus he pica mac, one
posible approach 10 bakit pin team manner as
rica machine ug Backup sae ning ina vit
‘richie Beckum win vial machine sow o ad
‘oral incementl and ltl chs hough le
noted its tee some antes
The net todd Ve Coso ach approach
roves he same sy fing taal ce
‘mer and der bclps na Windows val machne.
Ban is he dadas fing kup age inthe
i mache
cs an eine ita mde nca on à
ewes 5 very smpleto Backup athe es tht make op à
‘itl machin Ths approach mals es 1 ete ete
"stu mace ct pelos noun sate a te
faking up the constituent sl he itil machine ao
alor easy cocaina ay tica tu paty
‘ofa or Bra Base you an crete male e
A edo fies youcan manta mul sapos And by
‘ing redo log sy anule ponme copies
eut pogo for A pie ee
et note poss fe backs vers caps
lng nu machines are acessedand bch up thos gang
ooh the Sk ere stem on which the its machines
‘oma ron Y mos ve eher he Corn Boo
(enue ht suppers expt ol vial macs orange
open you ws ths proa
ach approach backing up vital machines ass mn
antes Able bcp metodo depend he
‘elected oma ofthe wu machine din many css à
'sbes employ combination ofboth methods rhe est
VMWARE BEST PRACTICES
‘Treating Virtual Machines as Physical Machines.
"Via machines pode compete ges operating tes on
\iralad anwar You can bck up es operating stem
stations theme way a her ph coupure
Vos may sal à chu agent win ech ita marie 24
ck dt verte ot ther cp ee 104
y Copy da many roth à tt att mude
Facing vp a us machine nis oy ls peca Me baking
9 phys machine Fay very pic we ses yo
moy atach Se arate 10 atl mace and on
meda sever vn at vita machin See hen
Inc documentan ema dt
Advantages
Te maps rage ote apro dat you ca se
consent metodsogyto backup athe seein yout aa
yeso do af lei chp andresaton an ges rare
ebay the choc of backup sofware Back software
ut os bota mesas space th apts can te
seo quesc e appcatons or tedio lt cp.
method a mses incremental an recu
Disadvantages
Te mse deadartage apro hat you canot
be ange of te capo letal mochis to
ne t mere dsc hes When you Backup id es
wih the guest opere stem ale ou do none the
wi ma vus
=
a unoke Ata nt at cpl peer maybe
cel on oe pacho Dun mu) tht y number
‘fan macs ad ed mr by bhp may be
pote
‘Treating Virtual Machines as Files on an
ESX Server Host
és apro aes akantag fe senc ones
ality tose ech ins machine tl ik fe ES
Serres ere pe al kth ed Kay
‘separ These vl les canbe ch up een
protecting serie vts Prádena
arpa 01 OSI youre sng ROM dks fx your
‘ual machines Tote avarage ofthis med ve
theta manes se edo gs ates
“al the captain pce These eg les ter
Comte and changes weten tothe vd es
Advantages
This apro ans ju 1 bck up soe an ete we
‘wand senein one ep Wh drops ado og
magasin yon do ete bachapsasenplänedin
ae dd Aopen.
Disadvantages
Tre man desde ofthis approach sth og R
‘such ample tan a aa eve bch regates
resorte ene virus maine even aura 1 cr
[VMWARE 8657 PRACTICES
ty sine fe ju hae xt ge ets mcr,
peu mg ave tort tens abs ef tao esto
bre needed Bose ths backup process es he vita
kas we and not aplica one netas
Created hough this proces ron fe tenant.
Fay he aed to aces geil kes NV Rs
tt ny beer than 268 — moy ut ya che
fed badup software necesa dato Inmedato
procesó Noe ht sported backup verdes an nde
es ge than 268 See Apdo deta
‘Treating Virtual Machines a Files on Shared!
Storage
When vt machine les ee on shred tre ti
ost mu oe Dad aging on ste ch 0 SAN,
AS er SS ran independent ack eer pony acu
Seve or NDMP) back up itil machine fies thot
ing an ail lon he ES Sr ot at uns
it maces
Consolidated Backup: Moving the Workload.
Off the Server
though the choice of backup and tore methods vais to
Stet envionment. may VMware Customers age and
mal pressed rt tere ean common od us
reducing the tet lest back up vitualmaches meg
‘he wor of of production ses. and peri cups
fom ocean.
Visa develope tere Cosa ack tue o
ess es nes
Te appronc sy Cons Backups ay alo.
‘our tovemodg the de rm a unio compe ching
toa dect bcp semer ad bchngupapropute
fs io the dk ecep at he ginal computer ses
the dk nd an contre to run roma
tet the vt canbe etd by he same ve
A see — Be chp
oy — asi When tached the vial machin Ths
Preserves the dine ner deta bla agent neds
Fi comes receso restore fest the ta dk Most
danced cle am backup vendas ao pate re
Concept fos cups and can comm ht on
Fouaton easy
‘Advantages
They aha of Corsa d chu tha remove
‘helo of performing backups tom the Sk See Stem and
ces ona dedcated computer. he bad proxy Among,
‘ther bene hs approach ace mnt the need à
du window.
octet majo chantage ths apro hat yon we
pesame state and a methodology to backup al the
‘ewer nr dt cet whether howe sree py
tal Ths approach a allows oso doe level bcs
andere andi es moe hey nte hoe of bach
han Ths method ako sppor remera a See
‘cups Backup stare hat hs backup mes pecto
your apcatns canbe usedtoquece he appatens When
Jou pear orth tahun
Corte Ba ao oles the option exporting aa
tal machi, alow oso ae aanage le caps
lon fit en dct st ffs.
Corslated Bahu sane fhe aware sed
Resource Schr and are High obey fees
Vic rav Wane te SAN rete for chp
fate tan he man da poh. nor, or most use cases
Corsldaed Backup provides te mos fet ad content
yo bad vita maces
Consing these advantages mos Mar nat uses
are opt Console ach High cusmer rs
‘prompting father deadopment with an neg nanbet
vendran ther pas 1 work weh istechrlogy
Conste backup bscomng dominant bck ech
og to prt teva rosca
Disadvantages
fyeuchoosto back up ind hes hi tbe guet ope
Ing stem les, you do ot hae the adaragesf Ening
pad esting te ualmachne a à whole Aso ot ht
to estes tached up wih Corsa Backup you must
ae chu sent lin the a machine andere
ells with eri vital mane
Consoles Backup bins many mentions to preci
tal machines ut may ot be saben a tai:
+ Varese. Console Bch does ot
‘upper flee cup ques operating Stes te
‘han Window On mge backups a supported Tete
'sroincsementaltahup capa fe ses the han
Wego ote
VMWARE BEST PRACTICES
+ Monet pom egresos Corso
Backup does nat ae any yes becas tres canbe
0 sup proces peca hen you ed oer cry
pauses fes
+ Ar fen uses fat ste aces
problem Carl Bachup does ra or Wow
‘Popol oo ch VS
Console Backup muse plemented ony ae cae
centration tee bc.
Backing Up Virtual Machines as Physical
Machines
Compa wth the folowing vta ver formas
+ Wl ds om
2 ROM armas)
Issues to Consider
The folowing ses ned tobe considered before ou decide
on a chop mets
2 The etc
+ Te pp log tem storage
Implementation Steps
setup
isa the chp ge your che nec it
machine obebaded vp
1 Schedule the bachups nd manage the pe a rected
bythe documentation yur bcp pogam.
Con ourbalup sane ornate chu ener
"sted ura mac on ES Seve hot he
fotowng steps eed
tach the pe ive sry 1 à CI pr on he SK
| Use tenter tos the pede tw vial
Corfu bad senerto we the tape der
rr. sig th apope deves nd up sever
2) sue Bat two crudo aces between he
‘ach seve and vito chines tobe tached up both
tua machines tobe Biche up and the bch eee
on teams ES Sere jou may wea phate vital nuca
ch 0 connect them enh he.
sal the backup agent onal val machines be ch
Bu andere
ol the mets for he backup soft you
inate,
An ample scheu ort cp mao shown
Foues
Creating Backup Coples of Virtual Machine
Files on an ESX Server Host
Fah vna machi presented y he its dk es
Dto see es esta deka the vita macine
cotation Hey def tes es ae a stored the
‘Se er cn the VMS, Ok fs query ge
than 26 ander al cup progam can dec access
fh aoe ith mon caret ck produ howe le
by ded, ets es ann be backup we te
machines pomeredon the fe hope nding wen
10 by the vita mdr, Pong oor sepeding he
itl cinco te wal kf and mabe eo
bc
Ping of tert machine may ot enable sn in
eter deployments Fortuna tte spot capa
I. an he asrapsot tan appropiate tine. e ase
‘itil dle ao ith rar yo 1 BL
Shin igus Tanga sp ves jou pot
tine Alter constr eso ofthe tl ho Back
Issues to Consider
2 Canyou shutdown the ua machi forth dation
the Ear od yo tale snaps?
+ Doy pee sing Backup took bi atar He
+ sp backup tal hc supported when the kup
gent ung the sec ons?
eu sks and er sto mue Mesas th co
faut te gs ard memory an be manipule fem he
ES Sener conse commande though ing A
enna and he inate Veas tte SO
Using vmkfstools
are pres cle vital ahh eons some
ES ie operations that are nt possible tough ea
Insect Cert The oo command ae cu
ri be Var otre 3 Sere Configuration
Guide sos can be se, example 1 mpor val
som toman wey Mr ose ro
"Vitae Server and iar Wotton — 5 they can be
ed nde Se Serve
Using vebMounter and vebRestore
Te vebMounter and vebReatore command inet
es sped th EX Sener 3 an erun net om the
ES Sere sere como oth command canbe copo
ein sc atone operation
Ling vebMounteryou an re a qusedsnapsbot
‘he itl machne hen expors he srapsha into elos.
hich can Be ied eto eo evitas machine och
VMWARE BEST PRACTICES
up the ett es you an we ay He bse he
va
‘Atal descipton ofthe commandopten or
vebMounter indvebRestore utes gabe n
opera
vedo
Using a Backup Agent on the Service Console
There a umber bnp agent tathavebeen qed
‘nthe Moreno Soar Company
Ge aie o e Nate es,
dey bch stare capable Poni ls one AB cn be
‘eedobackup vna mace sica al machine
(oe es nthe memany oe of spend
Vat machine (cast og sr ts dik (vea,
REDO) and te ene console An sample MU
rom pe.
Adrantoges
ro stand not air susto and
Shoda tito mos metodos easy Aleyadamage of
tis apre that Ralls as capture fl str co
ss tly encpslte copes o vl machi ur
‘es te, Thee bach can be estore ny EX Sener
em ratte sore stem Ths appro can 3 be
do bah the serie cons.
Disadvantages
Te man dbadvartage of hs math tha ces a soy
Jon he sence ano because Ihe sra onl Ps o
fun bip ent andastowe al veta machine data
(et the eto ation ths mad ca ete hey
ao sth ita ik Mes ou You mht ed
frat cup ec 1 hard te ot
Host baking up 102 a pe dine, eto af nat
an est You sod no una backup ever ect onthe EX
Sewer er onl seo un the Backup seri e
the ina menes and sign te SCS tape dive that
‘itl mache a ect bos
Inaction unesste vebMount ex oli wd a ne
rect sp, ta machines dto be pare of the
implementation Steps
"stall e bck age onthe sence console
2 sal te backup sever star ona separate lam
heh could be ppal vet cir
3 rs netwa cornet beeen he sente console
are bck ere
‘the documentation othe ac popa.
5 Coors the ving ve bout er and vebRe~
[VMWARE 8657 PRACTICES
You an cee Eo feu machines tout shang
them down wing the lowing procede
| ke st hatıheNehachup DsaCerte sve scone
tri à physica machine ri ven machine ardt
theres network connect between he Netbackup ene
andthe EXSenersece const
2 sl Neck nu dat 22 cnt om the tada
Darter Une CDROM.
3 esureyouhave et apropia promets et
vaware/backuptoole. cont = deca
opera
A un vebMounter 0 rate ca ocho ta
machine
(roctotocathoot WIVINIPPEO]A YelMounter -a naneskPero ++ /wnimages/vintrorobachup
ovwinsppro.tmait (compact 6410)
Toti example jou Bang up a val mating wth he
play name KPPr O1 e decor,
(eminages/winxPProbackp vato segmentos
‘hed tes tatu nes vta machine con
ne fog les ar hed he
$ Inte Net Den admita como pct
ew pay tha pts oat the ES Sere str hos e
virus maine to be baca up
«ete ay quid path the ies of vebMounte
MR in is case
Veminagen/winkPProbackup/HinkPPro/*
7: Sa man back dy Pci the ewrporyouhat
costed,
los neo esto vit machine fom this cap se
Nach to wt he contents of /mimages/winkP-
Probackup her str e val cure by ug the
owe conan
Jminages uinxPprobackup
VMWARE BEST PRACTICES
Backup Off-Londing
Whe each sun machineencapsted na fees hat
arse ac can be ced up fom the EK Sever sevice
‘eos ang sees rote odon the see
Conse and can at prkumanca he production sert 1
| posible to mnie psc onthe production stem by of
‘being capo secre date tems Tasca be
one wth he sap functional of rape ae etwas,
‘ng weer dre or ag bn pot foe
SAN Image
Compte wth te olin ve foma:
+ Wl del alors)
2 ROMs armas)
you vil dk sa ste a SAN youcan se ers
‘upped by your SA wende rte 3 op ly Pod
Seo LU conta vals Tes copes canten be
santo btp meda Sapsettg and epi SAN
volumes oque the we lore app th the SAN
ESX Sener compaite wh ome SAN er app
brota sandte rot. Checkthe spot
raser het upon plano
Using VMware Consolidated Backup
Comps wth he olonng ae mst:
+ Wl dl forms)
Issues to Consider
The flowing sues ned tobe cositas before you decide
ona buch method:
- anyou prod one ot mo ysemst eres descted
cup proves)
+ Doyou wart ok ick fe cour nto?
+ Doyou wart tao the addons Usenet
chaps on pr EX Serve host?
+ Doyeu wart Backup mathe ht dos neg vit
machine downtime?
+ Doyou wnttobe able 1 back up pone vt
machines!
Implementation Steps
1) Setup the backup pony stem I mus use the Windows
Sei 203 oprang stem.
2) Config the backup pony fr acceso he SA on whch
etanche ant bk up ate stored
3) Cong the cup pron fr accesso the tape ive or
‘say youl ew ste you bach
inal be bck agent our bck saltar lie
‘onthebachippoy
Sisal the Corse chp software onthe backup
Berre Vitae ol nated in each the vii
machines you want to backup In an 10 support esa
Ing bad es sath backup ager or your cup
far coke m each of ese vetas.
spec steps ae eq to quese fe or part
‘progam ings vt mane, rte te appropriate
S10 cay ou those sep belo ech backup
Sfolowtheinsnensi te te nase Yrs)
Machine Sap Gade and the documento o our tac
fan pf the bu.
An sample chee sown ingre,
À a =
[VMWARE 8657 PRACTICES
‘Appendix A
vcbMounter and vebRestore Description
Uses posible to spect a optons er vebMounter
and vebRestore win commandline options #1 oh
recommended thi you re he orton fe fete/
‘vewaze/backuptool®. cont 1st the most conan
panels fr these oo,
case sonne pure so Bute sels,
Yeu shuld flow genera ya coments le Bourne
Sho when eng the fle
se the rato at à comment
Donot we spaces when eta able Fr example,
FODe "bar" shoul have no spe turd the equ sig
se Eu eng any spa hat us
5 Foreample, \Sezver
mise om ah Boure sl pt program
ne athe sand Bune sal mechan Shas.
command exciton — fr example," Log" — crue em
Configuration File Settings
Veco feo se up the folowing options
vowost
Species the UM cf the el Center sac hat manages
‘he ES Saner host beng bched up or store VOHOST
‘tout pant ote te Centerinance minagg the
you perm the bah resto operations ona stand:
ne hot une the Jocalhost comer
Yuan set -h coran le opton oxide hs
se
USERNAME
Species he use rae fog ero the Valente instance
‘tne by VEHOST. The ver mast he pesto be
ble easter of cate ea machines
Youcansethe -u commande opton 1 ride hs
sung
Spechsthe pass corespaning1o USERNAME Ts
Open lon out em talco Backup à
orina wy,
Be spehing à para confusion can
Pen ecu male ue hat he sance cons
Pt sd by anyone except an ES Senet admins.
Yuan ete ~pcommandine option reido
tng
VMAMECACHE
The most commen way of eng a tual mace or
sup puposess y ONS rome by 1s ass.
ower ihn you up itu machin fom à ad
alone ES Server ot the ES Senet host can cage the
I aes ory when the via mac powered on nd
rang Me To.
Tobe ait perform backups ft vita machine onthe
sand alone EX Senet hos even when the val machine
Es poned of you shoul marta cache le The cache
fe cod the asf the via naci ech tne
the tal machine sti che up. Tr als ou
orm the ie chap oft tin maca aes
Ses poner sate
Var recommands that youd et hung the eu
ing
Ya anuse he command option for
vebhounter onde st vebRestore
(oes on use sting
TENPDIR
yous wing he secre cop pbs the command
loe tes youcan se ths opt tospeciyatempory
kg pace your val machined
isn space mist have enough ee storage od
(he gest your machines
Tmisseting cannot be vee om he command ne
Backing Up Virtuo! Machines
au can vebMounter to Backup an ere vital
chine nthe ence cols vebMounter center à
sed pit ote vts machine ad egos be
Rapa! à sets, ich canbe ese tert estr
‘he tual machine To tack up the et fe you an se any
He bse hip backup ste
Bar sci pa vit machine uung vebMounter,
emir he flores
+ Whe veta machine to Bek.
Format ent vital machines se he
wor pesca rc an Bach Gu
= Ye oso tocado,
The commande bck tes support fren torpon
plug st eb backup the vital maca o a cal ee
Ton ceba upto a emote decry eg Be For more
ica, se ra aim ita Modine
Bop Gade
VMWARE BEST PRACTICES
Performing Backups
Persio up cern options a des abo ete,
te oo command atthe commande
vebMounter
a <virtual_machine_identitier>
LE <backup_destination>
were
<vixtual_machine_ identifier» saunque
ete of te aline tat raed tobe cd up.
Fo nan on ent vita muctnes ee he section
Feng vital Machnes ow.
<backup_destánat on» species the locaton or
cup ct For ration on hon to spay a bck des
ration se the section Spechng Backup Dstnatns elon
se the olor eames e being up veta machines
Each command mas be entes sng na
ge uns
chin up the vein machine vm company como
‘pelea dreary /aome/ vag /vn37.
vebMounter -a ipadde+vm3?.company.com
== home /wmo/vnaT
Facto up ne venal machine vna7. company. com
tomedirectory /backupe/Vte/vm2 onthe
remote sere backups . company .com ig the wer
vebMounter -a ipaddr;vn3?.company.com
“x acp: //wmwareebackups company -con:
Toackspe/YMs/vn37
Note Tees ro space beten clon and
Poackupe
aci up a tu machine on a are EX Srs
Te vera macs „vis located de Junta]
volumes /vo10/ Greco andis bang backed up tothe
bea dect /home/Vis/vm37.
vermountez
a moref: /vats/volunes-vol0/vm37. vax
“= Thome/we/umT
Identitying Virtual Machines
Te amd ne tud utes an werent sands
1 pacs vrata,
entiying Virtua Machines by DNS Name oP Address
The mos common wa let à ral acne sto
ne ONS ame or? a ont the vial machi.
estee flag command
Apaddy:<DNS name or IP address
For eagle. teeth vital machine va37 +
company. com he Pass 10175 ae ether of
thefotoing commands
spaddr vaa7. company.com
spadde:i0.17.5.12
1dentiyin Vital Machines by BIOS WUD
Yann ta mache bs mera unique
¡des WUD) Us ne long sch ect.
wuidzcuuide
Foc sample:
aid :56447:
'be14138797be
denttying Val Machines by Motel
realy entr and ES Server to bes by
Manage Objet alerce ol) To ett ata
mache by Mote foo hese examples
+ more svm-00027 - Use is frmat when ces
Venter Sere
+ more 248 -setNstomat when aces the EX
Seo ot
caine Mol change eve tne the teeter sere
eo stance o which Cool Bach com
and you hold pot se Mo 1 der veta
chines Hower hen rng shel cpt Bok up
vital maces jou can use Malt ode te vial
chines
Fer example. jou can wea ss ña usos vebvmatane
wth ea such specie to gett of vita
mach aná te proms stom tego produce à
taf those vna machines you wan ota ita
chines oth can ue Nh the errs Ante
Pal our stp can ten al vebMounter on ach of
‘hese Mob to peor the backup opens
Ina cael th wing Mf ter than ote entr
Isto machines doesnt need tobe pases each me
reisen und
denttyng Groups of Vita Machines
Van you need to Ecko a up Fu machines you use
thevebSnapAll command td vebsount er You
ie à space group by ing ele along seach
species
+ poweratateson| oft | suspended
al maces wah especie power sae
2 anys Finds ott mis
+ none: — Does nt fn ty ea macs Yoan se
‘hopin resting paros
jcte-S9b4-fa02-
Feds
[VMWARE 8657 PRACTICES
Displaying irtul Machine liferation
To seach fra parca al machine nd ge formation
stout we weve,
Fotow thee earls
+ vobvatiane -s powerstateson —Ussal
ponce tlic
- vebvatiane 9 any’
racine.
+ vebvasiane -s ipaddr+vn37 company ‚com
Dsl lan bou the sal mac wth the
‘pec des
The flowing the sample carpa you e er wing
bash Avcbiasiame 2
‘nane:vm37 company.com Found WM:
moret:192
name Virtual Machine 37
wuid:S64470a1-Be1e-59b4-Ea02
eL4138797be
Apadde:10.17..32
Specifying Backup Destinations
Yeveantckupavinmachine toa bal ect oro à
remote ane BP.
Backing Upto aLecl Directory
an ci up à tal mace tale deco ou
Spec the path othe decor ar ve he le tarot Ba
de
For erampl.o backup avena machine the cl decoy
ome av you cani one le foi pc
fee
2oone/ 49/37
££20:///n0m0/Me/ve37
Yu dere crane he destaco sueco, ich as
home Van 7, m ance because bc open
ten te Mons ect tht Ins our esti
ten sabre far eagle Jhome, VNS, ha est
fre outa bad proces
Backing Upto aRemote Server
Van cing up a tl mache ta eat sant ou an
we cnespoding sp plugin Use the flowing se
sep: //eusersechost>:<path>
To nome the sep backup ve A ep bse authentic
en ns ce sep wl ro pom your paso
Restoring Virtual Machines
aan vts machine tos oral loco
rather eaten four choc
Restoring Vial Machines to Original Locations
jouet upa confie opto as dect ne
Corinne Fe Setra section above he ai the
on command you nado pusstovebRestore torse
vebRastore -2 <bachup_directory>
Ferefomatn on how to spec backup decay sc
secon Spec Bacup Deion bore
Fotow these examples when sao you visa machines
Fach command mus be etre à ge ie without
cargos.
estoi a ta machine on oca acu decry
ames nome Ys m3
vebregtore -9 /home/VNe/vn37
Besonng a ua machine far he remote sen backup.
Company com dico backups/VMS/va37. ord
vobRestore -s
‘cps //vmwazesbackup. company.com:
Trackupe VAS ma
Note The sn space between the colon (Jard
Poackups
VMWARE BEST PRACTICES
Restoring Virtual Machines to Alternative Locations
Menu ac tes vial machine 9 ca er
an alla, oo fren: SK See as. yo
we the na machine ca le vebMounter ces
tise foro mach bss up The alg te
contas min natos about the ata mache. such
25s pay name ad poner sate at he tne bo.
To beatle tree val machine toanalematıe
cate, lo these eps
he copy ofthe ets mcr cata
See te schon Copying à Catalog Fle below
“inthe coy ofthe cto fl spec te ne sets o
aso ld path and sur pool
Seethesecton Eig Catalog Fe bon
Resor the ra machine wing vebRestore,
See the secon Restong Vial Machines sng an Amate
Glo bon
Copying à Catalog File
en tong tus maine toa catan ther han the
‘gral just by making cop fhe a machines
one.
For example y ed to males copy of he afecte
veut machne n /homa/ YM / a7 Ere he lowing:
<p [tome /is/va37/eataiog
‘/emp/eataiog-vn37
Editing a Catalog File
Inthe copy ofthe ag He you made, ou ned to change
"retomo ens
+ sat — The se ces eto orale
es that compre val mane
+ Felder pu — The vita machines er path des
war teva machine wie paedin the eto
or ey
+ Resa pool Ts hos spect congrio em deter
rine e vl machine ber ah eect 190%
"Dita sure Sed Wen os ve mule
Sx Sa os maras y Vent hs em ao
‘peat e host hatin hei machine
ot: jou change he ame ote vita chine the
lag vebReatore does pick up the nen nme
forthe br std ses te orignal vita machne name
¿peces nte vm te
You ca Change tie name the ia machi Le sng the
Via Ice Cet,
Changing Datostore Poths
The distor phn the alg fle nes wert sore
al eis hat compr wt machine Change date
Pas inte Klingen
+ fek.aces* ‚diskname — namesand icons al
(ik acid th th a mache
+ config. vit Icon forthe i machine ma
Ceabguttionte.
- config. suspendai — atan ore memory
apt ten ben iras machine suspended.
+ config. toga —loaton ore vitalmadines og
fe
by dou ese ets we he ame pth which pos 2
he sa copy onthe same taste sigh recom
‘mendes ht you elon rd he cing he path
The dust pts have he lowing tar.
[<datastore name>} <path_on_datastore>
‘uci obtain if ai do ames om the ato
tere rent os Verner eto yong atthe
fe sem ef your Mouse serie console
under /unfa/volunes,
Changing Folder Paths
The ena matin’ de pt inte cage species
the oder wen he Vene er cuco where the
rtrd tua machin wl be ed
To change the er goth for he ita machine
| edly ds vih ve the itn mache.
runing the flowing commandite see console:
vepuesa
ining thi commandassumes that youre set u
propa areas ons dien te seco
Canton Ft eng: above.
Zune ag ete o att one he or
pas prado bythe command bore
so vafolders
Changing Resource Pools
Te respon e alg termines he
vana maces behav wth spect 1 DES Ds ed
source cba) When ou use mpl SK Server oss
managed Verte, hs em o specs test at
in eval maine
To change the esouce pool setng rhe wa machine
Y Meteor pol which he tal maca wie
‘by weg theoloving command:
vobutil -¢ resourcepoole
using is command asames that ys haver vo
[VMWARE 8657 PRACTICES
prop conan options deeded the secon
Contguaton Fleeting above,
2 ie cata fle sethe resource pool one othe pins
rod bythe command above.
estoi Virtual Machines Using an Alternate Catalog
‘tec oan the stings in the itl mache’ temate
ato ve ths test e wil machine
Toes the vita mache, se the a open o spec the
man ang
For eagle ter vial machine backed vp under
‘none e m3 wing theater caos /Ep/
catalog-vn37, ver:
vebrestore -2 /home /VMs /v=37
a /emp/catalog-vm37
Non interactive Use of vebRestore
By delat vebRestore romps you asin what oo
ve the etre operation detect fe ar aldeas
al machine ated known Viren
ifvebRestore's usedbyasciptina norinencie voy
ice D command In ent to spect he del Behave
Te folowing options ae ale
promt
mts the user asi wt odo belo sean
fes ot conigutons vital machines beady own to
Venen
overwrite
Ones ny esting es ad vn machine contig
tors ron tart ding eto,
keep
Presenes enges and configurations fra machines
wnt ant hot hong tem
abort
Termites the restore operation er detec an exiting
Ae ora atu mache cotas) o
Vente
Appendix B: Using vmkfstools
Te wnktot 001: commandes ou ce and manage
à ads ora VFS on SCS or UN ran ES
Server os oes for soe You ca ho use is command to
mace es sore e WES.
You ust be og nas the oot wer torn the veka
‘rool command
Mos vakEot001 opens can ao be pares
sos the Wa orate Cent Fr tomaten on
ing 01. oe Vastu Cent 12
di storage see he refuser 3 Sever
Canton Gute
Options: Making a Copy ofa Virtua or Raw Disk
<i “importée coxetiles
-4 ~-diskforeat (ran: «devices |
samp <device»]| raw: «devices [thin]
2gbsparse]
is open res à coy ofa vital dk rayos
spect
as anse he -dsutopton othe 4 open Tis sb-
pion species the dk fro copy you cent The
lo dl loma proce.
Spechy am you sre copying te ko aw dese
upping ht setup o vs computty mode.
Speci mp you me copying te ko à device
rapping tht set up opa compat mode pas
thous
Spec aw youre copying the ko aw dese
‘mapping tht set up rr para compa
Speci thin tu ar copying ko aire
ral dk Space equedto ths dis aocatedon demand
3s cppose 1 upon en
Speck 2gbsparse douar coo the dino pase
kt 268 maura exert io Dakin th oma an e
‘ied th Une sed pets
Wen ete the edevices paomete ase e along
format
Imto/devicoo/Aioko /vahbaa:TıL:p
To done he SK Serve dolo es he present
ray e ep command.
VMWARE BEST PRACTICES
Example
vmktotoolo -£ ~/yne/nts.vmdie
/vnto volumes /myWMes/nca omar
Tis example sts coring the coments of it sk
fom the host stem toe ramed nt undk onthe
volume named my HFS You can congue saine
‘oust il dy ang Ines tote vum
colon int long ample,
scsio:0.present = TRUE
scsto:0-fíleame = /vnte/volunes/
myones/na vna
‘Migrating itware Workstation and VMware GSK
Server Virtual Machines
Vos ca us Ve ecu Cent 1 mg vita
rachis ete th Vie Vita or tare GX
Serena yor ESA Ser tem Homes you cause he
vmicfetoola 4 command wip te wal keto
Your ES See tem then atan dik toa new vel
roche you sete ES sere,
To mie ds nd SX Sener vit machines
¡impor Weston or Ser dit jour ER
volumes /nyiMPS/ deco,
the ware sue Gent cet anew it
mache wing the Custom corn option.
en confuso Use an exiting itu sk
nd atch the Moda or GX Server Sek parted.
Glossary
Terminology
naher cones such a the War asc Cen. ta
de mapping maybe deren tr uch as main,
VMS volume ta data mappn.ga em LUN
“mag à fe à ph sk ee’ These mal
cert andre mappng,
The foloing teams se sed nts document or ted docu
aw dik — i volume acces ya vital machine san
tat 1a va di he may may ot be acces
‘trough map le THs as ben epocas ut he no:
ton FOM dees.
aw device — Ary SSI race accesoo a mpeg
fie
Ray LUM — Agia voue loadin a rage are
etek SAN.
Mapping fle — A WS ecos metas uw map
and manage a a deve
Mapping — o txt tem or a ik map
Mapped device — Aran esca money à mapping ie
Metadata fle—Ansponatie.
Company mode pe Sides aces
‘easton ysl ora
References
ROM ae ante Sener Contin Gide
‘yak fatool Mere neu Sener Con
Les
Comparte bap software wor ose 362
Sofware Company Gui