12.07.2015 Views

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18 July 2001 T10/1236-D Revision 205.5.3.6.5 Clearing a persistent reservationAny application client may release a persistent reservation and remove all registrations from a device server for aspecific logical unit by issuing a PERSISTENT RESERVE OUT command with a service action of CLEAR serviceaction through a registered initiator with the following parameter:a) RESERVATION KEY set to the value of the initiator/logical unit pair’s established reservation key.In response to this request the device server shall perform a clear by doing the following as part of an uninterruptedseries of actions:a) Release any persistent reservation associated with the logical unit;b) Remove all registration(s) (see 5.5.3.4);c) Ignore the contents of the SCOPE and TYPE fields;d) continue normal execution of any tasks from any initiator that have been accepted by the device server asnonconflicting; ande) establish a unit attention condition for all other registered initiators, if any, for the cleared logical unit. Thesense key shall be set to UNIT ATTENTION and the additional sense data shall be set to RESERVATIONSPREEMPTED.Application clients should not use the CLEAR service action except during recoveries that are associated withinitiator or system reconfiguration, since the effect of the CLEAR service action is to remove the persistent reservationmanagement conventions that protect data integrity.5.6 Multiple port and multiple initiator behaviorSAM-2 specifies the behavior of logical units being accessed by more than one initiator. Additional service deliveryports provide alternate service delivery paths through which the device server may be reached and may alsoprovide connectivity for additional initiators. An alternate path may be used to improve the availability of devices inthe presence of certain types of failures and to improve the performance of devices whose other paths may bebusy.If a <strong>SCSI</strong> device has more than one service delivery port, the arbitration and connection management among theservice delivery ports is vendor specific. If one service delivery port is being used by an initiator, accessesattempted through other service delivery port(s) may:a) receive a status of BUSY; orb) be accepted as if the other service delivery port(s) were not in use.The device server shall indicate the presence of multiple ports by setting the MULTIP bit to 1 in its standardINQUIRY data.For the purposes of handling reservations, other initiators are defined as all initiators on the same service deliveryport except the initiator holding the reservation and all initiators on all other service delivery ports. Only thefollowing operations allow an initiator to interact with the tasks of another initiator, regardless of the service deliveryport:a) the PERSISTENT RESERVE OUT with PREEMPT service action preempts persistent reservations forother initiators (see 5.5.3.6.3);b) the PERSISTENT RESERVE OUT with PREEMPT AND ABORT service action preempts persistent reservationsand all tasks for other initiators (see 5.5.3.6.4);dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2) 37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!