3.2. 연결이 끊긴 환경에서 Red Hat Ceph Storage 클러스터 업그레이드


--image 태그를 사용하여 연결이 끊긴 환경에서 스토리지 클러스터를 업그레이드할 수 있습니다.

ceph orch upgrade 명령을 사용하여 Red Hat Ceph Storage 5 클러스터를 업그레이드할 수 있습니다.

중요

Red Hat Enterprise Linux 9 이상에서는 cephadm-ansible 플레이북을 지원하지 않습니다.

사전 요구 사항

  • 실행 중인 Red Hat Ceph Storage 클러스터 5.
  • Red Hat Enterprise Linux 8.4 EUS 이상.
  • 모든 노드에 대한 루트 수준 액세스입니다.
  • sudo 및 암호 없이 ssh 를 사용하는 Ansible 사용자는 스토리지 클러스터의 모든 노드에 액세스할 수 있습니다.
  • 스토리지 클러스터에 2개 이상의 Ceph Manager 노드(하나의 활성 및 대기 시간)입니다.
  • 노드를 CDN에 등록하고 서브스크립션을 연결합니다.
  • 연결이 끊긴 환경에서 고객 컨테이너 이미지를 확인하고 필요한 경우 구성을 변경합니다. 자세한 내용은 Red Hat Ceph Storage 설치 가이드에서 연결이 끊긴 설치의 구성 변경 섹션을 참조하십시오.

기본적으로 모니터링 스택 구성 요소는 기본 Ceph 이미지를 기반으로 배포됩니다. 스토리지 클러스터의 연결이 끊긴 환경의 경우 사용 가능한 최신 모니터링 스택 구성 요소 이미지를 사용해야 합니다.

표 3.1. 모니터링 스택의 사용자 정의 이미지 세부 정보
스택 구성 요소 모니터링Red Hat Ceph Storage 버전이미지 세부 정보

Prometheus

Red Hat Ceph Storage 5.0 및 5.1

registry.redhat.io/openshift4/ose-prometheus:v4.6

 

Red Hat Ceph Storage 5.2 이상

registry.redhat.io/openshift4/ose-prometheus:v4.10

Grafana

모든 Red Hat Ceph Storage 5 버전

registry.redhat.io/rhceph/rhceph-5-dashboard-rhel8:latest

node-exporter

Red Hat Ceph Storage 5.0

registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.5

 

Red Hat Ceph Storage 5.0z1 및 5.1

registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.6

 

Red Hat Ceph Storage 5.2 이상

registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.10

AlertManager

Red Hat Ceph Storage 5.0

registry.redhat.io/openshift4/ose-prometheus-alertmanager:v4.5

 

Red Hat Ceph Storage 5.0z1 및 5.1

registry.redhat.io/openshift4/ose-prometheus-alertmanager:v4.6

 

Red Hat Ceph Storage 5.2 이상

registry.redhat.io/openshift4/ose-prometheus-alertmanager:v4.10

HAProxy

Red Hat Ceph Storage 5.1 이상

registry.redhat.io/rhceph/rhceph-haproxy-rhel8:latest

keepalived

Red Hat Ceph Storage 5.1 이상

registry.redhat.io/rhceph/keepalived-rhel8:latest

SNMP Gateway

Red Hat Ceph Storage 5.0 이상

registry.redhat.io/rhceph/snmp-notifier-rhel8:latest

절차

  1. cephadmcephadm-ansible 패키지를 업데이트합니다.

    예제

    [root@admin ~]# dnf update cephadm
    [root@admin ~]# dnf update cephadm-ansible

  2. upgrade_ceph_packages 매개변수가 true 로 설정된 상태에서 preflight 플레이북을 실행하고 스토리지 클러스터의 부트스트랩 호스트에서 ceph_origin 매개변수를 사용자 지정 으로 설정합니다.

    구문

    ansible-playbook -i INVENTORY_FILE cephadm-preflight.yml --extra-vars "ceph_origin=custom upgrade_ceph_packages=true"

    예제

    [ceph-admin@admin ~]$ ansible-playbook -i /etc/ansible/hosts cephadm-preflight.yml --extra-vars "ceph_origin=custom upgrade_ceph_packages=true"

    이 패키지는 모든 노드에서 cephadm 을 업그레이드합니다.

  3. cephadm 쉘에 로그인합니다.

    예제

    [root@host01 ~]# cephadm shell

  4. 모든 호스트가 온라인 상태인지 확인하고 스토리지 클러스터가 정상 상태인지 확인합니다.

    예제

    [ceph: root@host01 /]# ceph -s

  5. 업그레이드 중에 OSD noout,noscrub, nodeep-scrub 플래그를 설정하여 OSD가 클러스터에서 불필요한 로드를 방지합니다.

    예제

    [ceph: root@host01 /]# ceph osd set noout
    [ceph: root@host01 /]# ceph osd set noscrub
    [ceph: root@host01 /]# ceph osd set nodeep-scrub

  6. 서비스 버전 및 사용 가능한 대상 컨테이너를 확인합니다.

    구문

    ceph orch upgrade check IMAGE_NAME

    예제

    [ceph: root@host01 /]# ceph orch upgrade check LOCAL_NODE_FQDN:5000/rhceph/rhceph-5-rhel8

  7. 스토리지 클러스터를 업그레이드합니다.

    구문

    ceph orch upgrade start IMAGE_NAME

    예제

    [ceph: root@host01 /]# ceph orch upgrade start LOCAL_NODE_FQDN:5000/rhceph/rhceph-5-rhel8

    업그레이드가 진행되는 동안 ceph 상태 출력에 진행률 표시줄이 표시됩니다.

    예제

    [ceph: root@host01 /]# ceph status
    [...]
    progress:
        Upgrade to 16.2.0-115.el8cp (1s)
          [............................]

  8. Ceph 클러스터의 새로운 IMAGE_IDVERSION 을 확인합니다.

    예제

    [ceph: root@host01 /]# ceph version
    [ceph: root@host01 /]# ceph versions
    [ceph: root@host01 /]# ceph orch ps

  9. 업그레이드가 완료되면 noout,noscrub, nodeep-scrub 플래그를 설정 해제합니다.

    예제

    [ceph: root@host01 /]# ceph osd unset noout
    [ceph: root@host01 /]# ceph osd unset noscrub
    [ceph: root@host01 /]# ceph osd unset nodeep-scrub

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

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

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

Red Hat 소개

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

© 2024 Red Hat, Inc.