...
[Figure] Classifying of resources under the type
그림에서 보여지는 네트워크 카드 리소스인 eth0 과 eth1은 네트워크 카드 리소스 타입에 포함되는 리소스입니다As shown in the figure, eth0 and eth1 are the resources included in the NIC resource type.
If you edit an attribute of resource type, this will affect all of the resources classified this type.
For an example, if the value of MonitorInterval of NIC resource type is edited to 30 sec, this will be applied to all of NIC resource.
...
Resource Type Attribute
Resource type has specified attributes for each type.
For an example, when compare to NIC and mirror disk, each service has different characteristics and has specific monitor interval, online/offline timeout and managed policies
또한 고가용성 클러스터링을 구성한 환경에서도 네트워크 상태가 좋지 못한 경우에는 모니터링 타임아웃 값의 조정이 필요할 수가 있습니다. 이런 요구에 따라 타입 별로 각각의 속성을 변경할 수가 있습니다.
리소스 타입 속성은 MCCS 콘솔의 리소스 타입 속성에서 확인 할 수 있습니다In addition, even in the environment where high availability clusters are configured, if the network condition is not good, you need to adjust the monitoring timeout.
Depending on the requests, you can change the attribute of each type.
Resource type attribute can be checked in the resource type attribute menu of the MCCS web console.
[Figure] Resource Type Attribute View
속성Attribute | 설명Description | 타입Type | 기본값Default | 수정Edit | 비고Note | ||
---|---|---|---|---|---|---|---|
Actions리소스의 동작 타입을 정합니다. OnOff 값은 명령하는 리소스이며, None은 모니터링 전용 리소스 명령입니다 | Define the resource operation type. | STRING | X | ||||
ArgList리소스 타입 별로 필요한 인수들을 나타냅니다. 이 인수들을 기반으로 에이전트 내에 변수를 만들어 타입 간의 특성을 구현합니다. type.json 파일에서도 확인할 수 있지만 사용자가 수정할 수 없는 값입니다 | It represents the necessary arguments for each type of resource. | STRING | X | ||||
CleanTimeout리소스 속성 중에서 CleanProgram을 실행하면 완료될 때까지의 타임아웃을 나타냅니다. 이 값을 초과하면 강제로 중단시킵니다 | It represents the time out until execution of CleanProgram is finished. | INTEGER60초 | 60 sec | O | |||
FaultOnMonitorTimeouts이 값만큼 모니터 타임아웃이 발생하면 장애로 간주합니다. '0'이면 장애로 간주하지 않습니다 | If the timeout specified by this value occurs, it is regarded as trouble. | INTEGER4회 | 4 times | O | |||
MonitorInterval | 온라인 상태의 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다. | INTEGER | 10초 It represents the time interval until the next monitoring of online resource. | INTEGER | 10 sec | O | |
MonitorTimeout | 모니터링이 완료되거나 중단될 때까지 걸리는 시간을 나타냅니다It represents the time elapsed until monitoring is finished or terminated. | INTEGER10초 | 10 sec | O | |||
OfflineMonitorInterval | 오프라인 상태의 리소스를 모니터링할 때, 다음 모니터링까지의 시간 간격을 나타냅니다. | INTEGER60초 | 60 sec | O | |||
OfflineTimeout | 리소스의 오프라인이 성공하거나 중단되는 최종 판단이 내려질 때까지 걸리는 최대 시간을 나타냅니다It represents the max time until the final decision is made on the success/failure of resource going offline. | INTEGER300초 | 300 sec | O | |||
OnlineRetryLimit | 리소스 시작이 실패할 경우 재시도할 횟수를 지정합니다Set the number of retries if the resource fails to restart. | INTEGER0회 | 0 time | O | |||
OnlineTimeout | 리소스의 온라인이 성공하거나 중단되는 최종 판단이 내려질 때까지 걸리는 최대 시간을 나타냅니다It represents the max time until the final decision is made on the success/failure of resource going online. | INTEGER300초 | 300 sec | O | |||
OnlineTrustTime | 리소스의 재시작 횟수를 재설정하는 시간입니다. | INTEGER | 600초 It is the time to reset the restart number of resource. | INTEGER | 600 sec | O | |
OnlineWaitLimit | 리소스가 온라인된 후에 정상적인 온라인 여부를 판단하는 과정에서 타임아웃이 발생하면 지정된 횟수만큼 재시도합니다. | NTEGER2회 | 2 times | O | |||
* ToleranceLimit | 모니터링 결과를 신뢰할 수 없을 때, 지정된 횟수만큼 모니터링을 재시도합니다. | INTEGER | 0회 When the monitoring results cannot be trusted , monitoring will be retried as many times as designated. | INTEGER | 0 time | O |
CLI 사용(mctype 명령)
리소스 타입에 관한 명령을 전달 합니다. 리소스 타입에 대해 속성 조회, 속성 값 변경 명령을 내릴 수 있습니다.
...
mcnode -list [t -resourceType] |