Migrate the ACM Database to a New Server

If you are only interested in migrating the configuration data and none of the history, follow the instructions on “Migrate ACM Configuration to a New Server” instead.

Step 1: Stop all services on the ACM server:

To do this you must:

  • Disconnect all HMI’s and OPC Clients from ACM to prevent asiData from being restarted

  • Stop all ACM services in the ACM Monitor on the Status tab.

  • Exit ACM Monitor from the Task Tray by right clicking the ACM Monitor icon and selecting “Exit”.

Step 2: Move the ACM SQL Database

The following steps may require administrator privileges on the SQL Server.

a. Back up the ACM SQL database

Depending on the size of your database, this step may take a while to complete. To back up your database:

  • Open SSMS

  • Right-click the ACM database you plan to upgrade

  • Select “Tasks-> Back Up”

  • Unless the destination file you wish to back up to is already listed, “Remove” any you don’t wish to use, and click “Add” to add the new one.

b. Copy the database to the new server

Copy the .bak file you created in Step 2 to the correct location on the new server. The default backup location depends upon the version of SQL installed.

c. Restore the database on the new server

  • To restore the database on the new server in SSMS, right-click on the databases folder and select “Restore Database”.

  • Select “Device” and click on the ellipsis next to the device field.

  • Click “Add”:

  • Navigate to the location to which you saved the back up in Step 2a.

  • Select the database that you would like to restore and complete the prompts.

Step 3: Update the ACM Monitor Database Connection

  • Open ACM Monitor, select “Database” and then click the “Manage Database” button.

  • On the ACM Database Connection form, update the configuration settings.

  • If you need to upgrade the database, move to step 6, otherwise click “OK” and move to step 7.

Step 6: Upgrade the ACM Database

If you need to upgrade the ACM database after migrating it to the new server, click the “Create/Update Database” button.

  • The database wizard will open using the connection settings you just entered. If this user has adequate database server permissions, click “Next”, otherwise change the user to one with permission to modify the database and then click “Next”.

    • Select Update existing database and click “Next”

    • The following form loads with the already saved values - the same as are seen in the $Server object. Change them if you wish to and then click “Next”.

    • Click “Finish” to upgrade the database.

    • When it reports success, click “Done”.

 

For assistance, please submit a ticket via our Support Portal, email autosol.support@autosoln.com or call 281.286.6017 to speak to a support team member.