Hi isterios,
this is from a pdf doc called Data Store Maintenance from citix dot com
To point a MetaFrame XP server farm to a new database For the best performance, execute this procedure on the data collectors after all other servers are reconfigured.
1. Back up the existing farm database and restore the database to the new server.
2. Create a new DSN file that points to the database restored in Step 1.
3. Execute the dsmaint config command on the server with the new DSN file from Step 2.
4. Stop and restart the IMA service. Important: Restarting the IMA service instead of restarting the server might cause the SNMP service to Dr. Watson if SNMP is enabled. This error is benign.
5. Verify that the server is pointing to the new data store by looking at the following registry setting: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\DataSourceName
6. If the IMA service started successfully, copy the DSN file created in Step 2 to all servers in the farm.
7. Execute the dsmaint config command to change the IMA service configuration on all remaining servers in the farm.
8. Stop and restart the IMA service on all servers in the farm.
Tip: You can execute Steps 6 through 8 on all the servers from a simple batch file placed in a central location
An alternative method for migrating between same version databases is to use the export/import process instead of a backup and restore process. Microsoft SQL Server 7 uses OLE for the export/import functions, which truncates any binary data greater than 256 bytes.
As such, using export/import on Microsoft SQL Server requires that the following steps replace Step 1 above:
1. Export data from the original (source) database and import data into the new (destination) database using the standard export/import procedures described in the database vendor’s documentation.
2. In the destination database, delete the table DATATABLE. This table contains the truncated data as described above.
3. Execute the following SQL command (on one line) in the destination database context to recreate the DATATABLE table with non-truncated data: SELECT * INTO DATATABLE FROM [SourceServerName].[SourceDBName].dbo.DATATABLE;
Note: The brackets in the above SQL command are required if the name contains a space or special character. In addition, you must register the source server with the new database server as a linked server and the source server must be running when the SQL command is executed.
4. Recreate the following indexes on DATATABLE: DATATABLEINDEX cluster index on nodeid DATACONSISTENT unique index on (nodeid and partno) Note: You can recreate the index by choosing Run a Wizard > Database > Create Index Wizard from the Enterprise Manager Console.
5. Follow Steps 2 through 8 above to complete the database migration process.
[blue] Oh you know, just doing what I do.[/blue]
Cheers
Scott