Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

DRBD 9 Mirror Disk

It is similar to Mirror Disk, but it manages DRBD 9 for volume replication between nodes in a cluster.

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



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



AttributeDescriptionType

Default

Minimum Value/
Maximum Value
EditNote
ResourceType AttributeActions

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 textO

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

INTEGER300sec100 to 1500 secondsO
*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 textO
*CleanTimeout

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

INTEGER60 sec0 to 300 secondsO

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)INTEGERINFINITY1 to INFINITY secondsO
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.

INTEGER4 times0 to 12 timesO
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.

INTEGER10 sec1 to 300 secondsO
MonitorTimeoutIt represents the time elapsed until monitoring is completed or terminated.INTEGER60 sec1 to 300 secondsO
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.

INTEGER10 sec0 to 300 secondsO
*OfflineTimeoutIt indicates the maximum time until resources is taken offline successfully, stop or final judgment is made.INTEGER300 sec1 to 1500 secondsO
*OnlineRetryLimitIt indicate the number of retry count if it fails to start resource.INTEGER0 time0 to 10 timesO
*OnlineTimeoutIt indicates the maximum time until resources is brought online successfully, stop or final judgment is made.INTEGER300 sec1 to 1500 secondsO
*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. 

INTEGER600 sec60 to 3000 secondsO
*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'.

INTEGER2 times0 to 30 timesO
*Restartlimit 

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

INTEGER00 to 100 timesShared 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.

INTEGER0 time0 to 100 timesO
WaitMonitorInterval온라인, 오프라인 대기중 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다.INTEGER1초1 ~ 300초O


MCCS 는 사용자의 입력필드에 대한 입력값 제한 기능이 존재하며, 사용자가 잘못 입력한 데이터에 대해 자동 점검기능을 제공합니다.


 

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 is set to 'admin' and the password is set to 'password'. 
When you run the CLI command, you need to enter the account and the password. Otherwise, the above initial account and password will be used. 
Thus, when you change the account and password, you must enter the account/password in the CLI command as options.

 

Syntax 


mctype -u admin -pw password -t resoruceType -a attribute

Options 

OptionDescription

-h

Display Help.

 -uEnter the user account.
-pwEnter the password.

-r

Designate the name of resource type to be edited.

-a

Designate the attribute names for the resource type to be edited.

-list

Display the list of resource types.
[ -t resourceType ] List the resource types designated when a specific resource type is selected. 


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]



  • No labels