You are on page 1of 35

October 2012

Implementing &
Troubleshooting PVS
Gareth OBrien
2012 Citrix | Confidential Do Not Distribute
Introduction
2
Gareth OBrien, escalation enineer
!nter"ediate to ad#anced $%& 'no(lede ex)ected
2012 Citrix | Confidential Do Not Distribute
Agenda
*
+ $lannin
Database, storae, net(or', far" la,out
+ !nstallin
+ Confiurin
-iles needed for bootin, boot )rocess
+ .roubleshootin
&trea" &er#ice
Console, /0$! and !$C
Implementing PVS
2012 Citrix | Confidential Do Not Distribute
Planning
1
+ $lannin the database confiuration
+ 2ard(are re3uire"ents
Client 4 &er#er considerations
+ Net(or'
+ -ar" la,out considerations
2012 Citrix | Confidential Do Not Distribute
Database
5
+ &i6e of far" deter"ines database ser#er choice
+ -ault tolerance and failo#er
/irrorin
+ dbOffline if all else fails
+ &78 nati#e client needed for "irrorin
+ $er"issions
Dbcreator 4 securityadmin for Confiuration 9i6ard
Db_datareader, db_datawriter 4 execute )er"issions on stored )rocedures
2012 Citrix | Confidential Do Not Distribute
Hardware Requirements
:
+ &u))orted O)eratin s,ste"s
9indo(s &er#er 200* ;2, 200<, 200< ;2
+ /ini"u" s)ec of the $%& ser#er
+ =no(n hard(are issues
htt)>??su))ort@citrix@co"?article?C.A1*1511
+ N!C .ea"in
/a'e sure hard(are is not on abo#e list
!f strea"in doesnt (or' (ith tea", tr, brea' the tea"
$rocessor> *G26
;0/> BGB
N!C> 1GB )er 210 tarets
$rocessor> *G26
;0/> BGB
N!C> 1GB )er 210 tarets
2012 Citrix | Confidential Do Not Distribute
Networ
<
+ Confiure CD$ 4 .C$ $orts
&er#er to ser#er )orts "ust be the sa"e on all ser#ers
.aret de#ice co""unication )orts
+ 5D10E5D*0
&O0$ &er#er
+ 1B*21 4 1B*22
.-.$ 4 .&B
+ 5D 4 5D5D
+ -ire(all "ust be confiured to allo( all these )orts
!f in doubt, allo( 0NF?0NF to test
+ $ort-ast "ust be enabled
2012 Citrix | Confidential Do Not Distribute
Plan the !arm
D
Provisioni
ng
Services
Farm
Site 1
Device
Collection
Device
Collection
Device
Collection
Provisioning
Servers
Provisioning
Servers
Device
Collection
Device
Collection
Site 2
Licens
e
Server
MSSQL
Server
Database
Shared
Storag
e
Installing PVS
2012 Citrix | Confidential Do Not Distribute
Installing PVS
11
+ &er#er installation
!f installin a ne( #ersion of @NG., reboot (hen )ro")ted
&)ecif, the "irror failo#er if a))licable
+ Console installation
Needs $o(er&hell 2@0
!f u)radin, "a'e sure ,ou re"o#e the old #ersion
+ .aret installation
/a'e sure ,ou set the taret to boot fro" net(or' first
!f i"ain fails
+ &tart (ith a #anilla install 4 tr, to i"ae@ ;e"o#e an, tea"s
+ AenCon#ert 4 BN!"ae are other o)tions
"on!iguring PVS
2012 Citrix | Confidential Do Not Distribute
"on!iguring PVS
1*
+ $AG Boot
+ .(o &tae Boot H.&BI
+ Boot $rocess
+ &tores
+ !$C =e,
2012 Citrix | Confidential Do Not Distribute
P#$ %oot
1B
+ /ust confiure D2C$
O)tion 55> !$ of $%& &er#er
O)tion 5:> Na"e of bootstra) Hardb)*2@binI
+ Cses .-.$ $rotocol
+ .-.$ listens on one N!C onl,
Confiure usin c>J)rora" -ilesJcitrixJ)ro#isionin ser#icesJtft)c)l@c)l
+ .-.$ Do(nloads bootstra), 0;DB$*2@B!N
+ Other .-.$ ser#ers can be used
2012 Citrix | Confidential Do Not Distribute
Two Stage %oot &TS%'
11
+ Csed in situations (here D2C$ or $AG cannot be used
+ Cses !&O burned fro" $%& &er#er
+ Cses a boot stra) called tsbbd"@bin
+ 8istens on N!C confiured for strea"in in confiuration (i6ard
Cses )ort 5D5D
+ Cses .(o &tae Boot ser#ice on $%& ser#er
2012 Citrix | Confidential Do Not Distribute
%oot Process
15
+ .aret de#ice either uses D2C$ to obtain an !$ or loads static !$ Hfor .&BI
+ Once it has an !$, it (ill contact the 1
st
loon ser#er s)ecified in the bootstra)
+ .he loon ser#er (ill then create a context for the de#ice, deter"ine (hich
#Dis' the taret is assined and the least loaded ser#er
.his calculation is based on both ;!/& infor"ation and the load infor"ation in the
database
;!/& uses notifier and in#entor, ser#ice to u)date load infor"ation
!f subnet affinit, is enabled, this (ill alter the calculation
+ Once a ser#er has been selected, a strea"in !$ and )ort (ill be )ro#ided
!$ infor"ation (ill be in 2GA, not deci"al
2012 Citrix | Confidential Do Not Distribute
%oot Process &cont'
1:
+ Gxcer)t fro" lo of a taret loin on
2012 Citrix | Confidential Do Not Distribute
%oot Process &cont'
1<
+ 0s strea"in beins, the boot control de#ice HBCDI is do(nloaded
.his )hase is referred to as sinle !?O
+ Once &inle !?O has finished, (e enter the ad"in )hase
BN!&tac' handsha'e
%dis' confiuration Hna"e, "ode, (rite cache t,)eI is re3uested and )ro#ided
.aret de#ice re3uests )ersonalit, strin
+ 2=GFK8OC08K/0C2!NGJ&F&.G/JCurrentControl&etJ&er#icesJBN!&tac'J$ara"eters
E D9O;D GnableGetCo")uterNa"e set to 1
0D infor"ation re3uested
+ /ulti !?O )hase entered
2012 Citrix | Confidential Do Not Distribute
Stores
1D
+ Confiure #Dis' stores
Centralised #s Distributed stores
+ Centralised
9or's (ell in 20 en#iron"ent
8o( storae o#erhead
2ih cost
$otential &0N?&torae issues
+ Distributed
8o( i")le"entation cost
2ih storae o#erhead
Confiuration
+ !$C is the "ethod for co""unication bet(een ser#ers for stores
2012 Citrix | Confidential Do Not Distribute
IP" (e)
20
+ Defines (hich N!C to use for !$C co""unication in a "ulti N!C en#iron"ent
2=GFK8OC08K/0C2!NGJ&oft(areJCitrixJ$ro#isionin&er#icesJ!$CJ
+ ;eKs6 called !$#B0ddress (ith the !$ of the N!C for !$C
+ 9ithout it, stores, re)lication, load balancin etc (ont (or'
+ 0ffects strea" ser#ice
+ /anaer 'e, for /0$! (or's the sa"e (a,
2=GFK8OC08K/0C2!NGJ&O-.90;GJCitrixJ$ro#isionin&er#icesJ/anaer
+ ;e&L called General!net0ddr (ith the !$ of the N!C and )ort
E G 10@1@1@2>5D0D
Troubleshooting PVS
0 "ore structured "ethod of troubleshootin $%&
2012 Citrix | Confidential Do Not Distribute
Troubleshooting PVS
2*
+ &trea" ser#ice troubleshootin
.he basics
.racin
Du")s
8o 0nal,sis
Co""on !ssues
+ &O0$?Console
Cnable to #alidate
Console ti"eouts
2012 Citrix | Confidential Do Not Distribute
Stream Ser*ice %asics
2B
+ .he de#il is in the detail@
Net(or' .o)olo,
2ard(are of taret, ser#er 4 database
&torae t,)e 4 location
9rite cache t,)e
Database location, #ersion, 20
/&!nfo*2
+ Bluescreens
Co""on !"ae
:B
+ 9hat does it "ean
+ Co""on causes
2012 Citrix | Confidential Do Not Distribute
Stream Ser*ice Tracing
21
+ Net(or' traces
9ireshar' trace on the ser#er
.c)du") on the taret
+ /a'e sure ,ou al(a,s use s 0 to not li"it ca)ture si6e
+ $%& 8os
&et to trace le#el
C>J)rora"dataJCitrixJ$ro#isionin &er#icesJ8os
.aret side loin also
+ 0ll los and traces should be ca)ture si"ultaneousl,, (hile the issue is
ha))enin@
2012 Citrix | Confidential Do Not Distribute
Stream Ser*ice Tracing &cont'
25
2012 Citrix | Confidential Do Not Distribute
Stream Ser*ice Tracing &cont'
2:
2012 Citrix | Confidential Do Not Distribute
Stream Ser*ice Tracing &cont'
2<
2012 Citrix | Confidential Do Not Distribute
"rash Dumps
2D
+ !f )ossible, ta'e it in )ri#ate "ode
+ !n 200<, its )ossible to redirect to a non s,ste" dri#e
htt)>??su))ort@citrix@co"?article?C.A12*5B2
Not )ossible on 200*
+ Confiure citrix s,"bols
+ 8i#e debuin can be done, but difficult (ithout s,"bols
Cse li#e debuer to hel) set it u) htt)>??su))ort@citrix@co"?article?C.A1*1DB1
Chec' for BN!stac' bein loaded
+ Mde#node 0 1
On 1@5 chec' for bnns
+ Mndis'd@"ini)orts
2012 Citrix | Confidential Do Not Distribute
"ommon issues
*0
+ !"ain
8et the (i6ard do the (or' for ,ou
+ 0l(a,s re#ert to a clean install as a first ste)
+ !f the (i6ard doesnt (or', )reEcreate the dis' and use xencon#ert
+ BN!"ae can (or' (ell if all else fails
+ Co")uter 0ccount
!s 0D /anae"ent confiured on the #Dis'N !s 0cti#e director, correctl, confiuredN
+ G$O disablin )ass(ord u)date, and )ass(ord ae
+ ;eset the )ass(ord (ithin the $%& console
+ Chec' all rele#ant /icrosoft hotfixes are installed GooleM
+ BNDe#ice 1011 in the e#ent #ie(er unable to neotiate a ne( )ass(ord
+ .race los (ill sho( ,ou the re3uests
2012 Citrix | Confidential Do Not Distribute
Per!ormance
*1
+ -ollo( the best )ractice uide
htt)>??su))ort@citrix@co"?article?C.A12:1BD
htt)>??su))ort@citrix@co"?article?C.A11:*:B
+ !nter"ediate bufferin
Generall, enabled if free s)ace on taret de#ice dis' is reater than #Dis', other(ise
disabled
.olin the state is al(a,s (orth tr,in to see the )erfor"ance i")act
+ Chec' interru)t safe "ode is not enabled
+ Chec' the net(or' (ith a net(or' "onitor
2012 Citrix | Confidential Do Not Distribute
S+AP & "onsole
*2
+ Console ti"eout
.he console ti"eout can be set in the reistr,
+ Cse D9O;D Connection.i"eout in
2=GFK8OC08K/0C2!NGJ&O-.90;GJCitrixJ$ro#isionin&er#ices@ Default #alue is 120s
+ Cant co""unicate (ith other ser#ers
Chec' !$C and "anaer 'e,s
+ 2=GFK8OC08K/0C2!NGJ&O-.90;GJCitrixJ$ro#isionin&er#icesJ!$CJ!$#B0ddress
+ 2=GFK8OC08K/0C2!NGJ&O-.90;GJCitrixJ$ro#isionin&er#icesJ/anaerJGeneral!net0ddr
+ /entioned abo#e
+ 8oad Balancin issues
Chec' the &trea"$rocess 4 !n#entor, los to "a'e sure there are no issues around
;!/&
,uestions-
.or better/ 0i*e better/

You might also like