1.11. 업그레이드된 스토리지 클러스터에 cephadm-ansible 설치
cephadm-ansible
은 cephadm
에서 다루지 않는 워크플로우를 간소화하는 Ansible 플레이북 컬렉션입니다. 설치 후 플레이북은 /usr/share/cephadm-ansible/
에 있습니다.
업그레이드된 스토리지 클러스터에 새 노드 또는 새 클라이언트를 추가하기 전에 cephadm-preflight.yml
플레이북을 실행합니다.
사전 요구 사항
- Ansible 관리 노드에 대한 루트 수준 액세스.
- 적절한 인타이틀먼트가 있는 유효한 Red Hat 서브스크립션.
- Red Hat Registry에 액세스하기 위한 활성 RHN(Red Hat Network) 또는 서비스 계정.
절차
ansible
및 이전ceph-ansible
패키지 설치 제거:구문
dnf remove ansible ceph-ansible
dnf remove ansible ceph-ansible
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Ansible 리포지토리를 비활성화하고 Ansible 관리 노드에서 Ceph 리포지토리를 활성화합니다.
Red Hat Enterprise Linux 8
subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms --enable=rhceph-5-tools-for-rhel-8-x86_64-rpms --disable=ansible-2.9-for-rhel-8-x86_64-rpms
[root@admin ~]# subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms --enable=rhceph-5-tools-for-rhel-8-x86_64-rpms --disable=ansible-2.9-for-rhel-8-x86_64-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Red Hat Enterprise Linux 9
subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms --enable=rhel-9-for-x86_64-appstream-rpms --enable=rhceph-5-tools-for-rhel-9-x86_64-rpms --disable=ansible-2.9-for-rhel-9-x86_64-rpms
[root@admin ~]# subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms --enable=rhel-9-for-x86_64-appstream-rpms --enable=rhceph-5-tools-for-rhel-9-x86_64-rpms --disable=ansible-2.9-for-rhel-9-x86_64-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow ansible-core
를 종속성으로 설치하는cephadm-ansible
패키지를 설치합니다.구문
dnf install cephadm-ansible
dnf install cephadm-ansible
Copy to Clipboard Copied! Toggle word wrap Toggle overflow