Phase 1–Validate Backup and Test Migration

Autodesk recommends that every Vault upgrade start with a validated backup.

Before You Begin

Review these essential steps for a successful migration:

Note: When you migrate between many Vault versions, you can back up without the filestore to speed up testing. This lets you validate the database migration faster.

Test Environment

The following procedure for testing the upgrade is the preferred method for validating a backup.

Perform a test upgrade of the Vault server on a machine similar to your production server. A test upgrade confirms that your backup is valid. It also reveals potential issues without affecting production.

The table below shows the benefits of matching your test environment to production:

Test Machine Settings

Benefits

Similar CPU, memory, disk space

Provides an estimate of how long the migration can take. Gives insight into migration settings, such as time-out values to be changed. Exposes other configuration settings that may require changes.

Database

Test machines that need access to a vault that is 2 GB or more also need a similar version of full MicrosoftTM SQL server installed.

Other applications that are installed on the production server

Test for compatibility with various proxy clients, firewalls, anti-virus programs, etc.

Operating System, Service Packs, firewalls, etc.

Compatibility testing.

Microsoft® Windows® Administration settings

Check for compatibility with Windows Domain policies, login scripts, permissions, and other settings.

If you cannot create a test environment similar to production, use virtual machines. VMWare or Microsoft Virtual PC are low-cost options. Virtual machines lack many benefits listed above. However, they are far better than skipping backup and migration testing.

Restore Backup

Use the Vault server application to restore the production backup in the test environment.

Migration Timeout

If the migration stops because of a timeout error, follow these steps to resolve it.

First, look in the ADMS log file to find the cause:

C:\ProgramData\Autodesk\VaultServer\Filestore\ADMSConsoleLog-YYYYMMDD.txt

Search the log file from the bottom up for "timeout." If you find a timeout error with a time stamp that matches when the migration stopped, follow these steps:

  1. On the Vault server, open Windows Explorer. Navigate to C:\Program Files\Autodesk\ADMS Product 20__\Server\Web\Services.

  2. Create a backup copy of the Web.config file.

  3. Open the Web.config file with Notepad. Look for this line:

    Note: The values may differ from those shown.
  4. Double the existing values for defaultcommand and longcommand.

    Note: If the defaultCommand value exceeds 1000, also increase the executionTimeout value. Find it on this line: . Set executionTimeout equal to or higher than defaultCommand.
  5. Save the Web.config file.

  6. Open the ADMS console.

  7. Do one of the following:

    • If a yellow warning symbol appears next to a Vault, right-click the vault and select Migrate.

    • If no yellow symbol appears, close the ADMS console. Then perform a build-to-build migration:

      1. Open a command prompt. Navigate to the installed location of Connectivity.ADMSConsole.exe.

      2. Run the ADMS b2bmigrate operation in command line mode:

        Example: Connectivity.ADMSConsole.Exe -Ob2bmigrate -VUadministrator -VPadmin_password -DBUsql_user -DBPsql_password

        Replace admin_password with the administrator password for the -VP switch.

        The last two parameters, –DBU and –DBP, are only required if the sa password is not the default.

Validate Restored Data

Verify that the filestore and databases are complete. Confirm that the restored environment works correctly. Use a client to verify the content. Use the Vault server application to verify the configuration.

Migration Test

Apply the processes in this document to the test environment. Testing provides a safe way to experience the migration process. You can discover unexpected issues without affecting production. Although testing takes time, it saves time and stress in the long run.