Evan,
The biggest "gotcha" with a SQL move to another server is that the 3 users get orphaned. However, you have the additional hurdle of not knowing the passwords, which is fairly common in a CIC system that has been around for a while. Not knowing the passwords creates a catch 22 with the Setup Assistant. It won't let you change the passwords if the users already exist, even if you run the task with an sa level account.
Luckily, there is a system sproc that will resolve both of these issues: orphaned users and resets passwords - login to SQL studio with an sa password, select the I3_IC DB, select New Query (this ensures the proper context for the scripts):
EXEC sp_change_users_login 'Auto_Fix', 'IC_Admin', NULL, '12345678'
EXEC sp_change_users_login 'Auto_Fix', 'IC_User', NULL, '12345678'
EXEC sp_change_users_login 'Auto_Fix', 'IC_ReadOnly',NULL, '12345678'
Change 12345678 to the desired password in each case. Be mindful of the new passwords you choose because there are restrictions in the latest versions of the ODBC drivers: a password must not contain the following characters: [] {}() , ; ? * ! @ - MS SQL will let you use these in passwords, but the Setup Assistant will not let you proceed.
Once you have moved the DB and run the orphaned user scripts, you should run Setup Assistant DB task to point to the DB in its new home. This updates the IC server ODBC-DSNs and the SQL user passwords in IntAdmin-Data Sources. Setup Assistant needs to be run on both IC servers in the switchover pair. It is recommended to stop Interaction Center service on both servers before proceeding with the Setup Assistant - you don't want to update one server, reboot it, then have switchover replicate the old passwords in the registry.
Be sure to test the first server before running setup assistant on the second, just to make sure it works. Take the original DB offline (to make sure you are not still pointed to it); boot the updated IC server; check Application log and look for errors with DB connection (on the updated IC server); run a report as a sanity check.
------------------------------
Donald Reitz
Avtex
------------------------------
Original Message:
Sent: 02-03-2020 13:14
From: Evan Mann
Subject: Moving SQL Database to new server
Currently running PureConnect 2018 R1. I need to move the SQL Database from one SQL server to another, and I will also need to reset passwords for SQL users IC_Admin, IC_User, and IC_ReadOnly as the current passwords are not known.
What steps need to be done on the PureConnect side after the SQL database is moved and the passwords on the 3 SQL users are changed? The installation is fairly basic with IC servers in failover and two Media Servers. No other add-on products/features are in use, and there are no custom handlers that interact with the SQL database.
#SystemAdministration
------------------------------
Evan
------------------------------