Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. Info

Regarding SQL Replication:

If you are using SQL redundancy and you are replicating all objects, you only need to update the primary database and SQL replication will take care of updating all redundant servers.

If you are only replicating a few objects you will need to disable replication, update the primary database and then re-do

Step

...

Step 1: “Freeze” the existing ACM server:

...

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

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

...

  • Image Added
  • 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”

...

  • Image Added

    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.

...

...

  • Image Added

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”.

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

    Image Removed
  • Image Added
  • Click “Add”:

    Image Removed
  • Image Added
  • Navigate to the location to which you saved the back up in Step 32a.

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

  • Image RemovedImage Added

Step

...

3: Update the ACM Monitor Database Connection

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

    Image Removed
  • Image Added

    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.

...

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

  • Image RemovedImage Added

    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”

      Image Removed
    • Image Added

      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.

      Image Removed
    • Image Added

      When it reports success, click “Done”.

      Image Removed