Home > SI Documentation (v17) > Knowledge Base > How do I manually move my SI Server?

How do I manually move my SI Server?

Question/Background

 

How do I manually move my SI Server? Ok, this question really comes in more like a bunch of frantic statements/questions, e.g. "My server crashed over the weekend!! I don't have a backup of my SI Server!!! I can access the files on the old hard drive though, can I recover my data??? I swear I'll make weekly, even daily backups if you can get my data restored!!!".

 

In this scenario, often times you are not always moving servers, you may just be re-installing on the same machine once you have corrected the issue you encountered.

 

If you do have a backup of your SI Server, skip this post and simply restore your backup.

Answer

 

This process is demonstrated for installations that use our Express Configuration (default) option when you configured your SI server, e.g. all file paths are the default.

Data Needed

 

From the "old" SI Server you will need to get the following files and folder. Place them on some medium that the "new" SI Server can access. It is important to note that as of SI 17 we install SQL Server Express 2019 during the SI Server installation. If you installed SI prior to SI v17 then you will be on an older version of SQL Server Express, likely either 2017 or 2012.

 

For SQL Server Express 2019:

 

C:\Program Files\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegrator.mdf

C:\Program Files\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegrator_log.ldf

C:\Program Files\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorLogs.mdf

C:\Program Files\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorLogs_log.ldf

C:\Program Files\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorProjects.mdf

C:\Program Files\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorProjects_log.ldf

C:\DToolsSIXData

 

For SQL Server Express 2017 or earlier:

 

C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegrator.mdf

C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegrator_log.ldf

C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorLogs.mdf

C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorLogs_log.ldf

C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorProjects.mdf

C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.DTOOLSSIX\MSSQL\DATA\SystemIntegratorProjects_log.ldf

C:\DToolsSIXData

 

Note: the "MSSQL11.DTOOLSSIX" folder may vary on your machine depending on how many instances of SQL have been installed on your machine, what version of SQL you are using, and whether or not you did a Custom Configuration vs. the Express Configuration (default).

 

Installing on "new" Machine

 

  1. Install the SI Server.
  2. Open the SI Server Manager and click the big button at the top of the interface to stop your SI service:

 

stop service.jpg

 

  1. Paste the files you recovered above into the exact same locations on this machine*. If prompted to overwrite the exiting files, allow this.

Note: If you are moving these files from a previous version of SQL Server Express (2017 or 2012) to a machine running SQL Server Express 2019, the path will change from C:\Program Files (x86) to C:\Program Files.

 

  1. Open the SI Server Manager and click the big button at the top of the interface to start your SI service:

 

start service.jpg

Detaching/Re-Attaching Databases

 

The database must be detached and re-attached. You will need Microsoft SQL Server 2012 Management Studio Express (or later) to accomplish this. This is free and can be downloaded from https://go.microsoft.com/fwlink/?linkid=849819

 

Note: Makes sure that you are download the 32-bit version.

 

32 bit management studio.png

 

  1. Open Microsoft SQL Server 2012 Management Studio Express
  2. Login to the correct SQL instance on this machine, the default is "DTOOLSSIX", by clicking Connect:

 

connect to server login.png

 

  1. Expand "Databases" in the Object Explorer section.
  2. Select "SystemIntegrator", right-click and select Tasks->Detach...

 

detach databases.png

 

  1. Click the "Drop Connections" option on the Detach Database form and click OK. The database will be removed from the list.

 

drop check box.png

 

  1. Repeat steps 4-5 for the "SystemIntegratorProjects" database.
  2. Repeat steps 4-5 for the "SystemIntegratorLogs" database.
  3. Right-click on "Databases" in the Object Explorer section and select Attach...

 

attach database.png

 

  1. On the Attach Databases form, click the Add button:

 

add database button.png

 

  1. On the Locate Database Files form, click "SystemIntegrator.mdf" and then click OK:

 

selected database.png

 

  1. Click OK on the Attach Databases form:

 

added database.png

 

  1. Repeat steps 7-10 for the "SystemIntegratorProjects.mdf" file.
  2. Repeat steps 7-10 for the "SystemIntegratorLogs.mdf" file.

Fixing the Login for the Databases

 

  1. Right-click the "SystemIntegrator" database and select New Query:

 

new query.png

 

  1. Type the following line of code, verbatim, then click the Execute button:

 

sp_change_users_login 'AUTO_FIX','DToolsData'

 

query execute.png

 

You will see following confirmation that an orphaned user was fixed:

 

orphans.png

 

  1. Repeat steps 1-2 for the "SystemIntegratorProjects" database.
  2. Repeat steps 1-2 for the "SystemIntegratorLogs" database.
  3. Close SQL Server Management Studio. When you are prompted to save your queries, choose No.

Login From an SI Client

 

  1. On a machine running the SI Client, launch the SI Client. You may get a message that the SI Server is currently unavailable:

 

server unavailable.jpg

 

  1. Click Close then type in the new name or IP address of your SI Server in the login form.

 

new server name.jpg

 

Instead of the login form above, may first get the following message if this is a new machine/hard drive:

 

invalid license.png

 

If you get the message above click OK, then click Cancel on the login form. Then click Start->Help->Register and enter your CD Key:

 

register.jpg

 

After you are registered, click Start->Connect->Connect to Server and then enter your new server name as shown above:

 

connect.jpg

Contact Support

 

If you cannot resolve this issue, please open a Support Ticket.

Last modified

Tags

Classifications

This page has no classifications.