Versions Compared

Key

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

스카시예약 에이전트는 공유 디스크를 하드웨어적으로 관리/보호하는 에이전트입니다.
스카시예약 에이전트를 사용하면 OS의 Hang과 같은 외부 요소에 의해 발생되는 Split-Brain 상황에서도 데이터 디스크를 안전하게 보호할 수 있습니다.
공유 스토리지가 SCSI3-PR(Persistent Reservation)를 지원한다면, 스카시예약 에이전트와 공유디스크 에이전트를 함께 사용함으로써 공유된 데이터에 대한 한층 더 높은 안전성을 확보할 수 있습니다.
시스템(다수 또는 단일)에서 SCSI3-PR를 통하여 스토리지로 접근하려면 시스템은 스토리지에 대한 예약키(Reserved-Key)를 가지고 있어야 하며, 예약키가 없는 시스템은 스토리지 접근이 차단됩니다.

* 참고 - SCSI3-PR(Persistent Reservation)를 지원하지 않는 스토리지는 스카시예약 에이전트를 사용할 수 없습니다.

Column
width350px
Panel

이 페이지의 주요 내용

Table of Contents
maxLevel4

...

External storage must support SCSI-3 PR.
Volume should be configured by LUN(Logical Unit Number) unit. Partitioned volume in a LUN is not supported.
If use PrType 3, at least 1GByte LUN is needed for key reservation.

...

To configure HA with shared storage environment, MCCS provides shared disk agent and SCSI Lock agent.
You can use only shared disk resource, or use with SCSI Lock resource. Shared disk resource depends on SCSI Lock resource and multiple shared disk resource can depends on a SCSI Lock resource.

...

1. Shared disk agent manage disk access in local node, but SCSI Lock agent manage node access in storage. 

Info

Disk management function in software perspective (shared disk agent)

  • Shared disk agent manages access control of shared disk through 'MOUNT/UMOUNT' command. 
  • 공유 디스크에 여러 노드가 동시에 쓰기 접근을 시도하면 데이터가 손상됩니다.
    따라서 이런 상황을 막기 위해 공유디스크 에이전트는 운영 노드에서만 파일 시스템을 마운트(mount)하고 대기 노드에서는 쓰기 접근을 할 수 없도록 유마운트(umount)한 상태를 유지합니다. 

Disk management function in hardware perspective (SCSI Lock agent)

 

  • SCSI Lock agent manage Write control and access control of LUN by using SAN protocol.
  • Only the node that has imported the disk with this key can access to the disk.

...

Info

PrType (Persist Type) 1 : Type1 controls 'Write" of LUN. When use this option, shared disk resource can be used as lock disk. (Exclusive Write)

 

PrType (Persist Type) 3 : Typ3 controls "Access" of LUN. When use this option, exclusive LUN is needed for lock disk.  

디스크는 작은 용량(약 1GB)으로도 가능하며 내용은 보호하지 않습니다.

...

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.

...

  1. When add a resource from a group name, select a group -> right click -> 'Add Resource'. 

    [Figure] Adding Resource in a group

  2. Select 'SCSILOCK' from Resource Type lists and click 'Next' button. 

    [Figure] Select Resource Wizard View

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

...

  1. ResourceType - Right Click - Click Add Resource

    [Figure] Adding Resource in a resource type

  2. 정보를 모두 가져오면 스카시예약 리소스로 사용할 장치경로를 선택할 수 있습니다.

    [Figure] Selecting driver letter View

  3. When there is no disk for SCSI Lock resource, "Disk Not Found" message appears.

    [Figure] Disk Not Found

  4. 스카시예약 리소스에 사용할 장치경로를 선택하면 자동으로 권장이름을 제공해줍니다.

    [Figure] Select device path

  5. Click 'Finish' and SCSI Lock resource is added.

    [Figure] Adding SCSI Lock resource is completed


Deleting

Select resource type - right click - delete resource

  1. Select "Delete Resource". 

    [Figure] Delete SCSI Lock resource view


State

다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 이동에 대해 설명합니다.
명령은 사용자에 의해 발생되는 것을 전제로 합니다.

...