Versions Compared

Key

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

...

AttributeDescriptionTypeDefaultEditNote
 Key Attribute*CriticalWhen a failure occurs in the resource it indicated whether to failover the whole group.BOOLEAN X 
*Enabled

It is used when deciding whether to manage the resource. 
Resource Enable : true
Resource Disable: false

BOOLEAN X 
General Attribute*AgentState

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

INTEGER300secO 
*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 
FailoverableIt indicates whether the resource is in the state to be failover.BOOLEAN X 
*GroupIt is the name of the group which the resource belongsSTRING X 
LastOnline

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

STRING   
*Monitored

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

BOOLEAN X 
*NoAction

It represents the action attribute of the resource.
If the attribute is set to true, the resource cannot go online or offline but it is rather a monitor resource that can only monitor. A network card is set to false.

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. 

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

...

  1. Right click on the resource to be copy and select "Copy Resource".
    Image Removed
    [Figure] Copy Resource View


  2. Right click on the group to be paste and select "Paste Resource". 
    Image Removed
    [Figure] Paste Resource View
     

Resource Paste

Select the network adaptor for the resource to newly add and name the resource.

Info

Copied resource name is defined which '_number'is added from original name by default and this can be editable.
ex) Original name is 'UserProgram', copied name will be 'UserProgram_1'. When you copy this resource again, second copied name will be 'UserProgram_2'.

ex> Paste Network Card Resource view

Image Removed

[Figure] Paste Network Card Resource View

Depending on the resource type, you need to enter extra information if necessary.

 

CLI Use (mcres command)

It sends MCCS resources related commands. Commands such as add, delete, online, offline, edit of resource can be done.

...

 

mcres -u admin -pw password -add testResource -t Application resourceType -g testGroup

 

delete

Delete testResource

...

 

mcres -u admin -pw password -modify testResource -a attribute attribute_value [ -n node ]

 

Modify a value of ‘User’ attribute of testResource to administrator in testNode

...

Bring online testResource on testNode.

 

mcres -u admin -pw password -online testResource -n testNode

 

...