Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1008962.1 : Sun StorageTek[TM] 99XX :Clearing Orphaned Persistent Group Reservations.
PreviouslyPublishedAs 212368 Description This document identifies a method for identifying and clearing SCSI-3 persistent group reservations that were not properly cleared ("orphaned" persistent group reservations). Orphaned persistent group reservations typically occur when a cluster is taken out of service without clearing reservations first. They can be difficult to clear as they will normally survive even power cycling of the storage array. They are persistent. Steps to Follow Occasionally a customer will disconnect a cluster from the SE9900 without first clearing any outstanding reservations. If persistent group reservations were in use they will likely survive most attempts to clear them via port resets, power cycling the array, and deleting the parity group. Typically this occurs when the cluster is shutdown and the last node leaves the reservation. The orphaned reservation occurs if the administrator fails to clear the reservation prior to removing this last host from the cluster (i.e. reinstall or physical detachment). NOTE: If the administrator plans on removing a node from the cluster and it involves a shutdown of all nodes, they should follow technical instruction <Document: 1011961.1> prior to node removal as described above. This will prevent needing to use this document. NOTE: SCSI-3 reservations are not limited to SE9900 arrays. This can occur on ANY disk storage device that supports the SCSI-3 protocol, which means that any storage vendor may show this problem. If using HDLM (Hitachi Dynamic Link Manager), the dlmpr utility may be used to Display the HDLM managed paths and their persistent reserve information:
Clear the persistent reserve information interactively:
The above displays a list of the paths for HDLM managed LUs and persistent Product Sun StorageTek 9980 System Sun StorageTek 9970 System Sun StorageTek 9960 System Sun StorageTek 9910 System Internal Comments For the internal use of Sun Employee's. The procedure below is necessary only if the reservations can not be scrubbed using the methods detailed in troubleshooting document <Document: 1011076.1>. There is a set of utilities, used for testing clusters, that can be used to determine if a reserve is orphaned. The utilities are part of the SCATE package and the first step is to get copies of the following utilities from the package. do_mhiocgrp_inkeys 1. Check for any inkeys: do_mhiocgrp_inkeys /dev/rdsk/cxxxxxxxx 2. Determine what key was used in the original reserve: do_mhiocgrp_inresv /dev/rdsk/cxxxxxxxx Example output: ># ./do_mhiocgrp_inresv /dev/rdsk/c9t50060E8003760D10d0s2 3. Register a new inkey: do_mhiocgrp_register -n 2222 /dev/rdsk/cxxxxxxxx 4. Use preemptandabort to replace the previous inkey with the new. do_mhiocgrp_preemptandabort -r 2222 -v <VALUE> /dev/rdsk/cxxxxxxxx Note: This <VALUE> comes from output of inresv. The value=10001 in the example above. 5. Clear the reservation and keys: do_mhiocgrp_clear /dev/rdsk/cxxxxxxxx The above procedure should be performed ONLY by System Support Engineers at the local or regional level. This requires an escalation to the PTS-CLUSTER group to get the SCATE package (specifically SUNWtscsi) to release to the onsite engineer. The package is to be used for this purpose only, and removed after completion. Alternatively, SCATE Software can be request through, email: [email protected] for approval with the following details: reserve, reservation, scsi3 pgr, pgr Previously Published As 74251 Change History Date: 2010-04-16 User Name: eh47940 Action: Modify Tittle. Version: 7 Date: 2006-10-26 User Name: 7058 Action: Modify Creator Comment: Original author left Sun. - Admin Modify of Creator to Richard Ostberg (116819) Version: 0 Product_uuid 2a918ae2-0a18-11d6-834a-c679537eebe7 | Sun StorageTek 9910 System 2a94fb3c-0a18-11d6-90a8-c9c08656284f | Sun StorageTek 9960 System 4ea4b951-9fc9-4f1f-b64e-69572a400fb4 | Sun StorageTek 9970 System Attachments This solution has no attachment |
||||||||||||
|