Versions Compared

Key

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

 

Column
width350px
Panel

이 페이지의 주요 내용

Table of Contents
maxLevel4

리소스 타입

리소스 타입은 리소스를 종류별로 분류해 놓은 것입니다. 

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

 

속성설명타입기본값수정
AttributeDescriptionTypeDefaultEdit비고
Actions

리소스의 동작 타입을 정해 줍니다.
OnOff 값은 명령을 하는 리소스이며 None은 모니터링 전용 리소스 명령입니다It indicates valid operations of resources of the resource type. Values are OnOnly (can online only), OnOFF(can online and offline), None (cannot online and offline).

STRING X 
ArgList

리소스 타입 별로 필요한 인수들을 나타냅니다.
이 인수들을 기반으로 에이전트 내에 변수를 만들어 타입간의 특성을 구현합니다.
type.json 파일에서도 확인할 수 있지만 사용자가 수정할 수 없는 값입니다.It is the list of specified attributes in the resource attributes view. It can be checked in type.json file but cannot be edited. 

STRING X 
CleanTimeout

리소스 속성 중에서 CleanProgram을 실행하면 완료될 때까지의 타임아웃을 나타냅니다.
이 값을 초과하면 강제로 중단시킵니다.It indicates the maximum waiting time from the execution of the Clean command to the completion of Clean. If this value is exceeded, it will forcibly stop it. (unit = second)

INTEGER60초O 
FaultOnMonitorTimeouts

이 값만큼 모니터 타임아웃이 발생하면 장애로 간주합니다.
'0'이면 장애로 간주하지 않습니다.If monitor timeouts take place as much as this value, this value executes the Clean command and considers it as a failure, or restarts as much as the 'RestartLimit' value.
If this value is '0,' it will not consider the monitor failure a fault. (unit = counts)

INTEGER4회O 
MonitorInterval

온라인 상태의 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다.
값이 너무 작으며 적절한 모니터링 결과를 받기 전에 다시 모니터링을 함으로써 오동작 할 수도 있고,
값이 너무 크면 상태를 변경할 때에 감지하는 시간이 느려집니다.It indicates the interval to the next monitoring when online resources are monitored.
If the value is too small, it may result in malfunction, and if the value is too big, the monitoring time will increase. (unit = second)

INTEGER10초O 
MonitorTimeout모니터링이 완료되거나 중단될 때까지 걸리는 시간을 나타냅니다.It is the maximum time within which the monitor entry point must complete or else be terminated. (unit = second)INTEGER10초O 
OfflineMonitorInterval

오프라인 상태의 리소스를 모니터링 할 때, 다음 모니터링까지의 시간 간격을 나타냅니다.
만약 '0'이라면 오프라인이 된 리소스를 모니터링 하지 않습니다.It indicates the interval until the next monitoring when offline resources are monitored. If it is set as '0,' offline resources will not be monitored. (unit = second)

INTEGER60초O 
OnlineRetryLimit리소스 시작이 실패 할 경우 재시도 횟수를 지정한다It indicate the number of retry count if it fails to start resource.INTEGER0회O 
ToleranceLimit

모니터링 결과를 신뢰할 수 없을 때, 지정된 횟수만큼 모니터링을 재시도합니다.
예를 들면 네트워크 상태가 좋지 못한 환경에서 ping 테스트 결과를 신뢰할 수 없을 경우에는
몇번 더 모니터링 해서 신뢰할만한 응답을 받아야 합니다.It retries as many times as defined if the monitoring result cannot be trusted. In general, if the result of the ICMP ping test with a network interface card cannot be trusted,
it must be retried as many times as defined. It is not used for on-off resources. (unit = count)

INTEGER0회O 

 

 

CLI 사용(mctype 명령)

...