Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Resource Type
[Figure] Resource Types
Network Interface card(NIC)
MCCS monitor the TCP/IP based network connectivity. It detects the network unplug, ethernet adapter failure, or cable failure.
IP Address
MCCS manages virtual IP address and subnet mask which will be assigned on a NIC and switchable node to node in case it reacts in the same manner as the node's real IP address.
A real IP address which is static must be set in the NIC to add on a virtual IP address.
Process
Process is used when register single execution file. MCCS detects the failures by checking if the process name exists in the process table of operating system.
Application
It is similar to process. But this is more complicated. Application works with several application or scripts such as tomcat.
MCCS does only detect on execution file, but it also brings online/ take offline/monitor the process by using pre-defined script.
Shared Disk
There are two systems connected to external shared storage and MCCS monitor the health status of I/O path to the file system.
Mirror Disk
When clustered nodes does not use shared storage, the data will be stored in each of local disk or direct attache storage.
In this environment, the mirroring component is needed through TCP/IP connection between nodes to synchronize the changed data.
Service
Service is a component that is managed by SCM (Service Control Management) of Window O.SOS.
Virtual Name (NetBIOS)
It manages the Windows based NetBIOS names.
SCSI Reservation
SCSI reservation agents manage LUN based locking using the SCSI3-PR (Persistent Reservation) protocols that shared storages support such as SAN.
This function can prevent data losses when no nodes in a cluster know the status of other nodes.
Shared disk DR
The disk shared between the two nodes of MCCS is copied to a remote server, so that data can be safely protected from disasters.
A remote server has no MCCS installed in it. Thus, you need to establish an additional service recovery plan.
VxVM disk group
It is used to manage a disk group of Veritas Windows Volume Manager.
The sub volumes of a disk group are not individually managed.
Oracle database
This resource controls the Oracle database.
It detects the Oracle database installed on the system, controls the service and monitors the status.
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.
[Figure] Classifying of resources under the type
그림에서 보여지는 네트워크 카드 리소스인 public 과 private1 은 네트워크 카드 리소스 타입에 포함되는 리소스입니다.
또한, 네트워크 카드 리소스 타입의 속성을 변경하게 되면 리소스 모두에 영향을 받습니다.
예를 들어 모니터 주기를 지정하는 MonitorInterval 속성 값을 30 초로 변경하게 되면 public , private1 으로 정의 된 네트워크 카드 리소스는 모두 30 초로 변경된 값을 적용받게 됩니다As shown in the figure, public and private 1 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 instance, if you set the MonitorInterval attribute value that defines monitoring periods to 30 seconds, the NIC resources defined as public and private1 will be all switched to 30 seconds.
Resource Type Attribute
Resource Each 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 웹콘솔의 리소스 타입 속성에서 확인 할 수 있습니다.
[그림] 리소스 타입 속성 화면
...
a different attribute value. (ex. Despite the same attribute name, it can have a different value depending on the resource.)
In addition, if you change the attribute of resource type, it will be applied to all the resources of the type within the group.
[Figure] Resource Type Attribute View
Attribute | Description | Type | Default | Edit | Note | |||
---|---|---|---|---|---|---|---|---|
Actions | Define the resource operation type. | STRING | X | |||||
ArgList | 리소스 타입 별로 필요한 인수들을 나타냅니다. | STRING | X | |||||
CleanTimeout | 리소스 속성 중에서 CleanProgram을 실행하면 완료될 때까지의 타임아웃을 나타냅니다. | INTEGER60초 | 60 sec | O | ||||
FaultOnMonitorTimeouts | 이 값만큼 모니터 타임아웃이 발생하면 장애로 간주합니다. | 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 | 리소스의 재시작 횟수를 재성정하는 시간입니다. | INTEGER600초 | 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
...
Use (mctype
...
command)
리소스 타입에 관한 명령을 전달 합니다. 리소스 타입에 대해 속성 조회, 속성 값 변경 명령을 내릴 수 있습니다Sends command related the resource type. You can command to inquire about the attribute or change the attribute values.
Info |
---|
MCCS 는 설치시 최초 사용자 계정으로 id 가 When you install MCCS, the initial user account ID is set to 'admin' 암호가 and the password is set to 'password'인 계정을 생성합니다. |
Syntax
mctype -u admin -pw password -t resoruceType -a attribute |
Options
옵션Option | 설명Description |
-h | 도움말을 출력합니다Display Help. |
-u | 사용자 ID를 지정합니다Designate the user ID. |
-pw | Enter the user password with the -u 옵션의 사용자 Password를 지정합니다option. |
-r | 수정할 리소스 타입 이름을 지정 합니다Designate the name of resource type to be modified. |
-a | 수정할 리소스 타입의 속성 이름을 지정합니다Designate the attribute names for the resource type to be modified. |
-list | 리소스 타입 리스트가 나열 됩니다Display the list of resource types. |
Example
modify
MirrorDisk의 MonitorInterval 속성값을 수정합니다Modify the MonitorInterval attribute values for MirrorDisk.
mctype -u admin -pw password password -modify -t MirrorDisk resourceType -a MonitorInterval attribute attribute_value |
list
...
Display the attribute values for all the resource types.
(If you enter -t resourceType 입력시 지정한 리소스 타입에 대한 속성값이 출력됩니다, the attribute values for the designated resource type will be displayed.)
mcnode mctype -u admin -pw password -list [-t - resourceType] |