Versions Compared

Key

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

...

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.

...

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

...

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

    [Figure] Copy Resource View

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

Resource

...

 

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'.
Depending on the resource type, you need to enter extra information if necessary.

 

ex> Paste Network Card Resource view

...

OptionDescription

-h

It prints help menu.

-uDesignate the user account ID.
-pwCreate Enter the user password.

-n

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.

...