Unsolved
This post is more than 5 years old
29 Posts
0
4641
May 26th, 2009 02:00
Scsi reservation reset?
Hi Guys,
Can you tell me what is scsi reservation reset ? and where is this being done on the storage side or server side?
Can you tell me what is scsi reservation reset ? and where is this being done on the storage side or server side?
No Events found!


xe2sdc
6 Operator
•
2.8K Posts
0
May 26th, 2009 03:00
xe2sdc
6 Operator
•
2.8K Posts
0
May 26th, 2009 03:00
A SCSI reservation is a lock you put on your device. A lock preventing someone to dig or simply change content of your drive. Usually clusters uses reservation to obtain exclusive access to shared resources.
But if your host crashes (just an example), the disk will hold its lock and you need to remove it before being able to use again the disk. That's why you have to reset scsi reservation from time to time.
While removing a "plain" SCSI reservation requires a single symcli command, removing a SCSI3 PGR (persistent group reservation) requires either a PSE and a SR (from storage point of view) or host-specific commands (ask your beloved sysadmins).
SKT2
2 Intern
•
1.3K Posts
0
May 26th, 2009 18:00
scsictl command can be used to clear persistent reservation from a
device, as shown in the second form above, using the -p option.
xe2sdc
6 Operator
•
2.8K Posts
0
May 27th, 2009 03:00
SKT2
2 Intern
•
1.3K Posts
0
May 27th, 2009 18:00
xe2sdc
6 Operator
•
2.8K Posts
0
May 28th, 2009 04:00
"-p" does not appear to be a valid option...
StorageAdmin2
124 Posts
0
June 11th, 2009 06:00
¿SCSI-3 PR, which stands for Persistent Reservation, supports multiple nodes accessing a device while at the same time blocking access to other nodes.
SCSI-3 PR reservations are persistent across SCSI bus resets or node reboots and also support multiple paths from host to disk.
For SCSI-2 disks, reservations are not persistent which means they do not survive node reboots.
SCSI-3 PR uses a concept of registration and reservation. Systems that participate, register a key with SCSI-3 device. Each system registers its own key.
Then registered systems can establish a reservation. With this method, blocking write access is as simple as removing registration from a device.
A system wishing to eject another system issues a pre-empt and abort command and that ejects another node.
Once a node is ejected, it has no key registered so that it cannot eject others. This method effectively avoids the split-brain condition. ¿
KD8EWE
2 Intern
•
155 Posts
0
June 18th, 2009 10:00
This is done on server side(by Storage Engineer) make a text file SCSI3 in that enter.
set dev 098 attribute=SCSI3_persist_reserve;
set dev 099 attribute=SCSI3_persist_reserve;
(do this for each deivce you want to set SCSI3 flag)
And run the symconfigure command
symconfigure -sid 1956 -f SCSI3 preview
symconfigure -sid 1956 -f SCSI3 prepare
symconfigure -sid 68 -f SCSI3 commit
And if you want to reset scsi do the following:
edit the text file SCSI3
set dev 098 attribute=SCSI3_persist_no_reserve;
set dev 099 attribute=SCSI3_persist_no_reserve;
Run the symconfigure command as above.
This link from Ibm may help you to understand the concept more
http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/index.jsp?topic=/com.ibm.cluster.rsct_5300_06.vsd.doc/bl506_undperr.html
http://seer.entsupport.symantec.com/docs/261824.htm
If you feel I have answered your question Please assign points.
Thanks a lot
KD8EWE
2 Intern
•
155 Posts
0
June 18th, 2009 10:00
The text file name is SCSI3 on the symconfigure commands.
and the third commit symconfigure command
read it as
symconfigure -sid 1956 -f SCSI3 commit ( -sid of your symmetrix)
Thanks