IBM Support

tsprrpcap instead of tsprinquiry in AIX for enabling SCSI-3 PR for DB2 pureSacle Feature.

Technical Blog Post


Abstract

tsprrpcap instead of tsprinquiry in AIX for enabling SCSI-3 PR for DB2 pureSacle Feature.

Body

To enable the SCSI-3 Persistent Reserve for DB2 puredcale feature, we have the following link in the knowledge center. 
 
But if you have purescale with AIX, you should stop in step 7 because you will see the following message in command line on AIX.
---------------------------------
$ tsprinquiry
ksh: tsprinquiry:  not found.
---------------------------------
 
That's because we do not have that command on AIX. Instead, we can use tsprrpcap command on AIX. In the sample output you can confirm if the disk is supporting SCSI-3 PR by using "Write_Exclusive_All_Registrants".
---------------------------------
//Syntax
/usr/lpp/mmfs/bin/tsprrpcap <diskName>
 
//Sample output
$ tsprrpcap hdisk5
PR Type Mask = ea 01
Write_Exclusive_All_Registrants       <---SCSIPR mode 7
Exclusive_Access_Registrants_Only
Write_Exclusive_Registrants_Only
Exclusive_Access
Write_Exclusive
Exclusive_Access_All_Registrants
---------------------------------
 
After checking it, you can skip the step 8(Create the /var/mmfs/etc/prcapdevices file on each host) in the link.
This link will be fixed by the area expert team in the future.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

UID

ibm11140544