• No results found

Getting Started with WebSphere Application Server v8.5 Version to Version Migrations

N/A
N/A
Protected

Academic year: 2021

Share "Getting Started with WebSphere Application Server v8.5 Version to Version Migrations"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

© 2012 IBM Corporation

An IBM Proof of Technology

Getting Started with WebSphere Application

Server v8.5 Version to Version Migrations

(2)

© 2012 IBM Corporation

Agenda

Configuration Migration Overview

Configuration Migration Tools

Configuration Migration Type

Configuration Migration Scenarios

(3)

© 2012 IBM Corporation

Runtime Environment

Most likely will need to support parallel

development

Migrate some test systems iteratively

– Integration – System test – Performance – Pre-Production – Production

Use the same migration process throughout

if possible

– Or at least before you do production migration… Assessment Planning Skills Production Review results Test Development Environment Code Migration Unit Test Runtime Environment Runtime Migration Test Systems Development Environment Runtime Environment 3

(4)

© 2012 IBM Corporation 5

5

Configuration migration process

v6.x, v7.0 Profile

Create V8.x Profile WAS PostUpgrade V8.x ProfileMigrated

WAS PreUpgrade Backup Files

Server Configuration

Applications

Resources

V8.x Profile

Migrating is the copying of a WebSphere Application Server configuration from a previous release of a product into a new release

(5)

© 2012 IBM Corporation

Agenda

Configuration Migration Overview

Configuration Migration Tools

Configuration Migration Type

Configuration Migration Scenarios

(6)

© 2012 IBM Corporation 7

Configuration migration tools

7

Migration wizard

‒ migrate an earlier supported version of WebSphere Application

Server to Version 8.x

‒ A graphical interface of migration tools, the WASPreUpgrade and

the WASPostUpgrade.

WASPreUpgrade tool

‒ Save the applications and configuration data from a previous

installation of WebSphere Application Server to a backup directory.

WASPostUpgrade tool

‒ Restore the configuration data from a previous release.

‒ Reads the data from the backup directory where the

(7)

© 2012 IBM Corporation 8

8

Benefits of using configuration migration tools

Assists administrators in moving their configuration when

migrating

Merges old configuration with new configuration

Provides deep functionality, e.g. “Lights-on” WAS migration

Especially useful for customers that have large topologies

• Large telecom customer recently used the tool when migrating a 500+ JVM environment

Provides a framework for Stack product migration

Already in use by Commerce, Portal, WPS and Virtual Enterprise

(8)

© 2012 IBM Corporation 9

Migration Wizard

9

1. Migration Wizard is included in the WebSphere Application Server’s

‘Customization Toolbox

‒ Installed as a feature when installing WebSphere Application Server

(9)

© 2012 IBM Corporation 10

Migration Wizard detects WebSphere Application Servers

10 IBM Confidential

Automatically detects existing WebSphere Application Servers that exist on the

(10)

© 2012 IBM Corporation 11

Choose a Profile to Migrate

11 IBM Confidential

Choose the profile you want to migrate

(11)

© 2012 IBM Corporation 12

Disable the old Deployment manager?

12 IBM Confidential

You have the option to disable the source Dmgr after a successful migration

If selected, the OLD Dmgr will be shutdown.

(12)

© 2012 IBM Corporation 13

Migration Output

13 IBM Confidential

Specify the migration output and trace directories

(13)

© 2012 IBM Corporation 14

Migrate to a new or existing Profile

Choose to migrate to a new profile or an existing profile that the System

Administrator has already created.

‒ If migrating to a new profile, the wizard will prompt you for Profile information that will be used to create the new profile

(14)

© 2012 IBM Corporation 15

Do you want to migrate applications?

You may choose to move the applications.

This option does not ensure the applications will run on the target

environment.

Recommend using the Application Migration Toolkit to migrate

applications and ensure all breaking changes are resolved.

(15)

© 2012 IBM Corporation 16

What to do about Port Conflicts

16 IBM Confidential

Guide the migration wizard on the appropriate action to take in the event

of port conflicts during the migration.

(16)

© 2012 IBM Corporation 17

Generate Migration Commands

17 IBM Confidential

Migration commands can be generated and used for subsequent ‘Command Line’

(17)

© 2012 IBM Corporation 18

Example of Generated Migration Commands

18 IBM Confidential

1. Backup of the profile (backupConfig.bat)

2. Execute the WAS pre upgrade command (WASPreUpgrade.bat)

3. Create the new profile (manageprofiles.bat -create -profileName AppSrv01)

4. Execute the WAS post upgrade command (WASPostUpgrade.bat)

(18)

© 2012 IBM Corporation 19

Monitor the steps during the migration

19 IBM Confidential

As each step is completed successfully, the tabs representing the steps will have a

green

check mark

1. Backup Source Profile, 2. Migrate from Source Profile 3. Create Target Profile

(19)

© 2012 IBM Corporation 20

Migration Results

20 IBM Confidential

On the “Migration Results” screen, click the link to each log file to view the

(20)

© 2012 IBM Corporation 21

Configuration migration tools required parameters

21

Migration backup directory name

Installation root directory

Administrative user name for the current installation

Password for the administrative user name of the current installation

Source profile name

Target profile name

Applications to be migrated

(21)

© 2012 IBM Corporation

Agenda

Configuration Migration Overview

Configuration Migration Tools

Configuration Migration Type

Configuration Migration Scenarios

(22)

© 2012 IBM Corporation

Configuration migration types

Migrate to a standalone WAS server

Migrate to a standalone WAS server on remote machine

Migrate to a Deployment Manager server

Migrate to a federated node

(23)

© 2012 IBM Corporation

Migrate to a standalone WAS server procedure

Use Migration Wizard OR

Use Migration Tools

24

1

2

3

1

2

3

4

(24)

© 2012 IBM Corporation

Migrate to a standalone WAS server to a remote machine procedure

Use Migration Tools

(25)

© 2012 IBM Corporation

Migrate to a Deployment Manager server procedure

Use Migration Wizard to migrate

the WebSphere Deployment

manager node

WAS Manager = WAS Deployment manager

DM Profile = Deployment manager Profile

(26)

© 2012 IBM Corporation

Migrate to a federated node procedure

27

Use Migration Wizard to migrate

the WebSphere federated nodes

(27)

© 2012 IBM Corporation

Agenda

Configuration Migration Overview

Configuration Migration Tools

Configuration Migration Type

Configuration Migration Scenarios

(28)

© 2012 IBM Corporation ND Node Agent ND Node Agent

Continued Mixed Version Cell Support

v8.5 Deployment Manager

WAS Network Deployment v8.5 Cell

ND Node Agent

ND v7.0 Nodes

ND v8.5 Nodes

v8.5 Cell can contain v6.1,v7.0,v8.0 & v8.5 nodes: for continued operation as well as staging of upgrades Note – Precompile options are not available for application deploy to back level nodes

ND v8.0 Nodes

1st provided in version v6.0

Business Value: Adopt newer infrastructure as your plans require, saving time and money

Support for existing infrastructure in new deployments

ND Node Agent

ND v6.1 Nodes

(29)

© 2012 IBM Corporation

Five Network Deployment strategies

1. Side by Side

– Create a new cell and populate with scripts or manually – No runtime migration tools

1. In Place - Copy and replace the cell

– Recreates the exact existing configuration in the new cell – DMgr and nodes are migrated

1. In Place - Copy and replace the DMgr

– Recreates the exact existing configuration in new cell – Add new nodes and move incrementally

1. In Place - Copy and coexist

– Recreates the exact existing configuration in the new cell – Modify the ports in the new cell and coexist

1. Side by Side - Fine Grained

– Create a new cell and incrementally copy existing configuration

– Uses an intermediate profile, runtime migration and wsadmin tools v8.5 Node v8.5 Node Old Node Old Node v8.5 Node v8.5 Node Old Node Old Node Old Node v8.5 Node v8.5 Node Old Node v8.5 Node Old Node Old Node v8.5 Node v8.5 Node v8.5 Node Old Node Old Node

X

X

30

(30)

© 2012 IBM Corporation

Side by Side

Ignores the existing configuration

Create a new cell and populate with administration scripts or

manually

Best results with a comprehensive set of scripts or tools for

configuration automation

Pros

– No dependencies on tooling

– Least risk assuming existing scripts are comprehensive – Can easily migrate applications singly

Cons

– Comprehensive set of scripts and ongoing maintenance of those scripts can be expensive

– Any required changes to these scripts must be done before migrating

– Any tuning of the old configuration is not carried forward

v8.5 Node v8.5 Node Old Node Old Node 31

(31)

© 2012 IBM Corporation

In Place - Copy and replace Cell

Use Runtime migration tools on DMgr

– Recreates the exact existing configuration in the new cell

Later migrate the existing nodes using the runtime

migration tools

– All applications on a managed node are migrated at the same time

Pros

– Does not require comprehensive set of scripts – All configuration is moved forward

Cons

– Dependency on using the runtime migration tools

– Requires all applications on a node be ready to migrate at the same time

– Limited value if you are refactoring your topology

– Carries default values forward from the old cell v8.5 Node v8.5 Node Old Node Old Node Old Node Old Node Old Node v8.5 Node v8.5 Node v8.5 Node Old Node Old Node

X

32

(32)

© 2012 IBM Corporation

In Place - Copy and replace DMgr

Use Runtime migration tools on DMgr

– Recreates the exact existing configuration in the new cell

Add new nodes

– Applications can be migrated singly when ready – Remove old nodes when no longer needed

Pros

– Does not require comprehensive set of scripts – All configuration is moved forward

– Cell and cluster level configuration accessible by older nodes

Cons

– Dependency on using the runtime migration tools – Limited value if you are refactoring your topology – Carries default values forward from the old cell

Old Node Old Node v8.5 Node v8.5 Node Old Node Old Node v8.5 Node v8.5 Node

X

Old Node Old Node Old

Node NodeOld

(33)

© 2012 IBM Corporation

In Place - Copy and coexist

Same steps as “Copy and replace Cell” except:

– Use the options of the runtime Migration tools to not disable the DMgr

– Turn off the old DMgr (the federated nodes should be able to continue running)

– Migrate all the nodes

– Modify the new cell to resolve port conflicts

– Start old DMgr, new DMgr and all nodes in the new cell

See latest Migration

redbook

for example

– http://www.redbooks.ibm.com/abstracts/sg248048.html?Open v8.5 Node v8.5 Node Old Node Old Node Old Node Old Node Old Node v8.5 Node v8.5 Node v8.5 Node Old

Node NodeOld

(34)

© 2012 IBM Corporation

Side by Side - Fine Grained

Uses a combination of tools

– An intermediate profile

– The runtime migration tools

– Properties based configuration tool (PBC)

Approach

– Migrate the existing data to an intermediate profile – Extract portions of the configuration from that profile

– Import them into the final DMgr profile using PBC NodeOld

v8.5 Node

v8.5 Node Old

Node

References

Related documents

URL in Step 1 Select Create > Select Website Campaigns > Select a Campaign Type > click Advanced Mode > Select URL match type and enter the URLs of the pages where

Identity Management is a collection of processes an organisation uses to manage the security lifecycle of resources for it’s entities..?. What

You want to import the information from the two IBM Cognos Query Studio sample reports named Return Quantity by Product Line and Return Quantity by Product Line Chart into

In this lesson, you will create the customer account business item in the JKAir business vocabulary, a document that was created with the sample design space in the first lesson of

The capability to define constraints between elements in the Sketcher allows for quick modifications of the Sketch on subsequent solids or surfaces. Others tools such as

Make sure only IBM Installation Manager Version 1.5.0, IBM WebSphere Application Server Version 8.0.0.1, and IBM Rational Application Developer for WebSphere Software Version 8.0.4

Install WebSphere Application Server Network Deployment, Version 7.0 customized installation package (CIP) on target hosts running one of the supported platforms; create a

Server & Application Monitor Version 6.2.4 Getting Started Guide Part 3 of 3: Scale and Manage SAM RELEASE CANDIDATE DRAFT - NOT FINAL VERSION MAY 4, 2016... Table