Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
[그림] 미러링 구성도
데이터 동기화
미러링 방식은 동기 모드와 비동기 모드로 나뉘어지며, 이는 저장 요청에 대한 응답이 언제 발생하는지에 따라 결정됩니다.
비동기(Async) 모드
미러 볼륨에 대한 쓰기 요청 응답은 소스 볼륨에 대한 저장이 완료되는 즉시 이루어집니다.
타깃 볼륨으로 데이터가 전송되고 저장되기를 기다리지 않기 때문에 응답이 빠른 반면에 장애가 발생할 경우에는 그 시점에 전송되지 못한 데이터만큼의 데이터 불일치가 발생할 수도 있습니다.
동기(Sync) 모드
디스크에 대해 쓰기 요청이 발생하면 데이터는 소스 볼륨에 쓰여지는 동시에 타깃 볼륨에도 쓰여집니다.
쓰기 요청에 대한 최종적인 성공 응답은 소스와 타깃에 대한 쓰기가 모두 성공한 후에 이루어집니다. 응답속도는 느리지만 소스와 타깃 간의 데이터는 언제나 동일합니다.
추가
미러 디스크 DR 리소스를 그룹에 추가합니다.
...
미러 디스크 DR 리소스로 사용 할 드라이브 문자를 선택하고, 소스 서버로 선택 합니다.
...
Figure] Mirroring Configuration
Mirror Mode
Mirror mode employs both asynchronous and synchronous mirroring schemes. Understanding the advantages and disadvantages between synchronous and asynchronous mirroring is essential to the correct operation of this.
Async Mode
With asynchronous mirroring, each write is captured and a copy of this is made. That copy is queued to be transmitted to the target system as soon as the network will allow it. Meanwhile, the original write request is committed to the underlying storage device and control is immediately returned to the application that initiated the write. At any given time, there may be write transactions waiting in the queue to be sent to the target machine. But it is important to understand that these writes reach the target volume in time order, so the integrity of the data on the target volume is always a valid snapshot of the source volume at some point in time. Should the source system fail, it is possible that the target system did not receive all of the writes that were queued up, but the data that has made it to the target volume is valid and usable.
Sync Mode
With synchronous mirroring, each write is captured and transmitted to the target system to be written on the target volume at the same time that the write is committed to the underlying storage device on the source system. Once both the local and target writes are complete, the write request is acknowledged as complete and control is returned to the application that initiated the write. With synchronous mirroring, each write is intercepted and transmitted to the target system to be written on the target volume at the same time that the write is committed to the underlying storage device on the source system. Once both the local and target writes are complete, the write request is acknowledged as complete and control is returned to the application that initiated the write.
Adding
Add the mirror disk DR resource to a group.
- When add a resource from a group name, select a group → right click → 'Add Resource'. Or select Edit(E) from the main menu bar → select 'Add Resource'. Or select 'Add Resource' icon from the tool bar.
- Select 'MirrorDisk DR' from Resource Type lists and click 'Next' button. When add a resource from the mirror disk DR resource type name, this step will be skipped.
Select the mirror volume and MCCS will renew the information.
If you skip enter resource name, this will given 'Mirror_value' which value is selected driver letter.(Ex: Mirror_G)
Warning All replicated driver letter of nodes should be assigned same driver letter.
[Drive characters in the SAN environment (shared disk) are also displayed in the list. So, make sure you select the accurate drive characters.]
Data will be copied to the target node and DR node from the source node.
Be careful when you select the drive character where data exists.
If you try to add the existing mirror volume, <mirrored> will be added to the volume letter.
[그림Figure] 미러디스크 DR 리소스 추가 화면Mirror Disk DR Resource Added미러주소와 DR 미러 주소를 선택합니다.
<동기화 모드> 선택합니다.
동기화 모드는 한 번 선택하면 변경할 수 없으므로 주의해서 선택해야 합니다.
왼쪽 콤보 박스는 Cluster내에 미러 라인에 대한 동기화 모드이고, 오른쪽 콤보 박스는 DR 미러 라인에 대한 동기화 모드 입니다.동기모드 : 응답속도는 느리지만 데이터 손실이 없습니다.
비동기모드 : 동기모드보다 응답속도는 상대적으로 빠르지만 데이터 손실이 발생할 수 있습니다.추가 설정을 클릭하여 디스크 검사 옵션을 정의 합니다.
Info <디스크 검사 옵션>
디스크 검사 명령 실행 옵션을 지정합니다. 자세한 기능은 MSDN을 참고하십시오.
[그림] 미러디스크 DR 추가설정 화면 미러디스크 DR 리소스 추가 완료 버튼을 누르면 아래와 같은 경고창이 출력됩니다. - 완료 버튼을 클릭하면 미러 디스크 DR 리소스가 추가 되며,
관리 웹 콘솔 상에서 바로 확인이 가능합니다.
선택한 서버가 소스서버가 맞는지 다시 한번 확인합니다.
잘못 설정했다면 '취소' 버튼을 누르고 다시 설정합니다.
[그림] 미러디스크 DR 리소스 추가 완료 버튼을 클릭 했을 때 출력되는 경고창
삭제
해당 리소스 선택 -> 마우스 우 클릭 -> 리소스 삭제를 선택합니다.
...
상태
다음 테이블은 DR 쪽 상태와는 상관없이 클러스터내의 미러 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 변화에 대한 설명입니다.
명령은 사용자에 의해 발생되는 것을 전제로 합니다.
미러 디스크 DR 에이전트: 미러 디스크를 관리하며, 복제 프로그램이 설치되어 있어야 합니다.
상태 | Agent 가능 명령 | 설명 | 비고 |
---|---|---|---|
온라인 소스 볼륨이 접근 가능하고 쓰기 테스트가 정상적으로 이루어지는 상태입니다. | 오프라인 | 미러 역할에 관계없이 LOCKVOLUME 명령으로 볼륨을 잠급니다. | |
모니터링 | 모니터 과정 또한 미러 볼륨의 상태와 역할에 따라 결정됩니다. <소스 볼륨> <타깃 볼륨> | ||
오프라인 온라인, 장애 상황을 제외한 상황은 모두 오프라인 상태입니다. | 온라인 | 시작되는 노드 상에서의 미러 볼륨 역할에 따라 동작이 결정됩니다. <소스볼륨> <타깃볼륨> | |
모니터링 | 위에 모니터링 명령 설명 참조 | ||
장애 온라인 상태에서 쓰기 테스트가 실패하거나 온라인 시도가 실패하면 장애 상태로 표시됩니다. *페일오버 비활성상태 | 온라인 | 위에 온라인 명령 설명 참조 | |
오프라인 | 미러 역할에 관계없이 LOCKVOLUME 명령으로 볼륨을 잠급니다. |
속성
리소스의 고유 속성을 표시 합니다.
...
ArgList 인수
...
설명
...
Select IP address of mirror disk and offsite DR.
Select mirror type.
Be careful that when you set to synchronous mode, this cannot be changed to asynchronous mode.
You can select the mirror type in a cluster at Local Mirror Configuration and offsite DR at Remote server.Sync mode : Write I/O will may be delayed depend to network band, but there is no data loss involved.
Async mode : Relatively faster than the synch mode but it does not guarantee that target data is identical to its source when meet disaster.As 'Additional Settings', Check Disk option is available.
Info <Check Disk Option>
Set the check disk command option. For more details on the function, refer to MSDN.
[Figure] check disk option- When click OK button, following popup message appear.
Confirm selected server as source.
If you select wrong sever, clock cancel button.
[Figure] Alert popup message after click OK button - Click the 'Finish' button to add the mirror disk DR resource.
You can immediately check the result in the management web console.
Deleting
Select resource type → right click → delete resource.
- Click "Delete resource" and a confirming message about deleting resource will appear.
[Figure] check resource view - Click "OK" and a confirming message about deleting redundancy program of mirror configuration will.
[Figure] Delete physical mirror disk view - Click "OK" and redundancy program is deleted. Click "Cancle" and only mirror disk DR is deleted.
The deleted resource will immediately disappear from the management web console.
Status
The command assumes that it is generated by a user.
Mirror disk DR agent: Manages the mirror disk. Copying program should be installed.
Status | Agent command | 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. | |
Monitoring | The monitoring process is also determined by the mirror volume status and roles. <Source volume> <Target volume> | ||
Offline Except for the online and trouble states, it is always offline. | Online | Type of operation is determined by the role of the mirror volume at the start node. <Source volume> <Target volume> | |
Monitoring | Refer to the description of monitoring as above. | ||
Trouble If a writing test failed online, or an attempt to go online is failed, the trouble state is displayed. *Failover deactivation state | Online | Refer to the above online command. | |
Offline | Regardless of the mirror role, the LOCKVOLUME command is used to lock the volume. |
Attribute
Show the unique attribute of resource.
Attribute | Desctiption | Type | Default | Edit | Note | ||
AutoResolveSplitBrain | If it is set to 'true', it will automatically resolve the split brain issues. | BOOLEAN | true | O | |||
ChkDsk | 볼륨 마운트 시 '디스크 검사 옵션'에 따라 디스크를 검사하여 오류를 수정합니다. | BOOLEAN | false | O | |||
ChkdskArg | 체크디스크(Chkdsk)가 true일 때 체크디스크 명령 옵션을 지정합니다When the Chkdsk option is set to true, the check disk command option is activated. | STRING | /F | O | |||
DirtyBit | 대상 미러 볼륨에 더티 비트가 설정되어 있음을 의미합니다. | BOOLEAN | false | X | |||
DomainMemberServer | 미러 리소스를 구성할 노드가 윈도우 도메인 환경의 멤버서버일 경우 "true"로 선택하셔야 합니다. | BOOLEAN | false | O | |||
DriveLetter | 미러 볼륨이 할당된 드라이버 문자입니다. | STRING | X | ||||
MirrorDRIP | The DR 서버로 볼륨을 복제하기 위해 사용하는 IP 입니다IP address used to copy the volume. | STRING | X | ||||
MirrorIP | 볼륨을 복제하기 위해 사용하는 IP 입니다The IP address used to copy the volume. | STRING | X | ||||
MirrorRole | 미러 볼륨의 미러 역할입니다. 이벤트 로그로부터 갱신됩니다The mirror role of the mirror volume. It is renewed from an event log. | STRING | X | ||||
MirrorState | 미러 볼륨의 미러 상태입니다. | STRING | X | ||||
MirrorTimeout | 볼륨 페일오버, 스위치 등의 과정에서 미러 롤(Role) 또는 상태 업데이트에 대한 시간 제한 값입니다. | INTEGER | 120초 This is the time limit for mirror role or status updates in the process of volume failovers or switching. | INTEGER | 120 sec | O | |
MirrorType | 미러 동기화 모드를 결정합니다. 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 | |||
Password | 지정된 사용자 계정에 대한 비밀번호입니다. | PASSWORD | O | ||||
ResyncNeed | 재동기화가 필요한 블럭들의 총합을 나타냅니다It represents the total sum of the blocks requiring resynchronization. | INTEGER | 0 | X | |||
ResyncTotal | 재동기화 블럭들의 총합을 나타냅니다It is the total sum of the resynchronization blocks. | INTEGER | 0 | X | |||
SourcePriorityLevel | 각 노드의 SourceRole Level을 나타냅니다. 값이 높은 노드가 최종적으로 Source Role을 가집니다 It indicates SourceRole Level of each node in a cluster. Higher value of node takes Source Role. | STRING | X | ||||
TargetDRIP재해 | 복구용 노드의 IP 주소입니다It is the IP address of data replication for the offsite DR. | STRING | X | ||||
TargetDRLetter | DR 타겟 볼륨의 드라이브 문자입니다It is the drive letter for the offsite DR volume. | STRING | 0 | X | |||
TargetDRResyncNeedDR | 미러의 재동기가 필요한 블럭들의 총 합을 나타냅니다It is the number of dirtybit blocks are needed to be resync to the offsite DR. | INTEGER | 0 | X | |||
TargetDRResyncTotalDR | 미러의 재동기 블럭들의 총 합을 나타냅니다It is the number of blocks that resync was done to the offsite DR. | INTEGER | X | ||||
TargetDRRole | DR 미러 볼륨의 미러 역할입니다It is the role of mirror volume of the offsite DR. | STRING | X | ||||
TargetDRState현재 원본 볼륨에서 DR 대상 볼륨으로의 데이터 전송 상태를 나타냅니다 | It shows data transfer state between source volume and target volume. | STRING | X | ||||
TargetDRTypeDR | 타겟으로의 데이터 전송 형태를 나타냅니다It shows data sync mode between mirror disk set and offsite DR. | STRING | X | ||||
TotalSpace | 대상 미러 볼륨의 총 크기를 나타냅니다It represents the total size of the target mirror volume. | INTEGER | X | ||||
UsedSpace | 대상 미러 볼륨의 사용 크기를 나타냅니다It represents the available size of the target mirror volume. | INTEGER | X | ||||
User | 미러 관련 명령을 실행할 사용자 계정입니다. | STRING | Administrator | O |
속성 값은 해당 리소스를 등록할 때에 입력된 값이며, '리소스 고유 속성'에서 값을 변경하거나 확인할 수 있습니다The attribute value is entered to register the resource, and you can change or check it in the 'Specified Attribute'.