1.6. RHEL 9 서버 중지 및 해제
최신 변경 사항을 포함한 모든 데이터가
rhel9.example.com에서rhel10.example.com으로 올바르게 마이그레이션되었는지 확인합니다. 예를 들면 다음과 같습니다.rhel9.example.com에 새 사용자를 추가합니다.[root@rhel9 ~]# ipa user-add random_user First name: random Last name: user사용자가
rhel10.example.com에 복제되었는지 확인합니다.[root@rhel10 ~]# ipa user-find random_user -------------- 1 user matched -------------- User login: random_user First name: random Last name: user
DCNA(Distributed Numeric Assignment) ID 범위가
rhel10.example.com에 할당되었는지 확인합니다. 다음 방법 중 하나를 사용합니다.다른 테스트 사용자를 생성하여
rhel10.example.com에서 DNA 플러그인을 직접 활성화합니다.[root@rhel10 ~]# ipa user-add another_random_user First name: another Last name: random_user특정 DNA ID 범위를
rhel10.example.com에 할당합니다.rhel9.example.com에서 IdM ID 범위를 표시합니다.[root@rhel9 ~]# ipa idrange-find ---------------- 3 ranges matched ---------------- Range name: EXAMPLE.COM_id_range First Posix ID of the range: 196600000 Number of IDs in the range: 200000 First RID of the corresponding RID range: 1000 First RID of the secondary RID range: 100000000 Range type: local domain rangerhel9.example.com에서 할당된 DNA ID 범위를 표시합니다.[root@rhel9 ~]# ipa-replica-manage dnarange-show rhel9.example.com: 196600026-196799999 rhel10.example.com: No range setrhel9.example.com에 할당된 DNA ID 범위를 줄이면rhel10.example.com에서 섹션을 사용할 수 있습니다.[root@rhel9 ~]# ipa-replica-manage dnarange-set rhel9.example.com 196600026-196699999IdM ID 범위의 나머지 부분을
rhel10.example.com에 할당합니다.[root@rhel9 ~]# ipa-replica-manage dnarange-set rhel10.example.com 196700000-196799999
rhel9.example.com에서 모든 IdM 서비스를 중지하여 도메인 검색을 새rhel10.example.com서버로 강제 적용합니다.[root@rhel9 ~]# ipactl stop Stopping CA Service Stopping pki-ca: [ OK ] Stopping HTTP Service Stopping httpd: [ OK ] Stopping MEMCACHE Service Stopping ipa_memcached: [ OK ] Stopping DNS Service Stopping named: [ OK ] Stopping KPASSWD Service Stopping Kerberos 5 Admin Server: [ OK ] Stopping KDC Service Stopping Kerberos 5 KDC: [ OK ] Stopping Directory Service Shutting down dirsrv: EXAMPLE-COM... [ OK ] PKI-IPA... [ OK ]이 후
ipa유틸리티는 원격 프로시저 호출(RPC)을 통해 새 서버에 연결합니다.- RHEL 10 서버에서 제거 명령을 실행하여 토폴로지에서 RHEL 9 서버를 제거합니다. 자세한 내용은 IdM 서버 설치 제거를 참조하십시오.