Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Resource Attribute
리소스 속성은 리소스가 동작을 취하거나 상태를 판단할 때 참조하는 값입니다.
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.
...
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
[Figure] Resource State View
...
When an agent monitors the resource state, it probes that periodically.
But when you use ‘Probe Now’, the agent probes the resource right away that this is ready to use. When you modify a value of resource attribute, this may not be applied right away. ㅌ
But you can verify this modification is applied by using this right away.
...
From here, there are sub menus per node so that nodes to be online can be selected. Sub menus can be 'Enabled' or 'Disabled' according to the resource state per node.
For example, failover mode group cannot send enabled command when it is online in the temporary node. This is because failover mode group should only have one node online and if there is one node that is already online, online menu is not enabled.
However, in case of parallel mode group, it is all enabled if it is not in an online state.
Failover mode group should only have one node online and so node that is online can start the Online command. When
When this is selected, you can choose appropriate node from the sub menu which shows nodes list. When the resource is already online state, all of the node icons will be disabled at failover mode group.
But the node will be enabled which the resource isn’t online state at parallel mode group.
...
There are some considerations for dependency as well. To online a resource, if there is a child resource, child resource should be online state first. Since there is a dependency, if the child resource is not online state, parent resource cannot be online as well. When
When the child resource exists, you should check that is online state before the resource bring online.
...
리소스를 오프라인 시킵니다.
시작 명령과 마찬가지로 노드를 선택할 수 있는 서브 메뉴가 존재하며 온라인 상태인 노드가 있어야만 활성화되는 명령입니다.
종료할 때 주의할 점은 온라인 상태인 부모 리소스가 존재하는 경우입니다.
부모 리소스는 종료 명령을 주기 위해 선택된 리소스에 의존하고 있으므로, 정상적인 경우라면 시작 명령의 역순으로 부모 리소스부터 종료되어야 안전하게 종료됩니다.
따라서 MCCS에서는 종료 명령을 실행할 때에 온라인 상태인 부모 리소스가 존재하면 부모 리소스부터 종료시킬 것인지를 확인하고 진행합니다.
Offline Propagation
You can take a resource offline by using this.
Similar to Online, you can choose appropriate node from the sub menu.
You can take a resource including parent resources offline by using this.
Clear Fault
장애가 발생한 리소스는 장애 표시를 남겨두고 관리자의 조치가 있기 전까지는 그 노드 내에서 해당 리소스를 시작할 수 없습니다.
다시 말해 관리자의 처리를 기다리는 상태로 남겨지게 되는데, 장애 해결을 한 후에 다시 MCCS 운영을 하기 위해서는 장애 표시를 제거해야 하며 이때에 이 명령을 사용합니다.
리소스 장애 표시 제거는 하나의 리소스만 해당되지만 그룹의 장애 표시 제거는 그룹 내의 모든 장애 표시를 제거할 수 있습니다.
Delete
You can delete a resource by using this.
리소스 복사 및 붙여넣기
새로운 리소스를 생성 할 때 필수 입력이 되어야 하는 속성 값을 매번 새로 입력하기가 번거롭습니다.
기존에 존재하는 리소스와 유사한 설정 값을 대부분 유지한 상태에서 리소스를 추가 하기 위해서는 관리 콘솔 화면에서 리소스 복사 및 붙여넣기 기능을 사용하여 손쉽게 리소스를 추가할 수 있습니다.
리소스 복사의 대상은 개별 리소스이며, 붙여넣기의 대상은 해당 그룹 또는 타 그룹입니다.
Warning |
---|
리소스 붙여넣기의 속성값은 기본적으로 복사한 리소스의 속성값을 유지합니다. |
리소스 복사하기
...
Copy and Paste Resource
It is an annoyance if attribute value is entered whenever a new resource is created.
When you add a new resource same as type of resource which is already exist, you can use this function.
Copied resource maintain same values as original one and can be pasted on any group.
After paste the resource, you can edit the values.
Warning |
---|
Attribute values that is copied resource are basically same as original resource. |
Resource Copy
- Right click on the resource to be copy and select "Copy Resource".
[그림] 리소스 복사 화면
복사한 리소스를 붙여넣기 할 대상인 그룹에 마우스 우 클릭 -> 리소스 붙여넣기를 선택합니다. - Right click on the resource to be paste and select "Paste Resource".
[그림] 리소스 붙여넣기 화면Figure] Paste Resource View
...
Resource Paste
새로 추가 할 리소스의 네트워크 어댑터를 선택하시고 리소스 이름을 명명하면 됩니다.
Info |
---|
기본적으로 붙여넣기한 리소스 이름은 복사한 리소스의 이름에 "_1" 이 접미어로 제공됩니다. |
ex> 네트워크카드 붙여넣기 화면
[그림] 네트워크 카드 리소스 붙여넣기 화면됩니다.
Info |
---|
Copied resource name is defined which '_number'is added from original name by default and this can be editable. |
ex> Paste Network Card Resource view
[Figure] Paste Network Card Resource View
CLI 사용(mcres 명령)
리소스에 관한 명령을 전달 합니다. 리소스에 대해 추가, 삭제, 온라인, 오프라인, 속성 편집 등의 명령을 내릴 수 있습니다It sends MCCS resources related commands. Commands such as add, delete, online, offline, edit of resource can be done.
Info |
---|
MCCS 는 설치시 최초 사용자 계정으로 id 가 'admin' 암호가 'password'인 계정을 생성합니다. |
...
mcres [-u userid -pw password] [-n node_ip_address] [-p port] -command [ resource ] [ -g group ] [ -n node] mcres [-u userid -pw password] [-n node_ip_address] [-p port] -add [ resource ] [ -t resource_type ] [ -g group ] mcres [-u userid -pw password] [-n node_ip_address] [-p port] -monitor [ group_name ] [ -t interval(seconds)] mcres [-u userid -pw password] [-n node_ip_address] [-p port] -modify [ resource ] [-a attribute attribute_value] [ -g group ] [ -n node] |
Options
옵션 | 설명 | |
-h | 도움말을 출력합니다It prints help menu. | |
-u | 사용자 계정을 지정합니다. | |
-pw | 사용자 Password를 지정합니다. | |
- | u사용자 ID를 지정합니다n | It defines the node to access to execute command. If omitted, it will access to execute command for local node. |
- | pw-u 옵션의 사용자 Password를 지정합니다. | |
-n | 명령을 실행하기 위해 접근할 노드를 지정합니다. 생략시 로컬 노드에 대해서 명령을 실행하기 위해 접근합니다. | |
-p | 명령을 실행하기 위해 접근할 포트를 지정합니다. 생략시 기본 포트로 접근하며, 핫빗 포트가 변경이 되면 명령실행시 포트를 지정해 주어야 합니다. | |
-resourcecommand | 리소스에 내릴 명령을 지정합니다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] 명령일 경우 나열할 속성값을 지정합니다. [modify] 명령일 경우 변경할 속성과 속성값을 나열해 줍니다. | |
-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. |
Example
add
testGroup그룹에 복합 응용 타입으로 testResource 를 생성합니다.
...