반응형
해당 방법은 Autonomous Health Framework (AHF) 업그레이드에 대한 방법입니다.
RAC 2개노드에 대한 자동업그레이드로 수행하였으며, -local 명령어를 사용하여 각 노드별로 각각 수행하였습니다.
AHF의 경우, 아래 SR번호에서 플랫폼 별 최신파일을 다운 받을 수 있습니다.
Autonomous Health Framework (AHF) - Including TFA and ORAchk/EXAchk (Doc ID 2550798.1)
모든 과정은 root유저에서 수행하였습니다.
1.
각 플랫폼별 파일 설치 후 서버에 업로드 합니다.
AHF-AIX-PPC64_v22.3.3.zip
2./opt/AHF를 만들고 압축을 풉니다.
# mkdir -p /opt/AHF
#unzip AHF-AIX-PPC64_v22.3.3.zip -d /opt/AHF
inflating: README.txt
inflating: ahf_setup
extracting: ahf_setup.dat
inflating: oracle-tfa.pub
# ls -al
total 1464776
drwxr-xr-x 2 oracle dba 256 Feb 6 09:27 .
drwxr-xr-x 9 oracle dba 4096 Feb 6 09:26 ..
-rwxrwxrwx 1 oracle dba 372434627 Feb 6 09:23 AHF-AIX-PPC64_v22.3.3.zip
-rw-r--r-- 1 oracle dba 1525 Jan 18 06:07 README.txt
-r-xr-xr-x 1 oracle dba 377508179 Jan 18 06:06 ahf_setup
-rw-r--r-- 1 oracle dba 384 Jan 18 06:06 ahf_setup.dat
-rw-r--r-- 1 oracle dba 625 Jan 18 06:07 oracle-tfa.pub
3.압축된 파일에 있는 ahf_setup을 수행합니다. (이미 설치가 되어있다면 자동으로 업그레이드를 수행합니다)
-local 명령어를 사용하여 각 노드별로 각각 수행합니다.
(network가 연결되어있는 환경이면 제외하고 한 노드에서 수행하여도 무방합니다)
# ./ahf_setup -local
AHF Installer for Platform AIX Architecture PPC64
AHF Installation Log : /tmp/ahf_install_223300_10486050_2023_02_06-09_51_41.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 22.3.3 Build Date: 202301162202
AHF is already installed at /opt/oracle.ahf
Installed AHF Version: 21.3.0 Build Date: 202110290347
Do you want to upgrade AHF [Y]|N : y <------upgrade 여부를 물음 y
Upgrading /opt/oracle.ahf
Shutting down AHF Services
Upgrading AHF Services
Encountered errors during AHF Upgrade. Please check ahf_install_223300_10486050_2023_02_06-09_51_41.log for more details.
Starting AHF Services
Running Inventory ...
Successfully added directory to TFA
Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : n <---- Oracle support에 자동을 업로드할껀지? n 설정
AHF is successfully upgraded to latest version
.---------------------------------------------------------------.
| Host | TFA Version | TFA Build ID | Upgrade Status |
+---------+-------------+----------------------+----------------+
| dbarac1 | 22.3.3.0.0 | 22330020230116220213 | UPGRADED |
| dbarac2 | 21.3.0.0.0 | 21300020211029034711 | NOT UPGRADED |
'---------+-------------+----------------------+----------------'
AHF is successfully upgraded to latest version
Moving /tmp/ahf_install_223300_10486050_2023_02_06-09_51_41.log to /oracle/grid/base/oracle.ahf/data/dbarac1/diag/ahf/
4.2번노드도 동일하게 수행합니다.
# scp AHF-AIX-PPC64_v22.3.3.zip dbarac2:/tmp/
100% 355MB 33.2MB/s 00:10
# ./ahf_setup -local
AHF Installer for Platform AIX Architecture PPC64
AHF Installation Log : /tmp/ahf_install_223300_26149144_2023_02_06-09_58_21.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 22.3.3 Build Date: 202301162202
AHF is already installed at /opt/oracle.ahf
Installed AHF Version: 21.3.0 Build Date: 202110290347
Do you want to upgrade AHF [Y]|N : y
Upgrading /opt/oracle.ahf
Shutting down AHF Services
Upgrading AHF Services
Starting AHF Services
Running Inventory ...
Successfully added directory to TFA
Do you want AHF to store your My Oracle Support Credentials for Automatic Upload ? Y|[N] : n
AHF is successfully upgraded to latest version
.---------------------------------------------------------------.
| Host | TFA Version | TFA Build ID | Upgrade Status |
+---------+-------------+----------------------+----------------+
| dbarac2 | 22.3.3.0.0 | 22330020230116220213 | UPGRADED |
| dbarac1 | 22.3.3.0.0 | 22330020230116220213 | UPGRADED |
'---------+-------------+----------------------+----------------'
AHF is successfully upgraded to latest version
Moving /tmp/ahf_install_223300_26149144_2023_02_06-09_58_21.log to /oracle/grid/base/oracle.ahf/data/dbarac2/diag/ahf/
완료.
참고 : https://positivemh.tistory.com/607
반응형
'Oracle > 운영' 카테고리의 다른 글
[DBMS_SPACE,DBMS_ADVISOR]리오그 대상 확인 빌트인 패키지 비교 (0) | 2023.02.23 |
---|---|
특정 테이블스페이스에서 오브젝트 용량 증가량 조회 (0) | 2023.02.21 |
[병렬] Parallel DML 시 실제로 모든 프로세스가 일하는지? (0) | 2023.01.19 |
세션 모니터링 쿼리 (0) | 2023.01.18 |
Oracle 데이터 중복값 쿼리로 확인하기 (0) | 2022.12.08 |
댓글