6. Resource Type

6. Resource Type

Resource type is classified resources according the characteristics 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

MCCS monitors the status of I/O path for a node connected to the external shared storage.

Mirror Disk

When there is no shared disk in a cluster, data is saved in local or the direct-connected storage. 
In such an environment, TCP/IP based mirror components are used to copy 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.

Shared disk DR

It is the mirror set of shared disk in a cluster to an off-site DR node through WAN, so that mission critical service will be always-on from disasters.

Mirror disk DR

It is the 2nd mirror disk set of mirror disk in a cluster to an off-site DR node through WAN, so that mission critical service will be always-on from disasters.

VxVM disk group

It is used to manage a disk group of Veritas Windows Volume Manager.
The sub volumes of a disk group are not individually managed.

Oracle database

This resource controls the Oracle database.
It detects the Oracle database installed on the system, controls the service and monitors the status.

 

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

Each resource type has a specific attribute value. (ex. Despite the same attribute name, it can have a different value depending on the resource.)
In addition, if you change the attribute of resource type, it will be applied to all the resources of the type within the group.

[Figure] Resource Type Attribute View

 

 

*이 표시된 속성의 경우, 온라인/오프라인 명령이 불가능한 네트워크 카드 리소스에서는 사용되지 않습니다.

 

Attribute

Description

Type

Default

Minimum Value/
Maximum Value

Edit

Note

 

Attribute

Description

Type

Default

Minimum Value/
Maximum Value

Edit

Note

ResourceType Attribute

Actions

Define the resource operation type.
Values are OnOff (can online and offline), None (cannot online and offline).

STRING

 

 

X

 

Resource General Attribute

*BatchAfterOffline

This is a batch command to be executed after a resource is taken offline.  
Success or failure of the batch file does not affect group procedure.  
Also, it still operates regardless of other resource online or offline. 

FILE

 

8 to 254 characters of text

O

 

*BatchAfterOnline

This is a batch command to be executed after a resource is brought online.  
Success or failure of batch does not affect group procedure.  
Also, it still operates regardless of other resource online or offline.

FILE

 

8 to 254 characters of text

O

 

*BatchBeforeOffline

This is a batch command to be executed before a resource is brought online.  
Success or failure of batch does not affect group procedure.  
Also, it still operates regardless of other resource online or offline. 

FILE

 

8 to 254 characters of text

O

 

*BatchBeforeOnline

This is a batch command to be executed before a resource is taken offline.  
Success or failure of batch does not affect group procedure.  
Also, it still operates regardless of other resource online or offline.

FILE

 

8 to 254 characters of text

O

 

*BatchTimeout

It is the waiting time until execution of batch command completes. If execution result is over this time, it is considered as a failure. 

INTEGER

300sec

100 to 1500 seconds

O

 

*CleanProgram

This program is executed to initialize related resources and state when a failure occurs to a resource. This program must be written separately.

FILE

 

8 to 254 characters of text

O

 

*CleanTimeout

It represents the time out until execution of CleanProgram is completed.
When the limit is exceeded, it will be forcefully stoped.

INTEGER

60 sec

0 to 300 seconds

O

 

EnableTimeout

It is the waiting time until the execution of Enable completes. If the execution result is over this time, it is considered as a failure. (unit = second)

INTEGER

INFINITY

1 to INFINITY seconds

O

 

FaultOnMonitorTimeouts

If the monitoring timeout take place as much as this value, it is regarded as fault.
If it is '0', it is not regarded as fault.

INTEGER

4 times

0 to 12 times

O

 

MonitorInterval

It indicates the interval to the next monitoring when online resources are monitored. If the value is too small, it may result in malfunction.
If the value is too big, then it will take too long until it detects the status changes.

INTEGER

10 sec

1 to 300 seconds

O

 

MonitorTimeout

It represents the time elapsed until monitoring is completed or terminated.

INTEGER

60 sec

1 to 300 seconds

O

 

OfflineMonitorInterval

It is the time interval until the next monitoring of offline resource.
If the time interval is '0', the offline resources will not be monitored.

INTEGER

10 sec

0 to 300 seconds

O

 

*OfflineTimeout

It indicates the maximum time until resources is taken offline successfully, stop or final judgment is made.

INTEGER

300 sec

1 to 1500 seconds

O

 

*OnlineRetryLimit

It indicate the number of retry count if it fails to start resource.

INTEGER

0 time

0 to 10 times

O

 

*OnlineTimeout

It indicates the maximum time until resources is brought online successfully, stop or final judgment is made.

INTEGER

300 sec

1 to 1500 seconds

O

 

*OnlineTrustTime

It is the time to reset the retry count of resource.
If resources remain normal for a specified amount of time after starting, the retry count will be initialized. 

INTEGER

600 sec

60 to 3000 seconds

O

 

*OnlineWaitLimit

If the timeout occurs while determining whether the resource goes online properly, it will retry as many times as defined.
It is the time interval of retry is defined in 'MonitorInterval'.

INTEGER

2 times

0 to 30 times

O

 

*Restartlimit 

It shows the retry count before failover when the resource is determined as a failure. 

INTEGER

0

0 to 100 times

Shared Disk DR X
Mirror Disk DR X
Other Resources O 

 

ToleranceLimit

When the monitoring results cannot be trusted , monitoring will be retried during the defined time.
For instance, if the result of the ICMP ping test with a network interface card cannot be trusted, it must be retried as many times as defined.

INTEGER

0 time

0 to 100 times

O

 

WaitMonitorInterval

온라인, 오프라인 대기중 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다.

INTEGER

1초

1 ~ 300초

O