Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
리소스 타입
리소스 타입은 리소스를 종류별로 분류해 놓은 것입니다.
MCCS에서 지원하는 리소스 타입은 다음과 같습니다It is classified resources according the types and has different attributes for each type.
MCCS provides various resource types as shown in below.
[그림] 리소스 타입 목록
특정 타입에 해당하는 리소스는 특정 타입 하위에 포함되어 보여지며, 타입 속성 변경 시 포함된 리소스들은 모두 영향을 받습니다.
예를 들어 네트워크 카드 리소스가 2개 이상 생성되었을 때, 네트워크카드 타입 하위에 각각의 네트워크 카드 리소스가 포함됩니다Figure] Resource Types in the MCCS for Linux
When you add a resource, this will be classified under the type as tree view structure.
For an example, when you add two NIC resource, these will be classified under the NIC type as shown below.
If you edit an attribute of resource type, this will affect all of the resources classified this type.
[그림] 네트워크 카드 리소스 2개가 네트워크 카드 리소스 타입에 포함되어 있는 그림Figure] Classifying of resources under the type
그림에서 보여지는 네트워크 카드 리소스인 eth0 과 eth1은 네트워크 카드 리소스 타입에 포함되는 리소스입니다.
또한, 네트워크 카드 리소스 타입의 속성을 변경하게 되면 리소스 모두에 영향을 받습니다.
예를 들어 모니터 주기를 지정하는 MonitorInterval 속성 값을 30 초로 변경하게 되면 eth0 과 eth1으로 정의 된 네트워크 카드 리소스는 모두 30 초로 변경된 값을 적용받게 됩니다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 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 콘솔의 리소스 타입 속성에서 확인 할 수 있습니다.
[그림] 리소스 타입 속성 화면Figure] Resource Type Attribute View
Attribute | 설명Description | 타입Type | 기본값Default | 수정Edit | 비고 |
---|---|---|---|---|---|
Actions | 리소스의 동작 타입을 정해 줍니다. | STRING | X | ||
ArgList | 리소스 타입 별로 필요한 인수들을 나타냅니다. | STRING | X | ||
CleanTimeout | 리소스 속성 중에서 CleanProgram을 실행하면 완료될 때까지의 타임아웃을 나타냅니다. | INTEGER | 60초 | O | |
FaultOnMonitorTimeouts | 이 값만큼 모니터 타임아웃이 발생하면 장애로 간주합니다. | INTEGER | 4회 | O | |
MonitorInterval | 온라인 상태의 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다. | INTEGER | 10초 | O | |
MonitorTimeout모니터링이 완료되거나 중단될 때까지 걸리는 시간을 나타냅니다. | It is the maximum time within which the monitor entry point must complete or else be terminated. (unit = second) | INTEGER | 10초 | O | |
OfflineMonitorInterval | 오프라인 상태의 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다. | INTEGER | 60초 | O | |
OnlineRetryLimit리소스 시작이 실패 할 경우 재시도 횟수를 지정한다 | It indicate the number of retry count if it fails to start resource. | INTEGER | 0회 | O | |
ToleranceLimit | 모니터링 결과를 신뢰할 수 없을 때, 지정된 횟수만큼 모니터링을 재시도합니다. | INTEGER | 0회 | O |
CLI 사용(mctype 명령)
...