To migrate the CAS from one platform to another, including the local 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 local database. If you are using a remote database, see Migrating CAS to a New Platform (Remote Database).

 

Make Backups

These steps are not just to make safety copies. You will need these backups to restore your data and configurations after migration.

 

  1. Make a backup of the current CAS database.

    For more information, see Backing Up MS SQL Server Databases.

  2. Make a backup of the current CSS database.

    For more information, see Backing Up CSS.

  3. Make a backup of the RUM Console database.

     

  4. Make a backup of the CAS %programfiles%\cas\config\ directory.

    Manually copy this folder and its contents to a safe location.

  5. 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. Install MS SQL Server on the new server.

  2. If the CSS and RUM Console are also moving to the new machine, install them on the new machine now.

  3. If the CSS and RUM Console are to remain on the old machine, copy the css.dat file from the old machine to the new machine (by default, this is located in %programdata%\Compuware\Security Client\).

  4. 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 Running a CAS Setup.

  5. On the old machine, stop and disable CAS service, SQL Server 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 CSS database.

    For more information, see Restoring CSS.

  2. Restore the RUM Console database.

    For more information, see Restoring the RUM Console Database.

  3. Stop and disable the CAS service.

  4. Restore the CAS database from the backup you made earlier.

  5. Restore the entire %programfiles%\cas\config\ folder from your backup.

    Manually copy the backup files you made earlier back to the target installation.

  6. Restore the entire %programfiles%\cas\classes\customqueries folder from your backup.

    Manually copy the backup files you made earlier back to the target installation.

  7. Open %programfiles%\cas\config\repository.properties and make sure that the JDBC_URL property is set to localhost and it points to the restored database.

    Example:

    JDBC_URL=jdbc:jtds:sqlserver://localhost:1433//CAS;tds=8.0;lastupdatecount=true;

  8. Start the CAS service.

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

  • No labels