Browse: Home / 2012 2012 / / July July / / VMWare interview questions and answers – HA (Hi! Availa"ility#
Menu $%i& to 'ontent
•
A"out
•
onta't Me
•
)riva'y )oli'y
•
*a"le o+ ontents
VMware Arena Reserved Space for Virtualization
Menu $%i& to 'ontent
•
Home
•
,ree *ools
•
•
)2V A-M. .$
•
101 , *3$ , VMWA A-M.$
v$&!ere 450 •
v$&!ere 450
•
v$&!ere 656
•
v$&!ere 651
•
•
v$&!ere 650
•
v$&!ere 656 7&rade series
,requently As%ed •
•
•
$8 Version om&arisions 99 •
-i v$&!ere 651 and v$&!ere 656
•
-i "etween $8 and $8i
•
-i $tandard ; -istri"uted $wit'!
•
-i "etween $8 <56 and =50
•
-i "etween $8 =51 and 650
•
-i Venter 656 a&&lian'e and venter on W.ndows
•
-i "etween VM,$< and VM,$6
•
-i "etween ew and 7&arded VM,$ 6
•
-i lone and *em&late
•
Hi! Availa"ility
•
etwor%in
•
VMware ,*
•
>eneral ?;A
-ee&@-ives •
VMware $8
•
v$&!ere -istri"uted $wit'! $eries
•
v$&!ere 656 7&rade $eries
•
Mi'roso+t luster $etu& on VMware
•
vloud -ire'tor $etu& $eries
•
$8*) ommand 3ine
•
Host )roles -ee&@-ive
•
HA $lots al'ulation
•
Video *rainins @Cou*u"e
Advertise wit! us
$ear'!
VMWare interview questions and answers – HA (High Availability) )osted "y Mo!ammed aD' on July 20E 2012 in Hi! Availa"ilityE .nterview questions F 124G0 Views F 2 es&onses What is VMware HA?
As &er VMware -enitionE VMware Hi! Availa"ility (HA# &rovides easy to useE 'ost ee'tive !i! availa"ility +or a&&li'ations runnin in virtual ma'!ines5 .n t!e event o+ server +ailureE ae'ted virtual ma'!ines are automati'ally restarted on ot!er &rodu'tion servers wit! s&are 'a&a'ity Download Now and Complete your End to End P2v Migrations using VMware Arena’s IP2V ADMIN ISO
What is AAM in HA? AAM is t!e 3eato automated availa"ility manaement5 )rior to v$&!ere =51E VMwares HA is a'tually re enineered to wor% wit! VMs wit! t!e !el& o+ 3eatos Automated Availa"ility Manaer (AAM# so+tware5 VMwares venter aent (v&Ka# inter+a'es wit! t!e VMware HA aent w!i'! a'ts as an intermediary to t!e AAM so+tware5 ,rom v$&!ere 650E it uses an aent 'alled ,-MI (,ault -omain Manaer#5 What are pre-requites for HA to work? 15$!ared storae +or t!e VMs runnin in HA 'luster 25ssentials &lusE standardE Advan'edE nter&rise and nter&rise )lus 3 i'ensin <5reate VMHA ena"led luster =5Manaement networ% redundan'y to avoid +requent isolation res&onse in 'ase o+ tem&orary networ% issues (&re+erred not a requirement#
What is maximum number of primary HA hosts in vSphere 4.? MaKimum num"er o+ &rimary HA !ost is 65 VMware HA 'luster '!ooses t!e rst 6 !osts t!at Loins t!e 'luster as &rimary nodes and all ot!ers !osts are automati'ally sele'ted as se'ondary nodes5 How to see the !ist of "rimary no#es in HA $!uster? View t!e lo le named aam'onutillistnodes5loI under /var/lo/vmware/aam usin t!e "elow 'ommand 'at /var/lo/vmware/aam/aam'onutillistnodes5lo
What is the $omman# to restart %Start%Stop HA a&ent in the 'S( host? servi'e vmware@aam restart servi'e vmware@aam sto& servi'e vmware@aam start Where to !o$ate# HA re!ate# !o&s in $ase of troub!eshootin&? /Var/lo/vmware/aam What the basi$ troub!eshootin& steps in $ase of HA a&ent insta!! fai!e# on hosts in HA $!uster? Below ste&s are are ta%en +rom my "lo &osts *rou"les!ootin HA 15 !e'% +or some networ% issues 25 !e'% t!e -$ is 'onured &ro&erly <5 !e'% t!e vmware HA aent status in $8 !ost "y usin "elow 'ommands servi'e vmware@aam status
=5 !e'% t!e networ%s are &ro&erly 'onured and named eKa'tly as ot!er !osts in t!e 'luster5 ot!erwiseE you will et t!e "elow errors w!ile installin or re'onurin HA aent5 65 !e'% HA related &orts are o&en in rewall to allow +or t!e 'ommuni'ation
.n'omin &ort: *)/7-) N0=2@N0=6 utoin &ort: *)/7-) 2060@2260 45 ,irst try to restart /sto&/start t!e vmware HA aent on t!e ae'ted !ost usin t!e "elow 'ommands5 .n addition u 'an also try to restart v&Ka and manaement aent in t!e Host5 servi'e vmware@aam restart servi'e vmware@aam sto& servi'e vmware@aam start O5 i!t li'% t!e ae'ted !ost and 'li'% on e'onure +or VMWare HAI to re@install t!e HA aent t!at &arti'ular !ost5 N5 emove t!e ae'ted !ost +rom t!e 'luster5 emovin $8 !ost +rom t!e 'luster will not "e allowed untill t!at !ost is &ut into maintenan'e mode5 G5Alternative solution +or < ste& isE >oto 'luster settins and un'!e'% t!e vmware HA in to turno t!e HA in t!at 'luster and re@ena"le t!e vmware HA to et t!e aent installed5 105 ,or +urt!er trou"les!ootin E review t!e HA los under /Var/lo/vmware/aam dire'tory5 What is the maximum number of hosts per HA $!uster? MaKimum num"er o+ !osts in t!e HA 'luster is <2 What is Host )so!ation? VMware HA !as a me'!anism to dete't a !ost is isolated +rom rest o+ !osts in t!e 'luster5 W!en t!e $8 !ost loses its a"ility to eK'!ane !eart"eat via manaement networ% "etween t!e ot!er !osts in t!e HA 'lusterE t!at $8 !ost will "e 'onsidered as a .solated5
How Host )so!ation is #ete$te#? .n HA 'lusterE $8 !osts uses !eart"eats to 'ommuni'ate amon ot!er !osts in t!e 'luster5By de+aultE Heart"eat will "e sent every 1 se'ond5 .+ a $8 !ost in t!e 'luster didnt re'eived !eart"eat +or +or 1< se'onds +rom any ot!er !osts in t!e 'lusterE *!e !ost 'onsidered it as isolated and !ost will &in t!e 'onured isolation address(de+ault ateway "y de+ault#5 .+ t!e &in +ailsE VMware HA will eKe'ute t!e Host isolation res&onse What are the #i*erent types iso!ation response avai!ab!e in HA?
"ower o* – All t!e VMs are &owered o E w!en t!e HA dete'ts t!at t!e networ% isolation o''urs Shut #own – All VMs runnin on t!at !ost are s!ut down wit! t!e !el& o+ VMware *oolsE w!en t!e HA dete'ts t!at t!e networ% isolation o''urs5.+ t!e s!utdown via VMWare tools not !a&&ened wit!in 6 minutesE VMs &ower o o&eration will "e eKe'uted5 *!is "e!avior 'an "e '!aned wit! t!e !el& o+ HA advan'ed o&tions5 )lease re+er my )ost on HA Advan'ed 'onuration
+eave powere# on – *!e VMs state remain &owered on or remain un'!anedE w!en t!e HA dete'ts t!at t!e networ% isolation o''urs5 How to a## a##itiona! iso!ation a##ress for re#un#an$y? By de+aultE VMWare HA use to &in de+ault ateway as t!e isolation address i+ it sto&s re'eivin !eart"eat5We 'an add an additional values in 'ase i+ we are usin redundant servi'e 'onsole "ot! "elons to dierent su"net53ets say we 'an add t!e de+ault ateway o+ $1 as rst value and ateway o+ $2 as t!e additional one usin t!e "elow value 15 i!t li'% your HA 'luster 25 >oto to advan'ed o&tions o+ HA
<5 Add t!e line das5isolationaddress1 P 1G2514N5051Q =5 Add t!e line das5isolationaddress2 P 1G2514N5151Q as t!e additional isolation address *o %now more a"out t!e Advan'ed HA &tions What is HA A#mission $ontro!? As &er VMware Availa"ility >uideIE Venter $erver uses admission 'ontrol to ensure t!at suD'ient resour'es are availa"le in a 'luster to &rovide +ailover &rote'tion and to ensure t!at virtual ma'!ine resour'e reservations are res&e'ted5 What are the , types of settin&s avai!ab!e for a#mission $ontro!?
'nab!e: -o not &ower on VMs t!at violate availa"ility 'onstraints isab!e: )ower on VMs t!at violate availa"ility 'onstraints What are the #i*erent types of A#mission $ontro! po!i$y avai!ab!e with VMware HA? *!ere are < dierent ty&es o+ Admission 'ontrol &oli'y availa"le5
Host +ailures 'luster tolerates )er'entae o+ 'luster resour'es reserved as +ail over s&are 'a&a'ity $&e'i+y a +ail over !ost How the Host ai!ures $!uster to!erates a#mission $ontro! po!i$y works?
$ele't t!e maKimum num"er o+ !ost +ailures t!at you 'an aord +or or to uarantee +ail over5 )rior v$&!ere =51E Minimum is 1 and t!e maKimum is =5 .n t!e Host ,ailures 'luster tolerates admission 'ontrol &oli'y E we 'an dene t!e s&e'i' num"er o+ !osts t!at 'an +ail in t!e 'luster and also it ensures t!at t!e suD'ient resour'es remain to +ail over all t!e virtual ma'!ines +rom t!at +ailed !osts to t!e ot!er !osts in 'luster5 VMware Hi! Availa"ility(HA# uses a me'!anism 'alled slots to 'al'ulate "ot! t!e availa"le and required resour'es in t!e 'luster +or a +ailin over virtual ma'!ines +rom a +ailed !ost to ot!er !osts in t!e 'luster5 What is S+/0? As &er VMWares -enitionE A slot is a loi'al re&resentation o+ t!e memory and )7 resour'es t!at satis+y t!e requirements +or any &owered@on virtual ma'!ine in t!e 'luster5I .+ you !ave 'onured reservations at VM levelE .t inRuen'e t!e HA slot 'al'ulation5 Hi!est memory reservation and !i!est )7 reservation o+ t!e VM in your 'luster determines t!e slot siSe +or t!e 'luster5 How the HA S!ots are 1a!$u!ate#? . !ave written a &ost a"out !ow t!e HA slots are 'al'ulated 5 How to 1he$k the HA S!ot information from vSphere 1!ient? li'% on luster $ummary *a" and li'% on Advan'ed untime .n+oI to see t!e t!e detailed HA slots in+ormation5
What is use of Host Monitorin& status in HA $!usterT
3ets ta%e an eKam&leE you are &er+ormin networ% maintenan'e a'tivity on your swit'!es w!i'! 'onne'ts your one o+ t! $8 !ost in HA 'luster5 w!at will !a&&en i+ t!e swit'! 'onne'ted to t!e $8 !ost in HA 'luster is downT .t will not re'eive !eart"eat and also &in to t!e isolation address also +ailed5 soE !ost will t!in% itsel+ as isolated and HA will initiate t!e re"oot o+ virtual ma'!ines on t!e !ost to ot!er !osts in t!e 'luster5 W!y do you need t!is unwanted situation w!ile &er+ormin s'!eduled maintenan'e window5 *o avoid t!e a"ove situation w!en &er+ormin s'!eduled a'tivity w!i'! may 'ause $8 !ost to isolateE remove t!e '!e'% "oK in I na"le Host MonitorinI until you are done wit! t!e networ% maintenan'e a'tivity5 How to Manua!!y #e2ne the HA S!ot si3e? By de+aultE HA slot siSe is determined "y t!e Virtual ma'!ine Hi!est )7 and memory reservation5 .+ no reservation is s&e'ied at t!e VM levelE de+ault slot siSe o+ 264 MHU +or )7 and 0 MB memory over!ead +or AM will "e ta%en as slot siSe5 We 'an 'ontrol t!e HA slot siSe manually "y usin t!e +ollowin values5 *!ere are = o&tions we 'an 'onure at HA advan'ed o&tions related to slot siSe das5slotMem.nMB – MaKimum Bound value +or HA memory slot siSe das5slot&u.nMHS – MaKimum Bound value +or HA )7 slot $iSe das5vmMemoryMinMB – Minimum Bound value +or HA memory slot siSe das5vm&uMinMHS – Minimum Bound value +or HA )7 slot siSe ,or More HA related Advan'ed o&tionsE )lease re+er my "lo &ost How the "er$enta&e of $!uster resour$es reserve# as fai!over spare $apa$ity5 a#mission $ontro! po!i$y works?
.n t!e )er'entae o+ 'luster resour'es reserved as +ailover s&are 'a&a'ity admission 'ontrol &oli'yE We 'an dene t!e s&e'i' &er'entae o+ total 'luster resour'es are reserved +or +ailover5.n 'ontrast to t!e Host ,ailures 'luster tolerates admission 'ontrol &oli'yIE . t will not use slots5 .nstead *!is &oli'y 'al'ulates t!e in t!e way "elow 15.t 'al'ulates t!e *otal resour'e requirement +or all )owered@on Virtual Ma'!ines in t!e 'luster and also 'al'ulates t!e total resour'e availa"le in !ost +or virtual ma'!ines5 25.t 'al'ulates t!e 'urrent )7 and Memory ,ailover 'a&a'ity +or t!e 'a&a'ity5 <5.+ t!e 'urrent )7 and Memory ,ailover 'a&a'ity +or t!e 'luster 'onured +ailover 'a&a'ity (eK 26 X# =5Admission 'ontrol will not allow to &ower on t!e virtual ma'!ine w!i'! violates t!e availa"ility 'onstraints5 How the Spe$ify a fai!over host5 a#mission $ontro! po!i$y works?
.n t!e $&e'i+y a +ailover !ostI admission 'ontrol &oli'yE We 'an dene a s&e'i' !ost as a dedi'ated +ailover !ost5 W!en isolation res&onse is dete'tedE HA attem&ts to restart t!e virtual ma'!ines on t!e s&e'ied +ailover !ost5.n t!is A&&roa'!E dedi'ated +ailover !ist will "e sittin idle wit!out a'tively involvin or not &arti'i&atin in -$ load "alan'in5-$ will not mirate or &ower on &la'ement o+ virtual ma'!ines on t!e dened +ailover !ost5 What is VM Monitorin& status? HA will usually monitors $8 !osts and re"oot t!e virtual ma'!ine in t!e +ailed !osts in t!e ot!er !ost in t!e 'luster in 'ase o+ !ost isolation "ut i need t!e HA to monitors +or Virtual ma'!ine +ailures also5 !ere t!e +eature 'alled VM monitorin status as &art o+ HA settins5VM monitorin restarts t!e virtual ma'!ine i+ t!e vmware tools !eart"eat didnt re'eived wit! t!e s&e'ied time usin Monitorin sensitivity5
.+ you are loo%in +or more VMware interview questions )lease 'li'% .nterview ?uestions5 *!an%s ,or eadinYYY All t!e BestZ
)osted in Hi! Availa"ilityE .nterview questions
Categories $ele't ateory loud om&utin 'om&arisions om&arisions and -ieren'es )7 ADnity -istri"uted swit'! $8 $8 'ommands $8 Version om&arisions $8/$8i and venter 7&rade &at!s $8i $8i6 $8i6 'ommand 3ine e+eren'e esKto& ,ree *ools >eneral ?;A HA $lots Hi! Availa"ility Host )roles .n+ra-o .nterview questions Memory Manaement M$$ etwor%in ,$ oers ; -is'ounts &2v )2V A-M. .$ )at'!in )er+orman'e &owers!ell s'ri&ts )ra'tise Kams )riSe >iveway )rodu't -emos )rodu't eviews -M $e'urity $. sna&s!ots $M) $&lun% $torae $vmotion t'&dum& *ools *o& vBlo Votin *rou"les!ootin 7n'ateoriSed 7&date Manaer VA vA .nstallation $te& By $te& VA)@-A study uide venter 3o .nsi!t venter server vloud Automation enter vloud -ire'tor Veeam Ba'%u& vK&ert vK&ert 201< Video *utorials Virtual Volumes V3A *ain VM *ri'%s VMA vMotion VM*ur"o VMware erti+'ations VMware erti'ations VMware ,* VMware 3a"s VMware $8 VMware $8 .nstallation VMware $8 3a" $etu& VMware )er+orman'e Monitorin VMware tools VMware venter VMware vloud -ire'tor setu& series VMware Wor%station VMworld 201= V$A v$&!ere 6 vs&!ere 651 v$&!ere 656 vs&!ere 656 7&rade series v$&!ere 450 VVls windows N Windows lusterin
•
)o&ular
•
3atest
•
omments
•
Manually Download VMware Tools ISO Image 11061G views / )osted $e&tem"er 1=E 201< •
vSphere 55 ! Download "ree #S$i 55 %icense &eys G0642 views / )osted 'to"er GE 201< •
'(' "ree Tools for VMware )dministrators O4
vSphere 55 ! #S$i 55 "ree version with no more *+ ,R)M hard limit =1611 views / )osted ovem"er 14E 201< •
Difference -etween vSphere 5' and vSphere 55 <021N views / )osted $e&tem"er 6E 201< •
Install #S$i 5' using .S- "lash Drive 266=4 views / )osted June 22E 201<
•
vSphere /( ! vSphere 0lient is Still )live with vSphere /( 111 ,e"ruary 6E 2016 / Mo!ammed aD' •
vSphere /( ! 2"S 3' supported with &er4eros )uthentication and Multipathing ,e"ruary
vSphere /( Difference 4etween vSphere 5(6 5'6 55 and vSphere /( ,e"ruary
vSphere /( 7hat8s 2ew ! Improved and "aster vSphere 7e4 0lient ,e"ruary
vSphere /( ! 7hat8s 2ew in v0enter Server /( ,e"ruary
•
vSphere /( ! 2ew 0onfiguration Ma9imums ,e"ruary
•
v$&!ere 450 vK&ert Blo Arti'les overin W!at[s ewE .nstallationE VV3$E vMotionE We" lient and mu'! mu'! more F VM* Blo @ VMware Blos on v$&!ere 450 ew ,eatures @ W!at isZ\Z] v$&!ere 450 ew ,eaturesZ
•
,a'e"oo%
•
>oole )lus
•
3in%ed.n
•
$$ ,eed
•
*witter
•
Cou*u"e
*!e views eK&ressed !ere are my &ersonal o&inions5 ontent &u"lis!ed !ere does not reRe't t!e views and o&inions o+ VMware5
Recent •
vSphere /( ! vSphere 0lient is Still )live with vSphere /( 111 ,e"ruary 6E 2016 / Mo!ammed aD' •
vSphere /( ! 2"S 3' supported with &er4eros )uthentication and Multipathing ,e"ruary
Popular •
Manually Download VMware Tools ISO Image 11061G views / )osted $e&tem"er 1=E 201< •
vSphere 55 ! Download "ree #S$i 55 %icense &eys G0642 views / )osted 'to"er GE 201<
Checkout My Book
^201= VMwareArena
Menu •
A"out
•
onta't Me
•
)riva'y )oli'y
•
*a"le o+ ontents