![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Problem Resolution Sure Solution 2006243.1 : MaxRep: Deactivating or Deleting a Protection Plan with Queued Pairs Can Lead to Pairs Stuck in Configure LUN Protection State
In this Document
Created from <SR 3-9764016301> Applies to:Pillar Axiom Replication Engine (MaxRep) - Version 2.0 to 3.0 [Release 2.0 to 3.0]Information in this document applies to any platform. SymptomsOne or multiple Pairs within the same Protection Plan are stuck in Configure LUN Protection state following the activation of the Protection Plan. ChangesThe user previously deactivated or deleted the Protection Plan while some of the LUNs were in a Queued state and decided to reuse the same LUNs in the pairs by activating the Protection Plan again. Cause
SolutionThis situation requires the assistance of Oracle Support. Please open a Service Request and refer to this document. Deactivate the protection plan that has pair(s) stuck in Configure LUN Protection state. [root@MAXREP ~]# mysql svsdb1
[root@MAXREP ~]# mysql -u root -psvsHillview svsdb1
mysql> SELECT DISTINCT applianceTargetLunMappingId FROM hostApplianceTargetLunMapping WHERE sharedDeviceId NOT IN (SELECT Phy_Lunid FROM srcLogicalVolumeDestLogicalVolume);
+-----------------------------+
| applianceTargetLunMappingId | +-----------------------------+ | inmage0000000041 | +-----------------------------+ 1 row in set (0.00 sec) mysql>
[root@MAXREP ~]# echo “del <AT LUN Name>” > /proc/scsi_tgt/groups/<Axiom PWWN>/devices
[root@MAXREP ~]# echo “del inmage0000000041” > /proc/scsi_tgt/groups/21:00:00:0b:08:04:1f:10/devices
[root@MAXREP ~]# echo “del inmage0000000041” > /proc/scsi_tgt/groups/22:00:00:0b:08:04:1f:10/devices [root@MAXREP ~]# echo “del inmage0000000041” > /proc/scsi_tgt/groups/23:00:00:0b:08:04:1f:10/devices [root@MAXREP ~]# echo “del inmage0000000041” > /proc/scsi_tgt/groups/24:00:00:0b:08:04:1f:10/devices
[root@MAXREP ~]# /usr/local/InMage/Vx/bin/inm_dmit --op=del_lun --lun_name=<AT Lun Name>
[root@MAXREP ~]# /usr/local/InMage/Vx/bin/inm_dmit --op=del_lun --lun_name=inmage0000000041
Fabric lun inmage0000000041 deleted successfully Reconnect to the CS database and run the following query to clean the stale entry from the CS database: mysql> DELETE FROM sharedDevices WHERE sharedDeviceId NOT IN (SELECT Phy_Lunid FROM srcLogicalVolumeDestLogicalVolume);
mysql> DELETE FROM sharedDevices WHERE sharedDeviceId NOT IN (SELECT Phy_Lunid FROM srcLogicalVolumeDestLogicalVolume);
Query OK, 1 row affected (0.04 sec) Re-run the 1st query to make sure the stale entry is no longer there: mysql> SELECT DISTINCT applianceTargetLunMappingId FROM hostApplianceTargetLunMapping WHERE sharedDeviceId NOT IN (SELECT Phy_Lunid FROM srcLogicalVolumeDestLogicalVolume);
Empty set (0.00 sec)
References<BUG:19889416> - AFTER MAXREP ENGINE FAILURE, "TDATABASE" SAN PROTECTION PLAN IS STUCK IN "CONFIGAttachments This solution has no attachment |
||||||||||||||||||||
|