Hitachi Dynamic Link Manager Software Users Guide for AIX (6.6) (T5208-96010, April 2011)

7. Utility Reference
331
Specify the hdisk for which you want to display or clear the Reservation Key. You
can specify more than one volume.
If you omit this parameter, the utility assumes all hdisks.
-a
When multiple hdisks are specified, even if an error occurs during processing, the
processing continues for all hdisks.
-h
Displays the format of the dlmpr utility.
Note
[0x????????????????] appears for Reservation Key if the destination storage
system does not support the persistent reservation or if a hardware error occurs.
Example
To check the Reservation Keys, and then clear the Reservation Keys other than those
for the local host:
1. Execute the
dlmpr utility to display the Reservation Keys for hdisk1, hdisk2,
hdisk3, hdisk4
# /usr/DynamicLinkManager/bin/dlmpr -k hdisk1 hdisk2 hdisk3
hdisk4
self Reservation Key: [0xaaaaaaaaaaaaaaaa]
hdisk1 Reservation Key: [0xaaaaaaaaaaaaaaaa]
Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 2
hdisk2 Reservation Key: [0xbbbbbbbbbbbbbbbb]*
Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 2
hdisk3 Reservation Key: [0xbbbbbbbbbbbbbbbb]*
Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 2
hdisk4 Reservation Key: [0x0000000000000000]
2. Execute the dlmpr utility to clear the Reservation Keys for other hosts (marked
by an asterisk (*)).
# /usr/DynamicLinkManager/bin/dlmpr -c hdisk2 hdisk3
3. The confirmation message appears. Enter y to clear. Otherwise, enter n.
KAPL10641-I Reservation Key will now be cleared. Is this OK?
[y/n]:y
KAPL10642-I Reservation Key of hdisk2 was cleared.
KAPL10642-I Reservation Key of hdisk3 was cleared.