Migrating CAS to a new platform (remote database)

To migrate the CAS from one platform to another but using the same remote database, you need to make backups of your databases and configurations from your old machine, then install the software on the new machine, and then restore your databases and configurations on the new machine.

Important

For this procedure, it is assumed that your CAS installation uses a remote database. If you are using a local database, see Migrating CAS to a New Platform (Local Database).

Make backups

These steps are not just to make safety copies. You will need most of these backups to restore your data and configurations after migration. The SQL database backup is not absolutely necessary when you use a remote database, but it is still a very good idea to make a backup of your important data before you start making major system changes.

  1. Make a backup of the current CAS database.
    See Backing Up MS SQL Server Databases.
  2. Make a backup of the RUM Console database.
    See Complete RUM Console backup and restore
  3. Make a backup of the CAS %programfiles%\cas\config\ directory.
    Manually copy this folder and its contents to a safe location.
  4. Make a backup of the CAS %programfiles%\cas\classes\customqueries directory.
    Manually copy this folder and its contents to a safe location.

Migrate and install the software

  1. If the RUM Console is also moving to the new machine, install it on the new machine now.
  2. Install the CAS on the new machine.
    It is important that you install exactly the same CAS version (and service packs, if they were present) that you had previously. For more information, see Install CAS.
    During the installation process, make sure that the new CAS does not overwrite the original database.
  3. On the old machine, stop and disable CAS service and RUM Console service.
    The rest of this procedure applies to the new machine.

Restore the data and get the new CAS installation running

After the target environment is ready, restore your data and bring the CAS back up.

  1. Restore the RUM Console database.
    For more information, see Complete RUM Console backup and restore
  2. Stop and disable the CAS service.
  3. Restore the entire %programfiles%\cas\config\ folder from your backup.
    Manually copy the backup files you made earlier back to the target installation.
  4. Restore the entire %programfiles%\cas\classes\customqueries folder from your backup.
    Manually copy the backup files you made earlier back to the target installation.
  5. Start the CAS service.
  6. Add or correct all necessary devices in the RUM Console configuration.
    If your new CAS is to be the source of time configuration for AMDs, open the configuration of each AMD and set the “IP address of the server authorized to set AMD time” accordingly.