...
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.
...
Warning |
---|
Attribute values that is copied resource are basically same as original resource. |
Copy and Paste resource
- Right click on the resource to be copy and select "Copy Resource".
- Right click on the group to be paste and select "Paste Resource".
...
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
Option | Description |
---|---|
-h | Display help menu. |
-u | Enter the user account. |
-pw | Enter 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. |
-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. |
...