Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

SCSI reservation agent can manage and protect the shared disks from the H/W perspectives.
If you use a SCSI reservation agent, you can safely protect the data disk against the split brain situations caused by external elements such as OS hanging.
If the shared storage supports SCSI3-PR (Persistent Reservation), you can use it together with SCSI reservation agent to improve the level of security for the shared data.
If you want to access the storage from systems (many or one) through SCSI3-PR, the system must have a storage reserved key. If not, storage access will not be granted.

* Note - If the storage does not support SCSI3-PR (Persistent Reservation), it cannot use a SCSI-reservation agent.

Column
width350px
Panel

Table of Contents

Table of Contents
maxLevel4

...

SCSI-Lock resource can be configured in 2 ways with shared disk resource. Configuration process changes according to the attribute value of SCSI Lock resource.


1. When shared disk and SCSI Lock resource is configured with the same LUN (PrType=1)

When you define an attribute of SCSI Lock resource as PrType=1, you can configure shared disk and SCSI Lock resource with the same LUN.
SCSI Lock agent manages DATA-DISK(shared disk resource) using by MOUNT/UMOUNT command and manages LOCK-DISK(SCSI Lock resource) using by SCSI-3 PR as shown below.
By setting up the dependency between SCSI Lock resources and shared disk resources, any damage of data-disk can be prevented which may occur in such case like Split-Brain.

 Image RemovedImage Added

[Figure] Shared disk and SCSI Lock resource configured in same LUN (PrType=1)

...

At this type, shared disk agent manages DATA-DISK where user data is stored and SCSI lock agent uses exclusive LUN for key reservation. Therefore, two LUNs is required at least.
Lock-disk volume is created for 1:1 dependency with shared disk agent like a figure below.
By using multiple shared disk agents, and one SCSI reservation agent, you can configure the dependency relationship for use.
The storage capacity of this disk can be small because it is used to check the node that can access the storage.
By setting the dependency between the SCSI reservation resource and the shared disk resource, you can prevent damages to DATA-DISK caused by Split-Brains and so on. 

Image RemovedImage Added   

[Figure] Shared disk and SCSI Lock resource is configured with different LUN( PrType=3)

...

1. Shared disk and SCSI Lock resource is configured in same LUN (PrType = 1)

Image RemovedImage Added

[Figure] Shared disk and SCSI Lock resource configured in same LUN

...

2.Shared disk and SCSI Lock resource configured with different LUN (PrType = 3)

Image RemovedImage Added

[Figure] Shared disk and SCSI Lock resource configured with different LUN

...

  1. When add a resource from a group name, select a group → right click → 'Add Resource'. 
    Image RemovedImage Added
    [Figure] Adding Resource in a group

  2. Select 'SCSILOCK' from Resource Type lists and click 'Next' button. 
    Image RemovedImage Added
    [Figure] Select Resource Wizard View

  3. Next steps are same as adding in resource type.

...

  1. ResourceType → Right Click → Click Add Resource
    Image RemovedImage Added
    [Figure] Adding Resource in a resource type

  2.  If all the information is retrieved, you can select a device path used as the SCSI reservation resource.
    Image RemovedImage Added
    [Figure] Selecting driver letter View

  3. When there is no disk for SCSI Lock resource, "Disk Not Found" message appears.
    Image RemovedImage Added
    [Figure] Disk Not Found

  4.  If you select a device path used for the SCSI reservation resource, a name will be automatically recommended.
    Image RemovedImage Added
    [Figure] Select device path

  5. Click 'Finish' and SCSI Lock resource is added.
    Image RemovedImage Added
    [Figure] Adding SCSI Lock resource is completed


...

  1. Select "Delete Resource". 
    Image RemovedImage Added
    [Figure] Delete SCSI Lock resource view


...

StatusAgent commandDescriptionNote

Online

Disk key is exclusively reserved at an online node.
You cannot register a key at another node.

Offline

It ignores the reservation key stored. It first creates a new reservation key and switches to offline while maintaining the reservation.

 
Monitoring

Compares the key reserved in the disk and check if there is a reservation made on the disk.

 

Offline

1. Disk is reserved but the resource is still offline.
2. The actual offline state where the other node acquired a reservation.

Online

Register a key for a disk reservation and wait for a response from the other node.

 After going online once, the other node reservation is stolen. This is called preempt.

 
Monitoring

Compares the key reserved in the disk and check if there is a reservation made on the disk.

 

Trouble

It occurs when a reservation is stolen while going online.

Online

Register a key for a disk reservation and wait for a response from the other node.

After going online once, the other node reservation is stolen. This is called preempt.

 
OfflineIt ignores the reservation key stored. It first creates a new reservation key and switches to offline while maintaining the reservation. 

 

 

Attribute

Image RemovedImage Added

[Figure] SCSI Lock Attribute view

...