Professional Documents
Culture Documents
Storwize V7000 Replication Over TCPIP With IBM I Version 1 PDF
Storwize V7000 Replication Over TCPIP With IBM I Version 1 PDF
Storwize V7000 Replication Over TCPIP With IBM I Version 1 PDF
Jana Jamsek
Storage Advanced technical skills, Europe
Jens Liebetrau
IT Specialist, European Storage Competence Center, Mainz
Table of contents
Table of contents................................................................................................................. 1
Introduction......................................................................................................................... 2
Notices and disclaimer........................................................................................................ 3
Equipment ........................................................................................................................... 4
Local site – Production site............................................................................................. 4
Remote site – Disaster Recovery (DR) site .................................................................... 4
Setting-up the Storwize environment.................................................................................. 5
Configuring Ethernet Ports ............................................................................................. 5
Establishing Remote Copy partnership........................................................................... 6
Establishing Metro Mirror .............................................................................................. 7
Status of Metro Mirror relationships at initial synchronization................................ 12
Establishing Global Mirror with Change Volumes ...................................................... 13
Create Global Mirror target volumes........................................................................ 13
Create Global Mirror consistency group................................................................... 13
Adding Global Mirror Change Volumes on remote site........................................... 17
Start Global Mirror consistency group ..................................................................... 18
Disaster Recovery tests with Metro Mirror of IBM i Full System ................................... 18
Planned outage of IBM i ............................................................................................... 18
Stop Metro Mirror..................................................................................................... 19
Re-start Metro Mirror from Production to DR site................................................... 20
Re-start Metro Mirror from DR site to Production site and switch Metro Mirror from
Production to DR site................................................................................................ 22
Introduction
With Storwize V7000 release 7.2 the possibilities for Remote Copy links broadened with
enablement of native IP Remote Copy. With this option, Remote replication uses TCP/IP
protocol with 1Gbit or 10Gbit Ethernet connections. It supports both Metro Mirror and
Global Mirror and is covered by normal Remote Copy license.
Support of Storwize V7000 for IBM i was available soon after the announcement of
V7000. At the beginning the IBM i connection was possible in VIOS virtual SCSI mode,
NPIV and native attachment followed a little later.
IBM i solutions with Storwize Remote Copy are available and implemented at the
customers. Up to now the implementations were based on V7000 Remote Copy over FC
links. For this document we tested and described the implementations for IBM i, using
Remote Copy over TCP/IP links. The steps used in IBM i and V7000 Graphical User
Interface (GUI) to implement these solutions, are the same as for Remote Copy over FC
links.
We provide detailed instructions and screen-shots for the actions related to Storwize
Remote Copy. For IBM i related functions we specify high-level instructions, the detailed
instructions can be found in the following documents:
IBM i and IBM Storwize Family A Practical Guide to Usage Scenarios, SG24-
8197-00
Technical document Hints and Tips: V7000 in an IBM i Environment
http://w3-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP102305
IBM i and IBM System Storage: A Guide to Implementing External Disks on
IBM i, SG24-7120-01
PowerHA SystemMirror for IBM i Cookbook, SG24-7994-00
Product data has been reviewed for accuracy as of the date of initial publication. Product
data is subject to change without notice. This information may include technical
inaccuracies or typographical errors. IBM may make improvements and/or changes in the
product(s) and/or programs(s) at any time without notice..
IBM shall have no responsibility to update this information. IBM products are warranted
according to the terms and conditions of the agreements (e.g., IBM Customer Agreement,
Statement of Limited Warranty, International Program License Agreement, etc.) under
which they are provided. IBM is not responsible for the performance or interoperability
of any non-IBM products discussed herein.
IBM, the IBM logo, Storwize V7000, POWER6® and System Storage are trademarks of
International Business Machines Corporation in the United States, other countries, or
both. Other company, product or service names may be trademarks or service marks of
others.
Equipment
For our testing we used the equipment described further in this section.
The progress of the synchronization can be tracked by expanding and displaying the
Running Tasks in the Status Indicator in Storwize GUI, as shown on the picture below.
For the implementations with links over TCP/IP it is presently recommended to use
Global Mirror with Change Volumes therefore we established this way of Global Mirror
and tested it with IBM i .
To establish Global Mirror with Change Volumes for the LUNs of Production IBM i we
used the following actions:
The following screenshots show the actions of the steps 1. to 5. that are different
than with described actions to establish Metro Mirror.
7. On local V7000 start the created Global mirror consistency group by using GUI
Remote Copy -> right click on the consistency group -> select Start, as shown on
the following screenshot.
8. After initial synchronization is finished the relations stay in the status Consistent
Copying, they don't change the status to Consistent Synchronized.
After the planned outage is finished we have the possibility to re-start Metro Mirror from
Production to Disaster Recovery site or from DR site to Production site, depending on the
type of outage and the outcome of the work during the outage. We describe both ways of
fail-back: from Production to DR site, and from DR to Production site.
We performed the following steps for using Disaster Recovery site at planned outage of
IBM i.
Wait that incremental re-synchronization finishes. During and after the re-
synchronization the direction of Metro Mirror is from Auxiliary values to Master
volumes which is indicated by the icon at each relationship and can be seen
on the screenshot below:
Note: In this test we used the function Switch of Metro Mirror consistency group,
which enables the usage of target Metro Mirror LUN and reverses the Metro Mirror
direction.
Depending of the unplanned outage you may want to Stop the MM consistency group,
enable target volumes for reads and writes, and re-start Metro Mirror in the direction
Auxiliary -> Master at a later time. We described this way of switch-over in the
section Planned outage of IBM i.
Outage of IP links
The environment of this test is as follows:
Production IBM i is running
Metro Mirror from local to DR site is running
The Metro Mirror relationships are in Consistent Synchronized state
We simulate the outage of IP links by plugging-out the Ethernet cables from one of the
Storwize systems. After this action the status of Metro Mirror relations on local V7000 is
changed to Idling Disconnected and the direction of Metro Mirror is still from master to
Auxiliary Storwize, as can be seen on the following screen-shot:
The Metro Mirror relations on remote Storwize are in Consistent Disconnected state,
indicated Metro Mirror direction is from Master to Auxiliary volumes, and Freeze Time
indicates the time of failure of the links. This is shown on the screenshot below.
In the GUI screen Partnerships of each V7000, the state of the partner Storwize is Not
Present:
In the Event list in the GUI of each local and remote Storwize are two alerts for the loss
of Remote Copy partner and can be seen on the screenshot below:
We fix the outage of IP links by plugging the Ethernet cables in the Storwize again. After
this action the status of the Metro Mirror relations in each V7000 is Consistent Stopped
with indicated Freeze time, as shown on the screen-shots below:
After incremental synchronization the Metro Mirror relations on each V7000 are in
Consistent Synchronized state.
We performed the following steps for using Disaster Recovery site at planned outage of
IBM i.
Note: On remote site we connect to IBM i Global Mirror auxiliary LUNs, not
the Change Volumes.
Note: the re-synchronization is incremental, you can follow the progress by expanding
and displaying Running Tasks in the Status Indicators in V7000 GUI.
3. Perform IPL of Disaster Recovery partition from auxiliary Metro Mirror LUNs.
Setup a different IP address and different network attribute as Production system
has. Continue the production workload in the DR partition.
4. Power-down Production IBM i if possible.
We simulate the outage of IP links by plugging-out the Ethernet cables from one of the
Storwize systems. After this action the status of Global Mirror relations on local V7000
is changed to Idling Disconnected, the direction of Global Mirror is from Master to
Auxiliary Storwize, the status alert indicates that there is a problem on remote
partnership. This can be seen on the following screenshot:
The Event log in local Storwize lists the alert with the description Remote Copy – lost
synchronization and can be seen on the screen-shot below:
The partnerships on either local or remote V7000 indicate that the remote partner is not
present. The screen-shot from local V7000 shows this:
Production IBM i is running all the time, there aren't any interruptions and there aren't
any messages in the QSYSOPR queue to indicate the loss of Global Mirror
communication.
We fix the outage of IP links by plugging the Ethernet cables in the Storwize again. After
this action the Global Mirror automatically re-starts in original direction. The status of
the Global Mirror relations in each V7000 is Consistent Copying, as shown on the
screenshots from local V7000 below:
Note: In NPIV connection the IASP must be connected with different virtual FC
adapters than Sysbas (ASP1 and ASPs 2 – 32), and the virtual FC adapters for IASP
and sysbas must be mapped to different ports in adapters in VIOS.
4. On Production system generate SSH Keys to access V7000, distribute the private
key to the DR partition and the public key to both Storwize systems.
5. Create the volumes for the Metro Mirror target of the IASP, connect them to DR
partition and initialize them. On DR system create the description of the IASP
6. Start Metro Mirror of the IASP.
7. Create and start Cluster Resource Group (CRG)
8. Create PowerHA Copy description of both nodes
9. Start PowerHA session for Metro Mirror.
The following screen-shots show creating and starting of Metro Mirror consistency group
for the IASP:
After the switch is completed we can continue production workload in the Disaster
Recovery LPAR.
The screenshots below are taken during the execution of command CHGCRGPRI
CLU(PWRHA_CLU) CRG(PWRHA_CRG). They show the status of production IASP
which is varying-off, reversed Metro Mirror direction, the status of IASP on DR partition
varying-on and the message about successful completion of the command.
The following screen-shots show varying-off of the IASP on DR site, Metro Mirror again
in direction Production -> Disaster Recovery and vary-on of the Production IASP.
In the setup for this test we specified Failover reverse replication -> *YES therefore
PowerHA automatically reverses the Metro Mirror direction at the failover.
In our setup we specified the Failover message queue -> QSYSOPR, Failover wait time -
> 1, and Failover default action -> *PROCEED. Therefore PowerHA first sends the
message shown on the screen-shot below to the QSYSOPR message queue.
In our setup we specified the Failover message queue -> QSYSOPR, Failover wait time -
> 1, and Failover default action -> *PROCEED. Therefore PowerHA first sends the
message shown on the screen-shot below to the QSYSOPR message queue.
After we answer G to proceed with failing-over to the DR site PowerHA stops Metro
Mirror. Metro Mirror relations on Master V7000 and on Auxiliary V7000 are in Idling
status, as is shown below:
The DR site is now ready for taking-over the production workload in the IASP. The
PowerHA session shows that the target site is now primary, and the status of Metro
Mirror is Detached:
We manually reverse Metro Mirror direction from Disaster Recovery site to Production
site by using the GUI on Master V7000 -> Remote Copy -> right click on Metro Mirror
consistency group -> Start -> specify Auxiliary is primary start click Start Consistency
group. This is shown on the following screenshots:
Outage of IP links
During PowerHA session for Metro Mirror is running, we simulate the outage of IP links
by of IP links by plugging-out the Ethernet cables from one of the Storwize systems.
Before the outage PowerHA session reports Metro Mirror active as can be seen on the
screenshot below, and the V7000 GUI shows Metro Mirror in Consistent Synchronized
state.
The secondary V7000 reports Metro mirror relations in Consistent Disconnected state:
PowerHA reports Suspended Metro Mirror status, and can be seen on the following
screen-shot:
The status of the partnership is Not Present, as shown on the screenshot below:
The V7000 GUI shows Metro mirror in Consistent Synchronized status and can be seen
on the following screenshot:
Note: there is a difference between link outage with Metro Mirror of Full System and
Metro Mirror with PowerHA. With Full System we manually re-start Metro Mirror
after the IP links are back working, with PowerHA for i Metro Mirror restarts
automatically