It is classified resources according the types and has different attributes for each type.
Table of Contents
Resource Type
[Figure] Resource Types
Network Interface card(NIC)
MCCS monitor the TCP/IP based network connectivity. It detects the network unplug, ethernet adapter failure, or cable failure.
IP Address
MCCS manages virtual IP address and subnet mask which will be assigned on a NIC and switchable node to node in case it reacts in the same manner as the node's real IP address.
A real IP address which is static must be set in the NIC to add on a virtual IP address.
Process
Process is used when register single execution file. MCCS detects the failures by checking if the process name exists in the process table of operating system.
Application
It is similar to process. But this is more complicated. Application works with several application or scripts such as tomcat.
MCCS does only detect on execution file, but it also brings online/ take offline/monitor the process by using pre-defined script.
Shared Disk
There are two systems connected to external shared storage and MCCS monitor the health status of I/O path to the file system.
Mirror Disk
When clustered nodes does not use shared storage, the data will be stored in each of local disk or direct attache storage.
In this environment, the mirroring component is needed through TCP/IP connection between nodes to synchronize the changed data.
Service
Service is a component that is managed by SCM (Service Control Management) of Window OS.
Virtual Name (NetBIOS)
It manages the Windows based NetBIOS names.
SCSI Reservation
SCSI reservation agents manage LUN based locking using the SCSI3-PR (Persistent Reservation) protocols that shared storages support such as SAN.
This function can prevent data losses when no nodes in a cluster know the status of other nodes.
공유 디스크 DR
MCCS 양 노드간 공유되는 디스크를 원격지 서버로 복제, 재해 발생시 데이터를 안전하게 보존합니다.
원격지 서버에는 MCCS가 설치되지 않습니다. 따라서 별도의 서비스 복구대책의 수립이 필요합니다.
VxVM 디스크 그룹
Veritas Windows Volume Manager의 디스크 그룹을 관리하기 위해 사용합니다.
디스크 그룹의 하위 볼륨 들에 대해서는 개별 관리 하지 않습니다.
When you add a resource, this will be classified under the type as tree view structure.
For an example, when you add two NIC resource, these will be classified under the NIC type as shown below.
If you edit an attribute of resource type, this will affect all of the resources classified this type.
[Figure] Classifying of resources under the type
As shown in the figure, public and private 1 are the resources included in the NIC resource type.
If you edit an attribute of resource type, this will affect all of the resources classified this type.
For instance, if you set the MonitorInterval attribute value that defines monitoring periods to 30 seconds, the NIC resources defined as public and private1 will be all switched to 30 seconds.
Resource Type Attribute
리소스 타입 별로 다른 속성 값들을 가지고 있습니다. (ex. 동일한 속성명이라도 리소스에 따라 다른 값을 가질 수 있습니다.)
또한, 리소스 타입의 속성을 변경 했을 경우 , 그룹내 해당 리소스타입에 속하는 모든 리소스에 적용됩니다.
[Figure] Resource Type Attribute View
Attribute | Description | Type | Default | Edit | Note |
---|---|---|---|---|---|
Actions | Define the resource operation type. | STRING | X | ||
ArgList | It represents the necessary arguments for each type of resource. | STRING | X | ||
CleanTimeout | It represents the time out until execution of CleanProgram is finished. | INTEGER | 60 sec | O | |
FaultOnMonitorTimeouts | If the timeout specified by this value occurs, it is regarded as trouble. | INTEGER | 4 times | O | |
MonitorInterval | It represents the time interval until the next monitoring of online resource. | INTEGER | 10 sec | O | |
MonitorTimeout | It represents the time elapsed until monitoring is finished or terminated. | INTEGER | 10 sec | O | |
OfflineMonitorInterval | It is the time interval until the next monitoring of offline resource. | INTEGER | 60 sec | O | |
OfflineTimeout | It represents the max time until the final decision is made on the success/failure of resource going offline. | INTEGER | 300 sec | O | |
OnlineRetryLimit | Set the number of retries if the resource fails to restart. | INTEGER | 0 time | O | |
OnlineTimeout | It represents the max time until the final decision is made on the success/failure of resource going online. | INTEGER | 300 sec | O | |
OnlineTrustTime | It is the time to reset the restart number of resource. | INTEGER | 600 sec | O | |
OnlineWaitLimit | If the time our occurs while determining whether the resource goes online properly, it will retry as many times as designated. | NTEGER | 2 times | O | |
ToleranceLimit | When the monitoring results cannot be trusted , monitoring will be retried as many times as designated. | INTEGER | 0 time | O |
CLI Use (mctype command)
Sends command related the resource type. You can command to inquire about the attribute or change the attribute values.
When you install MCCS, the initial user account ID is set to 'admin' and the password is set to 'password'.
When you run the CLI command, you need to enter the ID and the password. Otherwise, the above initial ID and password will be used.
Thus, when you change the initial user password, you must enter the ID/password in the CLI command as options.
Syntax
mctype -u admin -pw password -t resoruceType -a attribute |
Options
Option | Description |
-h | Display Help. |
-u | Designate the user ID. |
-pw | Enter the user password with the -u option. |
-r | Designate the name of resource type to be modified. |
-a | Designate the attribute names for the resource type to be modified. |
-list | Display the list of resource types. |
Example
modify
Modify the MonitorInterval attribute values for MirrorDisk.
mctype -u admin -pw password -modify -t resourceType -a attribute attribute_value |
list
Display the attribute values for all the resource types.
(If you enter -t resourceType, the attribute values for the designated resource type will be displayed.)
mctype -u admin -pw password -list [-t resourceType] |