Post on 13-Apr-2018
transcript
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 1/25
Learning How to Migrate a Citrix Data Store from Access to SQL Server
Related Products
Latest Carl Webster ArticlesIntegrating Web Interface 4.6, Citrix Secure Gateway 3.1 and a GoDaddy Wildcard SSL Certificate on a Single Serer !art 3 of3Integrating Web Interface 4.6, Citrix Secure Gateway 3.1 and a GoDaddy Wildcard SSL Certificate on a Single Serer !art " of3
Integrating Web Interface 4.6, Citrix Secure Gateway 3.1 and a GoDaddy Wildcard SSL Certificate on a Single Serer !art 1 of3
About Carl WebsterWeb#ter i# a Sr. $nter%ri#e $ngineer for S&'C()*!C )all #%eciali+ing in Citrix, &ctie Directory and $xcange. Web#ter a# been wor-ingwit Citrix %roduct# for oer 1 year# #tarting wit )ulti/0#er (S*".
Web#ter i# a igly #-illed #enior tecnology anager wit a ore tan "2 year# ex%erience leading te de#ign, deelo%ent and i%leentationof enter%ri#e %roect# for ig %rofile global cu#toer#. i# #trong tecnology #-ill# are balanced by te %roen ability to recruit and deelo%igly talented tea# of tecnology %rofe##ional# and guide teir %erforance on #ort and long range %roect#.
&# a Senior $nter%ri#e $ngineer for S&'C(), Web#ter a# led co%lex %roect# for -ey cu#toer# in ulti%le indu#trie#, including edical
#u%%lier#, direct ail %roider#, #%ort# ar-eting, a aor grocery cain, and large regional edical facilitie#.
Web#ter5# career %re%aration included a #erie# of training# and certification# in -ey tecnologie#, but i# acco%li#ent# oer tie ae been
largely drien by #trengt# in relation#i% anageent, #trategic %lanning, and o%erational ex%erti#e acro## te full #co%e of bu#ine## and clientanageent.
Contact Web#terCarlWeb#ter.co
!irtuali"ation PodcastsDe#-to% 7irtuali+ation Connection 8ro-er !odca#t wit )i-e !alin and $ric an#elan fro Leo#trea / &%ril "3, "229 / $%i#ode
:9
DA#CC$%! !ideostriCerat Si%lify Suite; De#-to% 7irtuali+ation 0#er )anageent 7ideo !odca#t / $%i#ode 16
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 2/25
Wen a Citrix <ar i# created, by default, te data #tore i# created on te fir#t #erer of te <ar
u#ing an &cce## databa#e. =i# article will teac you ow to bac-u% an &cce## data #tore and
igrate tat data #tore fro &cce## to S>L Serer.
=ere are a cou%le of adantage# to u#ing &cce## for te data #tore;
• Easy to setup during XenApp installation
•
No complicated ODBC DSN file to create or configure
=e di#adantage# to u#ing &cce## for te data #tore;
• If the XenApp server hosting the data store goes down or is restarted !arm functionality is severely crippled
• Only recommended for very small !arms "ecause of performance reasons
• No #igh Availa"ility options
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 3/25
• $arely included in "ac%up or disaster recovery planning
=e adantage# to u#ing S>L Serer for te data #tore;
• Is not run on a XenApp server
• Can "e used for any si&e !arm
• #igh Availa"ility options
• 'sually included in "ac%up and disaster recovery planning
<or ti# article, 7)ware Wor-#tation 6.?.1/1"6132 will be u#ed wit Window# Serer
"22 Standard @x6A and Citrix Ben&%% for Window# Serer "22 !latinu @x6A. =efollowing 7irtual )acine# @7)A will be u#ed;
• Domain Controller( Citri)DC
o *he +, will "e assigned one processor -.B of $A, and -/.B of #ard Drive space
o Domain Controller for the 0e"sters1a"2com Active Directory domain
o *erminal Server 1icense server and Citri) 1icensing server
o Static I3 Address -452-/62-2-77
• S81 Server( Citri)S81-
o *he +, will "e assigned one processor 5.B of $A, and -/.B of #ard Drive space
o *his +, will host the new migrated to S81 Server data store
o *his +, will use S81 Server 5779 S3:
o Static I3 Address -452-/62-2-7-
• XenApp 9 ;-( Citri)XA-
o *he +, will "e assigned one processor 5.B of $A, and -/.B of #ard Drive space
o *his +, will host the original Access data store
o Static I3 Address -452-/62-2-75
• XenApp 9 ;5( Citri)XA5
o *he +, will "e assigned one processor 5.B of $A, and -/.B of #ard Drive space
o *his +, is used to show how to change additional XenApp servers to use the new S81 Serverdata store
o Static I3 Address -452-/62-2-7:
CitrixDC a# a file #are naed CTXBACKUP tat I will u#e to #tore te data #tore bac-u%.
Ben&%% ? for Window# Serer "22 wa# in#talled on CitrixB&1 and a new <ar naed
Webster wa# created during te in#tallation. &fter re#tarting te 7), Ben&%% ? for Window#
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 4/25
Serer "22 wa# in#talled on CitrixB&" and ten ti# in#tance wa# oined to te Webster <ar.
=wo a%%lication# were %ubli#ed on te <ar; ote%ad and !aint. 8ot a%%lication# are
configured to run fro bot Ben&%% #erer#.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 5/25
It i# a 8e#t !ractice to alway# bac-u% te data #tore before %erforing te igration. =e
&cce## ba#ed data #tore, by default, i# located in C:\Program Files\Citrix\Independent
Management Arcitect!re and i# naed MF"#$mdb.
<ro a coand %ro%t on CitrixB&1, te following coand wa# run to generate a bac-u%;
dsmaint bac&u' ((CitrixDC(C%)#ac&u'
=e coand d#aint bac-u% a-e# a co%y of te )<"2.db &cce## data #tore to te
location #%ecified. d#aint bac-u% i# u#ed only to bac-u% an &cce## data #tore and u#t be
run on te Ben&%% #erer o#ting te &cce## data #tore. It cannot be u#ed to bac-u% a data #torewic i# u#ing )SD$, S>L Serer "22? $x%re##, S>L Serer, (racle or D8".
=i# article i# u#ing te conce%t# fro Citrix #u%%ort article C=B6::?4". <or S>L Serer
Databa#e #%ecific inforation, %lea#e #ee %age 13 of te Ben&%% In#tallation Guide.
#*+,R* -,. S%AR%%H* M/0RA%/,12 ma&e sure t3e account being used for t3is'rocedure is a +ull +arm Administrator4
ote; If you ae a )icro#oft S>L Serer D8& aailable, %lea#e reference te Citrix Su%%ort
article Citrix Presentation %er&er and Microso't %() "##* Con'ig!ration.
=o create te S>L Serer data #tore databa#e, o%en S>L Serer )anageent Studio. Clic-
%tart +, All Programs +, Microso't %() %er&er "##* +, %() %er&er Management %t!dio .
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 6/25
$x%and -atabases in te left colun.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 7/25
'igt/clic- -atabases and #elect .e/ -atabase.
It i# recoended to %ut te <ar nae in te databa#e nae.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 8/25
Clic- 0ptions and a-e #ure 1eco&er2 Model i# #et to F!ll and Compatibilit2 )e&el i# #et to %()
%er&er "##* 34#5. Clic- 0K .
=e new data #tore databa#e i# ready for u#e.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 9/25
(n te Ben&%% #erer o#ting te &cce## data #tore, a new Data Source ae @DSA need# to be created for te S>L databa#e.
Clic- %tart /E Administrati&e Tools /E -ata %o!rces 30-BC5.
ote; Wat i# (D8CF =i# i# ta-en fro tt%;**#u%%ort.icro#oft.co*-b*112293
(%en Databa#e Connectiity @(D8CA i# )icro#oft# #trategic interface for acce##ing data in a
eterogeneou# enironent of relational and non/ relational databa#e anageent #y#te#.8a#ed on te Call Leel Interface #%ecification of te S>L &cce## Grou%, (D8C %roide# an
o%en, endor/ neutral way of acce##ing data #tored in a ariety of %ro%rietary %er#onal co%uter,
inico%uter, and ainfrae databa#e#.
(D8C alleiate# te need for inde%endent #oftware endor# and cor%orate deelo%er# to learn
ulti%le a%%lication %rograing interface#. (D8C now %roide# a unier#al data acce##
interface. Wit (D8C, a%%lication deelo%er# can allow an a%%lication to concurrently acce##,iew, and odify data fro ulti%le, dier#e databa#e#.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 10/25
Clic- te File -%. =ab.
ote; Wat i# te difference between 0#er DS, Sy#te DS and <ile DSF =i# i#ta-en fro tt%;**#u%%ort.icro#oft.co*-b*"13::".
.ser DS1; =e 0#er DS i# a data #ource tat i# u#er/#%ecific. & 0#er DS i# #tored locally but
i# aailable only to te u#er wo create# it.
S5stem DS1; 0nli-e a 0#er DS, a Sy#te DS i# not u#er/#%ecific. & Sy#te DS i# #toredlocally and i# not dedicated to a %articular u#er. &ny u#er wo log# on to a co%uter tat a#
%eri##ion to acce## te data #ource can u#e a Sy#te DS. Soe %rogra#, #uc a# )icro#oft
S>L Serer or )icro#oft Internet Inforation Serer @IISA, reHuire a Sy#te DS. =i# DSu#t be created on te #erer were te %rogra i# located. Sy#te DS# are #tored in te
Window# regi#try under te following -ey;
$JKL(C&LK)&CI$Software(dbc(dbc.ini(dbc Data #ource#
+ile DS1; =e <ile DS i# created locally and can be #ared wit oter u#er#. =e <ile DS i#
file/ba#ed, wic ean# tat te .d#n file contain# all te inforation reHuired to connect to te
data #ource. ote tat you u#t in#tall te (D8C drier locally to u#e a <ile DS. <ile DS#
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 11/25
are not #tored in te Window# regi#try. =e .d#n file i# a text file tat you can iew in any text
editor, #uc a# )icro#oft ote%ad.
Cange te )oo6 in to C:\Program Files\Citrix\Independent Management Arcitect!re. =e new
DS u#t be %laced in ti# folder. =e IMA%718IC7 #erice i# %rograed to loo- in onlyti# folder.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 12/25
Clic- te Add button.
Clic- on %() %er&er and clic- .ext .
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 13/25
=y%e in C(Program +iles(Citrix(/nde'endent Management
Arc3itecture(Webster+armDSM+674dsn and clic- .ext .
ote; =e DS can be naed anyting a# long a# it a# a .d#n file exten#ion. It doe# not need to
contain )<"2 anywere in te nae.
Clic- Finis.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 14/25
$nter a -escription and ty%e in te nae of te S>L Serer and clic- .ext .
If a successful connection to the S81 Server is made clic% Next 2 A common pro"lem is the 0indows !irewall is notconfigured to allow S81 traffic <*C3 3ort -=::>2 *o configure an instance of S81 Server 5779 to use a static portfollow the steps descri"ed in the ?#ow to( Configure a Server to 1isten on a Specific *C3 3ort <S81 ServerConfiguration ,anager>? topic in S81 Server 5779 Boo%s Online2
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 15/25
Note( If S81 Server is set to use a static port clic% Client Configuration then unchec% Dynamicallydetermine port and enter the value for the static port num"er2
If te account li#ted in te grayed out )ogin I- autenticate# #ucce##fully to te S>L Serer,Cange te de'a!lt database to te new S>L Serer data #tore and clic- .ext .
(ne %roble could be te )ogin I- account i# not #etu% to acce## te S>L Serer.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 16/25
Clic- Finis.
Clic- Test -ata %o!rce.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 17/25
If te e##age =$S=S C()!L$=$D S0CC$SS<0LLJ i# #own, clic- 0K . (terwi#e, you
will need to trouble#oot te (D8C connection to te S>L Serer .
Clic- 0K .
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 18/25
Jour new DS i# created. Clic- 0K .
Clic- %tart , rigt/clic- Command Prompt and #elect 1!n as administrator .
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 19/25
=y%e in DSMA/1% M/0RA%* 8srcdsn9C(Program +iles(Citrix(/nde'endent
Management Arc3itecture(M+674dsn9 8srcusercitrix 8src'wdcitrix 8dstdsn9C(Program
+iles(Citrix(/nde'endent Management Arc3itecture(Webster+armDSM+674dsn9
8dstuserwebsterslab(administrator 8dst'wd'assword and %re## 7nter .
8srcdsn i# te &cce## )<"2.d#n tat wa# created wen te <ar wa# created
8srcuser and 8src'wd are bot, by default, citrix
8dstdsn i# te new DS file
8dstuser and 8dst'wd are te u#ernae and %a##word of te account tat a# rigt# to te new
data #tore S>L databa#e
Clic- 9es on te -smaint confiration %o%u%.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 20/25
=e igration #tart#.
If te following error i# receied;
'e#ult; an un-nown error occurred wile igrating te table, %lea#e erify te de#tination
data#ource i# clean. M)icro#oftNM(D8C S>L #erer DrierNMS>L #ererNiolation of %riary -ey
con#traint CL. Cannot in#ert du%licate -ey in obect -eytable. Indexe# ae been #ucce##fully %atced.
=i# i# u#ually cau#ed by te default databa#e being #et to )a#ter. =at i# a uge i#ta-e. )a-e
#ure te default databa#e for te DS file i# #et to te new data #tore databa#e.
Wen te igration co%lete#, an#wer 9es to te -smaint co%ari#on %o%u%.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 21/25
=e co%ari#on run# and co%lete#.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 22/25
ext DS)&I= C(<IG need# to be run. =e 8'wd o%tion need# to be u#ed and according to
te Ben&%% &dini#trator# Guide;
Jou u#t #to% te Citrix Inde%endent )anageent &rcitecture #erice before u#ing config wit te 8'wd o%tion.
In te coand %ro%t window, ty%e 1*% S%,P /MAS*R!/C* and %re## 7nter .
=y%e in DSMA/1% C,1+/0 8userwebsterslab(administrator
8'wd'assword 8dsn9C(Program +iles(Citrix(/nde'endent Management
Arc3itecture(Webster+armDSM+674dsn9 and %re## 7nter .
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 23/25
=y%e in 1*% S%AR% /MAS*R!/C* and %re## 7nter .
(ne cau#e of te I)&S$'7IC$ not re#tarting i# te currently logged in account i# not a <ull
<ar &dini#trator.
=y%e in CD 9C(Program +iles(Citrix(/nde'endent Management Arc3itecture9 and %re##
7nter .
Co%y te new DS file to te reaining Ben&%% #erer# C:\Program Files\Citrix\Independent Management Arcitect!re folder.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 24/25
$dit te co%ied DS file and cange te WSID line to reflect te nae of tat Ben&%% #erer.
(n eac reaining Ben&%% #erer, ty%e in DSMA/1% C,1+/0
8userwebsterslab(administrator 8'wd'assword 8dsn9C(Program
+iles(Citrix(/nde'endent Management Arc3itecture(Webster+armDSM+674dsn9 and %re## 7nter . =en ty%e in 1*% S%,P /MAS*R!/C* :: 1*% S%AR% /MAS*R!/C* and %re##
7nter .
(n any of te Ben&%% #erer#, #tart te Access Management Console @&)CA.
7/27/2019 Learning How to Migrate a Citrix Data Store From Access to SQL Server
http://slidepdf.com/reader/full/learning-how-to-migrate-a-citrix-data-store-from-access-to-sql-server 25/25
=e &)C counicate# wit te data #tore to retriee te <ar inforation.
If any error# are receied, go to tt%;**#u%%ort.citrix.co and #earc for te error nuber.
&n alternate way to te#t connectiity to te data #tore i# fro a coand %ro%t ty%e in
Q+ARM and %re## enter.
Jou learned ow to;
• "ac%up an Access data store
• Create a new !ile DSN for a S81 Server data store
• ,igrate to the new data store
• Configure all XenApp servers to communicate with the new data store
• Stop and restart the I,A service on a XenApp server
• 'sing the Access ,anagement Console verify communication with the new data store