07-27-2009
LUN reservation is complex topic, because are involved many variants.
Is method to control the access a LUNS, regularly this is a cluster concept and prevent the simultaneous access to LUNS and prevent data corruption.
However in AIX, this keeps disks reservation when you "varyon" the volumegroup and will remove it when you "varyoff" volume groups
Exist two reservation methods SCSI-2 and SCSI-3.
If varyoff not released the reservation, then you could need one tool depending of the Storage vendor.
For example, EMC have scsi-reservation utility, HDS have DLMPR
Could you post more information to help you .
8 More Discussions You Might Find Interesting
1. Solaris
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Discussion started by: uuontario
4 Replies
2. AIX
Hello all,
I have the following env:
* DS4300 storage SAN
* AIX 5.3 Lpar (storage through vio server)
* AIX 5.3 Server
Some FS are too small do I'm setting up a process to increase the size of the FS.
To expand the size of the FS I plan to do the following for the physical AIX server,... (1 Reply)
Discussion started by: petervg
1 Replies
3. Red Hat
Hi,
Is there command to detect the newly added LUN is linux box. I tried with below commands, but that doesn't work out.
fdisk -l,
fdisk -l | grep Disk
pvscan (5 Replies)
Discussion started by: gsiva
5 Replies
4. AIX
Hi,
I am not getiting lun id information on VIO Server. I have used the command fget_config command.
just showing # prompt.
I would like know wheather any other command is there equiv of fget_config
which will display lun id? (4 Replies)
Discussion started by: manoj.solaris
4 Replies
5. Solaris
Dear all,
i want to get the LUN ID for some disks in solaris 10
what commands options for the MPXIO and inq i want these utilities only
because i don't have solution enabler or powerpath
BR, (1 Reply)
Discussion started by: maxim42
1 Replies
6. Solaris
Hi All,
I am a RH Linux admin that recently started working at a company with a number of SUN Servers so it's been an interesting transition.
Considering the last person left with very little documentation left behind so I have been picking up most issues half complete, or troubleshot.
... (7 Replies)
Discussion started by: MobileGSP
7 Replies
7. HP-UX
Hi guys,
I need some help to better understand how to determine if a disk have persistent SCSI reservation. I know that we should use the "Persisten Reservation Utility" but we are not allowed to run that tool. Since we have the output from some grab utility and specifically we have the... (0 Replies)
Discussion started by: cecco16
0 Replies
8. Solaris
Hi
I am having two node cluster. I was trying to change the to use scsi3 reservation for all disks having two paths. Please let me know where I went wrong or there any issue to implement the same.
On node1
bash-3.2# cldev status
=== Cluster DID Devices ===
Device Instance ... (8 Replies)
Discussion started by: sb200
8 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_scsi2reservation
OCF_HEARTBEAT_SCSI2R(7) OCF resource agents OCF_HEARTBEAT_SCSI2R(7)
NAME
ocf_heartbeat_scsi2reservation - scsi-2 reservation
SYNOPSIS
scsi2reservation [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
The scsi-2-reserve resource agent is a place holder for SCSI-2 reservation. A healthy instance of scsi-2-reserve resource, indicates the
own of the specified SCSI device. This resource agent depends on the scsi_reserve from scsires package, which is Linux specific.
SUPPORTED PARAMETERS
scsi_reserve
The scsi_reserve is a command from scsires package. It helps one to issue SCSI-2 reservation on SCSI devices. (optional, string,
default /usr/sbin/scsi_reserve)
sharedisk
The shared disk that can be reserved. (optional, string, default /dev/sdb)
start_loop
We are going to try several times before giving up. Start_loop indicates how many times we are going to re-try. (optional, string,
default 10)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 300.
stop
Stops the resource. Suggested minimum timeout: 100.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 20.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 30.
EXAMPLE
The following is an example configuration for a scsi2reservation resource using the crm(8) shell:
primitive p_scsi2reservation ocf:heartbeat:scsi2reservation
op monitor depth="0" timeout="20" interval="20"
SEE ALSO
http://www.linux-ha.org/wiki/scsi2reservation_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_SCSI2R(7)