2022. 8. 23. 15:48 카테고리 없음
AHF 를 신규 설치하지 않고 최신버전으로 업그레이드하기
- AHF 를 새로 설치하지 않고 최신버전으로 업그레이드하기
사용중인 버전은 21.4.1
현재 최신 버전은 22.2.1
root@19c-1:/root# tfactl version
This version of AHF is older than 180 days
Please set software stage location using ahfctl setupgrade and then upgrade using ahfctl upgrade
AHF version: 21.4.1
version option in tfactl is deprecated and will be removed in AHF 22.1.0. Please start using ahfctl for version, Example: ahfctl version
-> /u01/install 아래에 AHF-LINUX_v22.2.1.zip 화일을 미리 업로드한다.
root@19c-1:/u01# ahfctl setupgrade -swstage /u01/install
This version of AHF is older than 180 days
Please set software stage location using ahfctl setupgrade and then upgrade using ahfctl upgrade
AHF autoupgrade parameters successfully updated
WARNING - AHF Software is older than 180 days. Please consider upgrading AHF to the latest version using ahfctl upgrade.
TFA-00002 Oracle Trace File Analyzer (TFA) is not running
TFA not running. Unable to sync AHF configuration
WARNING - AHF Software is older than 180 days. Please consider upgrading AHF to the latest version using ahfctl upgrade.
refreshConfig() failed.
root@19c-1:/u01# ahfctl startahf
This version of AHF is older than 180 days
Do you want to upgrade AHF? [Y/N][Y]y
Upgrading AHF. Please wait.... .... ....
/u01/install/AHF-LINUX_v22.2.1.zip successfully extracted at /u01/install
AHF software signature has been validated successfully
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_222100_21339_2022_08_23-14_06_07.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 22.2.1 Build Date: 202208021104
PERL : /u01/app/19.3.0.0/grid/perl/bin/perl
[ERROR] : AHF-00026: Perl is not owned by root
WARNING - AHF Software is older than 180 days. Please consider upgrading AHF to the latest version using ahfctl upgrade.
TFA autostart is disabled ..
INFO: Starting orachk scheduler in background. Details for the process can be found at /u01/app/oracle/oracle.ahf/data/19c-1/diag/orachk/compliance_start_230822_140620.log
chown root:root /u01/app/19.3.0.0/grid/perl/bin/perl
root@19c-1:/u01# ahfctl startahf
This version of AHF is older than 180 days
Do you want to upgrade AHF? [Y/N][Y]y
Upgrading AHF. Please wait.... .... ....
/u01/install/AHF-LINUX_v22.2.1.zip successfully extracted at /u01/install
AHF software signature has been validated successfully
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_222100_24627_2022_08_23-14_14_36.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 22.2.1 Build Date: 202208021104
AHF is already installed at /opt/oracle.ahf
Installed AHF Version: 21.4.1 Build Date: 202201112133
Upgrading /opt/oracle.ahf
Shutting down AHF Services
Upgrading AHF Services
Starting AHF Services
No new directories were added to TFA
Directory /u01/app/oracle/crsdata/19c-1/trace/chad was already added to TFA Directories.
AHF is successfully upgraded to latest version
.-------------------------------------------------------------.
| Host | TFA Version | TFA Build ID | Upgrade Status |
+-------+-------------+----------------------+----------------+
| 19c-1 | 22.2.1.0.0 | 22210020220802110420 | UPGRADED |
'-------+-------------+----------------------+----------------'
Moving /tmp/ahf_install_222100_24627_2022_08_23-14_14_36.log to /u01/app/oracle/oracle.ahf/data/19c-1/diag/ahf/
Oracle Trace File Analyzer (TFA) is already running
orachk scheduler is already running [PID: 32901] [Version: ahfctl version]
root@19c-1:/u01# ahfctl statusahf
.---------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+-------+---------------+-------+------+------------+----------------------+------------------+
| 19c-1 | RUNNING | 32901 | 5000 | 22.2.1.0.0 | 22210020220802110420 | COMPLETE |
'-------+---------------+-------+------+------------+----------------------+------------------'
------------------------------------------------------------
Master node = 19c-1
orachk daemon version = 222100
Install location = /opt/oracle.ahf/orachk
Started at = Tue Aug 23 14:52:20 KST 2022
Scheduler type = TFA Scheduler
Scheduler PID: 32901
------------------------------------------------------------
ID: orachk.autostart_client_oratier1
------------------------------------------------------------
AUTORUN_FLAGS = -usediscovery -profile oratier1 -dball -showpass -tag autostart_client_oratier1 -readenvconfig
COLLECTION_RETENTION = 7
AUTORUN_SCHEDULE = 3 2 * * 1,2,3,4,5,6
------------------------------------------------------------
------------------------------------------------------------
ID: orachk.autostart_client
------------------------------------------------------------
AUTORUN_FLAGS = -usediscovery -tag autostart_client -readenvconfig
COLLECTION_RETENTION = 14
AUTORUN_SCHEDULE = 3 3 * * 0
------------------------------------------------------------
Next auto run starts on Aug 24, 2022 02:03:00
ID:orachk.AUTOSTART_CLIENT_ORATIER1