+

Search Tips   |   Advanced Search

Rolling back stand-alone application servers

Use the restoreConfig and wsadmin commands to roll back a migrated WebSphere Application Server v9.0 stand-alone application server to the state that it was in before migration.

Best practice: When migrating a v7.0 or later stand-alone application server, the best practice is to perform the following actions to be able to roll it back to its previous state after migration:

  1. Run the backupConfig command or our own preferred utility to back up the v7.0 or later stand-alone application server configuration.

    Important: Note the exact name and location of this backed-up configuration.

    See backupConfig command for more information.

  2. Migrate the stand-alone application server.

  3. If necessary, we can now roll back the stand-alone application server that we just migrated.


Tasks

  1. Stop all of the servers that are currently running in the v9.0 environment.

  2. Perform one of the following actions to restore the v7.0 or later configuration for the stand-alone application server.

    • Run the restoreConfig command or our own preferred utility to restore the v7.0 or later configuration.

      Important: Make sure that we restore the same backed-up configuration that we created just before migratingd this stand-alone application server.

      See restoreConfig command for more information.

    • Use the wsadmin command to run the migrationDisablementReversal.jacl script from the v7.0 or later profile_root/bin directory of the stand-alone application server.

      (Linux) In a Linux environment, for example, use the following parameters:

      ./wsadmin.sh -f migrationDisablementReversal.jacl -conntype NONE
      

  3. If we chose to keep the installed applications in the same location as the prior release during migration to v9.0 and any of the v9.0 applications are not compatible with the prior release, install applications that are compatible.

  4. Delete the v9.0 profile for the stand-alone application server.

    See Delete profiles for more information.

  5. Start the rolled-back stand-alone application server in the v9.0 environment.

The configuration should now be returned to the state that it was in before migration.


What to do next

We can now restart the migration process to do so.

  • Delete profiles
  • backupConfig command
  • restoreConfig command
  • Migration Toolkit on WASdev.