34
1

Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

Embed Size (px)

Citation preview

Page 1: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

1

Page 2: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

2

Page 3: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

In the single-stage migration scenario, the installation of the latest version of the product

replaces an earlier version in the same installation location. It is the same migration

process that you would have used to upgrade the product prior to WebSphere MQ version

7.0.1.6 . It is now termed single-stage migration, in contrast to side-by-side and multi-

stage migration.

The advantage of single-stage migration is that it changes the configuration of a queue

manager on the earlier version as little as possible. Existing applications switch from

loading the libraries from the earlier version, to loading the libraries of the latest version,

automatically.

Queue managers are automatically associated with the installation on the latest version.

Administrative scripts and procedures are affected as little as possible by setting the

installation to be the primary installation. If you set the installation of the latest version to

be the primary installation, commands such as strmqm work without providing an

explicit path to the command.

====

Side-by-side migration is the term used to describe installing a new version

of WebSphere® MQ alongside an older version on the same server. Queue managers

remain running during the installation and verification of the new version

of WebSphere MQ. They remain associated with the older version of WebSphere MQ.

When you decide to migrate queue managers to the new version of WebSphere MQ, you

3

Page 4: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

stop all queue managers, uninstall the old version , and migrate them all to the new

version of WebSphere MQ.

3

Page 5: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

A reason for installing into the same location is to simplify application migration. If you

change the installation location, you might remove WebSphere MQ libraries from an

application search path. To migrate an application search path you must modify the

application environment, or more rarely, the application itself.

The default installation path is specified as a load path in the WebSphere MQ build

scripts for UNIX and Linux. After installation of the latest version, the load libraries of

the latest version of WebSphere MQ are in the same location as were the libraries of the

earlier version. If you built applications by following the examples in the information

center for the earlier version, the applications load the correct libraries in the latest

version.

4

Page 6: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

5

Page 7: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

The step-by-step migration scenario sits half-way between the single-stage and multi-

stage migration scenarios.

These topics are for planning multi-installation migration. The planning topics guide you

in deciding what other tasks you must perform to migrate queue managers and

applications to the latest version. For the precise sequence of commands to upgrade a

queue manager to the latest version, do the migration task for the platform you are

interested in. All the tasks are listed by platform in the links at the end of this topic. As

part of the queue manager migration task, back up your existing queue manager data.

Even on a multi-installation server, queue managers cannot be restored to a previous

command level after migration.

The side-by-side migration scenario is less flexible than multi-stage migration, and might

not seem to have any advantages over it. However, side-by-side migration does have

advantages over the multi-stage and single-stage approaches. With the side-by-side

approach, because you uninstall the earlier version before starting any queue managers,

you can assign an installation on the latest version to be the primary installation.

Having the latest version installation as the primary installation has two benefits.

With the latest version having the primary installation, many applications restart without

reconfiguring their environment.

WebSphere MQ commands run against the primary installation, work without providing a

local search path.

The advantage the side-by-side scenario has over the single-stage scenario is that you can

6

Page 8: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

install and verify the installation of the latest version of the product on the server before

switching over to it.

6

Page 9: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

7

Page 10: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

8

Page 11: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

9

Page 12: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

10

Page 13: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

11

Page 14: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

12

Page 15: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

13

Page 16: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

14

Page 17: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

15

Page 18: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

16

Page 19: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

There are three ways of protecting a queue manager: Steps 1, 2 and 3 on the slide

Make sure that you do not miss any files, especially the log control file. Some of the

directories might be empty, but you need them all to restore the backup at a later date.

17

Page 20: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

18

Page 21: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

19

Page 22: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

20

Page 23: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

Any values listed in the Current User Limits section are resource limits for the user who

ran mqconfig. If you normally start your queue managers as the mqm user, you should

switch to mqm and run mqconfig there.If other members of the mqm group (and perhaps

root) also start queue managers, all those members should all runmqconfig, to ensure that

their limits are suitable for WebSphere MQ.

21

Page 24: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

22

Page 25: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

23

Page 26: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

24

Page 27: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

25

Page 28: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

26

Page 29: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

27

Page 30: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

28

Page 31: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

29

Page 32: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

30

Page 33: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

31

Page 34: Fundamentals of WebSphere MQ Securitymqtechconference.com/sessions_v2014/MQTC_v2014_MQMigration.pdf · the latest version of WebSphere MQ are in the same location as were the libraries

32