How to migrate Citrix Session Recording databases
Here is a quick blog around migrating Citrix Session Recording Databases to a new SQL server. This is only a single instance and it's not load balanced. It's a very basic configuration and I wanted to go into the CTX article a bit more.
Stop the Services
Take a full backup of existing Session Recording databases (SessionRecording and SessionRecordingLogging)
Copy backed up databased to the new SQL server.
Restore Session recording and logging databases in the new SQL server.
Create new logon with Session Recording server hostname in SQL server under Security -> Logins
This is an example from the Citrix KB for the permissions.
Add both databases to Always On High Availability (if there is Always on configured)
Take backup of "C:\Program Files\Citrix\SessionRecording\Database\Bin\SsRecDatabase.InstallState"
Updated meaning the file is backed up "Taken backup of "C:\Program Files\Citrix\SessionRecording\Database\Bin\SsRecDatabase.InstallState"with a new SQL Server or Always-On Listener address.
Updated following registry with new SQL Server or Always-On Listener address.
Before DB name
Update this location for the new Database:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Citrix\SmartAuditor\Database\SmAudDatabaseInstance
Then update the location as well to the new database name
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\SmartAuditor\Server\SmAudDatabaseInstance
Start services (Citrix Session Recording Analytics Service, Citrix Session Recording Storage Manager).
Citrix Database has been restored
Test recording
No comments:
Post a Comment