Versions Compared

Key

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

서비스에 필요한 데이터가 클러스터에 정의된 노드들 간에 공유될 수 없는 경우는 7.6 미러 디스크 리소스 참조
미러 디스크 DR은 이러한 기능을 1:2로 복제 소프트웨어 미러 볼륨에 대한 에이전트입니다.
미러 디스크 Mirror Disk DR resource enables replicate a mirror disk set of a cluster to an offsite node of disaster recovery purpose.
미러 디스크 DR 에이전트는 미러 볼륨의 상태와 역할에 따라 동작이 결정됩니다.
미러 디스크 DR 리소스는 상태, 역할과 같은 동적인 정보는 모두 시스템 이벤트 로그에 기록되며, MCCS의 이벤트 로그 모니터 모듈에 의해 MCCS로 전달됩니다.
MCCS Event Module is activated when MCCS service starts.
Data replication software operates by creating mirror set for volumes between two nodes.
소스 볼륨(Source Volume)은 주 서버(Primary)에 위치하고, 타깃 볼륨(Target Volume)은 보조 서버(Secondary)와 DR 서버에 위치합니다Source volume is sit on Primary node, Target volume is sit on Secondary node in a cluster and offsite DR node.
Client is only available to read/write in the source volume, changed block of the volume is replicated to the target volume through the TCP/IP network connection. At this point, target volume is in lock state and read/write is not allowed. This is to ensure data integrity by preventing the use of target volume.


Column
width350px
Panel

Table of Contents

Table of Contents
maxLevel4

...

[Figure] Mirroring Configuration

...



Data Mirror Mode

Replication option 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.

...

Add the mirror disk DR resource to a group. 

 

  1. 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.
     
  2. 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.

  3. 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

    미러 디스크 DR로 사용될 드라이브 문자 는 양쪽 서버와 DR서버는 같은 드라이브 문자로 되어있어야 합니다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] Mirror Disk DR Resource Added

       

  4. 미러주소와 DR 미러 주소를 선택합니다. 

    <동기화 모드> 선택합니다.

    동기화 모드는 한 번 선택하면 변경할 수 없으므로 주의해서 선택해야 합니다.
    왼쪽 콤보 박스는 Cluster내에 미러 라인에 대한 동기화 모드이고, 오른쪽 콤보 박스는 DR 미러 라인에 대한 동기화 모드 입니다.

    Sync mode : Response is slow Select IP address of mirror disk and offsite DR.


  5. 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 can suffer from data lossdoes not guarantee that target data is identical to its source when meet disaster.


  6. 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

     

  7. 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  

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

...

  1. Click "Delete resource" and a confirming message about deleting resource will appear.

    [Figure] check resource view    

  2. Click "OK" and a confirming message about deleting redundancy program of mirror configuration will. 

    [Figure] Delete physical mirror disk view   

  3. 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

 다음 테이블은 DR 쪽 상태와는 상관없이 클러스터내의 미러 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 변화에 대한 설명입니다.

The command assumes that it is generated by a user.

...

StatusAgent commandDescriptionNote

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 volume is not defined, the LOCKVOLUME command is ignored and regarded as a failure.

 
Monitoring

The monitoring process is also determined by the mirror volume status and roles.
The kernel driver of copying program records an event in the system event log when the mirror volume status is changed.
The MCCS event monitor is registered as an event receiver when starting the MCCS service. When a system event occurs, it will be automatically informed and it will detect the mirror volume status and role changes.
Once the status and the role are determined, a disk writing test is performed to finalize the resource status.

<Source volume>
If the writing test is successful, it is regarded as the online state.

<Target volume>
1. If the writing test failed on the disk, it is regarded as the offline state.
2. If a user unlocks the target volume while the mirror disk is online, an agent will automatically lock it again.
 Thus, the target volume of the node with the online mirror disk cannot be unlocked.
3. If the mirror volume is not defined,  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 volume at the start node.

<Source volume>
1. Allow them to unlock and write to the volume.
2. Unlocking is done by 'UNLOCKVOLUME' of the copying program. The write function is executed after changing the MountReadOnly in registry value of the copying program to 0. After writing is available, the value is changed back to 1.

<Target volume>
1. An attempt to go online at the node where the mirror role is the target failed if the mirror status is not "Mirroring".
2. If the mirror volume is fully synchronized, you can change the mirror role. Such a process is determined by the node status (A).
3. If you cannot connect to mirror driver of node A, use the DELETEMIRROR command to delete the existing mirror volume. After that, switch the target and the source, and use the CREATEMIRROR command to create the reverse mirror volume.
When creating the mirror, if you set the option to 0x1, they are not all synchronized.
4. If you cannot connect the mirror driver of node A, use the DELETELOCALMIRRORONLY command to delete the mirror configuration of node B only. After that, use the CREATEMIRROR command to configure the reverse mirror volume.
Now, node A does not respond. The 0x2 option is added so that it does not wait until the target mirror volume is created.
If the final volume is locked, unlock it and change the MountReadOnly option to 0. After writing, change it back to 1.
If the mirror volume is not defined, it is processed as a failure without any operation.

 
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
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 communication failures are recovered, and communication resumes, it will automatically perform RESYNC. 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 volume is not defined, the LOCKVOLUME command is ignored and regarded as a failure.

 

 

 

 

 

 

Attribute

 

Show the unique attribute of resource.

Attribute

Desctiption

TypeDefaultEditNote
AutoResolveSplitBrain

If it is set to 'true', it will automatically resolve the split brain issues.

BOOLEANtrueO 
ChkDsk

When the volume is mounted, according to the 'ChkdskArg', 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..

BOOLEANfalseO 
ChkdskArg

When the Chkdsk option is set to true, the check disk command option is activated.

STRING/FO 
DirtyBit

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

BOOLEANfalseX 
DomainMemberServer

If the node to configure the mirror resource is a member server of the Windows domain, you must set it to "true".
Now, the Windows service account to start the DK service should be set as Administrator for the local node.

BOOLEANfalseO 

DriveLetter

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

STRING X 
MirrorDRIPThe DR IP address used to copy the volume.STRING X 
MirrorIP

The IP address used to copy the volume.

STRING X 
MirrorRoleThe mirror role of the mirror volume.
It is renewed from an event log.
STRING X 
MirrorState

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

STRING X 
MirrorTimeout

This is the time limit for mirror role or status updates in the process of volume failovers or switching.
If the status or role is not renewed within this time period, a time out error will occur.

INTEGER120 secO 
MirrorTypeDetermine 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.
STRINGAX 
Password

It is the password for the designated user account.
Unless you set it otherwise before, now, enter the password for the 'Administrator' account.

PASSWORD O 
ResyncNeedIt represents the total sum of the blocks requiring resynchronization.INTEGER0X 
ResyncTotalIt is the total sum of the resynchronization blocks.INTEGER0X 
SourcePriorityLevel각 노드의 SourceRole Level을 나타냅니다. 값이 높은 노드가 최종적으로 Source Role을 가집니다.STRING X 
TargetDRIP재해 복구용 노드의 IP 주소입니다It is the IP address of data replication for the offsite DR.STRING X 
TargetDRLetterIt is the drive character letter for the offsite DR target volume.STRING0X 
TargetDRResyncNeedDR 미러의 재동기가 필요한 블럭들의 총 합을 나타냅니다It is number of dirtybit blocks are needed to be resync to the offsite DR.INTEGER0X 
TargetDRResyncTotalDR 미러의 재동기 블럭들의 총 합을 나타냅니다It is number of blocks that resync was done to the offsite DR.INTEGER X 
TargetDRRoleDR 미러 볼륨의 미러 역할입니다It is 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 
TotalSpaceIt represents the total size of the target mirror volume.INTEGER X 
UsedSpaceIt represents the available size of the target mirror volume.INTEGER X 
User

The user account to run the mirror related commands.
Unless you set it otherwise before, now, the 'Administrator' account will be used.

STRINGAdministratorO 

...