WebSphere Migration

 WebSphere Migration from WAS 8.5.5.x to WAS 9.0.x.x














Self -Help Understanding:
WebSphere Migration from WAS 8.5.5.x to WAS 9.0.x.x

Prerequisite for WebSphere Migration:
Existing environment: WAS ND 8.5.5.0
IBMIM 1.6 version
WAS Binaries
WAS Profiles(Dmgr01, Custom01)
=============================================
Up-gradation steps from WAS ND 8.5.5.0 to 9.0.x.x

Step 1: We need to Upgrade IBMIM 1.6 version to IBMIM 1.8 version.(upgrading IBMIM means installing latest one 1.8 version)

Step 2: We need to install WebSphere AppServer ND 9.0.x.x freshly using latest IBMIM 1.8

Step 3: After installation, create Empty profiles but with same name(like Profilename, Cellname, Nodename) and same port of existing one.

Step 4: Stop old Dmgr profile(WASND 8.5.5.x) and start new Dmgr profile(WASND 9.0.x.x)

Step 5: Crate custom profile with same node name(like older one is having) and don't federate it.

Now actual Migration process will start:

Step 6: WASPreUpgrade command
 Backup Profiles (./WASPreUpgrade.sh /tmp $wasroot -oldprofile Dmgr01)
 ($wasroot= /app/IBM/WebSphere/AppServer/)

Step 7: Post Upgrade (./WASPostUpgrade.sh /tmp -oldprofile Dmgr01 -profileName Dmgr01)

Step 8: Start New Dmgr

Step 9: Repeat same steps for other Profiles.
===================================== 

older WAS Path
/app/IBM/WebSphere/AppServerV8.5

New WAS Path:
/app/IBM/WebSphere/AppServerV9

Continue from Step 6:

Step6: WASPreUpgrade command
go to path /app/IBM/WebSphere/AppServerV9/bin]
./WASPreUpgrade.sh /tmp /app/IBM/WebSphere/AppServerV8.5 -oldProfile Dmgr01

Step 7: WASPostUpgrade command
go to path /app/IBM/WebSphere/AppServerV9/bin]
./WASPostUpgrade.sh /tmp -oldProfile Dmgr01 -profileName Dmgr01

Step 8: Start Newly migrated Dmgr01(/app/IBM/WebSphere/AppServerV9/profiles/Dmgr01/bin]./startManager.sh)

Step 9: Migrate other profile like(Custome01) WASPreUpgrade command:
go to path /app/IBM/WebSphere/AppServerV9/bin]
./WASPreUpgrade.sh /tmp/Custom01 /app/IBM/WebSphere/AppServerV8.5 -oldProfile Custom01

Step 10: WASPostUpgrade command:
go to path /app/IBM/WebSphere/AppServerV9/bin]
./WASPostUpgrade.sh /tmp/Custom01/ -oldProfile Custom01 -profileName Custom01

Step 11: Start newly Migrated Custom profile node
([/app/IBM/WebSphere/AppServerV9/profiles/Custom01/bin]./startNode.sh)

======================**************=================================

Screenshot Examples:







========================***************=================================

WebSphere Migration Knowledge Collection: Migrating WebSphere Traditional Versions:


Full-Cell Distributed Migration:
Each WebSphere release is shipped with an updated set of migration tools which must be used to upgrade to the new release. These tools work on a profile by profile basis using the following process which must be repeated for each profile in the cell starting with the deployment manager:
1. WASPreUpgrade - captures the old configuration data and applications.
2. manageprofiles - creates a target profile in the new release.
3. WASPostUpgrade - merges in the old configuration data into the target profile and installs the applications.

IBM Cloud Transformation Advisor supports migrating a single application from a WebSphere Application Server environment by generating a configuration script that can be used to configure the server. In addition to providing configuration, Transformation Advisor assists in creating other deployment artifacts such as a Dockerfile and configuration yaml files used for deploying traditional WebSphere images to Kubernetes. Transformation Advisor is included with IBM Cloud Pak for Applications and has a free local trial version.

You can also use the WebSphere Migration Toolkit for Application Binaries (binary scanner) to generate an application-specific traditional WebSphere configuration script. Use the binary scanner's --generateConfig and --targetServer=was90 or was855 options to produce a wsadmin script which will configure your new target profile to support the specified application you are installing.

You can learn more about the WebSphere Application Server traditional container images IBM publishes as well best practices for their use.















WAS-PreUpgrade:

WASPreUpgrade.sh backupDirectory 
                 currentWebSphereDirectory
                 [-properties properties_file_name]
                 [-traceString trace_spec [-traceFile file_name ]]
                 [-machineChange true | false]
                 [-oldProfile profile_name]
                 [-workspaceRoot profile1=user_workspace_folder_name_1;profile2=user_workspace_folder_name_2]
                 [-username < user name >]
                 [-password < password >]
                 [-javaoption < -Xms...m > -javaoption < -Xmx...m > ]
                 [-requireEmbeddedDBMigration true | false] 
                 [-keepDmgrEnabled true | false]

 

WASPreUpgrade.bat backupDirectory 
                  currentWebSphereDirectory
                  [-properties properties_file_name]
                  [-traceString trace_spec [-traceFile file_name ]]
                  [-machineChange true | false]
                  [-oldProfile profile_name]
                  [-workspaceRoot profile1=user_workspace_folder_name_1;profile2=user_workspace_folder_name_2]
                  [-username < user name >]
                  [-password < password >]
                  [-javaoption < -Xms...m > -javaoption < -Xmx...m > ]
                  [-requireEmbeddedDBMigration true | false]
                  [-keepDmgrEnabled true | false] 



Post-Upgrade:
WASPostUpgrade.sh backupDirectory
                     [-properties properties_file_name]
                     [-username userID]
                     [-password password]
                     [-oldProfile profile_name]
                     [-profileName profile_name]
                     [-setPorts useOld | generateNew | port_starting_number]
                     [-resolvePortConflicts incrementCurrent | port_starting_number]
                     [-backupConfig true | false]
                     [-includeApps true | false | script]
                     [-clone true | false]
                      [-newDmgrHostname host_name]
                      [[-newDmgrSoapPort port_number] | [-newDmgrRmiPort port_number]]
                     [-keepDmgrEnabled true | false]
                     [-requestTimeout seconds]
                     [-javaoption -Xms...m -javaoption -Xmx...m]
                     [[-appInstallDirectory user_specified_directory] | 
                      [-keepAppDirectory true | false]]
                     [-traceString trace_spec [-traceFile file_name]]


WASPostUpgrade.bat backupDirectory
                     [-properties properties_file_name]
                     [-username userID]
                     [-password password]
                     [-oldProfile profile_name]
                     [-profileName profile_name]
                     [-setPorts useOld | generateNew | port_starting_number]
                     [-resolvePortConflicts incrementCurrent | port_starting_number]
                     [-backupConfig true | false]
                     [-includeApps true | false | script]
                     [-clone true | false]
                      [-newDmgrHostname host_name]
                      [[-newDmgrSoapPort port_number] | [-newDmgrRmiPort port_number]]
                     [-keepDmgrEnabled true | false]
                     [-requestTimeout seconds]
                     [-javaoption -Xms...m -javaoption -Xmx...m]
                     [[-appInstallDirectory user_specified_directory] | 
                      [-keepAppDirectory true | false]]
                     [-traceString trace_spec [-traceFile file_name]]



WASMigrationAppInstaller command

Comments

Popular posts from this blog

Session Management Part-1

Understanding SSL

WebSphere Application Server