Restore the previous deployment manager configuration

Before you begin

Save the current deployment manager configuration to the migration backup directory

About this task

Step 5 towards the goal: Migrating cells using the command-line tools

To restore the previous deployment manager configuration that you saved in the migration backup directory, run the WASPostUpgrade command. If you use the options that are shown in the following example, all ports are carried forward, the old deployment manager is shut down and disabled, and all applications are installed.

Procedure

  1. Run the WASPostUpgrade command. For example:
    [AIX Solaris HP-UX Linux Windows]
    /opt/WebSphereV85/bin/WASPostUpgrade.sh /mybackup/v70tov85dmgr01 -profileName 
    v70tov85dmgr01 -oldProfile 70dmgr01 -replacePorts TRUE -backupConfig TRUE 
    -includeApps TRUE -scriptCompatibility TRUE -keepDmgrEnabled FALSE 
    -username myuser -password mypass
    When you create profiles, only one profile is considered the default profile per installation.

    If the -oldProfile or the -profileName parameters are not specified, the WASPostUpgrade command migrates the default profile for the source and the target installations.

    You can identify the default profiles by looking in the profileRegistry.xml file in the WAS_HOME/properties directory. The source profileRegistry.xml is copied to the migration backup directory as part of the WASPreUpgrade command.
    Avoid trouble Avoid trouble:
    • Always specify the -oldProfile and -profileName parameters when you run the WASPostUpgrade command.
    • The script compatibility flag on your deployment manager must be the same as the flag that you use on your nodes. Save the value of the script compatibility flag for later use.
    gotcha
  2. Review warnings or errors in the console output and WASPostUpgrade logs. After the WASPostUpgrade command is complete, check the console output for Failed with errors or Completed with warnings messages. Then, check the migration_backup_dir/logs/WASPostUpgrade.target_profile_name.timestamp.log and migration_backup_dir/logs/WASPostUpgrade.target_profile_name.trace log files for any warnings or errors. If there are errors, fix the errors and run the WASPostUpgrade command again. Check whether the warnings affect any other migration or runtime activities on Version 8.5.

    If the command completed successfully, it is not necessary to check the logs for errors or warnings.

What to do next

Back up the Version 8.5 deployment manager configuration
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 10:34 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-dist&topic=tmig_migrate_cells_commandline_step5
File name: tmig_migrate_cells_commandline_step5.html