Originally posted by: jvk
Ok, you'll need a DS4700 expert to confirm that you can do something like this:
1) check with the vdShow command which controller owns the volumes in question. This is the command from the shell of controller.
2) connect to the correct controller with a terminal (i.e. your PC with a serial connection and putty for exmple) and run a couple of commands from cmd line:
3) hlmTestLunShow ( volume # )
hlmTestRelease ( host id, volume # )
The first command will print out several pieces of information, one of which is the host id of the reservation holder. (Note: host id=reserve id in above hlmTestLunShow output.) The second command will release the reservation.
Example for LUN 3
Controller A:
-> hlmTestLunShow 3
LunNumber:0x3 LunInfo :0x40ff9664 State:0x0 QuiescenceFlag:0x0
Owner:0x0 IsReady :0x1
reserveId:0xffff resv3rdId:0xffff
value = 132 = 0x84
If the reserveId is 0xffff then there is no reservation on that volume (or you are on the wrong controller).
Controller B:
-> hlmTestLunShow 3
LunNumber:0x3 LunInfo :0x40ff9664 State:0x0 QuiescenceFlag:0x0
Owner:0x1 IsReady :0x1
reserveId:0xa resv3rdId:0xffff
value = 129 = 0x81
-> hlmTestRelease 0xa,3
LunNumber:0x3 LunInfo :0x40ff9664 State:0x0 QuiescenceFlag:0x0
Owner:0x1 IsReady :0x1
reserveId:0xffff resv3rdId:0xffff
value = 132 = 0x84
Now LUN 3 should be accessible for the second node.
Btw, above procedure is not supported by IBM, they'll request you use HACMP which has its own tools to break reservations during the takeover.
#AIX-Forum