Skip to content
Menu
Know Citrix
  • About me
  • Miscellaneous
    • Git Basics
    • SSL certificates
Know Citrix

Move SQL datastore from one server to another

Posted on July 2, 2013
0
(0)

How to Move a Microsoft SQL Server Desktop Engine Data Store From One Server to Another

Summary

This article describes how to move a Microsoft SQL Server Desktop Engine (MSDE) data store from one server to another.

Background

The steps involved in moving an MSDE data store from one server to another is similar to those used for an Access database.

A step-by-step process is detailed below.

  • Server 1 is the old server
  • Server 2 is the new host for the data store

It is necessary to install MSDE from the Citrix Presentation Server CD-ROM, in the folder \Support\MSDE\setupmsdeforMetaFrame.cmd.

Note: Citrix does not recommend installing MSDE on an existing Presentation Server installation.

Procedure

  • On server 1, run dsmaint backup <destination_path>.
    <destination_path> – The destination for the backup copy of the Data Store database. The path can refer to a network share point for Access but not for MSDE.
  • Refer to article CTX104005 – How to Modify the IMA Data Key to Match the Hex Value in the Data Store to gather the value of the Data key in HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\Data.
  • On all the indirect servers in the farm, run the command dsmaint failover to point them to the new Data Store server. This action is similar to Access Data Store and is explained in the article CTX677542 – Advanced Concepts – XenApp Farm Maintenance.
  • On server 2, run chfarm and create a new farm using the same name as the existing one in the MSDE database.
  • Copy the backup file MF20.dat created in step 1 to the server 2 hard drive.
  • On server 2, stop the IMA service and run dsmaint recover[<Source_path\Database_to_recover>] pointing to the MF20.dat copied in step 5.
  • Recreate the LHC on server 2 with the command dsmaint recreatelhc. For more information, on this command, refer to CTX759510 – Function of the Local Host Cache.
  • On Server 2, make sure the Data key value in HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\Data matches the one gathered in step 2.
  • Restart the IMA Service on server 2.

Rate this article

Categories

  • About Home Lab (2)
  • Ansible (1)
  • Architecture – XA and XD (21)
    • Netscaler Architecture (9)
  • AWS (2)
  • Azure (10)
    • Azure Definitions (7)
  • Best Practices (14)
  • Citrix Cloud (6)
    • Workspace Environment Management WEM (1)
  • Citrix Managed Desktops (1)
  • citrix ports (1)
  • Citrix Provisioning (18)
  • Citrix Provisioning Issues (4)
  • Citrix Tools and Scripts (15)
  • Definitions (9)
  • Downloads (1)
  • General Citrix Information (30)
  • Get Started (19)
  • IMP Posts (15)
  • Legacy Citrix Software (1)
  • My TroubleShooting (62)
  • NetScaler (57)
    • GSLB (2)
  • Other Citrix softwares (1)
  • PowerShell (2)
  • Prerequisites (6)
  • Scripts/Automation (7)
  • Tech Articles (13)
  • Terminology (4)
  • Version Differences (5)
  • Why Prerequisites (1)
  • XenApp 5 (38)
  • XenApp 6 (22)
  • XenApp 6.5 (31)
  • XenApp and XenDesktop 7.X (88)
  • XenApp Installation Scripts (3)
  • XenApp Migration (5)
  • XenApp5 Issues (1)
  • XenDesktop 5.X (27)
  • XenDesktop 7.X Issues and troubleshooting (10)
  • XenMobile (1)
  • XenServer 6 (57)

RSS Updates from Citrix Blogs

  • Seven principles of the zero trust security model August 11, 2022
    The reality of today’s fast-paced, increasingly remote work environment positions your business as vulnerable to security breaches. Your employees increasingly rely on their own unprotected devices for work, leveraging SaaS and web-based apps to access your valuable assets and data.… The post Seven principles of the zero trust security model first appeared on Citrix Blogs.  Related […]
    Akshay Kakar
  • What is the difference between virtualization and cloud computing? August 10, 2022
    Users often get confused between virtualization and cloud computing. While virtualization and cloud computing both create useful environments, there are key differences between the two technologies. In short, virtualization creates simulated versions of a machine’s software or hardware components, while … The post What is the difference between virtualization and cloud computing? first appeared on […]
    Monica Griesemer
©2022 Know Citrix | Powered by WordPress and Superb Themes!
0 shares