Start a Conversation

Unsolved

This post is more than 5 years old

7858

September 27th, 2013 08:00

Ask the Expert: Best Practices for the z/OS Migrator Tool

YOU MAY ALSO BE INTERESTED ON THESE ATE EVENTS...

Ask the Expert: Mind the Gap - A Technical Discussion on the Journey to the Third Platform

Ask the Expert: EMC Announced xCP 2.1

https://community.emc.com/thread/192061

Welcome to this Support Community Ask the Expert event. This discussion will focus on best practices for when and how to use the z/OS Migrator tool.

z/OS Migrator is a migration tool designed to assist a customer moving to a new array.  It permits movement of data while the data is in use and will move entire volumes or individual files.

Your host:

Marta Woods is a technical support engineer at EMC. She has worked in the computer industry since 1983. For the first 20 yrs, she worked as a MVS or z/OS Systems Programmer for the federal government or as a government contractor. Since joining EMC nearly 10 years ago, she first supported SOFTWORKS products (primarily Performance Essential, TeraSAM, VSAM Capacity Plus, and VSAM Quick Index) and later supported z/OS Migrator, z/OS Storage Manager (also called EzSM).

This discussion will begin on October 28 and end on November 8. Get ready by logging in and clicking "Follow" (on the upper right of this page) to sign up for email notifications.

666 Posts

October 25th, 2013 10:00

Welcome to this Ask the Expert discussion. We are opening it a little early to allow you to post your questions for our expert, Marta.

Marta will then respond starting on October 28th, but if you have questions in advance of that, please post them now. We look forward a lively and interesting discussion.

Best regards,

Mark

24 Posts

October 25th, 2013 10:00

Thanks Mark

Marta Woods

Technical Support Engineer - Mainframe

EST 9-6

Support Center: 800 782-4362

Phone: 800 782-4362 x 329-1960

Email: marta.woods@emc.com

Online Support: http://support.emc.com

24 Posts

October 25th, 2013 14:00

z/OS Migrator is a migration tool which permits movement of data while the data is in use. To accomplish the migration without stopping applications, z/OS Migrator re-routes the I/O to the target location as part of the swapping process. 

24 Posts

October 29th, 2013 07:00

The pre-installation tasks include reserve handling requirements. Some are for logical migration only, and some are for all migrations.  These are requirements, not recommendations.  Should these not be in place and a migration done, an enqueue lockout will eventually occur.

After any lengthy period without migrations, I would recommend checking the reserve requirements to be sure the GRSRNL includes and excludes adhear to requirements at the time you plan to do migrations.

5 Practitioner

 • 

274.2K Posts

October 29th, 2013 11:00

Hi Marta,

  Can you please explain what a migration group is?  Why is one systems labeled the owner and why is there that distinction?

Thanks,

Jeff

24 Posts

October 29th, 2013 12:00

Can you please explain what a migration group is?

A migration group is the statements and parameters that define what will be migrated and where it is to be moved to.

Why is one system labeled the owner and why is there that distinction?

The owner of a migration group, is the z/OS Migrator STC to which the activate command was issued. The owner will control the migration and coordinate it with the other z/OS Migrator STCs using the z/OS Migrator database. Also, some commands may only be issued to owner. An example, diversion of a logical migration group must be done from the LPAR where activation was done.

24 Posts

November 1st, 2013 12:00

Let’s talk about the types of migration groups.  The first two types of migration groups are:

Migrate with Swap, identified by MODE(MIGRATE(SWAP

This group is not consistent. When a Migrate with swap group is activated, it will proceed to sync each volume pair in the group.  Once a volume pair reaches 100% sync, the pair swaps (the source volume is varied offline and the target volume varied online) and active I/O is re-routed to the target.  The only command given to z/OS Migrator for this group is ACTIVATE, the group will complete on its own.  Once the swap for a volume completes, the only way to go back to the source is to swap back.  --- do you trust that there was no active i/o to the volume during the swap?

Consistent Migrate, identified by MODE(FMIR(SWAP

This group is consistent. When a consistent migrate is activated, each volume pair will sync until all volumes are in mirror (A target volume is in mirror with the source volume when it is an identical copy of the source; and z/OS Migrator is applying updates to the target volume concurrently with those updates to the source volume).  The group will remain in MIROR until z/OS Migrator receives a command to either swap or suspend.   Regardless of which command it receives the termination will be consistent.  If swap (divert) is issued, then the volumes will be swapped as a unit and any active I/O will be re-routed.  Once the swap for a volume completes, the only way to go back to the source is to swap back.

24 Posts

November 4th, 2013 10:00

The next two groups are:

Fastmirror, identified by MODE(FASTMIRROR or MODE(FMIR

This group is always consistent. This group creates a point in time copy of the source.

When a fastmirror is activated, each volume pair will sync until all volumes are in mirror (A target volume is in mirror with the source volume when it is an identical copy of the source; and z/OS Migrator is applying updates to the target volume concurrently with those updates to the source volume).  The group will remain in MIROR until z/OS Migrator receives a command to suspend the group. 

Constant Copy, identified by MODE(MIGRATE(CONSTANT

This group is not consistent; it is an periodic update of the target volume.  When a constant copy group is activated it will sync each volume pair to 100% then periodically copy changes after the initial sync.  How often changes are copied to the target is controlled by the parameter constant_copy_int. How this group will terminate is determined at termination time.  It may be swapped or split.  If the group is swapped then I/O is re-routed to the target.  If the group is split I/O is not re-routed to the target.

24 Posts

November 6th, 2013 06:00

The last two groups are:

Migrate with split, identified by MODE(MIGRATE(SPLIT(ON|OFF)

This group is not consistent. This group creates a point in time copy of the source.   For SPLIT(ON) to bring the volume online the parameter, newvolser, must be coded. The volume pairs, in this group, split when sync reaches 100%.  Note: the datasets on the volume will be uncataloged.  When a split group is activated the volumes sync to 100% and then split.

Logical migration, identified by MODE(LMIG())

This group is consistent.  It is the only group which moves individual or groups of datasets.  It is the only group where the target volume is online and in use by one or more LPARs. This group requires that both the source and target datasets be found via catalog lookup; therefore a temporary HLQ must be specified to allow the target datasets to be found via catalog lookup. The target datasets will be allocated using this temporary HLQ.  It is important to note that in SMS shops, SMS will control where the datasets are placed.  When this group activates it proceeds to mirror and remains in mirror until z/OS Migrator receives a command to either divert or suspend the group.  When this group is diverted the target and source datasets swap names and catalogs are updated to point to the correct volume.  The datasets on the target volume are updated first, then the catalogs are altered and lastly the source datasets are updated. It is therefore important to know what stage the migration is in when discussing the datasets. I/O is re-routed for the datasets in this group so the only way to go back to the original location is to swap back.   Note: the target HLQ is not deleted by migrator after the migration.

24 Posts

November 7th, 2013 07:00

What makes up a migration complex? 

The migration complex consists of the z/OS Migrator database and all z/OS Migrator STCs registered in the database.  There may be only one z/OS Migrator STC on an LPAR registered in any z/OS Migrator database.  So the number of LPARs involved is equal to the number of z/OS Migrator STCs.

Owner vs Agent.  Which z/OS Migrator is which and what does each do?

The owner, of a migration, is the z/OS Migrator STC which activates the group.  An agent is any other z/OS Migrator STC that is part of that migration complex.  Each z/OS Migrator STC is responsible for updates which occur on the LPAR it is running on.  If the migration is a volume migration, the STCs are also responsible for any newly allocated datasets.  The owner has additional tasks.  It will coordinate the migration using the z/OS migrator database.  Some commands must be given by the owner, for example the divert command for a logical migration.  A preferred method of operation is to use the same Migrator started task as the owner as much as possible.

What is the z/OS migrator DB (database) used for and how is it accessed?

The z/OS Migrator DB contains information on each promoted migration group (Only a promoted group may be used to perform migrations).  The DB is used to pass status, about active migrations, among the z/OS Migrator STCs in the migration complex.  Each STC in turn will read and update the database.  Access to the z/OS Migrator DB is expected to be controlled by a reserve on the volume it resides on.    This means that 1) it will take some amount of time for group status to change.  How long will depend on the number of LPARs involved in the migrator complex and how quickly the z/OS Migrator STCs on those LPARs can get access to the  database.  2) The z/OS Migrator database should be the only active dataset on a volume.   And 3)  Since the volume the z/OS Migrator DB is on is ineligible for migrations, the DB should be placed on a volume on the target array. 

No Events found!

Top