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.

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.

 


Resource Type Attribute

Each resource type has a specific attribute value(e.g. 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.


Detail on the "Specified Attribute" is also described on each page related to every resource in this manual.

Detail on the "Resource Attribute" is also described on the "Resource" in this manual.


[Figure] Resource Type Attribute View


Among the attributes listed on the following tables, those with the * marks do not work on the network card resources that is unable to use the online/offline command.



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
WaitMonitorIntervalIt indicates the time interval until starting the next monitoring when monitoring resources which are waiting for online or offline.INTEGER1 sec

1 to 300

seconds
O


MCCS has function to limit input values against user's input field, and it provides function detects automatically data which is input wrong by user's mistake.


 

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]