How to migrate a Desktop and Laptop Option (DLO) Media Server to another Server with a different name without Dedupe or BOI.

Article: 100012684
Last Published: 2023-07-20
Ratings: 2 2
Product(s): Desktop Laptop Option

Problem

Steps to migrate a Desktop and Laptop Option (DLO) Media Server to another Server with a different name with all the DLO Components installed in the same server.

Solution

The following steps must be followed when moving the DLO Media Server to another server with a different name.
These steps require that both the old and new servers are online and running DLO.
The servers have to be running the same version of DLO.  If the old server has an older version of DLO installed, it must be upgraded first.
 

NOTE: This document is applicable only for non-dedupe, non-BOI, Standalone setup with all DLO components and Storage Locations (SL) in the same machine.

Prior to following these steps, the server, database and all user files from the Network User Data Folder (NUDF) should be protected.  
 

Below is the step by step process to be followed and each step is detailed below:

1.      Take backup of existing DB files.

2.      Install DLO on new machine and replace DB files.

3.      Modify server name for users to point to the new server.

4.      Create a new storage location on the new server and migrate data from the old server.

1.   Take backup of existing DB files

From the old server machine, stop SQL services and copy the DLO.mdf and DLO_log.ldf file to a safe location. This should be attached to the SQL server in new server machine.

2.   Install DLO on new machine with old DB files

  • On the New Server Install DLO by selecting either local or existing SQL after logged in with the same DLO Admin account as DLO Admin account on the old machine. 
 
NOTE: The bitness (32 or 64 bit) of SQL Server on the new DLO Server Computer should be the same as on the old DLO Server Computer. The SQL version should be same or higher than the existing version.
 
  • After successful installation of DLO, stop DLO Administration Service and Mindtree Storesmart Dedupe Server service.
  • Stop SQL Server (DLO) service on Services, and add "-m" in Start parameters, and start the service.
  • In the newly installed DLO server, do the following:
    • open command prompt and run the following command:
    • osql -E -S .\Instance_name -Q "sp_detach_db 'DLO'"
      Note1: (Default path of DLO DB is C:\Program Files\Veritas\Veritas DLO\Data)
      Note2: SQLCMD is available instead of osql if osql command fails.
    • After detaching successfully, delete DLO.mdf and DLO_log.ldf files from path C:\Program Files\Veritas\Veritas DLO\Data. (These are the empty new DB files)

Now attach the DB files from old server onto the new DLO server:

  • Stop SQL Services.
  • Copy the DLO.mdf, DLO_log.ldf (as present in “Take backup of existing DB files” section) from the old server to the path C:\Program Files\Veritas\Veritas DLO\Data in the new server.
  • Add a FULL Control permission for DLO Administrator account to DLO.mdf and DLO_log.ldf after right-clicking DLO.mdf and DLO_log.ldf and selecting "Security" tab.
  • Start SQL services without adding "-m" in Start parameters.
  • Run the following command to attach the newly copied DB files to SQL server in destination machine.

osql -E -S .\Instance_name -Q "sp_attach_db 'DLO','C:\Program Files\Veritas\Veritas DLO\Data\DLO.mdf','C:\Program Files\Veritas\Veritas DLO\Data\DLO_log.ldf'"

Note: SQLCMD is available instead of osql if osql command fails.

  • Restart all DLO Veritas services, SQL services.
  • Now new server machine has the DB files of old server machine (All the configuration settings and users from old sever will be present in the attached DB.) 

3.   Modify server name for users to point to the new server now:

  • On the old DLO Server Computer, disable “All desktop agents” option from the global settings options. DLO Console-> Tools-> Options -> Global Settings ->Options.

 
  • Run the below command in order to notify all the clients of the media Server change.

On the old DLO Server Computer, open an elevated command prompt and go to the DLO install directory (The default install directory is “C:\Program Files\Veritas\Veritas DLO”) and run the Change Server command using DLOCommandu.exe as shown below: 

DLOCommandu -ChangeServer -M <media server> -A

(Where <media server> is the name of the new Media Server) 

 

  • On the old DLO Server Computer, open the command prompt and run the below command in order to notify all the clients for the Database Server change.

    (The default install directory is “C:\Program Files\Veritas\Veritas DLO”) and run the Change DB command using DLOCommandu.exe as shown below:

    DLOCommandu -ChangeDB -DBServer <DB server name> -DBInstance <DB instance name>

           In case of remote SQL instance use the following command:

           DLOCommandu -ChangeDB -DBServer <DB server name> -RemoteDB -DBInstance <DB instance name> -DBName <DLO database name> -DBDataFile <DLO data file name> -DBLogFile <DLO log file>

           Specify blank (" “) in case of a default database instance

 
           

  • On the old DLO Server Computer, enable all the DLO Agents (clients) from the Global settings option, which is in path:

      Tools->Option->Global Settings->Option.

4.   Create a new storage location in the new server and migrate data from the old server:

  • Create a Storage Location in the new server (storage1).

  • Go to Users Tab. Select all users and right click. Select “Move Network User Data Folder” option





  • After completion of migration, data from old server will be moved to the new Storage Location and any new backups will now go to the new storage location.

Was this content helpful?