Steps1:CreateOracleNew Database
in the new Create a new database on the Oracle database server, such as name:Orazh; then migrate the original Oracle database to the new Oracle database and set the new database name. This part of the Oracle engineer can be done.
Steps2: CreateDsn
in one of the XenApp servers (example:Citrix137)
Open C:\ProgramFiles (X86) \citrix\independent Management Architecture folder, you can see something similar to the mf20.dsn file, i.e. The database connection file that XenApp now uses.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/C5/wKiom1WnlabAIrZdAAS8ZRqdxFE071.jpg "title=" 1.png " alt= "Wkiom1wnlabairzdaas8zrqdxfe071.jpg"/>
we need to create a new The DSN file points to the new database, with the following details:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/C2/wKioL1Wnl7bxaA-_AAzXoMixXk8010.jpg "title=" 1.jpg " alt= "Wkiol1wnl7bxaa-_aazxomixxk8010.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/C5/wKiom1Wnlf7hMotlAArKTCU_IlY519.jpg "title=" 1.jpg " alt= "Wkiom1wnlf7hmotlaarktcu_ily519.jpg"/>
-
Open ODBC, in the File DSN , point to C:\Program Files (X86) \citrix\independentmanagement Architecture, click ADD creates a new DSN named mf21-a.dsnand selects the new database in the wizard.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/C2/wKioL1WnmACTflm2AAi5eWJIBHk349.jpg "title=" 1.jpg " alt= "Wkiol1wnmactflm2aai5ewjibhk349.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/C5/wKiom1Wnlkjz8l7UABAXDez75YI263.jpg "title=" 1.jpg " alt= "Wkiom1wnlkjz8l7uabaxdez75yi263.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/C2/wKioL1WnmD2gapOwAAsBKrHcS0Y140.jpg "title=" 1.jpg " alt= "Wkiol1wnmd2gapowaasbkrhcs0y140.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/C2/wKioL1WnmFiwq4utAA-e8-mdg3k598.jpg "title=" 1.jpg " alt= "Wkiol1wnmfiwq4utaa-e8-mdg3k598.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/C5/wKiom1WnlpvxdIH9AA8ziscLuQg591.jpg "title=" 1.jpg " alt= "Wkiom1wnlpvxdih9aa8ziscluqg591.jpg"/>
Steps3: Migrating a database
Open Xenapp Server, start / run, input cmd
Enter the following command C:\>dsmaint migrate/srcdsn: "C:\Program files\citrix\independent managementarchitecture\mf20.dsn"/srcuser: Old database connection user /srcpwd: password /dstdsn: "C:\ProgramFiles\Citrix\Independent Management Architecture\mf20-a.dsn" /dstuser: New Database connection user /dstpwd: password
my problem, the correct typing command should be mf21-a.dsn.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/C2/wKioL1WnmLTB3ynVAAudgNhFTwY354.jpg "title=" 1.jpg " alt= "Wkiol1wnmltb3ynvaaudgnhftwy354.jpg"/>
Steps4: Update the server'sDsnConnection
Continue in cmd input command
C:\>dsmaintconfig/user: New Database connection user /pwd: password /dsn: "C:\Program files\citrix\independent Management Architecture\mf21-a.dsn "
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/C5/wKiom1Wnlx7wr0zFAAdxfSNuOk0343.jpg "title=" 1.jpg " alt= "Wkiom1wnlx7wr0zfaadxfsnuok0343.jpg"/>
prompts you to restart IMA Service
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/C5/wKiom1WnlzfQze-JAAgQMAWJWTs195.jpg "title=" 1.jpg " alt= "Wkiom1wnlzfqze-jaagqmawjwts195.jpg"/>
Steps5: RestartImaServices andXenappserver
Restart IMA Service.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/C5/wKiom1Wnl1jD2klSAAkHPa0ZpoA843.jpg "title=" 1.jpg " alt= "Wkiom1wnl1jd2klsaakhpa0zpoa843.jpg"/>
Check to see if the list value has been updated DSN:
Hkey_local_machine\software\citrix\ima\databasedriver
Hkey_local_machine\software\citrix\ima\datasourcename
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/C2/wKioL1WnmVTCeg7rAANajSACwl8434.jpg "title=" 1.jpg " alt= "Wkiol1wnmvtceg7raanajsacwl8434.jpg"/>
Console information is not synchronized
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/C2/wKioL1Wnmg7iWdiOAAKh2vchWNQ329.jpg "title=" 1.jpg " alt= "Wkiol1wnmg7iwdioaakh2vchwnq329.jpg"/>
If you need to synchronize in time, restart Xenappserver database connection is normal after
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/C5/wKiom1WnmAGRvleqAAc80_Da3Hg487.jpg "title=" 1.jpg " alt= "Wkiom1wnmagrvleqaac80_da3hg487.jpg"/>
Steps6: Update OtherXenAppServer database connection.
Copy the Mf21-a.dsn file from the XenApp server to the other citrixxenapp server and execute:c:\> Dsmaintconfig/user: New Database connection user /pwd: password /dsn: "C:\Program Files (x86) \citrix\independent Managementarchitecture\mf21-a.dsn " Restart the IMA service or restart the server.
This article is from "I take fleeting chaos" blog, please be sure to keep this source http://tasnrh.blog.51cto.com/4141731/1675428
XENAPP 5 Migrating Oracle Database processes