The processes and scenarios in this article provide instructions on how to move a SkySync or SQL node from one server to another. If migrating multiple SkySync nodes the process explained below will need to be repeated on each one. If migrating multiple clusters, then the migration should be done one cluster at a time.
Moving SQL to a different server
1) Stop the SkySync Service on every node accessing the SQL database. If there are any programs which automatically start stopped services they will need to be disabled
2) Stop activities that access the SQL Database
3) Backup the SQL database and move it to the new server
4) Restore the SQL database on the new server
Re-installing SkySync
1) Copy the Keys folder located in C:\ProgramData\PortalArchitects\Data from the source server to the new server and place it in a folder on the desktop.
2) Download and extract the newest installer on the new server.
3) Ensure that the SkySync service has been stopped on the old server.
3) Double-click the SkySync.exe to begin the installation
4) Check the box to accept the terms and select Custom install before clicking next
5) Click next
6) Local System account is an option however it is recommended to select a specific Windows account created for SkySync login
7) Click Next
9) Select or type the name of the SQL server
11) Click Validate
12) Click Next
13) Once the installation is complete copy the old Keys folder to the directory C:\ProgramData\PortalArchitects\Data on the new computer.
Scenario 1: SQL and SkySync are located on the same server and need to be moved to a new server
In this scenario SkySync and the SQL Database are located on the same Server or Virtual Machine, and need to be moved to a new server. To do this the SQL database will need to be moved, and SkySync will also need to be reinstalled on the new server with a custom install. Follow the processes above first for moving a SQL Database and then for Reinstalling SkySync.
Scenario 2: SQL and SkySync are installed on two separate Servers and only SQL needs to be moved
When the SQL server is being upgraded and it is located on a separate server from SkySync then it is not necessary to move the SkySync installation. As with any scenario the SkySync service should be stopped, and actions effecting the SQL database should be halted. After SQL has been moved simply edit the connections.config file located in C:\Program Files (x86)\SkySync to reflect the new SQL server name and restart the SkySync service. Follow the process above for Moving SQL to a different server.
Scenario 3: SQL and SkySync are installed on two separate Servers and only SkySync needs to be moved
When upgrading just the SkySync node only SkySync will need to be migrated and no action needs to be taken on the SQL server. As with anytime a migration of any type is taking place it is important to stop activity on the database as well as stop the SkySync service. It is also necessary to move a copy of the Keys folder located at C:\ProgramData\PortalArchitects\Data\ to the new server. After this is done simply reinstall SkySync using the most recent installer on the new server being sure to use the custom install so that the SQL server can be specified. Once SkySync has been reinstalled copy the keys folder into the path C:\ProgramData\PortalArchitects\Data overwriting the folder that will have been created automatically. Follow the process above for re-installing SkySync.