Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Figure] Mirroring Configuration
Replication 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.
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 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 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
There are two way to add a resource which one is select this from a group name and another is select this from a resource type.
...
Add the mirror disk 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.
[Figure] Adding Resource in Resource Wizard
- Select 'MirrorDisk' from Resource Type lists and click 'Next' button. When add a resource from the mirror disk resource type name, this step will be skipped.
[Figure] Select Resource Wizard View - Next steps are same as adding in resource type.
Adding in Resource Type
- Resourcetype → Right Click → Add Resource.
[Figure] Adding resource in a Resource type
Getting disk information.
[Figure] Screen of Getting disk information.
Select the mirror volume Select the mirror disk 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 The drive characters to be used as the mirror disk should be same on the both servers.
[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 from the source node.
Be careful when you select the drive character where data exists.
If you try to add the existing mirror volumedisk, <mirrored> will be added to the volume letter.
[Figure] When Selecting the Volume With No Mirror Configuration[Figure] When Selecting the Volume With Mirror Configuration
If there is no mirror disk resource to be configured, it will show the following.
[Figure] When there is no mirror disk resourceMirror Disk Resource Added
As 'Additional Settings', Synchronized Mode and Check Disk option is available.
Info <Synchronized Mode>
Once selected, the synch 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 synch mode but it can suffer from data loss.<Check Disk Option>
Set the check disk command option. For more details on the function, refer to MSDN.
[Figure] Defining mirror type and 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 and to add the mirror disk resource is added.
[Figure] Adding mirror disk resource is completed
You can immediately check the result in the management web console.
Deleting
Select resource type → right click → delete resource.
- Select "Delete resource".
[Figure] Delete mirror disk resource view
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 is deleted.
The deleted resource will immediately disappear from the management web console.
Status
The following table explains the status switching of the MCCS resource caused by a user's command and the status.
The command assumes that it is generated by a user.
Mirror disk 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 disk 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 disk at the start node. <Source volume> <Target volume> | |
Monitoring | Refer to the description of monitoring as above. | ||
TroubleFault 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
[Figure] Mirror Disk Attribute Screen
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 | When the volume is mounted, according to the 'ChkdskArg', disk is tested for errors. | BOOLEAN | false | O | |
ChkdskArg | When the Chkdsk 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 volumedisk. | BOOLEAN | false | X | |
DomainMemberServer | If the node to configure the mirror resource is a member server of the Windows domain, you must set it to "true". | BOOLEAN | false | O | |
DriveLetter | The mirror volume disk is assigned to the drive characterletter. | STRING | X | ||
MirrorIP | The IP address used to copy the volumeby mirror disk. | STRING | X | ||
MirrorRole | The mirror role of the mirror volumedisk. It is renewed from an event log. | STRING | X | ||
MirrorState | The mirror status of the mirror volumedisk. | STRING | X | ||
MirrorTimeout | This is the time limit for mirror role or status updates in the process of volume failovers or switching. | INTEGER | 120 sec | O | |
MirrorType | 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 | It is the password for the designated user account. | 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 | |
TimeAquiredSourceRole | It is the time when the node's mirror roles are changed to the source. | STRING | X | ||
TotalSpace | It represents the total size of the target mirror volumedisk. | INTEGER | X | ||
UsedSpace | It represents the available size of the target mirror volumedisk. | INTEGER | X | ||
User | The user account to run the mirror related commands. | STRING | Administrator | O |
The attribute value is entered to register the resource, and you can change or check it in the 'Specified Attribute'.