3.4. 4 단계: 업그레이드 후 상태 확인
업그레이드가 성공했는지 확인합니다.
이 장의 지침은 RHEL 7에서 RHEL 8로 업그레이드 버전으로의 업그레이드 후 상태 확인 장에 해당합니다.
프로세스
현재 OS 버전이 Red Hat Enterprise Linux 8인지 확인합니다.
cat /etc/redhat-release Red Hat Enterprise Linux release 8.10 (Ootpa)
# cat /etc/redhat-release Red Hat Enterprise Linux release 8.10 (Ootpa)Copy to Clipboard Copied! Toggle word wrap Toggle overflow OS 커널 버전을 확인합니다.
'.el8이 중요합니다. 예를 들어 RHEL 8.10의 경우4.18.0-553.34.1.el8이상입니다.uname -r 4.18.0-553.34.1.el8
# uname -r 4.18.0-553.34.1.el8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Red Hat Enterprise Linux 릴리스 날짜 지식 베이스 문서는 커널 버전과 특정 RHEL 릴리스와 일치하는 데 도움이 됩니다.
RHEL 릴리스 잠금이 설정되어 있지 않은지 확인합니다.
참고릴리스 잠금은 RHEL 8.10에 이러한 리포지토리가 없기 때문에 RHEL 8.10에서 실패하는 e4 또는 eus 리포지토리의 패키지에 액세스하도록 yum에 지시합니다.
클라우드 또는 BYOS 클라우드 시스템에서 다음을 실행합니다.
subscription-manager release --unset
# subscription-manager release --unsetCopy to Clipboard Copied! Toggle word wrap Toggle overflow 릴리스 기본 설정이 설정되지 않았습니다.
AWS, Google Cloud 또는 Azure의 PAYG 클라우드 인스턴스에서 파일이 있는 경우 파일을 제거합니다.
cat /etc/yum/vars/releasever <target_os_version> rm /etc/yum/vars/releasever
# cat /etc/yum/vars/releasever <target_os_version> # rm /etc/yum/vars/releaseverCopy to Clipboard Copied! Toggle word wrap Toggle overflow
시스템에 필요한 모든 리포지토리가 활성화되어 있는지 확인합니다.
yum repolist
# yum repolistCopy to Clipboard Copied! Toggle word wrap Toggle overflow 클라우드가 아닌 클라우드 또는 BYOS 클라우드 시스템에서 출력에는 다음이 포함되어야 합니다.
rhel-8-for-x86_64-appstream-rpms rhel-8-for-x86_64-baseos-rpms rhel-8-for-x86_64-sap-netweaver-rpms rhel-8-for-x86_64-sap-solutions-rpms
rhel-8-for-x86_64-appstream-rpms rhel-8-for-x86_64-baseos-rpms rhel-8-for-x86_64-sap-netweaver-rpms rhel-8-for-x86_64-sap-solutions-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow AWS의 PAYG 클라우드 인스턴스에서 출력에는 다음이 포함되어야 합니다.
rhel-8-for-x86_64-appstream-rhui-rpms rhel-8-for-x86_64-baseos-rhui-rpms rhel-8-for-x86_64-highavailability-rhui-rpms rhel-8-for-x86_64-sap-netweaver-rhui-rpms rhel-8-for-x86_64-sap-solutions-rhui-rpms
rhel-8-for-x86_64-appstream-rhui-rpms rhel-8-for-x86_64-baseos-rhui-rpms rhel-8-for-x86_64-highavailability-rhui-rpms rhel-8-for-x86_64-sap-netweaver-rhui-rpms rhel-8-for-x86_64-sap-solutions-rhui-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Google Cloud의 PAYG 클라우드 인스턴스에서 출력에는 다음이 포함되어야 합니다.
rhui-rhel-8-for-x86_64-appstream-rhui-rpms rhui-rhel-8-for-x86_64-baseos-rhui-rpms rhui-rhel-8-for-x86_64-highavailability-rhui-rpms rhui-rhel-8-for-x86_64-sap-netweaver-rhui-rpms rhui-rhel-8-for-x86_64-sap-solutions-rhui-rpms
rhui-rhel-8-for-x86_64-appstream-rhui-rpms rhui-rhel-8-for-x86_64-baseos-rhui-rpms rhui-rhel-8-for-x86_64-highavailability-rhui-rpms rhui-rhel-8-for-x86_64-sap-netweaver-rhui-rpms rhui-rhel-8-for-x86_64-sap-solutions-rhui-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow 참고Google Cloud RHEL 7 이미지에는 EPEL 리포지토리가 포함되어 있습니다. RHEL 8 이미지는 그렇지 않습니다. 따라서 업그레이드 후 다음과 같이 오류 메시지가 표시됩니다.
yum repolist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
$ yum repolist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not existCopy to Clipboard Copied! Toggle word wrap Toggle overflow 이 경우 EPEL 리포지토리를 제거합니다.
rm -f /etc/yum.repos.d/epel*.repo
$ rm -f /etc/yum.repos.d/epel*.repoCopy to Clipboard Copied! Toggle word wrap Toggle overflow Microsoft Azure의 PAYG 클라우드 인스턴스에서 출력에는 다음이 포함되어야 합니다.
rhel-8-for-x86_64-appstream-rhui-rpms rhel-8-for-x86_64-baseos-rhui-rpms rhel-8-for-x86_64-highavailability-rhui-rpms rhel-8-for-x86_64-sap-netweaver-rhui-rpms rhel-8-for-x86_64-sap-solutions-rhui-rpms
rhel-8-for-x86_64-appstream-rhui-rpms rhel-8-for-x86_64-baseos-rhui-rpms rhel-8-for-x86_64-highavailability-rhui-rpms rhel-8-for-x86_64-sap-netweaver-rhui-rpms rhel-8-for-x86_64-sap-solutions-rhui-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow 참고클라우드 공급자의 리포지토리 목록에는 Red Hat 이외의 다른 리포지토리(예: RHUI 구성용 사용자 지정 리포지토리)가 포함될 수 있습니다.
-
네트워크 서비스가 작동하는지 확인합니다. 예를 들어
ssh명령을 사용하여 시스템에 연결을 시도합니다.