Upgrade from YSoft SafeQ 4 to YSoft SafeQ 5 - MS-SQL External database

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/warning.svg Please, read Upgrade from YSoft SafeQ 4 to YSoft SafeQ 5 notes before migration.

Before upgrade

  • Stop all YSoft SafeQ services on ORSs.

  • Backup YSoft SafeQ 4 configuration and databases.

  • Uninstall all YSoft SafeQ 4 CML server(s) except the first (master).

  • Existing YSoft SafeQ 4 with external MS-SQL database.

  • All nodes of the YSoft SafeQ CML cluster have to be in the same timezone.

  • Make sure that DB user has got rights to create new databases otherwise the upgrade fail.

Migration steps for master CML node

Perform following steps on the server where master of YSoft SafeQ 4 CML is installed

1

Download and run the installation file ysf-sq5-install.exe from the Y Soft Partner Portal. Once you have the file and the server is ready for installation, you can begin YSoft SafeQ migration.

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/lightbulb_on.svg NOTE: In order to install YSoft SafeQ, this file is required. It contains everything needed to install a fully functional YSoft SafeQ server.

 

2

Select the language that will be used for the installation process. This language will also be used as the default language for the YSoft SafeQ system.

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/lightbulb_on.svg NOTE: You can change the language later at any time. 

images/download/attachments/27857976/01.PNG

 

3

Close all other applications to avoid issues with updating the relevant system files.

images/download/attachments/27857976/02.PNG

 

4

If you agree to all the license terms and conditions, click I Agree to continue. If you do not agree, click Cancel to quit the installation.

images/download/attachments/27857976/03.PNG

 

5

After you accept the license agreement, the installer runs a preinstallation check. This procedure checks several conditions and determines whether the server meets all necessary requirements for YSoft SafeQ installation.

If any of these requirements are not met, they will be displayed in either the Show warnings or Show problems area, depending on their severity. If there are warnings, installation can continue. If there are problems, installation cannot continue. If any warnings or problems are indicated, review the warnings and resolve the problems, then continue.

The requirement that are being checked by the installer are:

  • Correct version of Windows

  • User installing YSoft SafeQ has to have administrator rights

  • Version of .NET (must be .NET 4.5.1)

  • Version of Windows Installer (must be 4.5 to install MS SQL)

  • All required ports are open and free

  • Enough available disk space

  • Enough available system memory

  • Presence of a previous version of YSoft SafeQ

images/download/attachments/27857976/04.PNG

 

6

The installer now displays YSoft SafeQ installation settings.

To use the default installation settings:

  • SafeQ 5 will be installed in to C:\SafeQ5 folder

  • Web server role feature will be enabled

To use values other than the default ones:

  • Check I want to customize my YSoft SafeQ installation; then go to Customized Installation for more information.

images/download/attachments/27857976/05A.PNG

 

7

Enter the names of the YSoft SafeQ databases.

images/download/attachments/27857976/07A.PNG

 

8

If you want to perform database backup, select YES, otherwise click "NO"

images/download/attachments/27857976/08A.PNG

9

The installer begins to copy all the files required by YSoft SafeQ and the database system you chose to the selected destination folder on the server.

images/download/attachments/27857976/09.PNG

10

The last page of the wizard informs you about the results of the installation process and gives you the option to display the YSoft SafeQ Web Interface. Click Finish when you are ready to close the installation wizard.

images/download/attachments/27857976/010.PNG

 

11

Installation is now complete.

 

Troubleshooting the installation process

If an error occurred during the installation process, the best way to troubleshoot it is to check the several log files that were created during the process. All installation log files are located in the YSoft SafeQ installation folder.

  • sqinstall.log - contains information about the entire YSoft SafeQ installation process.

Custom installation

6a

If you wish to use values other than the default settings, check I want to customize my YSoft SafeQ installation.

images/download/attachments/27857976/05B.PNG

6b

Select Upgrade from YSoft SafeQ 4.0.34.2 option. Name of this option may differ, it depends on version of SafeQ that was installed before upgrade.

 images/download/attachments/27857976/06B.PNG

 

6c

You now have the option to select your own installation location. You can install YSoft SafeQ anywhere other than a UNC path or the root folder of the drive.

images/download/attachments/27857976/07B.PNG

6d

Configure the connection to your external Microsoft SQL database.

images/download/attachments/27857976/08B.PNG

 

7

Local Guid and ports are migrated from YSoft SafeQ configuration. Click on Install to begin the instlallation.

images/download/attachments/27857976/010B.PNG

 

 

 

 

After you accept the license agreement, the installer runs a preinstallation check. This procedure checks several conditions and determines whether the server meets all necessary requirements for YSoft SafeQ installation.

If any of these requirements are not met, they will be displayed in either the Show warnings or Show problems area, depending on their severity. If there are warnings, installation can continue. If there are problems, installation cannot continue. If any warnings or problems are indicated, review the warnings and resolve the problems, then continue.

 

Migration steps for second and every other node of CML

Perform the following steps on every server where the additional YSoft SafeQ 4 node was installed.

  • Installation requires the exactly the same IP addresses used with YSoft SafeQ 4 (second node of YSoft SafeQ 5 has to have the same IP address that was used used for YSoft SafeQ 4).

1

Obtain and run the installation file ysf-sq5-install.exe from the Y Soft Partner Portal. Once you have the file and the server is ready for installation, you can begin YSoft SafeQ migration.

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/lightbulb_on.svg NOTE: In order to install YSoft SafeQ, this file is required. It contains everything needed to install a fully functional YSoft SafeQ server.

 

2

Select the language that will be used for the installation process. This language will also be used as the default language for the YSoft SafeQ system.

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/lightbulb_on.svg NOTE: You can change the language later at any time. 

images/download/attachments/27857976/01.PNG

 

3

Close all other applications to avoid issues with updating the relevant system files.

images/download/attachments/27857976/02.PNG

 

4

If you agree to all the license terms and conditions, click I Agree to continue. If you do not agree, click Cancel to quit the installation.

images/download/attachments/27857976/03.PNG

 

5

After you accept the license agreement, the installer runs a preinstallation check. This procedure checks several conditions and determines whether the server meets all necessary requirements for YSoft SafeQ installation.

If any of these requirements are not met, they will be displayed in either the Show warnings or Show problems area, depending on their severity. If there are warnings, installation can continue. If there are problems, installation cannot continue. If any warnings or problems are indicated, review the warnings and resolve the problems, then continue.

The requirement that are being checked by the installer are:

  • Correct version of Windows

  • User installing YSoft SafeQ has to have administrator rights

  • Version of .NET (must be .NET 4.5.1)

  • Version of Windows Installer (must be 4.5 to install MS SQL)

  • All required ports are open and free

  • Enough available disk space

  • Enough available system memory

  • Presence of a previous version of YSoft SafeQ

images/download/attachments/27857976/11.PNG

 

6

Select I want to customize my YSoft SafeQ installation and continue to next step.

images/download/attachments/27857976/12.PNG

 

7

Select Add or replace a node in existing YSoft SafeQ cluster and continue to next step.

images/download/attachments/27857976/13.PNG

 

8

Enter the IP address of the current master node (1st node) and click Retreive node list. Then select the IP address of the node that you want to replace and continue to next step.

images/download/attachments/27857976/14.PNG

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/information.svg Example: In this case the second node with IP address 10.0.11.19 is selected.

 

9

You now have the option to select your own installation location. You can install YSoft SafeQ anywhere other than a UNC path or the root folder of the drive.

images/download/attachments/27857976/15.PNG

 

10

Select Use an existing external database server.

images/download/attachments/27857976/16.PNG

11

Configure connections to the external MS-SQL server.

images/download/attachments/27857976/17.PNG

 

12

Enter the names of the YSoft SafeQ databases.

images/download/attachments/27857976/18.PNG

 

13

The last page of the wizard presents you with the following settings:

  • Local GUID for currently installing CML server (node). Please use exactly the same GUID as was used in YSoft SafeQ 4. You can obtain it from the web interface of YSoft SafeQ or from <SafeQ4>\conf\startup.conf (parameter localGUID) on the node you are upgrading.

  • TCP port that the YSoft SafeQ Web Interface will use.

  • HTTPS TCP port for YSoft SafeQ Web Interface.

  • Install the Terminal Server: To install Terminal Server, check the checkbox. To not install it, leave the checkbox empty.

  • Start YSoft SafeQ services after the installation is finished: To start services after installation, check the checkbox. To not start services, leave the checkbox empty.

  • Enable support for embedded IIS we server: To install IIS web server, check the checkbox. To not install IIS web server, leave the checkbox empty.

IIS web server is required to use embedded hostable web core (HWC) web server inside Terminal Server. HWC web server is suitable for environments with a lot of devices on one node (e.g. up to 400) or for customers that experience problems with the legacy web server mainly for stability reasons (unexpected crashes). It provides best performance and stability, that is not achievable with any other embedded web server solution.images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/lightbulb_on.svg NOTE: Checkbox for web role installation appear, only on systems which supports IIS 7 or higher (Windows Server 2008, 2008 R2 and 2012)

images/download/attachments/27857976/19.PNG

 

14

The installer begins to copy all the files required by YSoft SafeQ and the database system you chose to the selected destination folder on the server.

Installation will be paused. Follow the displayed steps and perform a backup from master node and restore it to the currently installed slave node.

images/download/attachments/27857976/222.PNG

15

Installation is now complete.

images/download/attachments/27857976/final.PNG

 

16

If required, repeat this procedure for other node.

Troubleshooting the installation process

In case an error occurred during the installation process, the best way to troubleshoot it is to check the several log files that were created during the process. All installation log files are located in the YSoft SafeQ installation folder.

  • sqinstall.log - contains information about the entire YSoft SafeQ installation process.

 

Additional steps

  • Reinstall all embedded devices.

  • Upgrade Terminal professional FW if necessary.

  • Run LDAPReplicator (optional).