Migrate a V5.x managed node to a V6 managed node
The migration tools of WebSphere Application Server, V6 support migrating V5.x managed nodes to V6 managed nodes.
Before you begin
Migrating a V5 managed node to a V6 managed node requires that you first migrate the V5 deployment manager node to a V6 deployment manager node. Migrating Network Deployment V5.x to V6 is described in Migrating Network Deployment, V5.x to a V6 deployment manager.
Before starting the migration of a managed node from V5 to V6, create a V6 profile for either a stand-alone Application Server or a managed node. If you create a V6 managed node profile, do not federate the node before migration. The migration tools federate the V6 node during migration.
The migration procedure is the same for either type of V6 profile. The end result can vary slightly. Each stand-alone Application Server has a server1 Application Server process. A V5 managed node might not have a server1 process. This task describes migrating to a V6 managed node that has not been federated.
After migrating a V5 deployment manager to a V6 deployment manager, the V6 deployment manager runs in compatibility mode by default, where it can manage both V5 nodes and V6 nodes. The managed nodes of the V5 deployment manager are now running as V5 managed nodes in the V6 deployment manager.
Over time, migrate each V5 managed node in the V6 cell to a V6 managed node. After migrating all V5 managed nodes, use the compatibility script, convertScriptCompatibility, to change the deployment manager from a node that supports backward compatibility of V5.x administration scripts to a node that supports only V6.
- Perform a typical or custom V6 installation, as described in Installing the product and additional software.
- Migrate the V5 deployment manager node to V6, as described in Migrating Network Deployment, V5.x to a V6 deployment manager.
- Collect the following information about your V5 installation before you begin this procedure. The Migration wizard prompts you for the information during the migration:
- Installation root directory
See WASPreUpgrade command for a description of the currentWebSphereDirectory parameter.
- Replace port values for virtual hosts and Web containers?
Specifying “true” causes any ports of matching VirtualHosts to first be removed from the new configuration before adding the new values.
Specifying “false” for this parameter will just add new port values.
See WASPostUpgrade command for a description of the replacePorts parameter.
- Backup directory name
See WASPreUpgrade command for a description of the backupDirectory parameter.
- Target profile name.
See WASPostUpgrade command for a description of the profileName parameter.
- Use the V6 Profile creation wizard to create a managed node, but do not federate the node.
The V6 node must have the same node name as the V5 node.
Note: You can migrate a V5.x node without stopping it, but it is not necessary for it to be running for you to migrate its configuration. The migration tools can retrieve all the configuration data while the node is either running or stopped. However, stop the V5.x node before one can start the V6 node that you are installing, so it makes sense to stop it now.
- Use the Migration wizard to migrate the V5 managed node to the V6 managed node profile, as described in Migrating a V5 Application Server to a V6 Stand-alone Application Server with the Migration wizard.
The Migration wizard copies the configuration and applications from the V5 managed node to the V6 managed node. After migrating all of the data, the Migration wizard federates the V6 managed node into the deployment manager cell.
- Migrate as many V5 managed nodes as you intend to migrate by using the following procedure.
- Determine the node name of the V5 managed node.
- Use the Profile creation wizard to create a V6 managed node, but do not federate the node.
- Use the Migration wizard to migrate the V5 managed node to the V6 managed node.
Note: For migration to be successful, use the same node names and cell names for each node from V5 to V6.
- If you chose the compatibility option (which is the default), and if all of your nodes are completely migrated to V6, run the convertScriptCompatibility script to remove backward compatibility from the V6 deployment manager.
- Issue the following command from the bin directory.
What to do next
Occasionally (e.g., after rebooting an Application Server machine), restart the nodeagent server on the Application Server node by running the startNode command from the profile/bin directory. To keep your Application Server nodes running, without having to access the bin directory of each one, use the operating system to monitor and restart the nodeagent process on each Application Server node. (You can also set up the dmgr server as a managed process on the deployment manager node.) For more information, see Automatically restarting server processes.
Adding a node automatically issues the startNode command for the node.
Using the Migration wizard
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.