...
- Install MCCS on both nodes
- Set group
- Add shared disk resource
- Enable shared disk resource and check offline on both nodes
- Add SCSI Lock resource (Select new drive letter, not from the one in shared disk resource)
- Enable SCSI Lock resource and check Key in resource attribute in MCCS Console
- Change PrType 1 to 3 for attribute of SCSI Lock resource. (When SCSI Lock resource is added, make sure that SCSI Lock Disk Letter are disappeared from Windows Explorer of both servers.)
- Configure dependency of resources (SCSI Lock resource must go online first)
- Test failover from node2 to 1
- Test failover from node1 to 2
- Customer applications that use the volume setting
Adding
스카시 예약 응용 리소스를 그룹에 추가합니다.
스카시 예약 리소스 구성전에, SCSI3지원 스토리지를 통해 볼륨을 사전에 구성 해야 합니다Add the SCSI reservation application resource to a group.
Before configuring the SCSI reservation resource, you must configure the volume in advance by using the SCSI3 supporting storage.
- Select a group → right click → 'Add Resource'.
- Select 'SCSILock' from Resource Type lists and click 'Next' button.
- Enter resource name. If you skip enter resource name, this will be given 'SLock_value' which value is selected driver letter.
[그림] 스카시예약 리소스 추가 화면
완료 버튼을 클릭하면 스카시 예약 리소스가 추가 되며,
관리 웹 콘솔 상에서 바로 확인이 가능합니다Figure] SCSI Reservation Resource Added - Click the 'Finish' button to add the SCSI reservation resource.
You can immediately check the result in the management web console.
Deleting
Select resource type → right click → delete resource.
삭제된 리소스는 관리 웹콘솔 상에서 바로 사라집니다. 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.
...
Status | Agent command | Description | Note |
---|---|---|---|
Online Disk key is exclusively reserved at an online node. | Offline | It switches to offline while maintaining the reservation. | |
Monitoring | Check if there is a reservation made on the disk. | ||
Offline 1. Disk is reserved but the resource is still offline. | Online | Register a key for a disk reservation and wait for a response from the other node. | |
Monitoring | Check if there is a reservation made on the disk. | ||
Trouble It occurs when a reservation is stolen while going online. | Online | Register a key for a disk reservation and wait for a response from the other node. | |
Offline | It switches to offline while maintaining the reservation. |
Attribute
스카시 예약 리소스의 고유 속성을 표시 합니다Display the unique attribute of SCSI reservation resource.
Attribute | Description | Type | Default | Edit | Note |
DiskDUID | DUID(Device Unique ID, 16 byte as Hex value) of disk is used as identifier. Specify DUID of reserve disk. | STRING | X | ||
DriveLetter | Disk to be used for reservation is specified by drive letter. | STRING | X | ||
Key | MAC address is used as Reserved-Key. This key is automatically set by agent. | STRING | |||
PreemptWaitCount | Time waiting for permission of other node before reservation | INTEGER | 2 times | O | |
PrType | This attribute decides on how to give the permission of reserve disk access as Persist Type specified in SCSI3-PR spec. | INTEGER | Prtype=1 | O |
...
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The output of 'scsicmd' command from source node (C29043F13 is MAC Address of NIC from source node.)
The output of 'scsicmd' command from target node (C29043F13 is MAC Address of NIC from source node.)
|
Disk 0 (C:)'s PR is set to "No". So, you can see that the disk does not support SCSI3-PR. (In general, the "C" drive is the system booting disk and it does not support SCSI.)
Besides, Disk 1 (D:)'s PR is set to "No". You can see that the disk does not support SCSI3-PR.(Internal Disk does not support SCSI3-PR.)
Disk 2 (E:) and Disk 4 (G:)'s SCSI3-PR is set to "Yes". So, it means that the storage used supports SCSI3- PR. Their Reserved-Key and Registered-Keys are set to "none". It means that they are not yet to be registered.
Disk 3 (F:)'s Reserved-Key and Registered-Keys at the source node are set to C29043F13* and C29043F13* and at the target node to C29043F13 and C29043F13. This means that a SCSI reservation agent was used to create the resource.
The (*) marked node with the Reserved-Key and Registered-Keys indicates that a disk is reserved. In addition, only the * marked node with the Reserved-Key value (ex: C29043F13*) can access the disk.