Versions Compared

Key

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

...

AttributeDescriptionTypeDefaultEditNote
 Key Attribute*Critical

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

BOOLEAN X 
*Enabled

It is used when deciding whether to manage the resource. 
After adding a resource for the first time and enable it, the value becomes true.

BOOLEAN X 
General AttributeAgentState

It indicates the agent state of the resource.
A user cannot modify it on their own. It is displayed after collecting all the agent status 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 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 O 
*BatchBeforeOffline

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 O 
*BatchBeforeOnline

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 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. (unit = second)

INTEGER300 secO 
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 O 
EnableTimeout

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

INTEGER60 secO 
FailoverableIt indicates whether the resource is in the state to be failover.BOOLEAN X 
Group

It is the name of the group which the resource belongs.

STRING X 
LastOnline

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

STRING   
Monitored

It periodically records whether monitoring is completed.

BOOLEAN X 
NoAction

It is only for persistent resources. If it is 'true', action like Online, Offline, other than monitoring will be prohibited.

BOOLEAN X 
ResNameIt is the name of the resource.NAME X 
Restartlimit 

It shows the number to restart before failover when the resource is determined as a failure. 
(unit=counts)

INTEGER0O 
StateIt is the resource state of each node.STRING X 
TypeIt is the name of the agent type of the resource.STRING X 

...

Set a value of attribute of the resource per node.
It is used locally so that other values can be inserted for attribute values of all the nodes. 
(Modify command should be used to change the value.)

 

mcres -local testResource -r testResource -a attribute

 

global

Set a value of attribute of the testResource to all node. 
It is used publicly so that values can be inserted with common values for all nodes. 

 

mcres -global testResource -r testResource -a attribute [value]

 

Set a User’ attribute of the testResource to administrator

 

mcres -global testResource -r testResource -a User administrator

 

online 

...