Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column

Resources are necessary H/W or S/W elements for service operation and they include network interface cards(NIC), IP addresses, processes, services, and disks. 
In MCCS, resource is used as the minimum unit of operation management with high availability.
When you create a resource in MCCS, you must enter a unique name that is used to differentiate a resource from others. 
Thus, the existing names or reserved keywords (for instance, network interface cards (NIC) or processes) cannot be used as names. 

There are two categories of resources in MCCS which are 'general(OnOFF)' and ‘monitor only(None)’. Most resources such as IP address, disk, process and service are 'General' which MCCS bring online and offline based on management policies.  

On the contrary, a 'MonitorOnly' resource such as NIC cannot be brought online or taken offline by MCCS  and only monitored the status and operation.

For instance, a network interface card can only monitor whether it exists physically or it is normal, But an IP address can be brought online or taken offline onto the NIC.


Column
width350px


Panel

Table of Contents

Table of Contents
maxLevel4



Resource Attributes

<한글매뉴얼>

MCCS는 속성으로 리소스의 상태등 여러 정보를 저장하고, 명령을 수행하는 경우 속성값을 참조하여 수행합니다.
속성 값은 수정 가능 속성과 참조 속성으로 구별 할 수 있습니다. 수정 가능 속성은 리소스 상태에 따라 수정 불가능 할 경우가 있습니다.

<영문매뉴얼>

Resource attribute is a reference value used when the resource takes some actions or determines the status.
Resource attribute can be identified from Resource Attributes view of MCCS web console.
From the group management view of MCCS web console, select the resource, then select ‘Resource Attributes’ tab located on the top of detailed information panel.

The values of gray colored are read only. They just contain and show the information of resource state.
The values of white colored are configurable by user definition. Below is description of some of them.

※ '리소스 고유 속성' 에 대한 설명은 각 리소스 페이지에 설명되어 있습니다.
※ '리소스 일반 속성' 은 리소스 타입에도 있습니다.

...


Info

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


Info

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


Image Added

[Figure] Resource Attribute View

Info

MCCS 에서 구성할 수 있는 리소스의 최대 갯수는 500개이며, 그룹의 최대 갯수는 32개 입니다Maximum numbers of resources available to be configured in MCCS is 500 pieces, and those of groups is 32 pieces.


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

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.



AttributeDescriptionTypeDefaultMinimum Value/
Maximum Value
EditNote
 Key AttributeCritical

When a failure occurs in the resource it indicated whether to failover the group.
true : failover the group.
false : no action.

BOOLEAN

X
Enabled

It is used when deciding whether to manage the resource. 
true : enabled.
false : disabled.

BOOLEAN

X
General AttributeAgentState



It indicates the agent state of the resource.
This cannot be edited by user. It is displayed after collecting all the agent state for all the nodes in the MCCS engine.

STRING

X

*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
CleanTimeoutIt represents the time out until execution of CleanProgram
is completed.
When the limit is exceeded, it will be forcefully stoped.INTEGER60 sec0 to 300
is completed.
When the limit is exceeded, it will be forcefully stoped.
INTEGER60 sec0 to 300 secondsO
EnableTimeoutIt 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
*FailoverableIt indicates whether the resource is in the state to be failover.BOOLEAN

X
FaultOnMonitorTimeoutsIf 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
GroupIt is the name of the group which the resource belongs.STRING
4 to 50 characters of textX
*LastOnline

It is name of the node on which state of the resource is online lastly.

STRING

X
Monitored

Depending on the 'MonitorTimeout', attribute values for the resource types, it record periodically whether each node's monitoring is completed.

BOOLEAN

X
MonitorIntervalIt 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
NoAction

It represents the action attribute of the resource.
If the attribute is set to true, the resource is MonitorOnly resource. The value is set to false in case of NIC resource.

BOOLEAN

X
OfflineMonitorIntervalIt 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
*OnlineTrustTimeIt 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
*OnlineWaitLimitIf 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
PersistIt is used when deciding whether to manage the resource. Persist Resource just has two resource state Online and fault.BOOLEAN

X
ResNameIt is the name of the resource.NAME
4 to 50 characters of textX
*Restartlimit 

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

INTEGER00 to 100 times

Shared Disk DR X
Mirror Disk DR X
Other Resources O


StateIt is the resource state of each node.STRING

X
ToleranceLimitWhen 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 3000 secondsO
TypeIt is the name of the agent type of the resource
.STRINGXEnableTimeoutIt 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)
INTEGERINFINITY
1 to INFINITY secondsOWaitMonitorInterval온라인, 오프라인 대기중 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다
STRING

X
WaitMonitorIntervalIt indicates the time interval until starting the next monitoring when monitoring resources which are waiting for online or offline.INTEGER1 sec1 to 300 secondsO


Info

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.


*Critical

This attribute shows to failover (true) or not (false) when failure has occured.
Default is set as true, and most of the resources are set as a true value. For resources that is not as important or resources that cannot be failover are set as false.
Critical values affects failover group only, does not affect parallel group. Critical attribute can be set onto each resource, but there are many things to be considered if it has linked dependency among resources. If at least one of the resources has true value of it's critical attribute in a group, all of the resources will be failover to provide proper service.

...

BatchTimeout can be defined the timeout value of the result of batch execution.
It avoids a deadlock when exceptional situation occurs during the execution of scripts and other resources cannot be controlled.
If the script is not executed when offline or online attempts are made, stop further procedures and wait for the control of the administrator.



Resource State

Image RemovedImage Added

[Figure] Resource State View

...

Resource is not being monitored since it is not enabled.



Resource Control

Image RemovedImage Added

[Figure] Resource Control Menus

...

Warning

Attribute values that is copied resource are basically same as original resource.
Therefore, attribute of pasted resource should be edited according to the situation so that it does not duplicate with copied resource.

 

...


Copy and Paste resource

  1. Right click on the resource to be copy and select "Copy Resource".
  2. Right click on the group to be paste and select "Paste Resource". 

...


새로 추가 할 리소스의 네트워크 어댑터를 선택하시고 리소스 이름을 명명하면 됩니다.


Info

Copied resource name is defined which '"_number'" is added from original name by default and this can be editable.
Depending on the resource type, you need to enter extra information if necessary.

ex> Paste Networkcard Resource View


Image RemovedImage Added

[Figure] Paste Networkcard Resource View

...


mcres [-u userid -pw password] [-ip node_ip_address] [-p port] -command [ resource ] [ -g group ] [ -n node]
mcres [-u userid -pw password] [-ip node_ip_address] [-p port] -add [ resource ] [ -t resource_type ] [ -g group ]
mcres [-u userid -pw password] [-ip node_ip_address] [-p port] -monitor [ group_name ] [ -t interval(seconds)]
mcres [-u userid -pw password] [-ip node_ip_address] [-p port] -modify [ resource ] [-a attribute attribute_value] [ -g group ] [ -n node]


Options

OptionDescription

-h

Display help menu.

-uEnter the user account.
-pwEnter the password.

-ip

It defines the node to access to execute command. If omitted, it will access to execute command for local node.

-p

It defines the port to access to execute command. If omitted, it will access to the default value which is 4321, and when you define specific port number as heartbeat, enter this followed by --p.

-resourcecommand

It defines resource command.

(add, delete, enable, disable, monitor, modify, link, unlink, local, Global, Online, Offline, Offlineprop, Probe, clear, list)

resource

It enters resource name.

-a

[list] It defines the attribute value that should be listed if it is command.  
[modify] It defines the attribute and attribute value that should be changed if it is command.  
attribute: It defines the values of the group.  
attribute_value: It defines the values that should be changed.

-t

It defines resource type when it is [-add] command. It specifies time interval when it is [-monitor] command.

-g

It defines group name to be managed.

-n

It defines node name to be managed.

...