New article
Recently updated
Moving your Ideagen Quality Management Database to a New Server
Who is this article for?IT Staff moving Ideagen Quality Management to a new server.
IT Permissions will be required to follow these steps.
The following article explains how to move your Ideagen Quality Management database to a new server.
1. Introduction
Before you begin the database transfer you must:
- Ensure you have set up your new SQL server with mixed-mode authentication enabled.
- Confirm if you have the Audit Log feature enabled (you can confirm this in the Ideagen Quality Management Administration module under Licensed Features).
There are 3 stages to moving your database to a new server:
2. Moving the Database
- Backup your existing live database.
- On the new server, launch Microsoft SQL Management Studio.
- Connect to your server.
- Go to Object Explorer and expand Security, then Logins.
- Right click on Logins and select New Login.
- Name the account "QPulseAppUser".
- Set this to use SQL Server authentication (and assign the same password as your existing server).
- Uncheck Enforce password policy.
- Click on the Status page at the left.
- Grant the account access to login.
- Click OK.
- Restore the database backup taken in step 1 to your new/replacement server.
- Run the following command against the database:
exec sp_change_users_login 'auto_fix','qpulseappuser'
3. Audit Log Database
3.1 Moving the Audit Log Database
If you have purchased the Audit Log add-on, you will need to ensure that the QPulseAuditLog database is moved to the new server as well as the QPulse database.
- Backup your existing Audit Log database.
- On the new server, launch Microsoft SQL Management Studio.
- Connect to your server.
- Go to Object Explorer and expand Security, then Logins.
- Right click on Logins and select New Login.
- Name this account "QPulseAuditLogUser".
- Set this to use SQL Server authentication (and assign the same password as your existing server).
- Uncheck Enforce password policy.
- Click on the Status page at the left.
- Grant the account access to login.
- Click OK.
- Restore your QPulseAuditLog database from the backup.
- Run the following command against the database:
exec sp_change_users_login 'auto_fix','qpulseauditloguser'
3.2 Configuring Quality Management to use the Moved Audit Log
- Download the Audit Log connection script from Attachments.
- Open this script in Microsoft SQL Management Studio.
- Update the script by making the following changes:
- Replace SERVERIP\INSTANCE with the IP address and the instance name of your SQL server.
- Replace PASSWORD with the password set for your QPulseAuditLogUser.
- Run the script against the QPulse database (not the QPulseAuditLog database).
4. Updating the Application Server
The application server will need to be updated before Ideagen Quality Management will use the database.
- On the application server, go to the Ideagen Quality Management Server folder. By default, this is:
- 32-bit Windows: C:\Program Files\Gael Ltd\Q-Pulse Server.
- 64-bit Windows: C:\Program Files (x86)\Gael Ltd\Q-Pulse Server.
- Locate your DBConnections.xml file and open this with Notepad.
- Edit the highlighted section below to include the IP address of your new server and the correct database instance name:
- Double-check that the password specific matches the one set.
- Save this file.
- Launch ServerConfigUtil.exe.
- Import the DBConnections.xml.
- Click OK and save when prompted.
- Re-start the QPulse Server service.
Note: When moving server the schema version of the database must match the version of the server. If an upgrade and a server move are being performed at the same time the database schema must be updated, as per the upgrade guide located in the Documentation folder of the version you are upgrading to.