Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
How to migrate the Active Administrator database to a new SQL server.
Resolution
These steps are for version 7.5 or later:
To move the AA database to a new SQL server:
Backup the database using SQL Server Management Studio
If the database is large and contains old events that are no longer needed, now would be a good time to purge those events: - Open the AA console - Expand Auditing & Alerting - Select Archive & Purging - In the top click Purge - Select the date that you want to purge events older than and click Purge Now
If database maintenance has not been performed regularly, click DB Maintenance and then click Run Now
Check to see if the AA_Admin and AA_User groups reside in the Users container in Active Directory or as local groups on the SQL server. If they are in AD proceed to step 7. If they are local groups on the SQL server, proceed to step 5.
Create the AA_Admin and AA_User groups as global groups in AD or as local groups on the new SQL server. It is recommended that they be created in AD
Add the same accounts from the old groups to the new groups. Members of the AA_Admin groups will have full control over the database, and members of AA_User will be able to run reports against the database. The Active Administrator Agent account, and the account used for the AA service should also be added to the AA_Admin group
Open the AA Console
Expand Auditing & Alerting
Select Agents
Select all of the Agents, right click and select Stop
Open the AA Server Manager and stop the AFS, ADS and Notification services
Using SQL Server Management Studio connected to the old SQL server, detach the AA database and the AA Archive database if it exists
Copy the .mdf and .ldf files for the databases to the new SQL server. Alternatively, backup the database and restore to the new SQL server
Using SQL Server Management Studio connected to the new SQL sever, attach the database(s)
Expand Security | Logins
Right click Logins and select New Login
Use the Search button and browse for the new AA_Admin group created in step 5
Set the Default database to the AA database
Select User Mapping
Check the AA database and in the bottom select Public and AA_Admin_Role
Click OK
Right click Logins again and select New Login
Use the Search button and browse for the new AA_User group created in step 5
Set the Default database to the AA database
Check the AA database and in the bottom select Public and AA_User_Role
Click OK
Open the AA Configuration Wizard
Click Next until you get to the Active Administrator Database Configuration page
Select Use an existing Active Administrator Database
Enter the new SQL sever name and the AA database name and click Next
If you moved an existing Archive database to the new server, select Use an existing Active Administrator Archive database or select Create a new Active Administrator Archive database and click Next
Click Next through the rest of the Wizard
Using the AA Server Manager start the AFS, ADS and Notification services
Open the AA Console and select Auditing & Alerting | Agents
Uninstall all of the Agents and reinstall them. This step is required as the agents have the database name hardcoded when they are installed
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Recommended Content
Product(s):
Active Administrator
8.7, 8.6.3, 8.6.2
Topic(s):
How To
Article History:
Created on: 10/4/2016 Last Update on: 6/3/2024
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.