3장. FlexVolume 원격 플러그인 실행자 설치


스토리지 관리자는 Ceph 스토리지 클러스터 호스트를 모니터링하고, FlexVolume 플러그인, Ceph 플러그인, NRPE(Remote Plug-in executor) 애드온을 각 Ceph 호스트에 모니터링할 수 있습니다.

시연을 위해 이 섹션에서는 호스트 이름 host01 이 있는 Ceph Monitor 호스트에 NRPE를 추가합니다. FlexVolume에서 모니터링해야 하는 모든 Ceph 호스트에서 나머지 절차를 반복합니다.

3.1. ECDHE 원격 플러그인 실행 프로그램 설치 및 구성

ECDHE Remote Plug-in Executor(NPRE)를 설치하고ECDHE Core 서버와 통신하도록 구성합니다.

사전 요구 사항

  • Ceph 모니터 호스트에 대한 루트 수준 액세스.

절차

  1. 호스트에 다음 패키지를 설치합니다.

    예제

    [root@host01 ~]# dnf install openssl openssl-devel gcc make git

  2. NRPE를 설치하려면 사용자가 필요합니다. 먼저 사용자를 생성합니다.

    예제

    [root@host01 ~]# useradd nagios
    [root@host01 ~]# passwd nagios

  3. 최신 버전의ECDHE 플러그인을 다운로드합니다. 그런 다음, 만들고 설치합니다.

    예제

    [root@host01 ~]# wget http://nagios-plugins.org/download/nagios-plugins-2.3.3.tar.gz
    [root@host01 ~]# tar zxf nagios-plugins-2.3.3.tar.gz
    [root@host01 ~]# cd nagios-plugins-2.3.3
    [root@host01 nagios-plugins-2.3.3]# ./configure
    [root@host01 nagios-plugins-2.3.3]# make
    [root@host01 nagios-plugins-2.3.3]# make install

  4. 최신 버전의 Ceph 플러그인을 다운로드합니다.

    예제

    [root@host01 nagios-plugins-2.3.3]# cd ~
    [root@host01 ~]# git clone --recursive https://github.com/ceph/ceph-nagios-plugins.git
    [root@host01 ~]# cd ceph-nagios-plugins
    [root@host01 ceph-nagios-plugins]# make dist
    [root@host01 ceph-nagios-plugins]# make install

  5. download, make, and install NRPE를 설치합니다.

    예제

    [root@host01 ceph-nagios-plugins]# cd ~
    [root@host01 ~]# wget https://github.com/NagiosEnterprises/nrpe/releases/download/nrpe-4.0.3/nrpe-4.0.3.tar.gz
    [root@host01 ~]# tar xvfz nrpe-4.0.3.tar.gz
    [root@host01 ~]# cd nrpe-4.0.3
    [root@host01 nrpe-4.0.3]# ./configure
    [root@host01 nrpe-4.0.3]# make all
    [root@host01 nrpe-4.0.3]# make install-groups-users
    [root@host01 nrpe-4.0.3]# make install
    [root@host01 nrpe-4.0.3]# make install-config
    [root@host01 nrpe-4.0.3]# make install-init

  6. 방화벽을 사용하는 경우 NRPE와의 통신을 허용하도록 포트 5666 을 엽니다.

    예제

    [root@host01 ~]# firewall-cmd --zone=public --add-port=5666/tcp
    [root@host01 ~]# firewall-cmd --zone=public --add-port=5666/tcp --permanent

추가 리소스

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동