Professional Documents
Culture Documents
docview websphere
docview websphere
docview websphere
September 2010
Migration Overview
Migration Roadmap
Assessment Planning
Planning Skills
Skills Development
Environment
Runtime
Environment
Test
Production
Production
Review
results
Review the results
Hardware requirements
Skills
Prerequisite software upgrades Development Runtime
Environment Environment
Educational needs
Code Runtime
Identify early adopters Migration Migration
Test
Production
Review
results
Production
Production
Development Runtime
Ensure Performance is measured Environment Environment
* The runtime migration tools are supported for migrating from v5.1, v6.0 and v6.1 to v7.0
• Appendix in this deck will note changes addressed by the Toolkit ->
Free download
Eclipse plug-in
• Support for pure Eclipse (3.4.2 and 3.5) as well as RAD/RSA
See http://www.ibm.com/developerworks/websphere/downloads/migration_toolkit.html
29 WebSphere Application Server Migration – September 2010 29
Section
Coexistence
Running different versions of WebSphere
on a machine at the same time
v5.1, v6.0, v6.1and v7.0
•Requires port conflict resolution of
concurrently running servers
•Requires hardware capable of running all
images
•E.g. v7.0 supports v5.1, v6.0, v6.1 and v7.0
Interoperability
Different versions of WebSphere can
communicate
• Support for applications that are
Secure, Transactional, EJB WLMable v7.0 v5.1
Migrated
V7.0 V7.0
Create V7.0 Profile Profile WASPostUpgrade Profile
X
3. “Copy” and replace the DMgr
Recreates the exact v5.1/v6.x configuration in v7.0
Old Old v7.0 v7.0
Node Node Node Node
Add new v7 nodes and move incrementally
5. Fine Grained
Create a new cell and incrementally copy existing configuration
Old Old v7.0 v7.0
Uses an intermediate profile, runtime migration and PBC tools Node Node Node Node
Cons
Dependency on using the runtime migration tools
Requires all applications on a node be ready to migrate at
v7.0 v7.0
the same time Node Node
Pros
Does not require comprehensive set of scripts
All configuration is moved forward
Cell level accessible by v6.1 nodes Old
Node
Old
Node
v7.0
Node
v7.0
Node
Cons
Dependency on using the runtime migration tools X
Limited value if you are refactoring your topology
Does not enable some upgraded features – can be enabled Old Old v7.0 v7.0
Node Node Node
after migration of all nodes is complete Node
new cell
v7.0 v7.0
Node Node
Approach
Migrate the existing data to an intermediate profile
Extract portions of the configuration from that profile
Import them into the final DMgr profile
Is very flexible but can also be labor intensive
Properties-based configuration has these limitations:
• Business Level Applications (BLA), Federated repository
configuration, Security certificates, Service Integration
Bus (SIB), and Web Services Policy Sets
See latest WebSphere Application Server Migration
Guide for more details
• http://www.redbooks.ibm.com/redpieces/pdfs/redp4635.pdf Old
Node
Old
Node
v7.0
Node
v7.0
Node
Questions?
September 2010
September 2010
References
September 2010
zOS references
Migrating to Version 6.1
• http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP100771
Heterogeneous cell support for zOS
• http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP100644
JDBC migration utility for Legacy to Universal DB2 drivers
• http://www-1.ibm.com/support/docview.wss?uid=swg27007826
Migrating to Version 7.0 - zOS
• http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101329
WSADMIN Primer
• http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101014
XML reference
http://www.w3.org/TR/REC-xml/#sec-guessing
JDK 6 Compatibility
http://java.sun.com/javase/6/webnotes/compatibility.html
Version 7.0 removed features
http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.nd.d
oc/info/ae/ae/rmig_remfeat.html
WebSphere Application Server Migration - Best Practices and
Sources
WebSphere Technical Exchange Webcast – replay
http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27013190
WebSphere supported Specification levels and pointers to JEE
specifications
http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.bas
e.doc/info/aes/ae/rovr_specs.html
September 2010
September 2010
<tagclass>com.company.sample.tags.SomeFinder</tagclass>
<teiclass>empty</teiclass>
<bodycontent>Jsp</bodycontent>
<info>
…
In v5.0 and v5.1 (J2EE 1.3) there was a restriction that you
could not create threads in EJBs
Alternative is to use MessageDrivenBeans (MDBs)
PME components
Activity Session
AsyncBeans
Dynacache
ObjectPool
Scheduler
Userprofile
Application 8 16 19
DMgr n/a 11 17
September 2010
September 2010
Moving to JRE 5
Java Serialization
Serialization is not compatible across JRE 1.4 and earlier releases –
force UUIDs as a general practice
PK69197
Available in v6.1.0.21 and later
Behavior can be reverted back via custom property:
• 'com.ibm.websphere.ejbcontainer.extendSetRollbackOnlyBehaviorBeyondInstanceFor'
• Reference:
– http://www-1.ibm.com/support/docview.wss?uid=swg27007527
Application 8 16 19 21
DMgr n/a 11 17 17
September 2010
September 2010
Moving to JRE 6
Java Serialization
Serialization is not compatible across JRE 1.4 and earlier
releases – force UUIDs as a general practice
Moving to JEE 5
JSF Portlets
Higher memory consumption is reported, may result in
larger sessions
• Support for the DB2 legacy CLI-based Type 2 JDBC Driver and the DB2 legacy CLI-
based Type 2 JDBC Driver (XA) has been removed
Instead, use the DB2 Universal JDBC Driver
Administrative considerations
Be careful to use the correct MQ queue manager level in the correct mode
(bindings or client)
See for more information:
• http://www-
01.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=DB540&uid=swg21316899&loc=en_US&cs=UTF-
8&lang=en&rss=ct171websphere
September 2010
Application changes
In v4.0 automatically sets request and response encodings, and response content types
In v5.0 and later need to set these values using available methods in the Servlet 2.3 Specification
or later.
Or you can specify the autoRequestEncoding and autoResponseEncoding extensions
For more information see:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/cweb_autoreq.html
http://www.ibm.com/software/globalization/j2ee/encoding.jsp
Administration changes
September 2010
September 2010
September 2010
v5.x node No
Adding V6.x servers in a v6.x node for v6.0.2.x and later Yes
new
server
v5.x servers in a v5.x node Yes
Adding v5.x server in a v5.x-only cluster Yes
new
cluster
member v5.x server in a v6.x-only cluster (support has been added) Yes
September 2010
v5.1 node No
Adding V6.x servers in a v7.0 node for v6.0.2.x and later Yes
new
server
v5.1 servers in a v5.1 node Yes
Adding v5.1 server in a v5.1-only cluster Yes
new
cluster
member v5.1 server in a v7.0-only cluster Yes
WS-Transaction
For a Version 6.1 Feature Pack for Web Services server, you can
enable the WS-Transaction policy type by including it in a policy set,
but you cannot configure it.
For a Version 7.0 server, you can both enable and configure the WS-
Transaction policy type. Configuration information is written to the WS-
Transaction policy type file
Side effects
• If a Version 6.1 Feature Pack for Web Services server reads a WS-
Transaction policy type file that is generated by a Version 7.0 server, the
server enables the WS-Transaction policy type, but ignores any
configuration information in the file.
• If a Version 7.0 server reads a WS-Transaction policy type that is generated
by a Version 6.1 Feature Pack for Web Services server, the server enables
the WS-Transaction policy type using a value of Supports for the WS-
AtomicTransaction and WS-BusinessActivity protocols. This value is
equivalent to the existing behavior of a Version 6.1 Feature Pack for Web
Services server.
WS-Transaction
v6.x server supports WS-Transaction 1.0. A v7.0 server supports WS-
Transaction 1.0 and 1.1.
Considerations for failover in a mixed version cluster
In a mixed-version cluster, a Version 7.0 server might fail over to an
earlier version server that does not support WS-Transaction 1.1, and
that therefore cannot recover WS-Transaction 1.1 protocol messages.
In this situation, there are the following implications:
• For a cluster of Version 7.0 servers that are configured to fail over and that
are configured to use WS-Transaction 1.1, you cannot add an earlier
version server to the cluster.
• For a mixed-version cluster, where the servers are configured to fail over,
any Version 7.0 server in the cluster must not use WS-Transaction 1.1.
• For a cluster of servers that are configured to fail over, any Version 7.0
server in the cluster that is configured to use WS-Transaction 1.1 cannot
start if there are also servers at an earlier version.
September 2010
migrate both
Deployment
Manager and
federated nodes … …
V5.1/V6.x V7
federated nodes federated nodes
2. Migrate nodes
Directories used
Backup directory stores old configuration in a temporary directory
Target profile receives this data from the old configuration
z/OS Migration
Management Tool Generated
Define or zmmt.sh
variables JCL jobs
Generate CNTL and scripts,
customization jobs customized
DATA with
variables
V7 Migrated Node
z/HFS
Instructions:
JCL
procs
Run jobs BBOxxINS
Directory structure Can run as one
created and large job or
populated with XML three smaller
and properties files jobs
Disable Peer Restart and Recovery (PRR) mode (for XA connectors only) BBOWMG2x
BBOWxPRO
• Common tasks +1 (CRHOME, CRPROF)
BBOWxPRE
• Common tasks +2 (PREUPGRD)
BBOWxPRO
Common tasks 3
• + (UPGRADE, FINISHUP)
September 2010
Change History
September 2010
Online availability
Silent Install response files have changed
Some scripts may break in v6.1 if you reference jars directly
New Security model may affect scripts
Migration tools and memory usage
Migration tools and open connections
New references
z/OS Migration Management Tool
Migration and Feature Packs
Java Server faces (JSF)