Versions Compared

Key

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

...

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

  1. Disable replication,

update
  1. Update the primary database

and then re
  1. following all the steps below

  2. Re-do Step

6
  1. 4 for each subscriber database.

  2. After all databases have been updated, then you may reenable replication.

Note

SQLUpdate_37 modifies the primary key of tblItems. If you are only replicating a few objects and one of those objects will be updated by the ACM Sql Scriptsthis table and upgrading from DB version 36 or lower to DB Version 37 or higher, you will need to remove it as an article of replication, perform the update and then add it back. Instructions are here: Remove and Add a Table as an Article of Replication

Step 1: Stop all ACM Services:

...

  • 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: Back up the ACM SQL database:

Info

This step is not required, but is a highly encouraged - especially if you are not already performing nightly backups.

...

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

...

Info

The installer references the asiDATA.ini file for the saved database information. If a connection to the database can be made, the installer will examine the ACM database version and prompt for permission to update the database if needed. You can use the installer to update your current database or you can choose to update your ACM database manually following Step 5.

Follow steps 1-19 13 detailed on the Installation guide.

If you allowed the installer to update the database, and you are not replicating OR you did not have to turn off replication, you are done! Otherwise continue to Step 5 4 to upgrade the database.

Step

...

4: Upgrade the ACM Database

If you elected not to upgrade the database via the installer or if you are using replication and had to disable it, perform the following on each subscriber/redundant database.

In the ACM Monitor database wizard, confirm the correct Server and Database name are entered and 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

Step 5: Reconfigure SQL Replication

...