Versions Compared

Key

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

7.11 공유디스크 DR 리소스

공유 디스크 DR 리소스는 공유 볼륨과 원격지 서버 사이의 데이터복제를 관리합니다.  
공유 디스크 DR 리소스는 공유 볼륨을 관리하는 3개의 서버로 구성되어지며 MCCS는 공유 볼륨을 구성하는 서버에서 동작합니다. 즉, 원격지 서버에는 MCCS가 동작하지 않습니다. 원격지 서버의 동작에 대해서는 MCCS가 관여하지 않으므로 관리자에 의한 수동 조작이나 사전에 처리 조치의 등록이 필요합니다.
데이터의 복제는 소스 볼륨(Source Volume)을 가진 서버에서 타겟 볼륨(Target Volume)을 가진 서버로 네트워크를 통해 이루어집니다. 이 때 공유 볼륨에 접근 하지 못하는 다른 소스 서버는 공유볼륨을 "NONE" 역할로 인식합니다. 따라서, 타겟 볼륨과 "NONE" 볼륨은 읽기/쓰기가 모두 허용되지 않는 잠금 상태입니다. 이는 데이터 무결성을 보장하기 위해 해당 볼륨을 사용하지 못하도록 하기 위함입니다.
이 페이지의 주요 내용

...

...

Image Removed

...

 

...

데이터 동기화

...

비동기(Async) 모드

...

동기(Sync) 모드

...

추가

...

  1. 그룹 선택 -> 마우스 우 클릭 -> 리소스 추가를 선택합니다.  
  2. 리소스 위자드에서 공유 디스크 DR을 선택하고 Next 버튼을 클릭합니다. 
  3. 리소스 위자드의 공유 볼륨셋에서는 공유 디스크 DR을 구성할수 있는 드라이브 문자와 , 이미 구성된 드라이브 문자가 표시 됩니다. 원격 서버에서는 정보를 조회 할 수 없으므로, 사용자가 드라이브 문자 및 주소를 입력해야 합니다. 

공유 디스크 DR 로 사용될 드라이브 문자는 클러스터를 구성하는 양쪽 서버에서 같은 드라이브 문자로 되어있어야 합니다. 데이터는 소스로 지정  노드에서 타겟으로 지정된 노드로 복제됩니다. 원격 서버는 소스가 될 수 없습니다, 데이터가 존재하는 드라이브 문자를 선택하실 때 주의하시기 바랍니다. 이미 만들어진 미러 볼륨을 추가 할 경우 볼륨레터 옆에 (mirrored)가 붙습니다.
Image Removed      [그림] 공유 디스크 DR 리소스 추가 화면
 

  1. 추가 설정을 클릭하여 동기화 모드와 디스크 검사 옵션을 정의 합니다.

<동기화 모드> 동기화 모드는 한 번 선택하면 변경할 수 없으므로 주의해서 선택해야 합니다.
동기모드 : 응답속도는 느리지만 데이터 손실이 없습니다.  비동기모드 : 동기모드보다 응답속도는 상대적으로 빠르지만 데이터 손실이 발생할 수 있습니다.
<디스크 검사 옵션> 디스크 검사 명령 실행 옵션을 지정합니다. 자세한 기능은 MSDN을 참고하십시오.
Image Removed [그림] 공유 디스크 DR  추가설정 화면
 

  1. 공유디스크 DR 리소스 추가 완료 버튼을 누르면 아래와 같은 경고창이 출력됩니다. 선택한 서버가 소스서버가 맞는지 다시 한번 확인합니다.   잘못 설정했다면 '취소' 버튼을 누르고 다시 설정합니다. Image Removed   [그림] 공유디스크 DR 리소스 추가 완료 버튼을 클릭 했을 때 출력되는 경고창    
  2. 완료 버튼을 클릭하면 공유디스크 DR 리소스가 추가 되며,   관리 웹 콘솔 상에서 바로 확인이 가능합니다.

 

삭제

해당 리소스 선택  -> 마우스 우 클릭 -> 리소스 삭제를 선택합니다. 삭제된 리소스는  관리 웹콘솔 상에서 바로 사라집니다.  

상태

다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 변화에 대한 설명입니다. 명령은 사용자에 의해 발생되는 것을 전제로 합니다.
공유 디스크 DR 에이전트: 미러 디스크를 관리하며, 복제 프로그램이 설치되어 있어야 합니다. 

상태

Agent 가능 명령

설명

비고

온라인
소스 볼륨이 접근 가능하고 쓰기 테스트가 정상적으로 이루어지는 상태입니다.

오프라인

미러 역할에 관계없이 LOCKVOLUME 명령으로 볼륨을 잠급니다. 미러 볼륨이 정의되지 않은 경우, LOCKVOLUME 명령은 무시되어 실패한 것으로 처리됩니다.

 

 

모니터링

모니터링 하기전에 먼저 리소스 상태 업데이트를 합니다. 디스크 쓰기 테스트를 통해 리소스 상태를 결정합니다.
쓰기 테스트가 성공하면 온라인 상태로 판단합니다. 디스크에 대한 쓰기 테스트를 하여 실패 시 오프라인 상태로 판단합니다.

 

오프라인
온라인, 장애 상황을 제외한 상황은 모두 오프라인 상태입니다.

온라인

시작되는 노드 상에서의 미러 볼륨 역할에 따라 동작이 결정됩니다.
<소스볼륨> 1.볼륨에 대한 잠금 상태 해제 및 쓰기를 가능하게 합니다. 2.잠금 해제는 복제 프로그램의 'UNLOCKVOLUME'으로 이루어지며  더티비트가 있는지 확인을 합니다.
<타깃볼륨 또는 None 볼륨> 1.미러 역할이 타깃 또는 None 볼륨일 경우 SWITCHOVERVOLUME 명령을 실행합니다.

 

 

모니터링

위에 모니터링 명령 설명 참조

 

장애
온라인 상태에서 쓰기 테스트가 실패하거나 온라인 시도가 실패하면 장애 상태로 표시됩니다.
*페일오버 비활성상태 미러 네트워크 통신 장애, 타깃 노드 또는 타깃 디스크 이상 등의 장애가 발생하면 미러 상태는 MIRRORING이 아닌 다른 상태, 즉 MIRROR_PAUSED와 같은 상태가 됩니다. 미러 상태가 MIRRORING이 아닌 경우 페일오버가 발생하게 되고 데이터 소실 또는 데이터 손상을 야기할 수 있습니다. 이를 방지하기 위해 에이전트는 미러 상태가 MIRRORING이 아닌 상태로 변경되면 페일오버 모드를 비활성화합니다. 페일오버 모드가 비활성화되면 수동 페일오버나 장애가 발생해도 페일오버를 실행하지 않습니다. 미러 네트워크 통신 장애인 경우에 통신이 재개되면 자동으로 RESYNC를 수행하며 미러 상태가 MIRRORING으로 변경되면 페일오버 모드 또한 자동으로 활성화됩니다.

온라인

위에 온라인 명령 설명 참조

 

 

오프라인

미러 역할에 관계없이 LOCKVOLUME 명령으로 볼륨을 잠급니다. 미러 볼륨이 정의되지 않은 경우, LOCKVOLUME 명령은 무시되어 실패한 것으로 처리됩니다.

 

 
 

속성

공유디스크 DR 리소스의 고유 속성을 표시 합니다.

...

ArgList 인수

...

설명

...

타입

...

기본값

...

수정

...

비고

...

ChkDsk

...

Section
Column

The shared disk DR resource manages data copying between the shared volume and the remote server.
 

The shared disk DR resource is composed of three servers that manage the shared volume. MCCS is only operable at the server that composes the shared volume.
In other words, MCCS does not operate at the remote server. MCCS is not involved with operation of the remote server, so, administrators need to perform manual operation or register necessary actions for processing in advance.

Data is copied from the server with the source volume to the server with the target volume. Now, the other source server that cannot access the shared volume recognizes the shared volume as the one having the "NONE" role.
Thus, the target volume and the "NONE" volume are locked and you cannot write or read to and from them. The goal is to prohibit the use of the corresponding volume so that the data integrity can be guaranteed.


Column
width350px
Panel

Major content of this page

Table of Contents
maxLevel4

 

 


[Figure] Mirroring Configuration

Data sync

Mirroring is classified into a sync mode and an async mode depending on the time of response to a request for saving.

Async mode

A response to writing on the mirror disk is immediately sent after the source volume is saved. Since it does not wait until data is sent to the target volume and saved there, the response time is very fast. However, in case of trouble, it can cause data mismatches due to data failed to be transmitted at that time.

Sync mode

When there is a request for writing to the disk, it will be written to the target volume as soon as it is written to the source volume. The final, successful response to a request for writing is achieved after both the source and the target volume are written. The response time is slow, but there exists the same data for the source and the target all the times.

Add

Add the DR shared disk resource. Before you can add the shared disk DR resource, you must install a copy tool at the remote server that data will be copied to.

 

  1. Select the group -> Right click with the mouse -> Add the resource.   
  2. In resource wizard, select a shared disk DR and click the Next button. 
  3. The shared volume set of resource wizard will display the drive characters that can be used to compose the shared disk DR and the existing drive characters that are already configured.
    You cannot inquire about information at the remote server. So, you need to enter IP addresses on your own. 

    Warning

    The drive letter to be used as the shared disk DR should be same on the both nodes in a cluster. Data will be replicated to the off-site DR node(Remote server) from the source node. The remote server cannot be the source. Be careful when you select the drive letter where data exists in the remote server, the data will be overwritten when mirror set in completed. If you try to add an existing mirror disk between shared disk set and remote disk, <mirrored> will be follwoed to the driver letter of shared disk.


    Image Added
      [Figure] Shared Disk DR Resource Added


  4. Click the 'Additional Setup' to define the synch mode and the disk test option.

    Info

    <Sync mode> Once selected, the sync mode cannot be reversed. So, be careful.
    Sync mode : Response is slow but there is no data loss involved. Async mode : Relatively faster than the sync mode but it can suffer from data loss.
    <Disk test option> Set the disk test command option. For more details on the function, refer to MSDN.

     Image Added
     [Figure] Shared Disk DR Additional Setting


  5. Press the Finish button after adding the shared disk DR resource, the following warning screen will be displayed.
    Check again if it is the correct source server selected.
    If not, then click on the 'Cancel' button and set it again. 

    Image Added
    [Figure] The warning screen displayed when you press the Finish button after adding the shared disk DR resource   
     

  6. Click the 'Finish' button to add the shared disk DR resource. You can immediately check the result in the management web console.

 

Delete

Select the resource -> Right click with the mouse -> Delete the resource.
The deleted resource will immediately disappear from the management web console.   

Status

The following table explains the status changing of the MCCS resource caused by a user's command and the status. 
The command assumes that it is generated by a user.

Shared disk DR agent: Manages the mirror disk. Copying program should be installed. 

Status

Agent's functions

Description

Note

Online

In this status, you can access the source volume and perform a writing test properly.

 

Offline

Regardless of the mirror role, the LOCKVOLUME command is used to lock the volume. If the mirror disk is not defined, the LOCKVOLUME command is ignored and regarded as a failure.

 

Monitoring

Before monitoring, update the status of resource first. Perform a disk write test to determine the status of resource.
If the writing test is successful, it is regarded as the online state. If the writing test failed on the disk, it is regarded as the offline state.

 

Offline

Except for the online and trouble states, it is always offline.

 

Online

Type of operation is determined by the role of the mirror disk at the start node.
<Source volume> 1. You can unlock and write the volume. 2.To unlock, you can use the 'UNLOCKVOLUME' menu in the copy program. Check whether there are dirty bits.
<Target or NONE volume> 1. If the mirror role is target or NONE volume, run the SWITCHOVERVOLUME command.

 

Monitoring

Refer to the description of monitoring as above.

 

Fault


If a writing test failed online, or an attempt to go online is failed, the trouble state is displayed.
*Failover deactivation state When a mirror network communication failure, target node or target disk failure occurs, the mirror state is changed from 'MIRRORING' to other, such as 'MIRROR_PAUSED'. If the mirror status is not 'MIRRORING', a failover will take place and it can cause data losses or damages. To prevent this problem, an agent deactivates the failover mode if the mirror status is not "MIRRORING". If the failover mode is deactivated, no failover will take place even if manual failover or troubles occur. If mirror network has been failed and then, recovered as normal, mirror status is changed to RESYNC and data re-synching is initiated between primary cluster set and off-site DR node. When the mirror status is changed to MIRRORING, the failover mode will be also automatically activated.

 

Online

Refer to the above online command.

 

Offline

Regardless of the mirror role, the LOCKVOLUME command is used to lock the volume. If the mirror disk is not defined, the LOCKVOLUME command is ignored and regarded as a failure.

 

 
 

Attribute

Show the unique attribute of the shared disk DR resource.

ArgList Factor

Description

Type

Default

Modification

Note

ChkDsk

When the volume is mounted, according to the 'Disk Test Options', disk is tested for errors. If it is set to true, and if dirty bits are set to the online volume, the ChkdskArg option will be used to run checkdisk. Before running checkdisk, the mirror copying will be automatically stopped and resynchronization will be performed after finished.

BOOLEAN

false

O

 

ChkdskArg

체크디스크When the checkdisk (Chkdsk) 가 true일 때 체크디스크 명령 옵션을 지정합니다option is set to true, the check disk command option is activated.

STRING

/F

O

 

DirtyBit대상 미러 볼륨에 더티 비트가 설정되어 있음을 의미합니다. 일반적으로 대상 볼륨에 무결성 검사가 필요할 경우 시스템에 의해 설정됩니다

It means that dirty bits are set to the target mirror disk. In general, if you need to check the integrity of the target volume, the system will set this.

BOOLEAN

false

X

 

DriveLetter미러 볼륨이 할당된 드라이버 문자입니다. 소스, 타깃 시스템에서 동일한 값을 갖도록 구성해야 합니다

The mirror disk is assigned to the drive letter. It should be configured to obtain the same value at the source and the target systems.

STRING

 

X

 

DRState미러 볼륨의 미러 상태입니다. 이벤트 로그로부터 갱신됩니다. 

The mirror status of the mirror disk. It is renewed from an event log.

STRING

 

X

 

DRType

미러 동기화 모드를 결정합니다. A 또는 S로 설정합니다Determine the mirror synchronization mode. Set it to A or S. ( A - 비동기모드async mode, S - 동기모드)* 비동기모드로 설정할 경우 데이터 손실이 발생할 수 있습니다sync mode) * If it is set to asynch mode, data loss can occur.

STRING

A

X

 

ResyncNeed

재동기가 필요한 블럭들의 총 합을 나타냅니다It represents the total sum of the blocks requiring re-synchronizing.

INTEGER

 

X

 

ResyncTotal

재동기 블럭들의 총 합을 나타냅니다It is the total sum of the re-synchronizing blocks.

INTEGER

 

X

 

SharedSrcIp

두 노드간 공유 볼륨을 관리 하기 위한 IP 주소입니다It is the IP address used to manage the volume shared between two nodes.

STRING

 

X

 

SharedSrcRole

각 노드의 공유 볼륨에 대한 역할을 나타냅니다It shows the role of the shared disk for each node.

STRING

 

X

 

TargetDRIp

볼륨을 복제하기 위해 사용하는 IP 입니다It is IP address of off-site DR node for mirror disk.

IP ADDRESS

 

X

 

TargetDRLetter

DR 타겟 볼륨의 드라이브 문자입니다It is a driver letter using mirror disk of off-site DR node.

STRING

 

X

 

TargetDRRole

타깃 DR 노드의 공유 볼륨에 대한 역할을 나타냅니다It shows the role of mirror disk of off-site DR node.

STRING

 

X

 

TotalSpace

대상 미러 볼륨의 총 크기를 나타냅니다It represents the total size of the target mirror disk.

INTEGER

 

X

 

UsedSpace

대상 미러 볼륨의 사용 크기를 나타냅니다It represents the available size of the target mirror disk.

INTEGER

 

X

 

속성 값은 해당 리소스를 등록할 때에 입력된 값이며, '리소스 고유 속성'에서 값을 변경하거나 확인 할 수 있습니다.
  
 Attribute value of ArgList arguments are the values that are added resources and the value can be changed or viewed through ’Specified Attribute’ list on the detailed information panel.