Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

1.3. CLVM (Clustered Logical Volume Manager)

CLVM (Clustered Logical Volume Manager)은 LVM으로의 클러스터 확장 모음입니다. 이는 LVM을 사용하여 공유 스토리지를 (예: SAN 상에서) 관리하기 위해 컴퓨터의 클러스터를 허용합니다.
시스템 요구 사항에 따라 CLVM을 사용해야 할 지에 대한 여부:
  • 시스템의 하나의 노드만 논리 볼륨으로 설정하는 스토리지에 액세스를 필요로할 경우, CLVM 확장을 사용하지 않고 LVM을 사용할 수 있으며 노드와 함께 생성된 논리 볼륨은 노드에서 모두 로컬로 됩니다.
  • 스토리지를 액세스하는 단일 노드 만이 활성화되는 장채 조치를 위해 클러스터 시스템을 사용할 경우, 고가용성 놀리 볼륨 관리 에이전트 (HA-LVM)를 사용해야 합니다. HA-LVM에 대한 자세한 내용은 Red Hat Cluster 설정 및 관리 를 참조하십시오.
  • 하나 이상의 클러스터 노드가 활성 노드 사이에서 공유되는 스토리지로의 액세스를 필요로할 경우, CLVM을 사용해야 합니다. CLVM은 논리 볼륨이 설정되는 동안 물리 스토리지로의 액세스를 잠금하여 사용자가 공유 스토리지에 논리 볼륨을 설정하게 하며, 공유 스토리지를 관리하기 위해 클러스터화된 잠금 서비스를 사용합니다.
CLVM을 사용하려면, clmvd 데몬을 포함한 Red Hat Cluster Suite 소프트웨어가 실행되고 있어야 합니다. clmvd 데몬은 LVM으로의 주요 클러스링 확장 데몬입니다. clvmd 데몬은 각각의 클러스터 컴퓨터에서 실행하여 클러스터에 있는 LVM 메타데이터 업데이트를 분산하고, 동일한 논리 볼륨 관점에서 각각의 클러스터 컴퓨터를 보여줍니다. Red Hat Cluster Suite 설치 및 관리에 관한 내용은 Red Hat Cluster 설정 및 관리를 참조하십시오.
부팅시 clmvd 데몬이 시작되었는지를 확인하기위해, 다음과 같이 clvmd 서비스에서 chkconfig ... on 명령을 실행할 수 있습니다.
# chkconfig clvmd on
clvmd 데몬이 시작되지 않을 경우, 다음과 같이 clvmd 서비스에서 service ... start 명령을 실행할 수 있습니다:
# service clvmd start
Creating LVM logical volumes in a cluster environment is identical to creating LVM logical volumes on a single node. There is no difference in the LVM commands themselves, or in the LVM graphical user interface, as described in 4장. CLI 명령을 사용한 LVM 관리 and 7장. LVM GUI를 통한 LVM 관리. In order to enable the LVM volumes you are creating in a cluster, the cluster infrastructure must be running and the cluster must be quorate.
By default, logical volumes created with CLVM on shared storage are visible to all computers that have access to the shared storage. It is possible, however, to create logical volumes when the storage devices are visible to only one node in the cluster. It is also possible to change the status of a logical volume from a local volume to a clustered volume. For information, see 4.3.2절. “클러스터에서 볼륨 그룹 생성 ” and 4.3.7절. “볼륨 그룹의 매개 변수 변경 ”.
그림 1.2. “CLVM 개요 ” shows a CLVM overview in a Red Hat cluster.
CLVM 개요

그림 1.2. CLVM 개요

참고

Red Hat Cluster Suite에서 사용하기 위한 공유 스토리지는 클러스터 논리 볼륨 관리자 데몬 (clvmd) 또는 고가용성 논리 볼륨 관리 에이전트 (HA-LVM)를 실행하고 있을 것을 요청합니다. 운용 상의 이유로 또는 적절한 인타이틀먼트가 없는 관계로 clvmd 데몬이나 HA-LVM을 사용할 수 없을 경우, 공유 디스크에서 단일 인스턴스 LVM을 사용해서는 안됩니다. 이는 데이터 손상을 일으킬 수 있기 때문입니다. 다른 문제가 발생할 경우 Red Hat 서비스 담당자에게 연락하시기 바랍니다.

참고

CLVM requires changes to the lvm.conf file for cluster-wide locking. Information on configuring the lvm.conf file to support clustered locking is provided within the lvm.conf file itself. For information about the lvm.conf file, see 부록 B. LVM 설정 파일 .