You are on page 1of 43

http://cktechgig.blogspot.

in/

Citrix Interview Questions


1) Explain Citrix Logon Process. 2) Purpose of Zone Zone is subset of Far . !t is a grouping of Presentation "er#ers that shares the co %) When would you suggest creating new zones? on $ata Collector

&sers nee' to access the closest application in a geographicall( 'isperse' en#iron ent Presentation "er#er is part of a 'isaster plan that fails o#er to an alternate location )he sa e publishe' applications are hoste' in ultiple *ones ain 'ata center

&ser+specific backen' 'ata is locate' in other locations than the

,) How big a zone can get? !t-s .ust a atter of looking at the traffic patterns. For instance/ 'o (ou 0ant one single 'ata collector up'ating 1111 ser#ers 0hene#er (ou change to the en#iron ent 2one *one)/ or 'o (ou 0ant t0o 'ata collectors to each up'ate onl( 311 ser#ers 2one *one). 3) When would you suggest creating new far ? 4hen (ou 0ant the e ber ser#ers talk to 'ifferent 'atastore 5 like a test en#iron ent6 ake a

7) What is a !ata "tore? )his is the place 0here all the static infor ation are store'. Far configuration infor ation/ Publishe' 8pplication configurations/ "er#er configurations/ "tatic polic( configuration/ 9en8pp a' inistrator accounts/ an' Printer configurations) that all ser#ers can refer. :) How to igrate datastore database fro "Q#$%%% to "Q#$%%& '( How to recover datastore database? ;estore the $< to ne0 ser#er Change f$%)dsn on all ser#ers starting 0ith 'ata collectors ;estart !=8 ser#ice on all ser#ers >) How to find out the datastore database server na e? Exa ine the $"? file 0hich contains the connection 'etails to the 'atabase. C:@Progra Files@Citrix@!n'epen'ent =anage ent 8rchitecture@=F21.'sn )he follo0ing is an exa ple of an =F21.'sn file fro a ser#er connecting to a re ote "AL "er#er instance: BC$<CD $;!EE;F"AL "er#er &!$Fuseraccount 8''ressF=("Gl"er#er/1,%% ?et0orkF$<=""CC? $8)8<8"EF (far 'b 4"!$F=(=f"er#er 8PPFCitrix !=8 "E;EE;F=("Gl"er#er H) How to verify !atastore !* connectivity? )o 'eter ine if a ser#er is co unicating regularl( 0ith the 'ata store/ check the follo0ing registr( ke(:

IJEKLLCC8LL=8CI!?E@"CF)48;E@C!);!9@!=8@$ata"toreFailure)i e

!f the #alue is all *eros/ the =etaFra e ser#er is co 11) How often does the <( 'efault/ e#er( %1

unicating 0ith the 'ata store.

e ber servers chec+ datastore database?

inutes.

11) what happens if datastore connectivity is lost? !f the ser#er loses its connection to the central 'ata store/ there-s no li it to ho0 long it 0ill continue to function. 2!n =etaFra e 9P/ this is li ite' to ,> or H7 hours/ but that 0as because the 'ata store also store license infor ation.) <ut to'a(/ the ser#er can run fore#er fro the LIC an' 0on-t e#en skip a beat if the central connection is lost. !n fact no0 (ou can e#en reboot the ser#er 0hen the central 'ata store is 'o0n/ an' the !=8 ser#ice 0ill start fro the LIC 0ith out an( proble . 2Cl'er #ersions of =etaFra e reGuire' a registr( o'ification to start the !=8 ser#ice fro the LIC.) 12) How will you re ove Citrix server fro the far ? !f the ser#er is unresponsi#e/ re o#e it b( right click on ser#er in the console. For functional ser#er/ re o#e it fro a''/re o#e progra s use CIF8;= co an' 1%) How will you re ove citrix server fro the datastore !*? 4hen citrix is uninstalle' fro the ser#er/ it cleans the entr( fro 'ata store 'atabase. 8''itionall( (ou can run this co entr( fro $atastore $<. $"CIECJ /ser#erna e

an' to re o#e the

1,) How to clean up datastore database? $"CIEJ 0ithout para eters 0ill check for consistenc( an' clean up the 'atabase. /clean para eter can be use' to clean up specific ser#er/application fro the 'atastore but use 0ith caution. 13) How do you troubleshoot printing issues? Check print spooler ser#ice Check printer apping errors in e#ent log Check printer 'ri#er a#ailabilit( n co patibilit( Check printer policies for o#er ri'es 17) Have you configured session printers? )hrough policies. 8'' the printer 'ri#ers first/ ap thee printer an' then assign to user/group 1:) What does secure gateway d%M 1>) What are onitors in ,etscaler? ?etscaler uses onitors to track the status of back en' ser#ers. )hese

onitors can be http/ tcp/ ping etc

1H) What would you do if you see a service down in ,etscaler? )r( pinging the actual ser#er fro netscaler CL! an' #erif( its respon'ing 21) Have you configured ,etscaler? 17) Can you onitor Citrix services through -dge"ight?

1:) How do you configure alerts in -dge"ight? 1>) How any users can you host on .en/pp 0)& vs .en/pp &)%? anage capacity planning?

1H) How do you

21) What are the challenges that you have faced in current environ ent? 21) .1# service is down) What happens?

22) .1# service down on server/ which has 2% applications3 can you access the applications? 2%) What is Citrix .1# service? )he Citrix 9=L ser#er is a co ponent of Citrix 9en8pp an' 9en$esktop that-s use' to enu erates a#ailable resources an' pro#i'e secure tickets for users that to use the 4eb!nterface or Clou'Nate0a(. 9=L ser#ice has t0o functions:

Co

unicating 0ith the 9en8pp far

/ 9en$esktop *ones6 the 9=L broker

Nenerating an' #ali'ating secure ticket to authori*e users/ the "ecure )icket 8uthorit( 2")8)

2,) How to change the port used by .1# service? <( 'efault 9=L ser#ice uses port >1. <ut citrix reco )o change the port use' b( 9=L ser#ice: !n 9en8pp 7 an' abo#e 5 this can be change' #ia Citrix policies. !n Earlier #ersions 5 &se the ctxxmlss co an'+line utilit(. )his can be 'one b( unloa'ing the Citrix 9=L "er#ice 0ith 4u/ changing the port 0ith 4r5port nu ber6 an' restarting the 9=L ser#ice. ctxx lss /u ctxx lss /r>1>1 8n alternati#e etho' is b( changing the port in the registry 2an' restart the Citrix 9=L ser#ice after changing). en's using port >1>1 inor'er to a#oi' conflicts 0ith !!".

Je( :IJL=@"(ste @CurrentControl"et@"er#ices@CtxI))P Ealue: )CP Port )he #alue is liste' in hex/ (ou nee' to change the #ie0 to 'eci al. 23) -xplain Citrix #oad #evels? )he follo0ing are explanations of the loa' le#els: HHHH : ?o loa' balancing installe' 1 to HHH> : Onor alP loa' le#el 11111Q : 8pplication is 'isable' for this ser#er 11111 : Loa' is at 111R 11111 : Cut of licenses 11112 : !n'icates that no !C8 connections/ listener is 'isable'/ are a#ailable on that ser#er. 21111 : Citrix ser#er is unable to reach license ser#er 27)How to recover Citrix #icense "erver? )he Citrix ser#ers can function 0ithout contacting the license ser#er an' it is %1+'a(s fault tolerant/ an' in Enterprise #ersion an alert can be set 0ith ;esource =anager to sen' an e ail in case of License "er#er Connection Failure. !f the license ser#er reconnects at an( ti e in the thirt( 'a(s the proble resol#es itself. !f the ser#er is not going to co e back up/ then the license file/ 'igitall( signe' 0ith the case+sensiti#e hostna e of the ol' license ser#er/ is the critical co ponent. )he license file/ a S.lic file/ can be backe' up to a thu b 'ri#e separatel(/ an' restore' to a ne0 ser#er 0ith the sa e na e of the ol' license ser#er/ an' the Citrix License ser#er soft0are installe'. 2:)How to recover fro I1/ failing? )here are an( reasons that the !=8 "er#ice 'oesn-t start 1. !=8 "er#ice loa' ti e 2. !=8 "er#ice subs(ste %. =issing )e p 'irector( ,. Print spooler ser#ice 3. C$<C configuration 7. ;oa ing Profile

Check the 4in'o0s ;egistr( setting: IJEKLLCC8LL=8CI!?E"CF)48;ECitrix!=8;unti eCurrentl(Loa'ingPlugin !f there is no #alue specifie' in the Currently#oadingPlugin portion of the abo#e 4in'o0s ;egistr( entr( then the !=8 "er#ice coul' not connect to the 'ata store or the local host cache is issing or corrupt. !f a Currentl(Loa'ingPlugin #alue is specifie' the !=8 "er#ice a'e a connection to the 'ata store an' the #alue 'ispla(e' is the na e of the !=8 "er#ice subs(ste that faile' to loa'. !f a' inistrators see an O!=8 "er#ice Faile'P error essage 0ith an error code of $27879:07; 0hen starting the Presentation "er#er the local s(ste account ight be issing a )e p 'irector( 0hich is reGuire' for the !=8 "er#ice to run. Change the !=8 "er#ice startup account to the local a' inistrator an' restart the ser#er. !f the !=8 "er#ice is successful in starting un'er the local a' inistrator account then it is likel( that a issing )e p 'irector( for the local s(ste account is causing the proble . !f the )e p 'irector( is not present then anuall( create one as T)e p. For exa ple: C:@4in'o0s@)e p 8lso #erif( that the )=P an' )E=P s(ste en#iron ent #ariables point to the te porar( 'irector(. ;estart the ser#er to restart the !=8 "er#ice $9< What is new in .en/pp 0)&? "ession Lingering "ession Pre+Launch 8pp Center Loa' E#aluators assigne' to 4orker Nroups or C&s instea' of in'i#i'ual ser#ers $atastore an' Zone infor ation configure' #ia NPC "esssion Cnl( an' Controller roles $esktop $irector 0eb console can anage 9en8pp sessions =ulti"trea !C8 5 ica traffic can be split into four separate )CP strea s if reGuire' Log Cn control feauture to 'rain users Citrix 9enapp !nter#ie0 Auestions 8n' 8ns0ers: 1. What is Citrix XML Service? )he Citrix 9=L "er#ice is use' b( clients connecting o#er the )CP/!PUI))P protocol an' the 4eb !nterface for =etaFra e Presentation "er#er. )he Citrix 9=L "er#ice Port is use' b( the !C8 Client for connection to the Citrix ser#er / publishe' application: 4hen )CP/!P U I))P is selecte' an' (ou specif( ser#ers in the 8''ress List box/ the client co unicates 0ith the Citrix 9=L "er#ice on a specifie' ser#er for Enu eration. 2. How to change the port number? C)99=L"".E9E to change the port nu ber. 3. What s !he Main Concept "# Citrix? =ain concept of citrix is to 'eplo( re ote application to users. $. What are %i##erent Xen app e%itions?

8'#ance'/ enterprise/ platinu . &) ,a e few functions of each edition ? /dvanced edition: basic e'ition/ positioning applications/ getting those application out to users. Planitu -dition: 8''s pass0or' anager/ e'ge site for onitoring citrix ser#er/ pass0or' anager pro#i'es ssl for single sign / pro#i'es access gate0a(/ replacing secure' gate0a( ..8ccess gate0a( being a har'0are 'e#ice/ an' secure' gate0a( being a soft0are 'e#ice. ore functionalit( to xenapp.

-nterprise : 8''s so e

0) What is a citrix xenapp far ? group of xenapp ser#ers/ the( can be co bination of 0eb interface ser#ers/ 0here the 0eb site 0ill allo0 the users to connect into the xen app/ license ser#ers an' xen app ser#ers itself. Far has a single 'ata store. 8) What is a citrix xenapp !ata collector? "tores '(na ic infor ation/ for each of the Zones in a far 'oing/ 0hat applications are being run. 9) What is a citrix xenapp !ata store? stores static infor ation/ far has a single 'ata store/ 'ata store is connecte' b( so e 'ata connection/ like sGl or Cracle. anage a far . 0e 0ill ha#e a 'ata collector. Ex: ho0 an( users are on a ser#er/ 0hat the users are

?ote: 4ith the use for both this 'ata collector an' 'ata store 0e can ;) What is the function of local host cache in citrix?

local host cache/ a#ailable on each ser#er. !ts like a ini 'ata base/ for exa ple if a 9E?8PP ser#er losses its connecti#it( to 'ata store then it 0ill use the infor ation it has in its local host cache. 2%) ,a e few citrix xenapp clients? 1. Progra neighborhoo' agent 2. xen app 0eb plugin ,. xen app plugin for hoste' app 3. 9en8pp plugin for strea app.

%. .a#a clients

22) Prere=uisites for installing xenapp 0)&? )er inal ser#ice role/ 8pplication ser#er role !is role/8 'atabase/ Vre 1.7.1+13 .net fra e 0ork %.3 Eisual .W .net 2.1 /8sp.net Eisual cUU 2113 >.1 sp1. 12. What is the #unction o# citrix xenapp Hoste% apps? Ioste' app is an application that are hoste' in citrix xen app ser#ers an' are accesse' b( clients re otel(. 13. What is the #unction o# Streame% apps? "trea e' apps co es 0ith platinu e'ition an' here the #'isk is pro#isione' b( a pro#isioning ser#er to target 'e#ices

1$. What is the use o# appcompat? easil( o#e application 0ith this app co pat tool kit. =o#e application to xenapp/

search an' ana(li*e/ #irtuali*e an' #ali'ate

1&. 'ame #ew best citrix services? Citrix client net0ork: 0hich aps client 'ri#es an' peripherals/Citrix cpu utilixation /g t/resource onitoring an' reco#er(/Citrix !=8/Citrix licenses g et:

Citrix encr(ption ser#ice/Citrix health

anage ent console e or( opti i*ation

Citrix license/Citrix ls port up'ater ser#ice/Print 4 ser#ice

anger/"ecure gate 0a(/"trea ing ser#ice/Eirtual

1(. )rchitecture o# ica protoco*? !C8: citrix actuall( replace' the ter inal ser#ers ;$P 0ith its o0n protocol calle' !C8. !ca protocol is calle' thin protocol as it can run 0ith #er( lo0 ban'0ith connections/ ica protocol is not transferring the real 'ata back an' forth/ its .ust up'ating screen up'ates an' ouse clicks fro ser#er to client an' client to ser#er. 4ith ica protocol the users can print to there local printers. 1+. 'ame #ew citrix xenapp port numbers? !C8 : 1,H,/!C8 0ith session reliabilit(: 23H>/!=8 co unication: 2312

9enapp a'#ance' console: 231%/)cp bro0sing: 171,/9 l ser#ice port share' 0ith !!": >1 "sl co unication: ,,%/Licenses anage ent console: >1>2

Licenses port: 2:111/9enapp Auestions 0hat is a 'ata storeM )he 'ata store is the 'atabase 0here ser#ers store far static infor ation/ such as configuration infor ation about publishe' applications/ users/ printers/ an' ser#ers. Each ser#er far has a single 'ata store. 0hat is a 'ata collectorM 8 'ata collector is a ser#er that hosts an in+ e or( 'atabase that aintains '(na ic infor ation about the ser#ers in the *one/ such as ser#er loa's/ session status/ publishe' applications/ users connecte'/ an' license usage. $ata collectors recei#e incre ental 'ata up'ates an' Gueries fro ser#ers 0ithin the *one. $ata collectors rela( infor ation to all other 'ata collectors in the far . <( 'efault/ the 'ata collector is configure' on the first ser#er 0hen (ou create the far / an' all other ser#ers configure' 0ith the controller ser#er o'e ha#e eGual rights to beco e the 'ata collector if the 'ata collector fails. 4hen the *one-s 'ata collector fails/ a 'ata collector election occurs an' another ser#er takes o#er the 'ata collector functionalit(. Far s 'eter ine the 'ata collector base' on the election preferences set for a ser#er. 8pplications are t(picall( not publishe' on the 'ata collector. 0hat is the use of *ones 8 *one is a grouping of 9en8pp ser#ers that co unicate 0ith a co on 'ata collector. !n large far s 0ith ultiple *ones/ each *one has a ser#er 'esignate' as its 'ata collector. $ata collectors in far s 0ith ore than one *one function as co unication gate0a(s 0ith the other *one 'ata collectors. 0hat 0ill happen if !=8 fails i# M) service stops the communication between %ata store an% the server not happen. new connections can,t be bro-e% but existing connections wi** remain.

what wi** happen i# %ata store corrupts what is the re.uirement #or insta**ing xenapp(

/uer0 comman% in citrix? .uer0 1appserver 2 ob3ect 2 process 2 session 2 user4 15?4 How %oes Citrix *oa% ba*ancing wor-? 6i##erence between pub*ishe% app*ications an% 7ub*ishe% 6es-tops? 7ros5Cons o# both. Loa% 8va*uators in Citrix? 1. 6e#au*t Loa% 8va*uators 2. )%vance Loa% eva*uators 3. Custom *oa% eva*uators M) port number?How to change M) port? IMA port:-2512...we can change IMA port via "imaport /set" command line or via local registry. "verview an% nterview /uestions on basics o# Citrix What is Citrix? Citri allows yo! to install" p!#lish and manage applications $rom one central location. %hese p!#lished applications can then #e sec!rely access $rom anywhere in the world !sing any client device over any connection &e . 'e# Inter$ace" (rogram )eigh#orhood" and Citri (rogram )eigh#orhood Agent* !sing the Citri ICA client" which re+!ires minimal #andwidth and can virt!ally #e installed on any ,perating -ystem. Some -e0 Citrix 9eatures: ;Map Loca* C*ient 6rives when estab*ishing a connection to an )pp*ication. ;)ccess 7rinters connecte% to the Citrix Server< C*ient Wor-station or 'etwor- 7rinters when connecte% to an )pp*ication. ;Loa% =a*ance )pp*ications across servers ;7ub*ishe% )pp*ications or 6es-top ;Leverage >esource Manager to view Statistica* %ata pertaining to the Citrix 9arm. ;Leverage nsta**ation Manager to %ep*o0 app*ications or hot #ixes to other Citrix Servers in the 9arm. 7rovi%e secure connection using various *eve*s o# encr0ption ?12@ bit< 12@ bit *ogin on*0< &( bit<$A bit or =asic encr0ptionB an% SSL using Secure Catewa0 or SSL >e*a0. 2.'hat is .ata store 6ata store is the p*ace where a** static in$ormation are store% ?i.e 9arm con#iguration in#ormation < 7ub*ishe% )pp*ication %etai*s< Server con#igurations in#o.< 7o*ic0 con#iguration <)%ministrator accounts< an% 7rinter con#igurations %etai*s etc.B 3.'hat is /one .ata Collector0 6ata Co**ector stores a** the dynamic in$ormation *i-e sessions< *oa% an% pub*ishe% app*ications in the servers in their Dones an% communicates the Done in#ormation to the 6ata Co**ectors in other Dones in the #arm. 6ata co**ector is whose M) service ta-es on the a%%itiona* ro*e o# trac-ing a** o# the %0namic in#ormation o# other 7resentation Servers. !his in#ormation is store% in memor0 an% ca**e% as Edynamic storeF. !he %ata store is a %atabase on %is-. !he %0namic store is in#ormation store% in memor0. !o *oo- the contents o# the inGmemor0 %0namic store on the %ata co**ector< use E+!erydsF comman%. /uer06S can be #oun% in the HsupportI%ebugH #o*%er o# 0our 7resentation Server insta**ation source #i*es. !o %etermine which server is acting as the %ata co**ector in the Done run H+!ery $arm /1oneH#rom the comman% *ine $.What is a 9arm? A 2arm is a gro!p o$ Citri servers which provides p!#lished applications to all !sers that can #e managed as a !nit" ena#ling the administrator to con$ig!re $eat!res and settings $or the entire $arm rather than con$ig!ring each server individ!ally. All the servers in the $arm share a single data store .A server $arm is a gro!ping o$ servers r!nning Citri (resentation -erver that can #e manage as

a !nit" similar in principle to a networ3 domain. 'hen designing server $arms" 3eep in mind the goal o$ providing !sers with the $astest possi#le application access while achieving the degree o$ centrali1ed administration and networ3 sec!rity that yo! need. &.What is LHC? %he IMA service r!nning on each (resentation -erver downloads the in$ormation it needs $rom the central data store into a local M.4 data#ase called the local host cache" or 567C.8 &%he location o$ the local host cache is speci$ied via a .-) re$erenced in the registry o$ the (resentation -erver" at 796M : -,2%'A;<:Citri :IMA:67C .ata so!rce:.ata -o!rmce )ame . =0 %e#au*t this is a #i*e ca**e% EImalhc.dsnF an% is store% in the same p*ace as M92A.%sn.B8ach 7resentation Server is smart enough to on*0 %own*oa% in#ormation #rom the %ata store that is re*evant to it< meaning that the *oca* host cache is uni.ue #or ever0 server. Citrix create% the *oca* host cache #or two reasons: 1.7ermits a server to #unction in the absence o# %ata store connectivit0. 2. mproves per#ormance b0 caching in#ormation use% b0 C) C*ients #or enumeration an% app*ication reso*ution. !he LHC is an )ccess %atabase ?Imalhc.md#B store% %e#au*t in the path "=(rogram 2iles>:Citri :Independent Management Architect!reH #o*%er. LHC containe% the #o**owing in#ormation: 1. )** servers in the #arm< an% their basic in#ormation. 2. )** app*ications pub*ishe% within the #arm an% their properties. 3. )** Win%ows networ- %omain trust re*ationships within the #arm.

,. )** in#ormation speci#ic to itse*#. ?pro%uct co%e< S'M7 settings< *icensing in#ormationB
!he LHC is critica* in a C7S environment. n #act< it,s the exc*usive inter#ace o# the %ata store to the *oca* server. !he *oca* server,s M) service on*0 interacts with the LHC. t never contacts the centra* %ata store except when it,s up%ating the LHC. # the server *oses its connection to the centra* %ata store< there,s no *imit to how *ong it wi** continue to #unction. ? n Meta 9rame X7< this is *imite% to $@ or J( hours< but that was because the %ata store a*so store *icense in#ormation.B =ut to%a0< the server can run #orever #rom the LHC an% won,t even s-ip a beat i# the centra* connection is *ost. n #act now 0ou can even reboot the server when the centra* %ata store is %own< an% the M) service wi** start #rom the LHC with out an0 prob*em. ?"*%er versions o# Meta 9rame re.uire% a registr0 mo%i#ication to start the M) service #rom the LHC.B !he LHC #i*e is a*wa0s in use when M) is running< so it,s not possib*e to %e*ete it or an0thing. n theor0 it,s possib*e that this #i*e cou*% become corrupte%< an% i# this happens guess a** sorts o# weir% things cou*% happen to 0our server. # 0ou thin- this is the case in 0our environment< 0ou can stop the M) service an% run the comman% H%smaint recreate*hcH to recreate the *oca* host cache #i*e< a*though honest*0 %on,t thin- this #ixes an0thing ver0 o#ten. Loca* Host Cache is s0nchroniDe% with the 6ata Store b0 the Kone 6ata Co**ector #or ever0 3A minutes an% it can a*so be con#igure% through registr0. ?.7ow to ;e$resh the 6ocal 7ost Cache0 # the M) service is current*0 running but pub*ishe% app*ications %o not appear correct*0 in C) C*ient app*ication browsing< #orce a manua* re#resh o# the *oca* host cache b0 executing dsmaint re$reshlhc #rom a comman% prompt on the a##ecte% server. !his action #orces the *oca* host cache to rea% a** changes imme%iate*0 #rom the %ata store . ) %iscrepanc0 in the *oca* host cache occurs on*0 i# the M) service on a server misses a change event an% is not s0nchroniDe% correct*0 with the %ata store. @.'hat is /one0 Kone is subset o# 9arm. t is a grouping o# 7resentation Servers that shares the common 6ata Co**ector. Kones are ver0 he*p#u* in contro**ing tra##ics. t co**ects %ata #rom member servers an% %istributes changes to a** servers in the #arm. ) Done in the 7resentation Server #arm e*ects a Done %ata co**ector #or the Done an% it is responsib*e to communicates between other K6Cs in the #arm. t is use% to re%irect the users to *east bus0 server. !he K6C maintains a** *oa% an% session in#ormation #or ever0 server in the Done. K6Cs -eep open connections to other K6Cs changes in the member servers o# a Done an% are imme%iate*0 propagate% to the other K6Cs in the #arm. Kone has server members an% one o#

them is K6C ?Kone 6ata Co**ectorsB in each Done. !hese K6Cs communicate between Dones. Kones are ver0 he*p #u** in contro**ing tra##ic. We can move the servers among the Dones an% a#ter moving the servers #rom one Kone to another the servers must be restarte% to get settings an% con#igurations #rom the 6ata Store. A.< plain Citri 6oad 6evels0 We can get Citrix Loa% *eve*s #rom /S8>L8> 5)77 an% /9)>M 5)77 at the comman% prompt .Loa% va*ues can be in between AG1AAAA. !he #o**owing are exp*anations o# the *oa% *eve*s: BBBB: )o *oa% ba*ancing insta**e% <C to BBBA:Enorma*F *oa% *eve* 1CCCCD : )pp*ication is %isab*e% #or this server<<1CCCC: 6oad is at 1AAM 1CCC1: ,!t o# *icenses<1CCC2: Indicates that no C) connections< *istener is %isab*e%< are avai*ab*e on that server. ) #ew other con%itions a*so cause this co%e to be returne%: => # *ogons have been %isab*e% on the server => # the server is out o# swap space G chec- *oa% ba*ancing a%ministration an% change page #i*e #rom 2AJ+1&2 to &AA on the prob*em server. # the app*ication is %isab*e% => # it is an anon0mous app*ication an% no *ogons are *e#t #or anon0mous users =>9or mu*tiGhome% servers< the se*ection #or L)' a%apter is E)** networ- a%apters con#igure% #or this protoco*F instea% o# a speci#ic L)' a%apter =>Chec- the connection *imit on a** *istener ports ? C)< an% >67B because this has been #oun% to a##ect the *oa% ba*ancing parameters an% cause the 1AAA2 *oa% *eve*. => # the connection *imit has been change% #rom Eun*imite%F to E2<F 0ou ma0 not be ab*e to connect to a pub*ishe% app*ication an% wi** get the error message: ECannot connect to the Citrix server. !he Citrix server 0ou have se*ecte% cannot be *ocate%.F =>Nou ma0 a*so %e*ete an% recreate the *isteners #or that protoco* an% reorganiDe the page#i*e. # the servers are bui*t #rom a ghoste% image< it ma0 be necessar0 to %e*ete the page#i*e< recreate the page#i*e< an% reboot the server. B. 'hat are the de$a!lt tests availa#le in 7ealth Monitoring E ;ecovery %ool0 Xen)pp Hea*th Monitoring an% >ecover0 !oo* have the #o**owing %e#au*t tests. 1. Citrix M) Service test<2. Logon Monitor test< 3. !ermina* Service test $. XML Service test Hea*th Monitoring O >ecover0 in the #armGwi%e con#iguration a**ows us to se*ect the maximum percentage o# servers that HM> can exc*u%e #rom *oa% ba*ancing. !he %e#au*t va*ue is 1AM o# server.

1C.'hat is 7ot$i Management and how to con$ig!re -erver ;estart -ched!le0 Hot#ix Management in )ccess Management Conso*e a**ows us to chec- the Hot#ixes insta**e% in the particu*ar server as we** as compare the Hot#ixes with the scope o# server. =ut this too* wi** not automatica**0 intimate or %own*oa% avai*ab*e Hot#ixes #rom the Citrix website. We can con#igure server restarting sche%u*e #or the servers in the Xen)pp #arm. >ightG C*ic- the server an% go to )** !as-. Co to Set restart options an% Set restart sche%u*e. 1C.'hat is the session relia#ility service in 'indows services0 Citrix X!8 Server is the Win%ows service #or session re*iabi*it0.

11. 'hat is Installation Manager0 nsta**ation Manager wi** not be in the part o# Citrix insta**ation setup. t shou*% be %own*oa%e% #rom the Citrix website an% insta**e% separate*0. We nee% to have 7ower She** a*rea%0 insta**e% in the server. nsta** the M component in the wor-station5s0stem 0ou want to manage #rom an% the M uti*it0 in the Xen)pp servers. )#ter insta**ing the we can access it through the Win%ows management conso*e. We can se*ect the share% msi #i*e path #rom where the app*ication to be %ep*o0e% an% the server an% the time o# insta**ation. We can a*so sche%u*e comman%G*ine tas- to insta** exe #i*es or to run some comman%s or .ueries in the servers. 12. 'hat is Con$ig!ration logging0 )%ministrative Con#iguration Logging is the new #eature in Xen)pp &.A an% it can be con#igure% in #armGwi%e properties. We can store a** the a%ministrative changes in the #arm. We can see the *og #rom the >eport Center. We can c*ear *og #rom the #arm properties. We can con#igure to have cre%entia* to c*ear the *og. 1F. 7ow to con$ig!re -ec!re ICA and --6/%-6 connection in GenApp0 !o con#igure Secure C)< Co to )ccess Management Conso*e an% right c*ic- the app*ication an% go to the properties. n the C*ient option se*ect the 8ncr0ption *eve*. !his shou*% be con#igure% both in c*ient an% server si%e. # we use Xen)pp c*ient it wi** automatica**0 se*ect the 8ncr0ption t0pe. # we use 7rogram 'eighbourhoo% we have to se*ect the proper 8ncr0ption t0pe in the c*ient si%e. We can en#orce these properties in the Croup 7o*icies or in Citrix po*ic0 in Xen)pp )%vance% Con#iguration. We can 8nab*e the Secure C) encr0ption an% se*ect the 8ncr0ption Leve*. # we enab*e SSL5!SL connection< we shou*% have insta**e% Citrix SSL >e*a0 an% Server Certi#icate insta**e% in the server. We can con#igure this in Citrix SSL >e*a0 Con#iguration !oo* in Citrix )%ministration. 1H. 7ow to recover Citri 6icense -erver0 !he Citrix servers can #unction without contacting the *icense server an% it is 3AG%a0s #au*t to*erant< an% in 8nterprise version an a*ert can be set with >esource Manager to sen% an emai* in case o# License Server Connection 9ai*ure. # the *icense server reconnects at an0 time in the thirt0 %a0s the prob*em reso*ves itse*#. # the server is not going to come bacup< then the *icense #i*e< %igita**0 signe% with the caseGsensitive hostname o# the o*% *icense server< is the critica* component. !he *icense #i*e< a P.*ic #i*e< can be bac-e% up to a thumb %rive separate*0< an% restore% to a new server with the same name o# the o*% *icense server< an% the Citrix License server so#tware insta**e%. 15.'hat is "Citri -tart!p 6icense" in Citri presentation server license management console0 !he Startup *icense %oes not a##ect the *icense count. t is use% to a**ow Citrix pro%ucts to communicate with the *icense server using a continuous open connection. 8ver0 #ive minutes the *icense server an% the pro%ucts sen% a heartbeat message to each other to veri#0 that the0 are mutua**0 communicating. 1?.7ow to restore the data so!rce to the new server0 !o restore the %ata store to a %i##erent server< or 3ust to move it to a more convenient p*ace on the networ-< the proce%ure is as #o**ows: 1.p*ace the m#2A.m%b Management )rchitectureQ that was bac-e% up in the proper %irector0:C:I7rogram9i*esICitrixI n%epen%ent

2.Create a #i*e %sn to the new %ata storeQ F.>un %smaint con#ig 5user:user 5pw%:passwor% 5%sn:path to %sn on the new %ata store server an% restart M)Q H.>un %smaint #ai*over new %ata store server name on a** the other servers in the #arm an% restart M) !o create a %sn #i*e< go to the contro* pane*< a%ministrative too*s< o# the Citrix server that ho*%s the new %ata store< an% go to E6ata Sources ?"6=CBF. "n the tab mar-e% E#i*e %snF< create anew #i*e< with )ccess $.A %rivers< that is in the same %irector0 as the m%b #i*e is< an% can be name% an0thing< but #or convention shou*% be m#2A.%sn. on the #ina* screen< the actua* %atabase that the %sn #i*e is suppose% to point to must be se*ecte%. Rn%er the se*ect button< high*ight the proper %atabase< ?not the ima*hc.m%b but the m#2A.m%bB an% c*ose the uti*it0. 1@.'hat is Ct 7ide0 7ow to solve Ct 7ide.e e Ca!sing Citri -essionIs to hang on 6ogon0 CtxHi%e.exe is responsib*e #or hi%ing the 6"S win%ow in which RsrLogon.cm% is running.

Wor-aroun%s 1. ;emove Ct 7ide.e e $rom the appset!p 3ey in the registry Jse the registry editor to navigate to the $ollowing val!e: 79<KL6,CA6LMAC7I)<:-,2%'A;<:Microso$t:'indows)%:C!rrentMersion:'inlogon:App-et!p .o!#le Clic3 on the App -et!p val!e and remove the Ct 7ide.e e entry as the e ample shows #elow. )ote that yo!r App -et!p val!e may contain more than the $ollowing e ample. 'indows ;egistry <ditor Mersion ?.CC N79<KL6,CA6LMAC7I)<:-,2%'A;<:Microso$t:'indows)%:C!rrentMersion:'inlogonO "App-et!p"P"Ct 7ide.e e Jsr6ogon.Cmd"cmstart.e e" %he res!lt o$ removing Ct 7ide.e e is that !sers can see !srlogon. cmd r!nning on logon 2. -wap Ct 7ide.e e $or ;!nh.e e ;!nh.e e has #een !sed to hide !srlogon.cmd script $rom the !ser e perience prior to Meta $rame (resentation -erver F.C. It per$orms the same $!nction as Ct 7ide.e e. 2or more in$ormation on r!nh and to download the e ec!ta#le go to: http://thin.msterminalservices.org/r!nh.c$m. .ownload r!nh.e e $rom the a#ove lin3 and place the r!nh.e e in the serverIs systemF2directory. In 'indows registry navigate to the App-et!p 3ey" remove Ct 7ide.e e and replacewith r!nh. ;!nh will now call and hide !srlogon.cmd. 'indows ;egistry <ditor Mersion ?.CC N79<KL6,CA6LMAC7I)<:-,2%'A;<:Microso$t:'indows)%:C!rrentMersion:'inlogonO"App-et!p"P"r!nh Jsr6ogon.Cmd"cmstart.e e" %o ret!rn to the original con$ig!ration navigate to the App-et!p val!e" remove r!nh and addCt 7ide.e e. 1A.'hat is ICA and what is the advantage o$ ICA0 %he Independent Comp!ting Architect!re &ICA* is the comm!nication protocol #y which servers and client devices e change data in a server environment. ICA is optimi1ed to enhance the delivery and per$ormance o$ this e change" even on low-#andwidth connections. %he ICA protocol transports an applicationIs screens $rom the server it is r!nning on to the !serIs client device" and ret!rns the !serIs inp!t to the application on the server. As an application r!ns on a server" Meta 2rame (resentation -erver intercepts the applicationIs display data and !ses the ICA protocol to send this data &on standard networ3 protocols* to the client so$tware r!nning on the !serIs client device. 'hen the !ser types on the 3ey#oard or moves and clic3s the mo!se" the client so$tware sends this data to the application on the server. ICA re+!ires minimal client wor3station capa#ilities and incl!des error detection and recovery" encryption" and data compression. Citri ICA protocol is !sed $or remote application sessions #etween !sers and (resentation servers. %he ICA protocol s!pports %C(/I(" )et4I,-" or I(G/-(G. Citri ICA protocol is responsi#le $or transmitting #ac3gro!nd in$ormation #etween the ICA clients and the (resentation servers" incl!ding the port mappings" drive mappings" print Qo#s" and so!nd. ,nly -ends -creen Jpdates E Mo!se/9ey 4oard -tro3es. ,nly FC R F5 3#/sec &(rinting and 2ile %rans$er increase this* 2at Apps M- %hin Apps (orts !sed #y ICA: 1HBH: ICA (rotocol on %C( &%C( S 7%%(* E 1?CH: ICA (rotocol on J.( . 1B..escri#e /.C <lection (rocess in detail0

Incase /.C is not #e availa#le" another server in the 1one can ta3e over that role. %he process o$ ta3ing the role is called /.C election. -erver Administrators sho!ld choose the /one .ata Collector strategy care$!lly d!ring the $arm design itsel$. 'hen an election needs to occ!r in a 1one" the winner o$ the election is determined #y 1. 7ighest version o$ (resentation -erver $irst 2. 7ighest ran3 &as con$ig!red in the Management Console* F. 7ighest 7ost I. n!m#er &<very server has a !ni+!e I. called 7ost I.*. 'hen the e isting data collector $or /one $ailed !ne pectedly or the comm!nication #etween a mem#er server and the /one .ata Collector $or its 1one $ailed or the comm!nication #etween data collectors $ailed" then the election process #egins in the /one. I$ the server is sh!tdown properly" it triggers the election process #e$ore it goes down. %he servers in the 1one recogni1e the data collector has gone down and starts the election process. %hen the /.C is elected and the mem#er servers send all o$ their in$ormation to the new /.C $or the 1one. In t!rn the new data collector replicates this in$ormation to all other data collectors in the $arm. )ote: %he data collector election process is not dependent on the data store. I$ the datacollector goes down" sessions connected to other servers in the $arm are !na$$ected .%he datacollector election process is triggered a!tomatically witho!t administrative inter$erence .< isting as well as incoming !sers are not a$$ected #y the election process" as a new datacollector is elected almost instantaneo!sly. C:I /uer0H>.exe ------ -howing 7osts $or "1C.22.HH.C" -----7ost 1:---------------------------/one )ame: 1C.22.HH.C 7ost )ame: %<..KC%GC2 Admin (ort: 251F IMA (ort: 2512 7ost I.: HC22 Master ;an3ing: 1Master Mersion: 1 --------------------------------------- -how 7ost ;ecords Completed ------- -----------------------%o see the 7ost I. n!m#er and its version" r!n +!eryhr.e e !tility &with no parameters*.

<ach server in the 1one has a ran3 assigned to it. %he administrator can con$ig!re s!ch that the servers in a 1one can #e ran3ed to ma3e the server as the most desired to serve as the 1one master or /.C. %he ties #etween servers with the same administrative ran3ing are #ro3en #y !sing the 7,-% I.s assigned to the servers. 'hen a (resentation -erver starts or when the IMA service starts" the IMA service starts trying to contact other servers via the IMA protocol on port 2512 !ntil it $inds one thatIs online. 'hen it $inds" it +!eries it to $ind o!t which server is acting as the data collector. %he winner o$ this /one .ata Collector election is determined #y the newest version o$ the IMA service. 'e can control which server will act as data collector #y 3eeping that server the most !p-to-date. 6ata Co**ection 8*ection 7riorit0 'hichever server has the most recent version o$ the IMA -ervice r!nning. &%his may incl!de hot$i es* and the server with the highest pre$erence set in the data store 4asically data collectors and data store are not really related. %he data store holds permanent $arm con$ig!ration in$ormation in a data#ase" and the data collector trac3s dynamic session in$ormation in its ;AM.

In addition to their primary role to provide dynamic $arm in$ormation $or admin consoles or $or incoming connection re+!ests" data collectors also ta3e part in the distri#!tion o$ con$ig!ration changes to (resentation -ervers in the $arm. 'hen we ma3e a changes in a presentation server that change is written to the local host cache o$ whichever server we connected to" and then immediately replicated to the data store. (resentation -erver only loo3s $or changes in the central data store every FC min!tes. 'henever a change is made to the data store" that change is sent to the data collector $or the 1one. %he data collector then distri#!tes that change &via IMA port 2512* to all o$ the servers in its 1one" allowing each server to !pdate its own local host cache accordingly. 2!rthermore" i$ we have more than one 1one" the initial data collector contacts the data collectors in the other 1ones. It sends its change to them" and in t!rn those data collectors $orward the change to all o$ the servers in their 1ones. Coolest part is i$ the change is larger than ?H3" the data collectors donTt send the act!al change o!t to its 1one. Instead they send o!t a noti$ication which ca!ses the servers in the 1one to per$orm an "on demand" sync with the central data store. 7owever itTs rare $or a single change to #e more than ?H3 in si1e. %he data collector election priority settings in the management console (resentation -erver Uava Management Console > ;ight-clic3 on $arm name>(roperties > /ones > highlight server > 5-et <lection (re$erence8 'e can totally control which server is o!r data collector #y man!ally setting the pre$erences in the Uava console. 'e can man!ally con$ig!re $o!r levels o$ /oneTs .ata Collector election pre$erence options Most (re$erred" (re$erred " .e$a!lt (re$erred ")ot (re$erred %he important thing to remem#er is that these pre$erences will #e ignored i$ a newer server is !p $or election. 2A.How Loa% 8va*uator wor-s? V2A;M /6,A. command e ec!ted in a (resentation -erver $arm will display all servers in the $arm along with each serverIs respective load val!e. <ach and every (resentation -erver generates its own 5score8 and sends this in$ormation to the data collector in the respective 1one. %his score will #e a decimal n!m#er #etween C and 1C"CCC" with 1ero representing a 5no load8 sit!ation" and 1C"CCC indicating the partic!lar server is $!lly loaded and is not accepting any more connections. Citri 6oad Management is handled #y load eval!ator and its simply a set o$ r!les that determine a partic!lar serverIs 5score8" or c!rrent load val!e. It is the 5score8 that determine the decisions that distri#!te loads within the server $arm. 6oad eval!ators can #e applied to servers and/or p!#lished applications. I$ any servers in the /one go down then 6oad <val!ators are !sed to overcome the sit!ation. In de$a!lt GenApp installation there are Advanced and .e$a!lt 6oad <val!ators are there.. .e$a!lt 6oad <val!ator incl!des only two r!les" 6oad %hrottling and -erver Jser 6oad. Advanced 6oad <val!ator incl!des $o!r r!les" C(J Jtili1ation" 6oad %hrottling" Memory Js!al and (age -waps.

21.How Kone 7re#erence an% #ai*over con#igure%? /one pre$erence and $ailover can #e con$ig!red $rom (olicies. It is located in Jser 'or3space >Connections in Citri (olicy. Ko! can select the server gro!p in which order the connections are pre$erred. %his is !se$!l when an entire 1one goes down.

22.What is 7re#erre% Loa% =a*ancing? (re$erred 6oad #alancing is the $eat!re in GenApp (latin!m edition " which allows yo! to con$ig!re pre$erence $or the partic!lar !sers to access the applications in the GenApp $arm. 'e can see this in -erver properties in Advanced Management Console. In Memory/C(J>C(J Jtili1ation Management" there will #e the third option called "C(J sharing #ased on ;eso!rce Allotments" %o give more reso!rces to partic!lar application in the server" we can con$ig!re in Application properties>Advanced>6imits and Application important in Access Management Console. -o i$ yo! set the Application importance to 7igh" then when those application is !sed #y the !sers will get more C(J cycles than the !sers accessing other applications

%o give more reso!rces to the !sers" we can con$ig!re it in Citri (olicies in GenApp Advanced Con$ig!ration. %o ena#le it go to the policy properties>-ervice 6evel>-ession Importance>ena#le" and assign pre$erred Importance 6evel &7igh" Medi!m" 6ow*. Application Importance S -ession Importance P ;eso!rce Allotmment.

23.What are the %i##erent !0pes o# Citrix Loa% 8va*uators? 1. C(J Jtili1ation 2. Memory Jtili1ation F. (age -wap H. Application Jser 6oad 5. Conte t -witches ?. .is3 .ata I/, @. .is3 ,perations A. I( ;ange B. (age 2a!lts 1C. -ched!ling 11. -erver Jser 6oad. 2$.How to recover #rom M) #ai*ing? %here are many reasons that the IMA -ervice doesnTt start 1. IMA -ervice load time 2. IMA -ervice s!#system F. Missing %emp directory H. (rint spooler service 5. ,.4C con$ig!ration (. >oaming 7ro#i*e Checthe Win%ows >egistr0 setting:HS8NTL"C)LTM)CH '8S"9!W)>8Citrix M)>untimeCurrent*0Loa%ing7*ugin # there is no va*ue speci#ie% in the C!rrently 6oading (l!gin portion o$ the a#ove 'indows ;egistry entry then the IMA -ervice co!ld not connect to the data store or the local host cache is missing or corr!pt. I$ a C!rrently 6oading (l!gin val!e is speci$ied the IMA -ervice made a connection to the datastore and the val!e displayed is the name o$ the IMA -ervice s!#system that $ailed to load . I$ administrators see an "IMA -ervice 2ailed" error message with an error code o$ 21H@HAF?HB when starting the (resentation -erver the local system acco!nt might #e missing a %emp directory which is re+!ired $or the IMA -ervice to r!n.

Change the IMA -ervice start!p acco!nt to the local administrator and restart the server. I$ the IMA -ervice is s!ccess$!l in starting !nder the local administrator acco!nt then it is li3ely that a missing %emp directory $or the local system acco!nt is ca!sing the pro#lem. I$ the %emp directory is not present then man!ally create one as >%emp. 2or e ample:C::'indows:%emp Also veri$y that the %M( and %<M( system environment varia#les point to the temporary directory. ;estart the server to restart the IMA -ervice. 2&.What is Specia* 9o*%er >e%irection? -pecial 2older ;edirection &-2;* allows $or the a!tomatic redirection o$ server-side -pecial 2olders to their client-side e+!ivalents. 'hen a !ser clic3s on the .oc!ments $older in theirGenApp 5 sessions" the $older that opens will act!ally #e the local .oc!ments $older. 'hen -2;is !sed" all $ile operations will ta3e place in the client-side $older. -2; is only availa#le when GenApp 5 is installed on 'indows -erver 2CCA and also re+!ires GenApp (l!gin version 11&client*. 2(.What is Citrix >esource Manager? Citri ;eso!rce Manager &;M* is a tool that is !sed to manage reso!rces on single or m!ltiple Meta 2rame servers. ;M ena#les the a#ility to collect" display" store" and analy1e data a#o!t system per$ormance" application or process !se" and !ser activity. ;M provides real-time system monitoring" reporting o$ system activity" and #illing reports to charge !sers $or !se o$ reso!rces !sing a s!mmary data#ase.

In GenApp5 ;eso!rce Manager is moved to <dge -ight. 'e cannot connect to ;M-!mmaryreport data#ase $rom GenApp5. 4!t still we can see some o$ the reports $rom;eport Center in Access Management Console. ,ne o$ the important reports is (olicy ;eport. 2+.What is 7rinter termino*og0 in Citrix? An administrator can con$ig!re the $ollowing types o$ printers $or !se in an ICA session: Client local printer ")etwor3 printer "-erver 6ocal printer Client (rinters: %he de$inition o$ a client printer depends on the ICA Client plat$orm. ,n .,--#ased and 'inC< client devices" a client printer is physically connected #y a ca#le to a port on the client device. ,n F2-#it 'indows plat$orms &'indows B " 'indows )%" and 'indows 2CCC*"any printer that is set !p in 'indows &these printers appear in the (rinters $older on the client device* is a client printer. )etwor3 (rinters: (rinters that are connected to print servers and shared on a 'indows networ3 are re$erred to as networ3 printers. In 'indows networ3 environments" !sers can set!p a networ3 printer on their comp!ters i$ they have permission to connect to the print server. 'hen a networ3 printer is set !p $or !se on an individ!al 'indows comp!ter" the printer is a client printer on the client device. 6ocal (rinters: (rinters that are connected directly to Citri servers are local printers within a partic!lar server $arm. %his de$inition incl!des a printer that is connected to the Citri server that hosts a !serIs ICA session" as well as printers that are connected to other Citri servers in the same server $arm. I$ a printer is connected to a Citri server o!tside o$ a server $arm&either the server is not a mem#er o$ a server $arm or is a mem#er o$ a di$$erent server $arm*"the server $arm considers the printer a networ3 printer" not a local printer.

2@.H"w to imp*ement 7o*icies in Citrix? (resentation -erver policies are created #y adding policy r!les. (olicy r!les are #ro3en down into the $ollowing categories: 4andwidth"Client .evices"(rinting -ec!rity" An administrator can apply policies #y $iltering: Client I( address"Jsers and !ser gro!ps"Client names -ervers "Access Control ,nce a policy is created it has to #e prioriti1ed $or e$$ective $!nctioning. 2ollowing options are availa#le $or prioriti1ing a policy Ma3e 7ighest priority "Increase (riority".ecrease (riority"Ma3e 6owest (riority Citri (olicies can #e con$ig!red $rom GenApp Advanced Con$ig!ration Console I$ there are any policies which con$licts to each other" the res!ltant applied policies are the one with higher priority (olicies ,verride 1. Citri (olicy 2. Wro!p (olicy F. ICA -ession -etting H. Jser ,#Qect -etting. Jser 'or3space

2J.What is M)? Independent Management Architect!re &IMA* provides the $ramewor3 $or server comm!nications and is the management $o!ndation $or Meta 2rame (resentation -erver. IMA is a centrali1ed management service comprised o$ a collection o$ core s!#systems that de$ine and control the e ec!tion o$ prod!cts in a server $arm. IMA ena#les servers to #e ar#itrarily gro!ped into server $arms that do not depend on the physical locations o$ the servers or whether the servers are on di$$erent networ3 s!#nets. IMA r!ns on all servers in the $arm. IMA s!#systems comm!nicate thro!gh messages passed #y the IMA -ervice thro!gh de$a!lt %C( ports 2512 and 251F. %he IMA -ervice starts a!tomatically when a server is started. %he IMA -ervice can #e man!ally started or stopped thro!gh the operating system -ervices !tility. IMA can #e de$ined as a -<;MIC<" (;,%,CA6 and as a .A%A-%,;<.

IMA -ervice: IMA -ervice is the central nervo!s system o$ (resentation -ervers. %his service is responsi#le $or Q!st a#o!t everything server-related" incl!ding trac3ing !sers" sessions" applications" licenses" and server load. IMA .ata store: 'hich stores (resentation server con$ig!ration in$ormation" s!ch as p!#lished applications" total licenses" load #alancing con$ig!ration" sec!rity rights" Administrator Acco!nts" (rinter con$ig!ration" etc0 IMA (rotocol: 'hich is !sed $or trans$erring the ever-changing #ac3gro!nd in$ormation #etween (resentation servers" incl!ding server load" c!rrent !sers and connections" and licenses in !se. (orts !sed #y IMA: 2512: Jsed $or -erver to -erver Comm!nication 251F: Jsed $or CMC to .ata store Comm!nication

5 Independent Management Architect!re8 is a term Citri !ses to descri#e the vario!s #ac3-end components that ma3e !p a C(environment. In the real world" IMA consists o$ three components that we act!ally care a#o!t. It is a data#ase &called the 5IMA .ata -tore8* !sed $or storing Citri (resentation server con$ig!ration in$ormation" s!ch as p!#lished applications" load #alancing con$ig!ration" sec!rity rights" policies" printer con$ig!ration" etc. A 'indows service &called the 5IMA -ervice8* that r!ns on every (resentation -erver that handles things li3e server-to-server comm!nication. A protocol &called the 5IMA (rotocol8* $or trans$erring the ever-changing #ac3gro!nd in$ormation #etween (resentation -ervers" incl!ding server load" c!rrent !sers and connections" licenses in !se" etc. In (resentation -erver" the IMA protocol does not replace the ICA protocol. %he ICA protocol is still !sed $or client-to-server !ser sessions. %he IMA protocol is !sed $or server-to-server comm!nication in per$orming $!nctions s!ch as licensing and server load !pdates" all o$ which occ!r 5#ehind the scenes.8 I$ we open IMA data store data#ase with -V6 <nterprise Manager" weTll see it has $o!r ta#les: .A%A%A46< .<6<%<%;AC9<; I).<G%A46< 9<K%A46< IMA data store is not a real relational data#ase. ItIs act!ally an 6.A( data#ase. IMA .ata -tore -i1e 1M4 per server. 'e canIt access the IMA data store directly thro!gh -V6 <nterprise Manager. &technically yo! can" #!t i$ yo! r!n a +!ery yo!Ill get meaningless he res!lts.* I$ we try to edit any o$ the contents o$ the data store directly in the data#ase" it will #e de$initely corr!pt. %hereIs a tool on the (resentation -erver installation C. called 5dsview.8 %here is another tool called 5dsedit8 a 5write-ena#led8 version o$ dsview. 3A.What is RS>L"C"'.cm%? 'henever a !ser logs on to the Citri server" the J-;6,W,).CM. $ile r!ns. %his $ile is located in XsystemrootX/systemF2. It is con$ig!red to r!n a!tomatically when each !ser logs in. %his $ile has two $!nctions: 1.J-;6,W,).CM. creates the ;,,%.;IM< varia#le. %his varia#le is !sed #y the 6ogon -cript to identi$y the !serTs home directory.

2.J-;6,W,).CM. calls J-;6,W)2.CM.. J-;6,W)2.CM. r!ns the application scripts that $i certain applications. 31.How to i%enti#0 Citrix License been consume% b0 a 6evice?

!ser level pro#lems with

6M-%A% command shows a Client 7ardware I." a license has #een assigned to that device. 6mstat is the license administration command shows what licenses are assigned to which client or server. %his !tility is r!n on a license server $rom a command prompt #y #rowsing to :(rogram $iles:Citri :6icensing:6-. %he Y.lic m!st #e present in the :(rogram2iles:Citri :6icensing:My2iles directory that e cl!des the #!ilt-in citri Lstart!p.lic $ile. 6mstat prints in$ormation that it receives $rom the license server #!t does not contact the prod!ct server. -ynta lmstat N-aO N-AO N-c 5licenseL$ile8O ,pen the command prompt and change the directory to :(rogram 2iles:Citri :6icensing:6- %ype: lmstat Ra < ample o!tp!t o$ an lmstat -a command indicating two !ser machines accessing the $arm and cons!ming two !ser license assignments. A Client with 7ardware I. that cons!med a Citri license is shown in he adecimal n!m#er li3e #elow 7ardware I. $or -ession 1 7ardware I. $or -ession 2 ?$@Ac1#d Fa@F@B$?.

32.What are the common*0 use% Citrix comman%s ? dsmaint dsmaint con$ig N/!ser:!sernameO N/pwd:passwordO N/dsn:$ilenameO dsmaint #ac3!p destinationLpath dsmaint $ailover directLserver dsmaint compactd# N/dsO N/lhcO dsmaint migrate NZ /srcdsn:dsn1 /src!ser:!ser1 /srcpwd:pwd1[O NZ/dstdsn:dsn2 /dst!ser:!ser2 /dstpwd:pwd2[O dsmaint p!#lishs+lds Z/!ser: !sername /pwd:password[ dsmaint recover dsmaint recreatelhc dsmaint veri$ylhc

-------------------------------------------------------------------------------------------------------------------driveremap driveremap /drive:M driveremap /! driveremap /nore#oot

driveremap /IM< --------------------------------------------------------------------------------------------------------------------dschec3 dschec3 N,ptionsO N /$!ll \ /cleanO N -ervers \ Apps \ (rinters \ Wro!ps \ M-6icense \ 2olders \ 6icenses O dschec3 /$!ll -ervers N,ptionsO Meri$y/Clean or .elete the server. May #e le$t #lan3. .e$a!lts to all servers. /Clean - Modi$y the data store to correct the errors. /.eleteAll - .elete the server entries $rom the data store. /.eleteM2 - .elete the Meta 2rame -erver entry $rom the data store. /.eleteCom-rv - .elete the Common -erver entry $rom the data store. dschec3 /$!ll Apps N,ptionsO = App)ame> - Meri$y/Clean or .elete the application. May #e le$t #lan3. .e$a!lts to all applications. /Clean - Modi$y the data store to correct the errors. /-erverChec3 - Meri$y that all applications are hosted #y valid servers. /.eleteM2 - .elete the Meta 2rame Application entry $rom the data store. /.eleteComApp - .elete the Common Application entry $rom the data store. dschec3 /$!ll (rinters N,ptionsO /p!rgeLreplications - ;emoves all printer replications $rom the data store. /p!rgeLclientLprinters - ;emoves all Client A!to-Create printers pending deletion $rom the data store. /p!rgeLdrivers - ;emoves all drivers that are not associated with any servers $rom the data store. dschec3 /$!ll Wro!ps N,ptionsO /Clean - ;emoves the gro!p o#Qect. Wro!p )ame is the relative .) $rom the Conte t. /Clean -;emoves the gro!p $rom the parent gro!p. Jse the o!tp!t o$ .-C7<C9.e e W;,J(- /veri$y" $or #oth (arent Wro!p )ame and Wro!p )ame. dschec3 /$!ll M-6icense N,ptionsO /p!rgeLlicenses - ;emoves all Microso$t 6icenses $rom the data store. /list - 6ists all Microso$t 6icenses in the data store. dschec3 /$!ll 2olders /clean - Collapse orphaned $olders in the data store. dschec3 /$!ll 6icenses

/clean - ;emoves all corr!pt licenses $rom the data store. --------------------------------------------------------------------------------------------------------------------altaddr altaddr N/server:servernameO N/set alternateaddress O N/vO altaddr N/server:servernameO N/set adapteraddress alternateaddressO N/vO altaddr N/server:servernameO N/deleteO N/vO altaddr N/server:servernameO N/delete adapteraddressO N/vO --------------------------------------------------------------------------------------------------------------------+!ery +!ery view in$ormation a#o!t server $arms" processes" servers" ICA sessions and !sers +!ery $arm shows the server name" protocol and ip address +!ery $arm /app shows the p!#lished applications +!ery $arm /disc shows the disconnected session data $or the server $arm +!ery $arm /load displays server load in$ormation +!ery !ser displays the c!rrent connections +!eryhr is !sed to display in$o a#o!t the mem#er servers in the $arm. < ec!ting +!eryhr withno parameters lists all servers in the $arm. --------------------------------------------------------------------------------------------------------------------ch$arm is !sed to change the $arm mem#ership o$ a Citri server icaport is !sed to +!ery or change the %C(/I( port n!m#er !sed #y the ICA protocol imaport is !sed to change the IMA port !sed #y the server ct mlss

is !sed to change the GM6 service port ena#lel#

is !sed to re-ena#le the server #ac3 to load #alancing a$ter it $ails twcon$ig con$g!re ICA display settings a!ditlog is !sed to view the report o$ !sers logo$$ and logon activity. 'ith a!ditlog /time wecan get time the !sers spent in the servers. FF.7ow to ;ecreate the 6ocal 7ost Cache0 I$ the IMA service does not start" the ca!se may #e a corr!pt 67C. Meri$y the data store isavaila#le #e$ore #eginning this proced!re. I$ the data store is not availa#le" the IMA service$ails to start !ntil the data store is availa#le. ;ecreating the 6ocal 7ost Cache a$ter a minim!m o$ -(1 has #een installed 1. -top the IMA service. %his can #e done via the command line"net stop imaservice or $romservices. 2. 2rom the command line r!n:dsmaint recreatelhc which renames the e isting 67Cdata#ase" creates a new data#ase and modi$ies the registry 3ey 79<KL6,CA6LMAC7I)<:-,2%'A;<:Citri :IMA:;!ntime:(-;e+!ired 3ey to 1. -ettingthe val!e (-;e+!ired to 1 $orces the server to esta#lish comm!nication with the datastore inorder to pop!late the 6ocal 7ost Cache data#ase. 'hen the IMA service is restarted" the 67C isrecreated with the c!rrent data $rom the data store. F. ;estart the IMA service. %his can #e done via the command line" net start imaservice" or$rom services. ;ecreating the 67C data#ase on servers that do not have a minim!m o$ -(1installed 1. Stop the M) service< i# it is starte%. !his can be %one via the comman% *ine< net stop ima service" or $rom services. 2. Co to M7rogram 9i*esMICitrixI n%epen%ent Management )rchitecture and rename the imalhc.md# to imlhc.md#.#a3 F 6a!nch the ,.4C .ata -o!rce Administrator:] ,n 'indows -erver" choose Control (anel > Administrative %ools > .ata -o!rces &,.4C*. H. -elect the 2ile .-) ta# and #rowse to.(rogram2ilesX:Citri :Independent Management Architect!re. 5. -elect theimalhc.dsn $ile and clic3 Con$ig!re. ?. In the .ata#ase area" clic3 Create. %he )ew .ata#ase dialog #o appears. @. In the .ata#ase )ame #o " type the name imalhc.md# $or the new local host cache data#ase. A. Clic3 ,9 to create the data#ase" and then clic3 ,9 to close the ,.4C .ata -o!rce Administrator B. ,pen regedtF2 and navigate to the registry 3ey: 79<KL6,CA6LMAC7I)<:-,2%'A;<:Citri :IMA:;J)%IM< and modi$y the val!e o$ (-;e+!ired &;<WL.',;.*: C 1 1C. ;estart the IMA service. %his can #e done via the command line"

net start ima service " or $rom services. FH.7ow to disa#le print drivers $rom a!tomatically !pdating the .ata-tore0 'hen a new printer or printer driver was installed on a Meta 2rame server" a s!#stantial amo!nt o$ tra$$ic &in the order o$ A to 1CM4 per second* occ!rred #etween the IMA -ervice and the data store the IMA -ervice was !sing. %his occ!rred #eca!se the IMA -ervice needed to !pdate the Management Console $or Meta 2rame G( with the in$ormation a#o!t the new printer or printer driver" which ca!sed the h!ge amo!nt o$ networ3 tra$$ic. %o resolve this pro#lem" navigate to the $ollowing registry 3ey and change the val!e o$$ .isa#le (rinter 'or3er %hread to 1: 79<KL6,CA6LMAC7I)<:-,2%'A;<:Citri :IMA(rinter %ype: ;<WL.',;. Mal!e: $.isa#le(rinter'or3er%hread P 1 A$ter ma3ing this change to the registry" restart the IMA -ervice $or the change to ta3e e$$ect. 'hen the registry switch is set to 1" the IMA -ervice does not a!tomatically !pdate printer or printer driver in$ormation to the Management Console. Ko! need to !pdate this in$ormation man!ally. %o do this" clic3 (rinter Management in the le$t panel o$ the Management Console and then do!#le-clic3 Jpdate (rinter and .river. )ote: <ns!re the latest M$(rint-s.dll is installed on the server. F5.7ow do I disa#le the Citri Management Console splash screen0 %here are two ways to disa#le the Citri Management Console splash screen: ] Add -nologo to the Ct load.e e command line. 2or e ample" i$ yo! p!#lish ct load as a p!#lished application" edit the p!#lished application and add -nologo to the end o$ the command line. ] I$ yo! r!n the Citri Management Console $rom the tool#ar" open the (rogram2iles:Citri :Administration $older. Create a shortc!t to ct load. ,pen the properties o$ that shortc!t and add -nologo to the end o$ the target #o . Clic3 ,9. Add the shortc!t to the tool#ar.

F?.'hat is licenses a!to-activation 6icense a!to-activation is a #ene$it o$$ered to c!stomers p!rchasing meta 2rameG( prod!ct thro!gh an electronic licensing program with Citri . 6icense a!to-activation removes theneed to activate Meta2rame prod!ct licenses via the Citri Activation -ystem. 'ith license a!to-activation" Meta 2rame G( prod!ct licenses p!rchased thro!gh an electronic licensing program are a!tomatically activated when they are installed on the Meta2rame G( server. F@.7ow to install GenApp client in command prompt and apply policies0 ;!n the GenApp7osted.msi in command prompt "c::>msie ec /a enapphosted.msi" %his will la!nch "Client (ac3ager Installation". 'e can create a pre-con$ig!red client pac3age with the answer $ile $or the +!estions as3ed #y the installer" so that we can have silent installation o$ the client in vario!s systems in the environment. %here is another way to create client installation pac3age. %ype the command "msie ec.e e /I path/GenApp7osted.msi N,ptionsO" %o add Wro!p (olicy to manage the client we need to add the .A.M #y Citri to the e isting Administrative %emplate o$ the Wro!p (olicy Management. %his is availa#le where Citri Clients have #een already installed. It is located in "c::program $iles:Citri :ICAClient:Con$ig!ration:icaclient.adm" 'e can manage Citri Client connectivity #y the 'indows Wro!p (olicy. FA.7ow to change the Citri GM6 -ervice (ort on Meta $rame -ervers 0

Jn-registering the GM6 -ervice 1. ,pen a Command (rompt window and r!n ^ct mlss /!I &%his command will !n-register the Citri GM6 service and mar3 it $or deletion* 2. ;e#oot the server ;egistering the GM6 on a port other than sharing with II1. Jn-register the service !sing the instr!ctions a#ove. 2. ,pen a ^Command (romptI window and r!n ct mlss /rN(ort )!m#erO &)otice that there is no space #etween the switch 5/r8 and the port n!m#er. F. ;e#oot the server or open the service control manager and man!ally start the Citri GM6 -ervice ;egistering the GM6 -ervice to share the port with II- on 'indows -erver 2CCFr!nning II- ?.C 4y de$a!lt when installing II- ?.C" the virt!al -cripts 2older is not created 1. Jn-register the service !sing the instr!ctions a#ove. 2. )avigate to the ^:Inetp!#I $older and create a new $older with the name o$ ^-criptsI F. ,pen the II- Manager MMC -nap-in H. ;ight clic3 on the ^.e$a!lt 'e# -iteI and select )ew \ Mirt!al .irectory_ 5. Clic3 )e t ?. Jnder Alias: type the name ^-criptsI and clic3 )e t @. Jnder (ath: type C::Inetp!#:-cripts and clic3 )e t A. Jnder Allow the $ollowing permissions: ma3e s!re that the $ollowing are selected a. ;ead #. ;!n -cripts &s!ch as A-(* c. < ec!te &s!ch as I-A(I applications or CWI* B. Clic3 )e t and clic3 2inish 1C. ;ight clic3 on the -cripts virt!al directory and go to (roperties 11. Jnder the Mirt!al .irectory ta# ma3e s!re that the < ec!te (ermissions: $ield is set to -cripts and < ec!ta#les 12. Jnder the .irectory -ec!rity ta# clic3 on <dit_ !nder A!thentication and Access Control and ma3e s!re that the <na#le anonymo!s access chec3 #o is chec3ed 1F. )ow copy the $iles ct mlss.t t" clm.dll" wpn#r.dll to the newly create -cripts $older !nder the Inetp!# $older.

)ote: %he $ile ^ct mlss.t tI is located in the ^(rogram 2iles:Citri :-ystemF2I $older and the $iles^clm.dllI and Twpn#r.dllT are located in the ^X-K-%<M;,,%X:-ystemF2I $older I$ Microso$t II- is installed" the administrator o$ the Meta2rame G( installation is given the option to install the Citri GM6 -ervice and share a port with II-. In $act" no separate GM6 service is r!nning. II- serves the GM6 data !sing an I-A(I $ilter named'pn#r.dll located in the :Inetp!#:-cripts $older. %o remove the Citri GM6 -ervice $!nctionality $rom yo!r Meta 2rame server" simply rename or delete the 'pn#r.dll $ile.

,nce the GM6 -ervice port is changed on the Meta$rame -ervers yo! will need to change )2!se or 'I to point to the new port. 3J.)ccess Catewa0 vs. Secure Catewa0 ? Citri -ec!re Wateway provides sec!re access to Citri (resentation -erver $rom the !ntr!sted domain. Citri -ec!re Wateway has evolved into the Citri Access Wateway sol!tions. %he #est thing a#o!t Citri Access Wateway appliance is it is not a 'indows #ased. CAW is a hardened 6in! appliance whereas C-W is installed over a 'indows server. C-W can only pro y ICA tra$$ic" #!t incl!ding that CAW in the .M/ to provide $!ll --6 M() access or more tailored $iltering o$ access to applications and services. CAW <nterprise edition provides 7igh Availa#ility" native end point scans and load #alance #etween several 'I servers. %- Wateway $rom Microso$t is same as Citri -ec!re Wateway that it allows access to internal %erminal -ervers $rom e ternal non tr!sted devices thro!gh --6 Licensing C-W comes as a part o$ (resentation -erver and does not re+!ire any additional licensing. %he CAW !ses conc!rrent !ser licenses that are p!rchased separately to yo!r (resentation -erver licenses. 'e need to p!rchase the CAW hardware as it prohi#its !s $rom r!nning the CAW so$tware on any devices which are not p!rchased $rom Citri . 7resentation Server ntegration (resentation -erver is not integrated into CAW as well as C-W" tho!gh they #oth provide an --6 relay $!nction to (resentation -erver. Jser inter$ace access to p!#lished applications is provided via 'e# Inter$ace &'I* or Advanced Access Control &AAC" a component o$ Access Wateway Advanced <dition*. 'hat the CAW has over the C-W is integration with AAC. AAC ma3es it simple to control what !sers can do in their ICA sessions and what applications are availa#le e ternally. In this sense" itIs easier to manage application access via AAC than it is via CAW and 'I or C-W and 'I alone. ,ther 2eat!res -ec!re Wateway does not o$$er any o$ the #elow advanced $eat!res o$ the Access Wate way s!ch as: --6: this is essentially a 'insoc3 redirector client thatIs improves on an 62%(/I(-ec or ((%(M() #y not relying on ro!tes and !sing --6 only` 'e# Application Access: !sers can access internal we# applications incl!ding integration with -hare(oint -erver` 'e#-#ased 2ile -hare Access: !sers are a#le to access internal $ile shares via a we# #rowser with access to $eat!res s!ch as !ploading $iles control. 'ord" < cel" (ower(oint" Misio and (.2 $iles can also #e viewed directly in the #rowser witho!t the re+!irement $or local applications` 'e#-#ased <-mail: provide !sers integrated access to ,!tloo3 'e# Access or i)otes. Citri also provides a c!stom inter$ace which allows the administrator to de$ine what !sers can do in their session s!ch as downloading attachments. HC.7ow to modi$y the Citri 6icense (ort )!m#er and Mendor .eamon (ort )!m#er 0 4y de$a!lt in 6icense -erver Mersion 11.5 Citri 6icense Manager .eamon comm!nicates over port 2@CCC and the Citri Mendor .aemon r!ns in @2@B. Ko! sho!ld not change this port n!m#er !nless yo! have a $irewall that !ses another port n!m#er" or i$ this n!m#er is already in !se. )ote: In previo!s versions o$ Citri 6icensing" the port on which the Citri vendor daemon comm!nicated changed dynamically. %he Citri 6icensing service chose a new port every time it restarted. %his can #e changed. I$ yo! need to change the port n!m#er" yo! m!st speci$y the new n!m#er in all license $iles on the server and in the $irewall. 4y de$a!lt" no port n!m#er is listed in the license $ile. 'hen the 6icense Manager daemon does not $ind a port n!m#er listed in the license $ile" it !ses port 2@CCC.

Citri recommends that yo! #ac3 !p yo!r license $iles &$iles end with the .lic e tension* #e$ore yo! change any port n!m#ers. 6icense $iles are stored in "C::(rogram2iles:Citri :6icensing:My2iles". Citri 6icense -erver Mersion 11.5 or later provides the 6- (ort Jpdater service that monitors the My2iles directory and replicates the port n!m#ers in the license $iles $or yo! a!tomatically. %o set a static n!m#er $or Citri 6icense Mendor .aemon port 1. 2rom the 'indows -ervices panel" stop the Citri 6icense Management Console service. 2. ,pen the license $ile in notepad.e e and locate the line M<).,; CI%;IG. H. Modi$y the line #y appending the $ollowing: M<).,; CI%;IG optionsP=path to the options $ile> portP=port n!m#er> < ample: M<).,; CI%;IG optionsP"C::(rogram 2iles :Citri :6icensing:My2iles:CI%;IG.opt" portP@B5C 5. -ave the license $ile with a .lic e tension. ?. ;epeat -teps 2 thro!gh 5 $or each license $ile on the license server. @. 2rom the 'indows -ervices panel" restart the Citri 6icense Management Console service and the Citri 6icensing service to ma3e yo!r Citri vendor daemon port n!m#er changes ta3e e$$ect. I$ a %C(/I( port n!m#er is speci$ied on the M<).,; line" the Citri vendor daemon may not restart !ntil all the clients close their connections to the vendor daemon. A. Meri$y that the new Citri vendor daemon port n!m#er is #eing !sed #y loo3ing $or the lines that !se the new port n!m#er in the de#!g log &4y de$a!lt" this $ile is in C::(rogram2iles:Citri :6icensing:6-*. %he lines will #e similar to the $ollowing: F:1F:HA &lmgrd* -tarting vendor daemon at port 2@B5C F:1F:51 &lmgrd* Jsing vendor daemon port 2@B5C speci$ied in license $ile

%o change the 6icense Manager .aemon (ort )!m#er 1. 2rom the 'indows -ervices panel" stop the Citri 6icense Management Console service. 2. Jsing notepad.e e" modi$y the -<;M<; line o$ the license $ile #y adding a port n!m#er a$terthe hostname. 2or e ample :-<;M<; thisLhost 7,-%)AM<Pserver1 2@BCC or -<;M<; thisLhost A)K 2@BCC F. -ave the $ile with a .lic e tension. H. ;epeat -teps 2 and F $or each license $ile on the license server. 5. 2rom the 'indows -ervices panel" restart the Citri 6icense Management Console service and the Citri 6icensing service to ma3e yo!r Citri license manager daemon port n!m#er changes ta3e e$$ect. ?. Meri$y that the new Citri license manager daemon port n!m#er is #eing !sed #y loo3ing $or the line that !ses the new port n!m#er in the de#!g log. %he line will #e similar to the $ollowing: F:1F:HA &lmgrd* lmgrd tcp-port 2@BCC

)ote: .o not restart the services !ntil all license $iles on the license server have the same port n!m#er. I$ the 6icense Manager daemon enco!nters di$$erent port n!m#ers in the license $iles" the license server stops r!nning. %he te t shown a#ove many vary slightly depending on which version o$ Citri 6icensing yo! are r!nning 2rom the Citri 6icense server version 11.5" Citri provides an 6- (ort !tility that yo! can !se to change the port n!m#ers in yo!r $iles. I$ yo! need to change the 6icense -erver port or Mendor .aemon port n!m#ers" r!n the 6icense -erver (ort !tility to enter the new n!m#ers and !pdate the license $iles. 1.At the license server" open a command window and navigate to "C::(rogram2iles:Citri :6icensing:6-". 2.%ype:lsport!til /set /lsport n!m /vendor n!m where n!m is the new port n!m#er. 2or e ample" i$ yo! want to change the vendor daemon n!m#er to 2HCCC" type: lsport!til /set/lsport 2@CCC /vendor 2HCCC F.;estart the Citri 6icensing service. )ote: <ven i$ yo! change only one port n!m#er" yo! m!st speci$y #oth o$ the n!m#ers in the command. %o $ind o!t which port n!m#ers are c!rrently de$ined" type: lsport!til /+!ery.

$1.How to c*one the Xen)pp server? ,ne o$ the many enhancements Citri made in GenApp v? is that cloning a server is now m!ch easier that it was in previo!s versions. 7ereIs a step-#y-step g!ide" with lots o$ screen caps: 1. Install the !pdated GenApp -erver Con$ig!ration %ool. 2. ;!n the GenApp -erver ;ole Manager &-tart R All (rograms R Citri R GenApp -erver ;ole Manager R GenApp -erver ;ole Manager* F. -elect 5<dit Con$ig!ration8 H. -elect 5(repare this server $or imaging and provisioning:8 5. ,n the ne t screen" chec3 5;emove this c!rrent server instance $rom the $arm"8 and then clic3 5)e t8. As the pop-!p tip indicates" this will save !s $rom having to do it man!ally later. %he server will a!tomatically Qoin the $arm when yo! #ring it #ac3 on-line. ?. ,n the ne t screen" clic3 5Apply:8 @. %he server r!ns thro!gh the items that are needed to prepare GenApp $or cloning. %his means that once the new server comes on-line" it will a!tomatically Qoin the $arm that the original server was in. A. 4ac3 at the GenApp -erver ;ole Manager screen" we can choose to re#oot the server &which yo! pro#a#ly donIt want to do Q!st yet*" or simply close the window and proceed with any additional tas3s we may need to per$orm #e$ore cloning" s!ch as -ysprep. B. A$ter we have $inished any additional tas3s" we can sh!t the server down" and clone it content. 'hen yo!r clones come #ac3 online" i$ they have a networ3 connection on the correct I( s!#net" they will a!tomatically Qoin the $arm. 7owever &5gotcha8 alert*" i$ yo! didnIt -ysprep them" they will all try to Qoin the $arm !nder the same machine name R the one yo!r original server had. -o i$ yo! didnIt change the name o$ the server" itIs #est to disconnect it $rom the networ3" change the name and I( address" reconnect to the networ3" Qoin it to the A. .omain" and then re#oot it so it can Qoin the GenApp $arm !sing the correct name. $2.What are %i##erent *oa% eva*uators are avai*ab*e in Citrix 1. .e$a!lt 6oad <val!ators 2. Advance 6oad eval!ators. F. C!stom load eval!ators.

$3. What 0ou wi** chec- when an0 user is not ab*e to *aunch citrix app*ication.

a* 2irst try to la!nch same application $rom Citri server&on which yo! installed and p!#lished* #* %ry to add same application to yo!r I. and try to la!nch c* Chec3 !ser permissions $or that Applications d* Meri$y that latest Citri client so$tware installed at des3top e* Meri$y that !ser is having correct pro y settings to connect to yo!r Citri networ3 &$or remote !sers* $$.What are the %i##erent ports use% in Citrix Citri ICA tra$$ic !ses - 1HBH " client to server 6.A( .irectory- %C( FAB "Citri GM6 service r!ns on ACAC

"Independent Management Architect!re -ervices - %C( 2512" 251F "Management Console &Jsing IMA* - %C( 2512" 251F

6icensing -ervice - %C( 2@CCC" 2@CCB &con$ig!ra#le*

Application re+!ests - %C( GM6 AC" ACAC or HHF &con$ig!ra#le* "Client connections - %C( AC/HHF &con$ig!ra#le* -erver-to-server - %C( GM6 AC/ACAC" HHF &!sing --6 ;elay*.

$&.What is the %i##erence between 2- O 2-3 termina* server *icensing 'indows 2CCC having BC days 'indows 2CCF having 12C days. $(.What is S=C -erver-#ased comp!ting &-4C* is $inally achieving an accepted stat!s as the pre$erred method $or managed access and delivery o$ applications and des3tops. %his is d!e in part" to advances in networ3ing in$rastr!ct!re" as well as in the Microso$t 'indowsa operating system itsel$. $+.What are the %i##erent ports use in Citrix 1HBH: %his port is !sed #y any client !sing the %C( protocol to comm!nicate with the (resentation -erver. Ko! will need to open this port on yo!r $irewall $or in#o!nd connections !nless yo! are !sing some $orm o$ encaps!lation or encryption. Ko! can change the port !sing the ICA(,;% command #!t I $ind it to #e more tro!#le than it is worth. 1?CH: Called the ICA 4rowser port this is a J.( port that can #e !sed #y the (rogram )eigh#o!rhood to en!merate applications. Ko! pro#a#ly won t !se this tho!gh. AC: %his is the de$a!lt port !sed #y the GM6 service and is !sed #y clients who en!merate applications with the %C(S7%%( or GM6 protocol. Ko! will th!s need to open this port on yo!r $irewall $or in#o!nd connections i$ clients will #e !sing it to locate servers. Ko! can change the port easily eno!gh !sing the C%GGM6-- command. HHF: %his is the de$a!lt --6. %he --6 ;elay will !se it to sec!re comm!nications #etween the 'e# Inter$ace and the server $arm. Ko! co!ld also !se it to sec!re client comm!nication to the we# Inter$ace or !se it $or client connections to the (resentation -erver. 5CCC: %he (resentation -erver !ses this port to comm!nicate with the I4M .#2 server hosting the data store. 1521: %his port is !sed to comm!nicate with the ,racle data store. 1HFF: %he port !sed to comm!nicate with a Microso$t -V6 data store. 2512: %his port is !sed $or server to server comm!nication s!ch as when load in$ormation is comm!nicated. %he port !sed to access the data store is saved in the 796M-,2%'A;<CI%;IGIMAIMA(,;% 3ey on the server containing the data store. All other servers !se the port n!m#er saved in 796M-,2%'A;<CI%;IGIMA(--<;M<;(,;% 3ey in the registry to access the data store. 7ave a loo3 at IMA(,;% to see how to change it

251F: %his port is !sed #y the (resentation -erver Console when connection to a server. 7ave a loo3 at IMA(,;% to see how to change it. 25BA: %his is the session relia#ility port n!m#er and needs to #e opened on yo!r $irewall i$ the ICA Clients will #e !sing session relia#ility when comm!nication with the server. 2@CCC and a random port n!m#er: %his is the port !sed $or comm!nication #etween the Citri 6icense server and the (resentation -ervers. ;emem#er that the Citri vendor daemon r!nning on the license server !ses a random port. It trac3s license !sage. (ort 1HBH. %he server will respond to the client on 1HBH and assign it a port n!m#er in the "high port" range &1C2F-?55FH*HHF or AC $or 7ttps or http.

$@.What 0ou wi** chec- when an0 user is not ab*e to *aunch Citrix app*ication? 1* 2irst try to la!nch same application $rom Citri server&on which yo! installed and p!#lished* 2* %ry to add same application to yo!r I. and try to la!nch F* Chec3 !ser permissions $or that Applications H* Meri$y that latest Citri client so$tware installed at des3top 5* Meri$y that !ser is having correct pro y settings to connect to yo!r Citri networ3 &$or remote !sers*. HB.Citri Installation Manager - 'hat is the re+!irement o$ Installation Manager and what 3ind o$ e tension its s!pport Installation Manager is a power$!ll $eat!re in Meta$rame G(e that $acilitates the rapid installation o$ applications and other so$tware components. Installation manager let yo! install applications other so$tware components to any or all availa#le servers in yo!r $arm-attended or !nattended-!sing any meta$rame G( server on the networ3 regardless o$ physical location networ3 connection type or hardware set !p. It s!pports e tensions li3e A.2 M-I and M-(.

PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 1. How %o 0ou repair the M) *oca* host cache? dsmaint recreatelhc $rom cmd promt. 2. Wh0 are Session 7rinters not recommen%e% #or s*ow W)' connections? %he print Qo# is spooled across the 'A) to the Citri server and #ac3 again. It will ca!se an already slow lin3 to #ecome slower. F. 'hat gro!p policy $ile wo!ld yo! edit to add c!stom drive letters $or the p!rpose o$ hiding them $rom !sers when they login to a GenApp server0 Jser Con$ig!ration \ Administrative %emplates \ 'indows < plorer \ "7ide these speci$ied drives in My Comp!ter " and "(revent access to drives $rom My Comp!ter" H. C*ient 7ac-age MS 9i*e G 7ow do yo! create a c!stom ICA client pac3age !sing the M-I $ile $rom the Citri download site0 msie ec /a icaF2p3g.msi %his 'ill r!n the client pac3aging tool. 5. Uava C*ient - A c!stomer has a single Citri GenApp H.5 server with 'I installed on this Citri server. %hey are not r!nning C-W and they do not have a CAW. %he Uava client has #een installed s!ccess$!lly and 'I wor3s %he GM6 (ort is most pro#e#ly not open. (ort AC or ACAC.

?. C7 7rocessing Mo%e - 'hat gro!p policy processing mode is !s!ally con$ig!red on gro!p policies that are applied to GenApp servers0 6oop #ac3 processing @. Citrix Licensing - 7ow the licensing wor3s in Citri and di$$erence in Citri 6icensing version wise a* 2irst there wo!ld #e prod!ct licences s!ch as -tandard/Advanced/<nterprise/(latin!m edition.

#* %hen yo! have to p!rchase the conc!rrent licensees depending on the no o$ !sers this can #e downloaded $rom the we#site .6IC $ile depending on the hostname o$ the server which is case sensitive. @. 7LS G What is 7LS an% wh0 wou*% 0ou use it? J. What is a K6C an% wh0 is it recommen%e% to have a %e%icate% one when there are more than & Xen)pp servers? 1A. What are the conso*e avai*ab*e to manage Citrix server? Citri Management Console Access -!ite 11. What is C) an% what are the a%vantage o# C) ICA - Independent Comp!ting architect!re. it provides #etter compression %ransmits 7igh-level windows display in$ormation 12. C) vs >67 'hy is ICA that m!ch $aster than ;.( 0 'hat is the technological di$$erences #etween thetwo0 ;.( wor3s only !nder %C(/I( while ICA wor3s on many protocols. ICA is a protocol developed #y Citri .;.( is developed #y Microso$t. <ach per$orms the same virt!ali1ation channels to the end !ser clients. 13. Citrix Loa% 8va*uators what are %i##erent *oa% eva*uators are avai*ab*e in Citrix? 1. .e$a!lt 6oad <val!ators 2. Advanced 6oad eval!ators F. C!stom load eval!ators

1H. 7ow to implement (olicies in Citri the Citri policy can #e applied thro!gh Console Management in F levels 1. 2arm 6evel 2. Citri -erver 6evel F. (olicy

1&. What is 7rinter termino*og0 in Citrix? Citri (rinting can #e con$ig!red F ways &types* 1. 6ocal (rinting. 2. )etwor3 (rinting F. Client (rinting

Client (rinter: %he printer connected to the 'or3station E the drivers are installed on the citri server $or printing. )etwor3 (rinter: %he (rinter connected to the print server E the drivers sho!ld #e availa#le on the citri server. 6ocal (rinter: %he printer connected to locally to the citri server E the drivers are installed $or the print operation. 1?. Citri -erver Installation "'hat is the re+!irement $or Citri server installation0 "'indows 2CCF -erver "%erminal -ervices %erminal -ervices 6icenses. ".)<% "II- "www "Citri (.- H.C H.5 Citri 6icenses server "Citri Genapp %ro!#leshooting

7ere are some typical tro!#leshooting scenarios" when dealing with a Citri GenApp environment. %his list does not incl!de every type o$ tro!#leshooting scenario possi#le` however" it can #!ild a good $o!ndation that can #e !sed to tac3le other pro#lems. ]Application -treaming ]-eamless/M!lti-Monitor ]Frd (arty Applications ]C(J -pi3es ].eadloc3s/7angs ].ata#ase ])etwor3 ]4lac3 7ole <$$ect ]GenApp (l!gin &()A* ].e#!gging 7ere are some typical tro!#leshooting scenarios" when dealing with a Citri GenApp environment. %his list does not incl!de every type o$ tro!#leshooting scenario possi#le` however" it can #!ild a good $o!ndation that can #e !sed to tac3le other pro#lems. 1.<nd !ser la!nches app $rom 'I or () Agent 2.;A. $ile is downloaded F.;A. $ile la!nches client Application Isolation <nvironment &AI<* H.;A. $ile instr!cts streaming client to download: ]Mani$est $ile \ AI< r!les \ Application e ec!ta#le \ (re and post e ec!tion scripts 5.-treaming client la!nches e ec!ta#le according to instr!ctions in mani$est $ile and AI< r!les incl!ding pre and post e ec!tion scripts and registers with the ct s# .sys &redirector* ?.Application is availa#le to !ser @.-treaming Client re+!ests additional $iles as re+!ired" chec3ing $irst in the client cache" then i$ necessary" downloading additional $iles $rom the $ile server

-eamless/M!lti-Monitor M!lti-Monitor ]An optional component ]Client provides a monitor layo!t via thinwire channel which is shared #y all process loading mmhoo3.dll via shared memory ]'or3 area change is always posted to host. %his co!ld #e d!e to change in wor3 area o$ the e isting area or change in virt!al screen si1e d!e to addition /deletion o$ monitors. ]A(I hoo3s are controlled #y $lags and can #e c!stomi1ed per process. ;e$er to C%G115?F@ $or vario!s con$ig!ration options Frd (arty Applications ]6everage the Wlo#al 2lags $or !ser-mode applications !sing the W$lags !tility ]-et Frd party application to r!n !nder Image 2ile < ec!tions ]Con$ig!re a de#!gger to invo3e the application &s!ch as 'in.#g* ]'hen the application la!nches" the de#!gger will a!tomatically attach to the process and halt its e ec!tionD ]%his gives the opport!nity to e plore all application threads $rom process initiali1ation &bY3#* ]2rom here the internals o$ the application can #e !nderstood at the )ative 'indows A(I level &i.e. 'hich 'indows A(ITs are #eing !sed* .ata#ase Always 3eep an !pdated W,,. #ac3!p o$ yo!r .ata -toreDDD %ro!#leshooting ]-V6 (ro$iler &Microso$t -V6 -erver*

]<vent 6ogs ]A(I spy !tility &%race(l!s* ])etstat ].-Chec3 &always !se the latest version availa#leDDD* -low logons : ]Jnderstand the logon process and Identi$y the slowdownD ]Malidate via networ3 trace that the connection #etween server to client is good ]I$ the connection ma3es it to the server" chec3 which processes e ist ]Jse %as3Manager and sort #y session I. ]Wather !serd!mps $or each process $or the slow session to try to identi$y any synchroni1ation pro#lems" s!ch as 6(C and A6(C wait chain conditions ]<ns!re %erminal -ervices is r!nning &svchost.e e* and that the thread co!nt appears normal ]<ns!re critical Citri processes are o3ay" s!ch as IMA" Cp-vc and GM6 )etwor3

]Always trace #oth ends o$ the connection ]Misio topology diagram ])etwor3 tracing &)etMon" 'ireshar3* ]'insoc3 tracing &%race(l!s* ])etstat &port stat!s* ]2or session disconnects" loo3 $or the ;-% $lag #eing set in trace and chec3 devices in #etween ]Consider c!rrent -ession ;elia#ility or ICA 3eep-alive settings" and any potential impact ---------------------------------------------------------------------------------]-ync (ac3et &-K)* -tart o$ %C( session. %hree way handsha3e &-yn" -yn-Ac3" Ac3*. ICA session initialisation pac3ets are transmitted ne t. ];eset (ac3et &;-%* -omething has gone wrong" %C( session $ailed" !nhandled clos!re o$ session. ]2inish (ac3et &2I)* -ession is #een closed in a handled manner. ](!sh (ac3et &(-7* .ata is #een sent to receiving process directly.

]Ac3 (ac3et &AC9* (ac3et was received s!ccess$!lly #y the remote device

Citrix Configuring >CP Ports


Communicati 6e#au* on t port .elivery 1F5 -ervices Console/Acces s Management Console Citri ;elay Citri -ervice --6 HHF )ot con$ig!ra#le Con#iguration

-ee Using the SSL Relay with the Microsoft Internet Information Server (IIS)

GM6 AC

-ee Installing and Configuring XenA

Client-to1?CH server &directed J.(* ICA sessions 1HBH &clients to servers* 6icense Management Console ACA2

)ot con$ig!ra#le

-ee XenA command

Command Reference $or in$ormation a#o!t !sing the ICA(,;%

-ee Licensing !our "roduct

-erver to 2@CCC In the console" open the $arm or server properties page" and select 6icense license server -erver -erver to Microso$t -V6 -erver or ,racle server 1FB" -ee the doc!mentation $or the data#ase so$tware 1HFF" or HHF $or M--V6

Communicati 6e#au* on t port -erver server to 2512 -ee XenA command

Con#iguration

Command Reference $or in$ormation a#o!t !sing the IMA(,;%

1* .e$a!lt ICA port n!m#er0 Citri Independent Comp!ting Architect!re &ICA* protocol is a networ3ing protocol that r!ns over %C(/I( !sing registered port 1HBH. 7owever" some $irewalls are not precon$ig!red with details o$ the ICA protocol. Con$ig!ration $or the ICA protocol is straight$orward. %he ICA protocol is similar to the %<6)<% protocol. It !ses a single port at the Meta2rame server. %he de$a!lt port is 1HBH` yo! can change the port n!m#er !sing the ICA(,;% !tility. 2*. what is .ata -tore0 It contains in$ormation a#o!t %he data store provides a repository o$ persistent in$ormation a#o!t the $arm that <ach server can re$erence" incl!ding the $ollowing: ] 2arm con$ig!ration in$ormation ] (!#lished application con$ig!rations ] -erver con$ig!rations ] Meta2rame administrator acco!nts ] (rinter con$ig!rations ] %r!st relationships F* 'hat is .ata store0 2or each server $arm" yo! need a data#ase called a data store. Citri (resentation -erver !ses the data store to centrali1e con$ig!ration in$ormation $or a server 2arm in one location. %he data store maintains in$ormation a#o!t the servers" applications" and administrators in the server $arm. Jsing a data store ens!res a scala#le and $le i#le system $or managing yo!r servers. H* 7ow to chec3 the data store is !p or not/ 73lm:so$tware:citri :IMA:r!ntime ;ighhand side val!e is there it means the connections is thro!gh )e t method 0 5* 'hat is 67C &6ocal 7ost Cache* A s!#set o$ data store in$ormation" the local host cache" e ists on each server in the $arm" providing each mem#er server with +!ic3 access to data store in$ormation. %he local host cache also provides red!ndancy o$ the data store in$ormation" i$ $or e ample" a server in the $arm loses connectivity to the data store. 'hen a change is made to the $armIs data store" a noti$ication to !pdate the local host cache is sent to all the servers in the $arm. 7owever" it is possi#le that some servers will miss an !pdate #eca!se o$ networ3 pro#lems. Mem#er servers periodically +!ery the data store to determine i$ changes were made since the serverIs local host cache was last !pdated. I$ changes were made" the server re+!ests the changed in$ormation. ?* 'hat is IMA0 Independent Management Architect!re &IMA* itIs a -ervice Independent Management Architect!re &IMA* provides the $ramewor3 $or server Comm!nications and is the management $o!ndation $or Meta2rame (resentation -erver. IMA is a centrali1ed management service comprised o$ a collection o$ core -!#systems that de$ine and control the e ec!tion o$ prod!cts in a server $arm. IMA ena#les servers to #e ar#itrarily gro!ped into server $arms that do not depend on the physical locations o$ the servers or whether the servers are on di$$erent networ3 s!#nets. IMA r!ns on all servers in the $arm. IMA s!#systems comm!nicate thro!gh messages passed #y the IMA -ervice thro!gh de$a!lt %C( ports 2512 and 251F. %he IMA -ervice starts a!tomatically when a server is started. %he IMA -ervice can #e man!ally started or stopped thro!gh the operating system -ervices !tility. @* (!rpose o$ the .ata Collector / /one .ata Collectors:/one data collectors are comm!nication gateways #etween 1ones in $arms that have more than one 1one. /one data collectors comm!nicate in$ormation !sed #y Meta2rame (resentation -erver to list availa#le applications $or !sers and" when !sers open an application" to locate the most appropriate server on which to r!n the application 'hen resolving a !serIs application re+!est to the

least-loaded server in the $arm" a 1one data collector +!eries the other 1one data collectors $or the in$ormation it needs to identi$y the server with the lightest load. A* Con$ig!ring /ones and .ata Collectors A 1one data collector is a server that manages dynamic in$ormation a#o!t the servers in the 1one. <ach $arm has at least one 1one. /ones are designed to enhance the per$ormance o$ a $arm #y allowing Weographically related servers to #e gro!ped together" whether they are connected to the same networ3 s!#net or not. B* 'hat is -peed -creen0 Citri has long tal3ed !p 5-peed-creen 6atency ;ed!ction8 &or 5-6;8 $or short* Citri Is -peed-creen 6atency ;ed!ction does two things. 2irstly" &and most importantly*" it provides something called 5local te t echo.8 6ocal te t echo allows characters to appear on the ICA client deviceIs screen the instant a !ser p!shes the 3ey on their 3ey#oard. 1C* Jsing a ;AI. <nvironment %his section descri#es $actors to consider i$ yo! are thin3ing a#o!t p!tting the $armIs data store in a ;ed!ndant Array o$ Independent .is3s &;AI.* environment. -ee the ta#le #elow $or in$ormation a#o!t cost" per$ormance" and $a!lt tolerance related to $o!r di$$erent ;AI. con$ig!rations. ;AI. C ;AI. C has no red!ndancy. It is 5striped"8 which means that data is divided into #loc3s spanning m!ltiple dis3s. ;AI. C has m!ltiple act!ators &read/write mechanisms* #eca!se o$ the m!ltiple dis3 !se. More act!ators improve read and write per$ormance. Citri does not recommend the !se o$ ;AI. C $or critical data" s!ch as a server $armIs data store. %he savings reali1ed $rom p!rchasing $ewer dis3s does not typically ma3e !p $or the costs res!lting $rom downtime and s!pport. ;AI. 1 ;AI. 1 !ses $!lly red!ndant dis3 mirroring. 'ith dis3 mirroring" a complete copy o$ one drive is maintained on another drive. ;AI. 1 provides high $a!lt tolerance and can improve read per$ormance. 7owever" ;AI. 1 writes the data twice" which can degrade write per$ormance in single dis3/controller environments. In addition" this type o$ red!ndancy re+!ires twice the dis3 space. ;AI. 5 6i3e ;AI. C" ;AI. 5 is striped. 7owever" #eca!se ;AI. 5 adds parity to the data striping" it incl!des $a!lt tolerance. I$ one dis3 in a ;AI. 5 gro!p $ails" the logical dis3 contin!es to $!nction. %he parity in$ormation is !sed to recreate data on areplacement dis3. %he loss o$ two dis3s in a gro!p at one time cannot #e s!stained. ;AI. 5 !ses m!ltiple dis3 act!ators that provide improved read and write per$ormance. ;AI. 1C ;AI. 1C com#ines ;AI. 1 and ;AI. C. It is a striped and $!lly mirrored set o$ dis3s. It is the #est con$ig!ration $or #oth red!ndancy and per$ormance. 4eca!se o$ this" it is the most e pensive storage option. 11* 7ow to p!t a server into install mode" "W!i way" command line way" 12. 7ow does Citri load #alancing wor30 'hen a client initiates a connection to the server" a vserver terminates the client connection and initiates a new connection with the selected server" or re!ses an e isting connection with the server" to per$orm load #alancing. %he load #alancing $eat!re provides tra$$ic management $rom 6ayer H &%C( and J.(* thro!gh 6ayer @ &2%(" 7%%(" and 7%%(-*. %he )et-caler !ses a n!m#er o$ algorithms" called load #alancing methods" to determine how to distri#!te the load among the servers. %he de$a!lt load #alancing method is the 6east Connections method. A typical load #alancing deployment consists o$ the entities descri#ed in the $ollowing $ig!re %he entities $!nction as $ollows: Mserver. An entity that is represented #y an I( address" a port" and a protocol. %he vserver I( address &MI(* is !s!ally a p!#lic I( address. %he client sends connection re+!ests to this I( address. %he vserver represents a #an3 o$ servers. -ervice. A logical representation o$ a server or an application r!nning on a server. Identi$ies the serverTs I( address" a port" and a protocol. %he services are #o!nd to the vservers. -erver o#Qect. An entity that is represented #y an I( address. %he server o#Qect is created when yo! create a service. %he I( address o$ the service is ta3en as the name o$ the server o#Qect. Ko! can also create a server o#Qect and then create services #y !sing the server o#Qect.

Monitor. An entity that trac3s the health o$ the services. %he )et-caler periodically pro#es the servers !sing the monitor #o!nd to each service. I$ a server does not respond within a speci$ied response timeo!t" and the speci$ied n!m#er o$ pro#es $ails" the service is mar3ed .,'). %he )et-caler then per$orms load #alancing among the remaining services.

5* .i$$erenceTs #etween ica and rdp 1 ;e+!ires 'indows 2CCC Advanced -erver or .atacenter -erver. 2 )ot availa#le on 'indows C< .)<% thin clients. ?* Ko! Q!st installed G" y" 1 application on a %erminal -erver / citri server and the application r!ns $ine $or the administrator #!t not $or average Uoe !ser. 7ow wo!ld yo! go a#o!t $ig!ring o!t the pro#lem0 'hat tools wo!ld yo! !se0 @* In presentation -erver H.5 what is the name o$ the console where yo! p!#lish applications. A* 'hatTs the name o$ the .CM. $ile that r!ns every time a !ser logs into Citri . J-;6,W,).CM. 'henever a !ser logs on to Meta2rame" the J-;6,W,).CM. $ile is r!n. %his $ile is located in XsystemrootX/systemF2. It is con$ig!red to r!n a!tomatically when each !ser logs in. %his $ile has two $!nctions: J-;6,W,).CM. creates the ;,,%.;IM< varia#le. %his varia#le is !sed #y the 6ogon -cript to identi$y the !serTs home directory.J-;6,W,).CM. calls J-;6,W)2.CM.. J-;6,W)2.CM. r!ns the application scripts that $i !ser level pro#lems with certain applications. B* 'hat is an .ICA 2ile" 'hat is contained inside an ica 2ile 2ile type: Citri $ile or 4itmap graphic &Image ,#Qect Content Architect!re* ICA $iles contain networ3 and system settings !sed #y several Citri applications. 1C* 'hat is -peed -creen 11* .i$$erence #etween p!#lished applications and (!#lished .es3tops0 (ros/Cons o$ #oth. V!ery command in citri 0 1. 'hat is 2arm0 Citri $arm is a collection o$ citri servers which provide p!#lished applications to all !sers. It also prevent singel o$ $ail!re o$ all citri servers d!e to load #alanced capa#ilities. 'hat is the re+!irement $or Citri server installation0 c ,perating systems: 'indows -erver 2CCF &-tandard" <nterprise" or .atacenter <dition* with -ervice (ac3 1 or 2 installed 'indows -erver 2CCF ;2 c .is3 space re+!irements: HCCM4 $or Citri (resentation -erver" <nterprise <dition 5CM4 $or the (resentation -erver Console

25M4 $or the Access Management Console F5M4 $or the .oc!ment Center c %erminal -ervices r!nning in application mode c Uava ;!ntime <nvironment Mersion 1.5.CLCB o I$ yo! do not have this installed" A!tor!n.e e prompts to install it $or yo!

o Alternatively" yo! can cancel the installation and install U;< man!ally $rom the -!pport:U;<1.5 $older on the server installation C. $or Citri (resentation -erver c .)<% 2ramewor3 Mersion 2.C o I$ yo! do not have this installed" A!tor!n.e e prompts to install it $or yo!

o Ko! can also install .)<% 2ramewor3 Mersion 2.C man!ally $rom the -!pport:dot)et2C $older o$ the Citri (resentation -erver C. or image

'hat is Client 6oc3 .own

2ire !p a $!ll () Client and go to %ools->ICA -ettings-Egt`7ot3eys %a#. C%;6SA6%S.<6 hot3ey is CtrlS21. -o i$ yo! add that hot3ey com#o into the de$a!lt.ica $ile in 'e#Int" it will give !sers the a#ility to loc3 their Citri sessions #y hitting CtrlS21 and wal3 away $rom the thin client

'hat is (rinter terminology in Citri

Common Microso$t 'indows and Citri (rinting %erms .e$ined Citri (rinting %erms A!toconnected (rinters: (rinters that are de$ined $or !sers in their ICA sessions #ased o$$ the list o$ networ3 printers de$ined on the client machine" #!t are connected directly to the print server. .!ring session initiali1ation" the server attempts to map directly to the print server !sing the credentials o$ the !ser that initiated the ICA session. I$ the server is !na#le to esta#lish a direct connection to the location" the printer is a!tocreated in the session instead o$ #eing a!toconnected. 'hen a printer is a!toconnected" the print Qo# is sent directly $rom the server r!nning (resentation -erver" #ypassing the client device" to the speci$ied print server o!tside o$ the ICA session. A!tocreated (rinters: Client local or networ3 printers that appear $or the !ser within an ICA session and !se the ICA protocol to send a print Qo#. A!tocreated printers !se the ICA printer naming convention. A!torestored (rinters: A man!ally created client printer attached to a standard client printer port. %his 3ind o$ printer can #e created #y an administrator or power !ser r!nning the Add (rinter wi1ard and man!ally creating a local printer that is attached to a standard client printer port. %hese printers are deleted when logging o$$ and re-created when logging on. A!toretained (rinters: %hese are client printers that are added #y the !ser within an ICA session thro!gh the Add (rinter wi1ard #y #rowsing and connecting to printers en!merated thro!gh the client networ3 print provider. 'hen re-creating a retained printer" all Citri policies e cept the a!tocreation policy are respected. %his means that retained client printers are created e actly as the a!tocreation policy wo!ld have selected them. -!ch printers contin!e to #e re-created with every logon $rom the same client !ntil the client printer within the session is deleted man!ally or the remem#ered printer connection is removed $rom the clientIs properties

store. ,n a 'indows client" the properties 79<KLCJ;;<)%LJ-<;:-o$tware:Citri :(rinter(roperties

store

can

#e

$o!nd

in

the

!ser

pro$ile

!nder

Client (rinters: Any printer availa#le to a !ser #e$ore an ICA session is la!nched. oClient 6ocal (rinter: (rinters that are physically connected to client devices thro!gh 6(%" C,M" or %C( ports. oClient )etwor3 (rinter: A networ3 printer that appears in the (rinters and 2a es $older o$ a client device and is managed #y a print server. %his di$$ers $rom a print device attached to a standard %C(/I( port. Citri (rint Manager -ervice &cpsvc.e e*: (rovides printer management $or all ICA sessions incl!ding printer policy en$orcement" driver installation" client printer port management" a!to-creation o$ networ3 and client printers" and printer/port clean!p when logging o$$. Citri Jniversal (rint .river &J(.*: A single driver that is installed and con$ig!red on the server to which an administrator can assign to all client a!tocreated printers. %his allows $or an administrator to not have to manage" install" and d!plicate a potentially large set o$ third-party print drivers thro!gh the server $arm. Citri Jniversal (rinter: A single generic printer !sing the Citri Jniversal (rint .river. It is mapped within each session and is not #o!nd to any printer de$ined on the client device. It is not ena#led #y de$a!lt. 6egacy-style Client (rinter (ort: %he printer ports !sed #y printers created !sing the legacy naming convention. -!ch ports are tied to the client wor3station #y name. %he naming convention is as $ollows: =client>:=C6I<)%)AM<>:=(;I)%<;)AM<> 'here =C6I<)%)AM<> is the name o$ the client wor3station and =(;I)%<;)AM<> is the name o$ the printer on the client. -tandard-style Client (rinter (ort: %he printer ports !sed #y printers created !sing the standard naming convention. -!ch printers are tied to the client wor3station #y %erminal -ervices session I.. %he naming convention is as $ollows: =client>:=I.>:=(;I)%<;)AM<> 'here =I.> is the session I. n!m#er o$ an active session and =(;I)%<;)AM<> is the name o$ the printer on the client. -ession (rinters: )etwor3 printers shared #y a print server that are discovered and attached thro!gh a session printing policy. Jnmanaged (rinter: (ermanent printers attached to legacy client printer ports. 4oth the port and printer #ecome permanent $i t!res on the server that they are created on. 'henever the speci$ic client is not connected to the server" the port is mar3ed o$$line. 7owever" i$ a session is opened $rom the client" the port is mar3ed online and any +!e!ed print Qo#s #egin to print on the speci$ic client printer. @. 7ow to !se datastore $or data#ase

A. 'hat is the di$$erence #etween all citri versions0 B. 'hat are di$$erent load eval!ators are availa#le in Citri Citri load eval!ators Many deployments o$ Citri where ITve had to do health chec3s have had their de$a!lt Citri load eval!ators set $or load #alancing. %he de$a!lt load eval!ator sets the !ser load as 1CC !sers per server. %his can #e very dangero!s as this $ig!re has $or all intents and p!rposes not #een tested to and whilst a 1CC !sers per server may #e possi#le on large power$!l servers" it isnTt attaina#le across the #oard.

6oad eval!ators on each server need to #e con$ig!red to Q!st #elow the stress limit. -o i$ the servers #ecome !nresponsive at a !ser load o$ ?C and the server can #e re#ooted s!ccess$!lly instead o$ at ?1 !sers where a re#oot does nothing. %hen we can ass!me that ?C is the stress limit $or the server and !sing n-1 &where n is the stress limit* wo!ld #e a $air indicator $or the load eval!ator. 7owever we need to $actor in transaction times to see whether they are impacted at n-1 and i$ they are we need to set the load eval!ator $or a lower !ser load. 'hen loads on servers reach certain points" the associated in$rastr!ct!re will start to str!ggle to meet demands p!t on it. 2or e ample" the networ3 components may not #e a#le to deal e$$ectively with networ3 re+!ests and as s!ch !ser sessions may #ecome !nresponsive. )ot 3nowing yo!r stress limits on reso!rces #e$ore going TliveT can #ecome a total nightmare when a system is TliveT as it may ta3e time to locate the ca!ses and as ITve said #e$ore" T$i it cheaply in test or pay a $ort!ne to $i it laterDT. .!ring one stress testing phase I $o!nd a#ove a certain load all the servers in the $arm #ecame !nresponsive. %he load on the servers was Q!st #e$ore the server stress limits and the aggregate server load on the other associated in$rastr!ct!re was there$ore very high. -o the $irst port o$ call was to chec3 whether the servers co!ld see the rest o$ the in$rastr!ct!re they inter$aced with. 'hich was $ine" ne t I loo3ed at the networ3 and event!ally $o!nd o!t the networ3 card on the data store co!ldnTt cope with the n!m#er o$ re+!ests made #y the Citri servers. %his is where stress testing shows itTs #ene$its as in most cases non $!nctional testing is never done on a $!ll scale environment" that is" i$ the plan is to deploy 1CCC Citri servers $or 25"CCC !sers" yo!r test environment wonTt #e the same si1e as the cost co!ld #e e cessive. -o the test environment in most cases is a scaled down version. %he only way to contemplate how tho!sands o$ !sers wo!ld a$$ect the system" is to try to test at the stress limits and monitor the in$rastr!ct!re components. 2or e ample" !sing an environment a +!arter o$ the si1e o$ the planned primary environment and !sing the ma im!m levels o$ !ser load &n-1* per server" itTs possi#le to get high n!m#ers o$ test !sers !sing the test environment. 4y r!nning these stress tests over several days not only wo!ld the in$rastr!ct!re #e a#le to sim!late months o$ load #!t also apply consistent levels o$ stress on in$rastr!ct!re components. %his is the stress testing approach I !sed on a Citri environment where it was determined the datastore networ3 cards were !ns!ita#le. %esting !sing the e pected loads didnTt create any in$rastr!ct!re iss!es and the Citri servers coped e tremely well at these loads as the transaction times remained $airly consistent. 'hen the higher loads were applied" the datastore started to str!ggle. 2ort!nately we were a#le to change the networ3 cards d!ring testing otherwise the higher loads wo!ld have ca!sed a nightmare i$ weTd gone into prod!ction !sing these types o$ networ3 cards. ItTs important to assess the correctness o$ set!p incl!ding whether the right thresholds have #een con$ig!red $or Citri eval!ators. load

Citri Jser (olicies 'ith Jser (olicies" yo! can apply select Meta2rame settings" incl!ding shadowing permission settings" printer a!tocreation settings" and client device mapping settings" to speci$ic !sers or !ser gro!ps. Jsing policies" yo! can tailor yo!r environment at the !ser / gro!p level. (olicy r!les have three states: ;!le <na#led" ;!le .isa#led" or ;!le )ot Con$ig!red. 4y de$a!lt" not all r!les are con$ig!red. All !ncon$ig!red r!les are ignored when !sers log on to the Meta2rame server. I highly recommend red!cing the amo!nt o$ r!les set to ;!le )ot Con$ig!red to red!ce to need to process the policy and to speed !p the logon time. 9eep with the $ollowing when creating a new Citri (olicy: 1. .ecide the p!rpose $or the Citri policy 'hy are yo! creating the policy and who will it a$$ect. An e ample o$ a policy wo!ld #e to assign them common settings speci$ic to their $!nction" connection type or geographic location.

2. Create the policy - Ko! will need to de$ine a name $or the policy" assign !ser&s* / gro!p&s* to the policy and set the r!les that will #e the #asis o$ the policy. F. (rioriti1e or ran3 yo!r policies In order to over come !ser&s* / gro!ps&s* that are mem#ers o$ m!ltiple policies yo! will need to con$ig!re policy priority. I highly recommend creating an Administrator policy the disa#les all policy and gives $!ll control to a select gro!p o$ Citri administrators to the top o$ the policy list to prevent $rom loc3ing yo!rsel$ o!t. In order to view the priory o$ Citri (olicies yo! set the consoles view mode to .etails. -elect .etails on the Miew men! Clic3 the (riority section o$ the title #ar to sort #y priority.

ImportantD Jser (olicy settings override all other Meta2rame G( and %erminal -ervices settings. 7owever" i$ yo! disa#le $!nctionality in Citri Connection Con$ig!ration" yo! cannot ena#le the $!nctionality #y creating !ser policies 7ow to Create a )ew Citri (olicy %he $ollowing details how to create Citri Jser (olicies ,pen the Citri Management Console" right clic3 on the (olicies section and clic3 Create (olicy 1. 2. <nter a name $or the new policy and clic3 ,9. AdQ!st the policy priority #y clic3ing !p or down priory #!ttons located on the tool#ar.

Ko! have now s!cess$!lly created a Citri (olicy and are ready to con$ig!re the r!les and assign !ser&s* / gro!p&s* to it. 7ow to Con$ig!re a Citri (olicy %he $ollowing details how to con$ig!re policy r!les. 1. 2. .o!#le clic3 on a Citri (olicy to open the policy properties. Clic3 the policies that the r!les yo! wo!ld li3e to set and clic3 ,9 when $inished.

Ko! have now s!ccess$!lly con$ig!red a Citri (olicy and are ready to assign the (olicy to !ser&s* / gro!p&s*. 7ow to Assign a Citri (olicy to Jser&s* and or Wro!p&s* %he $ollowing details how to assign a policy to !ser or gro!ps. 1. ;ight clic3 on the policy yo! wo!ld li3e to assign !ser and or gro!p to and clic3 Assign Jsers.

2. -elect the Jser&s* / Wro!ps&s* yo! wo!ld li3e to assign to the policy and clic3 ,9. I highly recommend stic3ing with gro!p to simply policy management. 7owever i$ yo! need to assign a !ser then yo! will need to chec3 the -how !sers chec3#o .

%he Citri policy will now #e assigned to the designated !ser&s* / gro!p&s* ne t time they login to the Meta2rame $arm.

11. 'hat yo! will chec3 when any !ser is not a#le to la!nch citri application. 1* 2irst try to la!nch same application $rom Citri server&on which yo! installed and p!#lished* 2* %ry to add same application to yo!r I. and try to la!nch F* Chec3 !ser permissions $or that Applications H* Meri$y that latest Citri client so$tware installed at des3top 5* Meri$y that !ser is having correct pro y settings to connect to yo!r Citri networ3 &$or remote !sers*

1F. 'hat is ICA and what are the advantage o$ ICA 1H. 'hat is -peed -creen 15. 'hat are the +!ery command in citri 1*+$arm 2*+!erydc F*+!eryds H*+!eryhr 1?. 'hat are the di$$erent ports !se in Citri -ome Citri (ort )!m#ers 1HBH: %his port is !sed #y any client !sing the %C( protocol to comm!nicate with the (resentation -erver. Ko! will need to open this port on yo!r $irewall $or in#o!nd connections !nless yo! are !sing some $orm o$ encaps!lation or encryption. Ko! can change the port !sing the ICA(,;% command #!t I $ind it to #e more tro!#le than it is worth. 1?CH: Called the ICA 4rowser port this is a J.( port that can #e !sed #y the (rogram )eigh#o!rhood to en!merate applications. Ko! pro#a#ly won t !se this tho!gh. AC: %his is the de$a!lt port !sed #y the GM6 service and is !sed #y clients who en!merate applications with the %C(S7%%( or GM6 protocol. Ko! will th!s need to open this port on yo!r $irewall $or in#o!nd connections i$ clients will #e !sing it to locate servers. Ko! can change the port easily eno!gh !sing the C%GGM6-- command. HHF: %his is the de$a!lt --6. %he --6 ;elay will !se it to sec!re comm!nications #etween the 'e# Inter$ace and the server $arm. Ko! co!ld also !se it to sec!re client comm!nication to the we# Inter$ace or !se it $or client connections to the (resentation -erver. 5CCC: %he (resentation -erver !ses this port to comm!nicate with the I4M .#2 server hosting the data store. 1521: %his port is !sed to comm!nicate with the ,racle data store. 1HFF: %he port !sed to comm!nicate with a Microso$t -V6 data store. 2512: %his port is !sed $or server to server comm!nication s!ch as when load in$ormation is comm!nicated. %he port !sed to access the data store is saved in the 796M-,2%'A;<CI%;IGIMAIMA(,;% 3ey on the server containing the data store. All other servers !se the port n!m#er saved in 796M-,2%'A;<CI%;IGIMA(--<;M<;(,;% 3ey in the registry to access the data store. 7ave a loo3 at IMA(,;% to see how to change it. 251F: %his port is !sed #y the (resentation -erver Console when connection to a server. 7ave a loo3 at IMA(,;% to see how to change it. 25BA: %his is the session relia#ility port n!m#er and needs to #e opened on yo!r $irewall i$ the ICA Clients will #e !sing session relia#ility when comm!nication with the server. 2@CCC and a random port n!m#er: %his is the port !sed $or comm!nication #etween the Citri 6icense server and the (resentation -ervers. ;emem#er that the Citri vendor daemon r!nning on the license server !ses a random port. It trac3s license !sage. 1@. 7ow the licensing wor3s in Citri and di$$erence in Citri 6icensing version wise 1A. 'hat are the console availa#le to manage citri server. Access Management Console (resentation management console Citri we# console

1B. 'hat is 'e#Inter$ace or )$!se &)$!se is the we# inter$ace o$ the citri server*.

2C. 'hat is citri sec!re / access gateway and how its wor3 Citri Access Watewayd is a !niversal --6 M() appliance that com#ines the #est $eat!res o$ I(-ec and typical --6 M()s e witho!t the costly and c!m#ersome implementation and management e to ma3e access easy $or !sers" sec!re $or the company" and low-cost $or the I% department. %he Access Wateway provides a sec!re" always-on" single point o$ access to any in$ormation reso!rce. It wor3s thro!gh any $irewall` s!pports all applications and protocols" incl!ding I( telephony` is $ast" simple and cost-e$$ective to deploy and maintain via its 'e#-deployed" a!to-!pdating client` and ens!res that devices meet company sec!rity standards with a worm-#loc3ing client and integrated end-point scanning. %he Access Wateway a!tomatically and seamlessly reconnects !sers to their applications when they change locations and devices" and gives them the same access e perience they have at the des3top. Citri Access Wateway provides sec!re access to any application hosted on Citri (resentation -erverd" as well as distri#!ted 'indowsa and J)IGa applications" direct-access 'e# applications" networ3 $ile shares" data and colla#oration services" and even telephony services !sing MoI( so$tphones. 'ith the addition o$ the Advanced Access Control option" theI% organi1ation can !tili1e sense and response capa#ilities tonot only provide or deny access to appropriate applications" #!t also control the level o$ !ser action rights $or each application or reso!rce accessed. 21. 'hat are the di$$erence #etween 'in29 and 29F %erminal server. 22. 'hat is the di$$erence #etween 23 E 23F terminal server licensing 2F. 'hat is -4C 2H. 'hat is (rinter driver replicationa and mapping 25. 7ow to recover when .atastore $ailing data store can #e recreated #y the Y.md# $ile which is located at program $iles/Citri /Indipendent Architect!te Management this $ile can #e moved to another server and a data #ase connectivity and #e created !sing ,.4C and creating a Y.dsn $ile. 2?. 7ow to recover when IMA $ailing %here can #e a n!m#er o$ reasons why the IMA -ervice appears not to have started incl!ding the $ollowing: IMA -ervice load time "IMA -ervice s!#system "Missing %emp directory (rint spooler service ",.4C con$ig!ration ";oaming (ro$ile < amine the $ollowing 'indows ;egistry setting: 79<KL6,CA6LMAC7I)<-,2%'A;<Citri IMA;!ntimeC!rrently6oading(l!gin I$ there is no val!e speci$ied in the C!rrently6oading(l!gin portion o$ the a#ove 'indows ;egistry entry then either the IMA -ervice co!ld not connect to the data store or the local host cache is missing or corr!pt. I$ a C!rrently6oading(l!gin val!e is speci$ied the IMA -ervice made a connection to the data store and the val!e displayed is the name o$ the IMA -ervice s!#system that $ailed to load. Missing %emp .irectory

I$ administrators see an fghIMA -ervice 2ailedfg error message with an error code o$ 21H@HAF?HB when starting the Meta2rame G( (resentation -erver the local system acco!nt might #e missing a %emp directory which is re+!ired $or the IMA -ervice to r!n. %o gain $!rther insight into the sit!ation change the IMA -ervice start!p acco!nt to the local administrator and restart the server. I$ the IMA -ervice is s!ccess$!l in starting !nder the local administratorfgds acco!nt then it is li3ely that a missing %emp directory $or the local system acco!nt is ca!sing the sit!ation. I$ the %emp directory is not present then man!ally create one as >%emp. 2or e ample: C:'innt%emp Also veri$y that the %M( and %<M( system environment varia#les point to the temporary directory. ;estart the server to restart the IMA -ervice 2@. 'hat is the re+!irement o$ Installation Manager and wht 3ind o$ e tension its s!pport. 2A. 'hat are the parameters o$ ;eso!rce Manager0 In yo!r day-to-day management o$ yo!r Meta2rame G(e environment" Citri ;eso!rce Manager will #e one o$ yo!r most val!a#le tools. ;eso!rce Manager &;M* serves three p!rposes: ;eal time monitoring o$ Meta2rame G(e servers. 7istoric reports containing in$ormation a#o!t Meta2rame G(e servers. A central repository o$ !sage in$ormation and statistics across all servers in yo!r $arm. ;eal time monitoring allows yo! to view the stat!s o$ di$$erent components o$ the Meta2rame G( server. <ach component &3nown to ;eso!rce Manager as a "metric"* is viewed via the CMC" and has a green icon ne t to it i$ everything is o3ay. I$ there are pro#lems" the icon will t!rn a di$$erent color" depending on what the pro#lem is. Ko! can con$ig!re the system to send alerts to -)M( traps" email addresses" or short message service pagers i$ pro#lems occ!r. Ko! can completely c!stomi1e the types" #ehaviors and thresholds o$ each metric in yo!r environment. In addition to displaying the live stat!s o$ Meta2rame G(e servers" ;eso!rce Manager can also #e !sed to collect and store detailed data a#o!t individ!al servers. A system snapshot is ta3en every 15 seconds" and a report can #e generated on any time$rame in the past B? ho!rs" allowing yo! to see e actly what the condition o$ the server was at a speci$ic time. 2inally" i$ yo! are !sing 2eat!re ;elease 2" Meta2rame G(e servers r!nning ;eso!rce Manager can periodically send statistics and data to a centrali1ed data#ase. 2rom there yo! can generate reports a#o!t overall $arm !sage. Ko! can even set !p pricing in$ormation and generate invoices #ased on which !sers accessed the systems. %he newest version o$ Citri ;eso!rce Manager has evolved +!ite a #it in the past $ew years" even since Meta2rame G( was $irst released. 2or that reason" this section addresses the ;eso!rce Manager component o$ Meta2rame G(e with -ervice (ac3 2 applied. -ince -ervice (ac3 2 is $ree" yo! can !se it even i$ yo! donTt plan on !sing 2eat!re ;elease 2. %echnical ,verview <ven tho!gh Citri ;eso!rce Manager is $airly straight$orward" there are several components re+!ired to ma3e it wor3. %hese components incl!de: Citri ;eso!rce Manager so$tware. Metrics. 2arm metric server. IMA data store. 6ocal reso!rce manager data#ase. -!mmary data#ase.

.ata#ase connection server. ;eso!rce Manager -o$tware. In order to !se ;eso!rce Manager" yo! need to ens!re that the ;eso!rce Manager components are ena#led when yo! install Meta2rame G(e. I$ not" yo! can install them at any time #y r!nning the -(-2/2;-2 installation program. %he ;eso!rce Manager so$tware m!st #e locally installed on each Meta2rame G(e server that yo! want to monitor. %his so$tware e tends the $!nctionality o$ the IMA service" allowing it to collect metrics on vario!s server components. Metrics. A metric is a component &and its associated parameters* that is monitored" incl!ding the thresholds $or changing the stat!s o$ the metric and sending alerts. <ach metric has an icon that changes colors to indicate its c!rrent stat!s. Metrics are con$ig!red in the server $arm and applied to speci$ic servers or p!#lished applications. < amples o$ the h!ndreds o$ metrics availa#le incl!de c!rrent !ser load" C(J !tili1ation" and n!m#er o$ p!#lished applications in !se. 2arm Metric -erver. %he 2arm Metric -erver &2M-* is responsi#le $or monitoring the stat!s o$ the metrics o$ all servers and p!#lished applications in the entire server $arm. %his server act!ally controls the metric icons" changing their stat!s as conditions warrant. %he 2M- gets its in$ormation $rom the 1one data collector" which is !pdated every 15 seconds #y each Meta2rame G(e server. IMA .ata -tore. All ;eso!rce Manager con$ig!ration in$ormation is stored in the IMA data store. %his incl!des the metrics and their associated con$ig!rations and thresholds" as well as alert parameters and which metrics are applied to which servers and p!#lished applications. U!st li3e the other in$ormation in the IMA data store" each Meta2rame G(e serverTs local host cache contains its local s!#set o$ the ;eso!rce Manager in$ormation $rom the IMA data store. 6ocal ;eso!rce Manager .ata#ase. 'hile the ;eso!rce Manager con$ig!ration in$ormation is stored in the IMA data store" each Meta2rame G(e server is responsi#le $or locally maintaining its own ;eso!rce Manager data. %his data" stored in :(rogram 2iles:Citri :Citri ;eso!rce Manager:6ocal.4:;M6ocal.ata#ase.md# on each server" is maintained $or the previo!s B? ho!rs" with new data overwriting the oldest data. -!mmary .ata#ase. In 2eat!re ;elease 2 environments" the s!mmary data#ase is a -V6 or ,racle data#ase that stores long term in$ormation a#o!t server !sage. Ko! can con$ig!re this data to #e whatever yo! want" #!t most people store only a small s!#set o$ the local reso!rce manager data in the s!mmary data#ase. %he di$$erence is that the s!mmary data#ase is !sed to store the data $or wee3s or months. .ata#ase Connection -erver. %his server is responsi#le $or receiving s!mmary data $rom all Meta2rame G(e servers and writing it to the s!mmary data#ase. %his is the only server that directly connects to the s!mmary data#ase. 2ig!re 1?.2 &ne t page* shows how the vario!s ;eso!rce Manager components wor3 together in the Meta2rame G(e environment. 2ig!re 1?.2: %he components o$ Citri ;eso!rce Manager Monitoring -ervers and Applications <verything in ;eso!rce Manager is monitored via the metrics that yo! con$ig!re. A$ter installation" de$a!lt server metrics are in place so yo! can #egin monitoring a server immediately witho!t any additional con$ig!ration. 7ow yo! view the c!rrent stat!s o$ the metrics depends on which type o$ metric yo! are interested in viewing. %here are essentially two types o$ metrics: p!#lished application metrics and server metrics. ,#vio!sly" the p!#lished application metrics show in$ormation relating to each speci$ic p!#lished application. %hey can #e viewed in the p!#lished applicationTs area in the CMC &CMC \ (!#lished Applications \ Ko!r Application \ ;eso!rce Manager %a#*. %he server metrics" which contain server-speci$ic stat!s and in$ormation" can also #e viewed via the CMC &CMC \ -ervers \ Ko!r -erver \ ;eso!rce Manager %a#*. Metric -tat!s 'hen viewing metrics" each speci$ic metric has an icon whose color corresponds to the state o$ the metric. <ach metric type" #oth $or p!#lished applications and servers" has si possi#le states" as o!tlined #elow: Wreen. %he metric is operating within its accepta#le limits as con$ig!red in its properties. Kellow. %he metric has e ceeded the limits o$ the green state and switched to yellow" having e ceeded the time and val!e limit threshold yo! con$ig!red. ;ed. %he metric has e ceeded the time and limit thresholds o$ the yellow state and switched to red. Any con$ig!red -)M(" -M- or email alerts have #een sent.

4l!e. %he metric has #een added" #!t it has not yet #een con$ig!red" so it canTt change color. %his #l!e stat!s will not change !ntil yo! edit the properties o$ the metric and con$ig!re it $or !se. Wray &(a!sed*. %he metric has entered a "snoo1e" state" man!ally invo3ed #y an administrator. .!ring this snoo1e period the metric will not activate any red alarms" and yellow and red conditions will not ca!se the metric to appear in the watcher window. 7owever" d!ring this snoo1e state" the metric is still active and it is still collecting data. %he metric will e it the snoo1e state and #ecome green" yellow" or red" a$ter a precon$ig!red amo!nt o$ snoo1e time has passed" as con$ig!red in the metricTs properties. 4lac3 &-topped*. %he metric has entered a "sleep" state" man!ally invo3ed #y an administrator. .!ring this sleep period" the metric will not activate any red alarms. Also" yellow or red conditions will not ca!se the metric to appear in the watcher window. 7owever" d!ring this sleep state" the metric is still active" and it is still collecting data. %he metric will not e it the sleep state !ntil it is man!ally "wo3en !p" #y an administrator.

-MA -ervice P> sweet monitoring and alerting service

7ow many connections to servers in the $arm can IMA process/3eep at one time0 'hile there is no $inite answer to this" there is a registry setting that limits the 7ost ;esolver to 3eeping only 512 open connections to hosts. %his is very important in large $arm design" and it can #e manip!lated. %he connections to hosts in a 1one #y a /.C do not last $orever" and can #e torn down and re-esta#lished. It is important to $arm per$ormance that steps are ta3en in the 1one to limit this teardown/set!p process $rom occ!rring" and #!mping !p the registry setting alleviates this in 1ones with more than 512 hosts. %he registry setting is: 79<KL6,CA6LMAC7I)<:-o$tware:Citri :IMA:;!ntime: Ma 7ostAddressCache<ntries 'hen Miami Inc designs their glo#al $arm" the /.C set!p is o$ the !tmost importance as the n!m#er o$ servers in each 1one will grow over time to very high levels. A thoro!gh !nderstanding o$ this setting and the $ollowing in$ormation is critical. /one -et!p and In$ormation 'hat is the $!nction o$ a 1one0 /ones per$orm two $!nctions: ] Collecting data $rom mem#er servers in the 1one ] .istri#!ting changes in the 1one to other servers in the $arm 'hat is a /one .ata Collector &/.C*0 <ach 1one in a (resentation -erver $arm has its own 5tra$$ic cop8 or /.C. A /.C may also at times #e re$erred to as the /one Manager. %he /.C maintains all load and session in$ormation $or every server in the 1one. /.Cs 3eep open connections to other $arm /.Cs $or 1one comm!nication needs. Changes to/$rom mem#er servers o$ a /.Cs 1one are immediately propagated to the other /.Cs in the $arm. 7ow does the /.C 3eep trac3 o$ all o$ the hosts in the $arm to ma3e s!re they are live0 I$ /.C does not receive an !pdate within the con$ig!red amo!nt o$ time $rom a mem#er server &de$a!lt 1 min!te* in its 1one" it sends a ping &IMA(ing* to the mem#er server in +!estion. %his time$rame can #e con$ig!red in: 79<KL6,CA6LMAC7I)<:-o$tware:Citri :IMA:;!ntime:9eepAliveInterval I$ /.C does not receive an !pdate within the con$ig!red amo!nt o$ time $rom a peer /.C server" it does not contin!ally ping the 5lost8 /.C. It waits a de$a!lt o$ 5 min!tes" which is con$ig!ra#le in: 79<KL6,CA6LMAC7I)<:-o$tware:Citri :IMA:;!ntime:WatewayMalidationInterval

You might also like