beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 496

background image

Example

To check the reservation keys, and then clear a reservation key:

1

.

Execute the dlmpr utility to display the reservation keys for sda, sdb,
sdc, sdd, sde, and sdf.

# /opt/DynamicLinkManager/bin/dlmpr -k sda sdb sdc sdd sde sdf

sda Reservation Key : [0xaaaaaaaaaaaaaaaa]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 1

sdb Reservation Key : [0xbbbbbbbbbbbbbbbb]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 2

Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 2

sdc Reservation Key : [0xbbbbbbbbbbbbbbbb]

Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 4

sdd Reservation Key : [0xaaaaaaaaaaaaaaaa]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 4

sde Reservation Key : [0x0000000000000000]

sdf Reservation Key : [0x0000000000000000]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 1

Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 1

2

.

Execute the dlmpr utility to clear the reservation key.

# /opt/DynamicLinkManager/bin/dlmpr -c sdb sdc

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 sdb was cleared.

KAPL10642-I Reservation Key of sdc was cleared.

Note

Before executing the dlmpr utility, make sure that the LU for which

persistent reservation will be cleared is not being accessed.
If you perform the following operation while both of the following

conditions exist, an error occurs when reservation-key is read, and
0x???????????????? is displayed.

Conditions

- Multiple paths are configured to the HDLM device.
- A persistent reservation has been set by the cluster software.

Operation

1. Clear persistent reservation, specifying the SCSI device.
2. Execute the dlmpr utility with the -k parameter specified to display

the PersistentReserve information for a SCSI device associated with a

different path.

If the above display error occurs, re-execute the dlmpr utility with the -k

parameter specified.

7-36

Utility Reference

Hitachi Dynamic Link Manager User Guide for Linux

®

This manual is related to the following products: