Asset ID: |
1-71-2080619.1 |
Update Date: | 2018-04-06 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
2080619.1
:
MaxRep: How to Reverse the Direction of Replication in a MaxRep3 SAN Configuration
Related Items |
- Pillar Axiom Replication Engine (MaxRep)
|
Related Categories |
- PLA-Support>Sun Systems>DISK>Axiom>SN-DK: MaxRep-2x
|
In this Document
Created from <SR 3-11746780301>
Applies to:
Pillar Axiom Replication Engine (MaxRep) - Version 3.0 to 3.0 [Release 3.0]
Information in this document applies to any platform.
Goal
This document explains how to reverse the direction of a replication pair for a Protection Plan.
This document can assist customers that have asynchronous implementations with an FS1-2/Replication Engine at a primary or source site, and a FS1-2/Replication Engine at a secondary or destination site, and want to reverse the direction of a replication pair for a LUN at the primary site that is being replicated to a LUN at the destination site.
Once completed, the primary or source site and secondary or destination site roles will be reversed.
Solution
Pre-Reversal Steps
During the initial configuration of a Replication Engine, a retention LUN is created on the secondary site. A retention LUN is a LUN created on the FS1-2 but mapped by the Replication Engine. It holds the retention journal for the Replication Engine. The retention journal contains a list of time indexed replication events that allow rollback to any point in time.
In order to have the ability to reverse the replication direction, a retention LUN is required to be mounted on both the primary (source) and secondary (destination) FS1-2 Systems. ssh to the primary Replication Engine (see Document 2046703.1 FS System: Passwords Associated with the Oracle FS1-2 Flash Storage system) and run the mount command to see if a retention LUN is mounted:
[root@FS1-MAXREP ~]# mount
/dev/sda1 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdb1 on /home type ext4 (rw,noatime,nodiratime)
/dev/sda2 on /var/crash type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/mapper/36000b08414b303031323639333400033 on /retention01 type ext4 (rw) <------ retention LUN
If the retention LUN is not mounted, one may need to be created.
- Check to see if a retention LUN exists on the primary FS1-2:
- In the MaxRep GUI, select the Protect tab, then View Oracle Storage in the navigation tree on the left.
- Use the Filter option to select the primary FS1-2.
- Expand the UnMapped storage for a list of LUNs.
- If the retention LUN does not exist, proceed to step 2 to create, otherwise proceed to step 4 to mount it.
- Use the retention LUN on the current secondary system as a model to create one for the primary FS1-2.
- Rediscover LUNs from the primary FS1-2's Replication Engine:
- From the Settings tab, select Manage Oracle Storage under Oracle Storage section of the navigation tree
- Select the Re-Discover option from the primary FS1-2

- Select OK in the pop-up confirmation window.
- Using the MaxRep3 User Interface, map and mount the retention LUN from the primary FS1-2.
- In the MaxRep GUI, select the Settings tab, then Toolkit for MaxRep under Oracle Storage in the navigation tree on the left.
- Select the radio button next to Map and then Next>>.
- Select the primary FS1-2 for Oracle Storage and the primary Replication Engine for MaxRep.
- In the window below, expand the UnMapped LUNs and check the box next to the retention LUN and Next>>
- Create a mount point, check the format box and then Submit.
- Repeat the mount command above to confirm it is now mounted.
Note: Do NOT map the retention LUN from the Oracle FS System Manager GUI.
Reversal Steps
Below is the basic procedure to reverse direction of a replication pair.
- Halt SAN Host I/O to the source LUN at the Primary Site, this includes making sure the San Host has properly released any SCSI reservations it may have on the LUN.
- From the Replication Engine running the Control Service, perform a Rollback for a Protection Plan.
- Create a Rollback Scenario that allows you to recover data at any historic point-in-time that has been stored in the retention period. The rollback process promotes the target LUN at the Destination Site as the new source LUN. You can then mount the LUN to a SAN Host for access.
- In the MaxRep UI select the Recover tab then click "Create Rollback Scenario" under Data Validation and Backup in the navigation tree on the left.
- Select the Protection Plan for the Rollback Scenario. Select the primary server and failover server for the Rollback in the Select Protection list, click "Next>>".
- Verify the Rollback Options in the Pair Details listing and click "Next>>".
- Verify the Rollback Plan and Rollback Scenario details and click Save.
- Run a Rollback Scenario to recover a LUN from a specific point in time of a recovery period.
- In the MaxRep UI navigate to Recover tab -> click "Manage Backup/Rollback Scenarios".
- Select the appropriate Plan Name and under Recovery Scenario select Rollback from the pull down menus.
- From the Recovery Scenarios table click "Run" for the protection plan that contains the desired scenario.
- There are 2 Options for recovery using "Consistent Point Based Recovery" or "Time Based Recovery". Choose one of these Recovery Options.
- Confirm your selections and click "Run".
NOTE: Once you click "Run" the Rollback of the target volume will stop replication, recovery, associated snapshots, and also will invalidate various policies associated with the replication pair. The LUN rollback is an irreversible process.
- Select OK twice to continue and delete the retention logs.
- Wait for the Rollback In Progress to complete, you may need to refresh the browser window. Once complete the Execution Status will display "Active (Rollback Done)"
- In the MaxRep UI click "Monitor" tab and select the Protection Plan. The protection status will show "Active (Pairs Delete Pending)", and the Status of the Protection Plan will show "Deletion pending". Wait for the process to finish, when it's done the Protection Status will change to "InActive" then proceed to Step 3.
- Verify that the SAN Host at the target site can mount the destination LUN for data access.
Post Reversal Steps
- Modify the Protection Plan and configure it so the target LUN is the source, and the source LUN is the target.
- In the MaxRep UI click "Protect" -> click "Manage Protection Plan". In the main page click "Modify".
- In the Modify Protection Options, choose "Click Here" to Modify Primary Server.
- Provide a Description and update the selection under Select Primary Oracle Storage to reflect the original target FS1-2.
- Expend the Unmapped LUNs and check the box next to the Primary LUN which was the original destination LUN.
- Select the Primary Replication Engine which is the MaxRep Host at the original target site.
- Click "Next>>"
- In the next screen, select the Secondary Oracle Storage which is the FS1-2 at the primary site.
- Select the Secondary LUNs which is the original source LUN.
- Select the Secondary Replication Engine which is the MaxRep Host at the original primary site.
- Click "Next>>"
- At the next screen select the appropriate Replication Options and click "Next>>"
- At the next screen configure the Retention Policy Settings and under section "Specify Retention Storage Path" choose the retention volume path at the original source site.
- Click "Next>>" and OK to confirm.
- At the next screen click "Save and Activate".
At this point the Activation Status for the Protection Plan will display "Prepare Target Pending", once done the status will display "Active".
- Once the Activation Status is "Active" click "Monitor" tab -> under "Protection Health" choose the Protection Plan.
- In the main screen under the Protection Plan Status it will display "Resyncing (Step I)" and a "Resync progress" increases in %.
- As the resync progresses the status will transition to "Resyncing (Step II)", then the protection plan Status will transition to "Differential Sync" and the protection plan will display an overall health of Green. At this point replication will occur in the opposite direction.
- Under the Monitor tab, the Resync Required alert associated with this process can be deleted.
NOTE: There are several steps involved in step 2 (Rollback for a Protection Plan), and they may vary depending on host OS and applications. For more information about Rollback for a Protection Plan please refer to the
Oracle MaxRep for SAN User's Guide.
Attachments
This solution has no attachment