CRS - Restore after server failure
About
This chapter describes how to restore YSoft SafeQ CRS after the failure. This scenario shall be followed in case of any kind of CRS failure (corrupted hardware, corrupted SQL server, missing database files, corrupted CRS binary files...).
The article consists of:
Requirements
Kindly prepare all the required data before starting with the master node (1st installed node) recovery:
CRS databases backups
CRS configuration backup
CRS installation files
See article CRS - Backup for more information about database and configuration files backup.
Step 1 - restore hardware after server failure (optional)
Replace all corrupted hardware.
Skip this step in case that hardware was not corrupted.
Step 2 - restore software after server failure (optional)
Use this step in case the operating system or MS SQL has been corrupted
1 | Install the operating system. The operating system must be supported for the particular version of MS SQL server that you are going to deploy. See documentation of your MS SQL server for more details.
|
2 | Install and configure Microsoft SQL Server for YSoft SafeQ CRS. It is advised to install the same version/edition of MS SQL server which was used before the failure to avoid the database compatibility issues. The details for the MS SQL server installation can be found in following articles:
|
3 | Enable replication as follows:
|
Step 3 - clean up the server before CRS re-installation
It is necessary to clean up (remove) all the components described below before the YSoft SafeQ CRS can be restored.
You can skip this step in the case of clean installation of Operating system and MS SQL server.
1 | Make sure the MS SQL server is properly installed, including Reporting services.Open the SQL Server Configuration Manager (Start > Programs > Microsoft SQL Server 20xx > Configuration tools -> SQL Server Configuration Manager) and verify required services are running.
| |
2 | Make sure the YSoft SafeQ CRS service is removedOpen a Windows Service (run -> services.msc). If the YSoft SafeQ CRS service exists:
sc delete YSoftSafeQCRS | |
3 | Make sure that CRS folder is deletedCheck disk drive where CRS server was installed. In the case that SafeQCRS folder exists, delete it.
| |
4 | Make sure that no CRS databases exist on the MS SQL server
| |
5 | Make sure that packages for cubes processing are deleted
In case the packages are present, delete them.
| |
6 | Make sure that analysis services does not contain SafeQCDCConnect to Analysis Services using SQL Server Management Studio. If the database SafeQCDC database exists, delete it.
|
Step 4 - restore the YSoft SafeQ CRS
1 | Restore the YSoft SafeQ CRS databases (according to CRS - Database Restore) on MS SQL server :
|
2 | Configure the CRS server as described in CRS configuration, make sure the following attribute in DeploymentConfig\crs\env.ini is set: Database instance creation type |
3 | Run the install.bat to begin the CRS installation: InstallPackages\install.bat. The command prompt opens. Enter the environment name, including the path to the currently installed node: |
4 | You can see the installation progress in the command line window. The installation shall finish with the message INSTALL PROCESS FINISHED SUCCESSFULLY. Then you can close the installation window. |
5 | Verify that YSoft SafeQ CRS service is running (using service.msc) If it is stopped start it manually.
|
Step 5 - verification of the functionality
1 | Verification of connectivity to the CRS server It must be possible to access the statistical data on the CRS server. The date/time in the statistics shall be equal to the date/time when the CRS backup has been performed. Please verify that data are available. 1a. Verification of access via Analytic Services
1b. Verification of access via Reporting Services (optional)
|
2 | Verification of data synchronization from CML to CRS Send the new data to the CRS Server
|
3 | Verification of statistical data processing 3a. Check that CRS data processing is not in progress Verify that there is no cube processing running at the moment on the CRS server. If the package is running, wait for it to finish.
3b. Restart CRS service Restart the YSoftSafeQCRS service (via services.msc) on the CRS server. This will force processing of data in the cube and cube processing package will start.
3c. Wait for cube processing to finish Wait till the cube processing is finished. The cube processing is finished when there is no package running any more. To verify when the package was processed follow these steps:
3d. Verify the statistical data Verify the CRS report includes the data from the last synchronization. The data in the CRS shall have the date/time equal to the last time of synchronization (as referred in point 2). |

