...
[Figure] Resource Types in the MCCS for Linux
네트워크카드
...
Network Interface card(NIC)
MCCS monitor the TCP/IP 기반 네트워크 연결을 모니터 합니다.
일시적인 연결 장애나 네트워크 어댑터, 케이블의 네트워크에 장애를 감지합니다.
네트워크주소
MCCS는 전환가능한 노드안의 네트워크 장치 위에서 가상 IP 주소와 서브넷 마스크를 구성하고 가상 IP 주소를 감시하며 노드의 실제 IP 주소와 같은 방식으로 동작합니다.
가상 IP 주소를 할당할 네트워크 카드의 실제 IP 주소는 정적이어야 합니다.
기본 응용
단일 실행 파일 형태의 프로세스를 등록할 때 사용하며, MCCS는 운영 체제의 프로세스 테이블에 등록된 프로세스 이름의 존재 여부를 체크해서 장애를 감지합니다.
복합 응용
기본 응용과 달리 여러 개의 프로세스로 이루어진 응용 프로그램 또는 톰캣과 같이 스크립트로 실행해야 하는 응용 프로그램 등을 등록할 때에 사용합니다.
단순히 실행 파일만을 감지하지 않고, 프로세스에 대한 시작/종료/감지 기능을 수행하는 스크립트 명령을 이용하여 사용자가 원하는 방법으로 정상적인 동작을 감시하고자 할 경우에도 복합 응용으로 등록하여 사용합니다.
공유 디스크
MCCS 는 외부 공유 스토리지에 연결된 노드의 I/O 경로의 상태를 감시합니다.
미러 디스크
클러스터에 공유디스크가 없을 경우, 데이터는 로컬 혹은 직접 연결된 스토리지에 저장됩니다.
이런 환경에서 TCP/IP 를 통한 미러 구성요소는 변경된 데이터를 복제할 때 사용됩니다.
서비스
서비스는 리눅스의 서비스 데몬에 의해 관리되는 프로세스의 집합을 관리하기 위해 사용 합니다.
스카시예약
스카시예약 에이전트는 SAN등의 공유 스토리지가 지원하는 SCSI3-PR(Persistent Reservation) 프로토콜을 사용하여 LUN 단위의 Lock 을 관리합니다.
이 기능은 클러스터의 모든 노드가 다른 노드의 상태를 알 수 없을 때 데이터 손상을 방지합니다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
The service manages the process sets managed by the service demon of linux.
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.
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.
...
MirrorDisk의 MonitorInterval 속성값을 수정합니다.
mctype -modify -t MirrorDisk -a MonitorInterval value |
list
모든 리소스 타입에 대한 속성값을 출력합니다.
(-t resourceType 입력시 지정한 리소스 타입에 대한 속성값이 출력됩니다.)
...