반응형

증 상

RHEL 8.2에서 Oracle 19c RAC 구성 후 asmca 화면에서 ACFS관련 매뉴가 없는 증상

 

관련 Log

Oracle CRS 기동하면서 Oracle CRS alert Log에 아래 메시지 출력

Alert Log 파일 위치 :  $ORACLE_BASE/diag/<hostname>/crs/trace/alert.log

2021-04-12 13:33:36.080 [ORAAGENT(11504)]CRS-8500: Oracle Clusterware ORAAGENT process is starting with operating system process ID 11504
2021-04-12 13:36:23.797 [CLSECHO(22119)]ACFS-9213: Configuration file 'symvers-4.18.0-193.el8.x86_64.gz' in the /boot directory does not exist or cannot be read.

원 인

RHEL 8분서 symvers.gz 파일 위치가 /usr/lib/modules/변경 됨

access.redhat.com/solutions/5174441

해결 방법

해당 커널 버전에 맞는 파일을 /boot에 복사 하면 됨

[RHEL 8.1] 
cp /usr/lib/modules/4.18.0-147.el8.x86_64/symvers.gz /boot/symvers-4.18.0-147.el8.x86_64.gz
[RHEL 8.2] 
cp /usr/lib/modules/4.18.0-193.el8.x86_64/symvers.gz /boot/symvers-4.18.0-193.el8.x86_64.gz
[RHEL 8.3]
RHEL 8.3은 아직 Oracle ACFS 인증 되지 않았음

실제 해결 방법

[root@rac1 ~]# cd /boot
[root@rac1 boot]# ls
config-4.18.0-193.el8.x86_64  grub2                                                    initramfs-4.18.0-193.el8.x86_64.img  System.map-4.18.0-193.el8.x86_64                   vmlinuz-4.18.0-193.el8.x86_64
efi                           initramfs-0-rescue-f39d3f5fb51341ae96c29713dcd0be39.img  loader                               vmlinuz-0-rescue-f39d3f5fb51341ae96c29713dcd0be39
[root@rac1 boot]#  ls -l /boot/symvers-$(uname -r).gz
ls: cannot access '/boot/symvers-4.18.0-193.el8.x86_64.gz': No such file or directory
[root@rac1 boot]# cd  /usr/lib/modules
[root@rac1 modules]# ls
4.18.0-187.el8.x86_64  4.18.0-193.el8.x86_64
[root@rac1 modules]# uname -a
Linux rac1.localdomain 4.18.0-193.el8.x86_64 #1 SMP Fri Mar 27 14:35:58 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@rac1 modules]# cd 4.18.0-193.el8.x86_64
[root@rac1 4.18.0-193.el8.x86_64]# ls
bls.conf  kernel         modules.alias.bin  modules.builtin.bin  modules.devname      modules.networking  modules.symbols      symvers.gz  vdso
build     misc           modules.block      modules.dep          modules.drm          modules.order       modules.symbols.bin  System.map  vmlinuz
config    modules.alias  modules.builtin    modules.dep.bin      modules.modesetting  modules.softdep     source               updates     weak-updates
[root@rac1 4.18.0-193.el8.x86_64]# cp symvers.gz /boot/symvers-4.18.0-193.el8.x86_64.gz
[root@rac1 4.18.0-193.el8.x86_64]# pwd
/usr/lib/modules/4.18.0-193.el8.x86_64
[root@rac1 4.18.0-193.el8.x86_64]# ls -l /boot/symvers-$(uname -r).gz
-rw-r--r--. 1 root root 347581 Apr 12 13:46 /boot/symvers-4.18.0-193.el8.x86_64.gz
[root@rac1 4.18.0-193.el8.x86_64]#
ACFS Support On OS Platforms (Certification Matrix). (문서 ID 1369107.1)
https://access.redhat.com/solutions/5174441
반응형
반응형

Oracle DB RU/RUR/Bundle Patch 중 12개월(1년)전 Patch를 Download 하려면 무조건 최신 RU/RUR/Bundle Patch로 Redirection을 한다고 함.

만약 12개월(1년)전 Patch가 필요하면 SR을 통해 Patch Download Password를 받고 Patch를 Download 해야 함.

그런데 바로 직전 Patch인 19.10(2021년 01월)Patch도 Download Password 요청 하고 있음

Master Note for Database Proactive Patch Program (문서 ID 888.1)
반응형
반응형

기존 환경 확인

[oracle@oel6 ~]$ env | grep SID
ORACLE_SID=DB11G
[oracle@oel6 ~]$

SQL> select NAME from v$database;
NAME
---------
DB11G
SQL> select INSTANCE from v$thread;
INSTANCE
------------
DB11G
SQL> show parameter db_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_name                              string      DB11G
SQL> show parameter db_unique_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_unique_name                       string      DB11G
SQL> show parameter instance_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
instance_name                        string      DB11G

instance_name 파리미터 변경

pfile 생성 및 instance_name=DB11로 변경

SQL> create pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/initDB11.ora' from spfile;
File created.
SQL> !ls -al /u01/app/oracle/product/11.2.0/db_1/dbs/initDB11.ora
-rw-r--r--. 1 oracle dba 809 May 20 09:06 /u01/app/oracle/product/11.2.0/db_1/dbs/initDB11.ora

변경된 InitParameter File로 DB 기동

[oracle@oel6 dbs]$ env | grep SID
ORACLE_SID=DB11G
[oracle@oel6 dbs]$ export ORACLE_SID=DB11
[oracle@oel6 dbs]$ env | grep SID
ORACLE_SID=DB11
[oracle@oel6 dbs]$ sqlplus "/as sysdba"
SQL> startup pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/initDB11.ora';
ORACLE instance started.
Total System Global Area 1653518336 bytes
Fixed Size                  2253784 bytes
Variable Size            1006636072 bytes
Database Buffers          637534208 bytes
Redo Buffers                7094272 bytes
Database mounted.
Database opened.
SQL>

DB 기동 후 확인

[oracle@oel6 trace]$ ps -ef | grep pmon
oracle    2856     1  0 09:10 ?        00:00:00 ora_pmon_DB11
oracle    2934  2809  0 09:11 pts/1    00:00:00 grep pmon
[oracle@oel6 trace]$

SQL> select NAME from v$database;
NAME
---------
DB11G
SQL> select INSTANCE from v$thread;
INSTANCE
--------------------------------------------------------------------------------
DB11
SQL> show parameter db_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_name                              string      DB11G
SQL> show parameter db_unique_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_unique_name                       string      DB11G
SQL> show parameter instance_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
instance_name                        string      DB11
SQL>

NID로 변경

변경전 환경 확인 및 DB Shutdown & startup mount

[oracle@oel6 dbs]$ env | grep SID
ORACLE_SID=DB11G
[oracle@oel6 dbs]$ ps -ef | grep pmon
oracle    3299     1  0 09:26 ?        00:00:00 ora_pmon_DB11G
oracle    3596  3264  0 09:59 pts/0    00:00:00 grep pmon
[oracle@oel6 dbs]$ sqlplus "/as sysdba"
SQL> shutdown immediate
[oracle@oel6 dbs]$ sqlplus "/as sysdba"
SQL> startup mount pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/initDB11G.ora'
ORACLE instance started.
Total System Global Area 1653518336 bytes
Fixed Size                  2253784 bytes
Variable Size            1006636072 bytes
Database Buffers          637534208 bytes
Redo Buffers                7094272 bytes
Database mounted.
SQL>

NID 실행

[oracle@oel6 ~]$ env | grep SID
ORACLE_SID=DB11G
[oracle@oel6 ~]$ which nid
/u01/app/oracle/product/11.2.0/db_1/bin/nid
[oracle@oel6 ~]$ nid target=sys/welcome1 DBNAME=DB11 SETNAME=yes

DBNEWID: Release 11.2.0.4.0 - Production on Wed May 20 10:20:28 2020

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to database DB11G (DBID=510499496)

Connected to server version 11.2.0

Control Files in database:
    /u01/app/oracle/oradata/DB11G/control01.ctl
    /u01/app/oracle/oradata/DB11G/control02.ctl

Change database name of database DB11G to DB11? (Y/[N]) => Y

Proceeding with operation
Changing database name from DB11G to DB11
    Control File /u01/app/oracle/oradata/DB11G/control01.ctl - modified
    Control File /u01/app/oracle/oradata/DB11G/control02.ctl - modified
    Datafile /u01/app/oracle/oradata/DB11G/system01.db - wrote new name
    Datafile /u01/app/oracle/oradata/DB11G/sysaux01.db - wrote new name
    Datafile /u01/app/oracle/oradata/DB11G/undotbs01.db - wrote new name
    Datafile /u01/app/oracle/oradata/DB11G/users01.db - wrote new name
    Datafile /u01/app/oracle/oradata/DB11G/temp01.db - wrote new name
    Control File /u01/app/oracle/oradata/DB11G/control01.ctl - wrote new name
    Control File /u01/app/oracle/oradata/DB11G/control02.ctl - wrote new name
    Instance shut down

Database name changed to DB11.
Modify parameter file and generate a new password file before restarting.
Succesfully changed database name.
DBNEWID - Completed succesfully.

[oracle@oel6 ~]$

[oracle@oel6 dbs]$ ps -ef | grep pmon
oracle    3822  3264  0 10:22 pts/0    00:00:00 grep pmon

NID를 실행하면 startup mount한 DB가 shutdown 된다.

OS 환경 변수 변경 및 DB 기동

[oracle@oel6 dbs]$ env | grep SID
ORACLE_SID=DB11G
[oracle@oel6 dbs]$ export ORACLE_SID=DB11
[oracle@oel6 dbs]$ env | grep SID
ORACLE_SID=DB11
[oracle@oel6 dbs]$ ps -ef | grep pmon
oracle    3822  3264  0 10:22 pts/0    00:00:00 grep pmon
[oracle@oel6 dbs]$ env | grep SID
ORACLE_SID=DB11G
[oracle@oel6 dbs]$ export ORACLE_SID=DB11
[oracle@oel6 dbs]$ env | grep SID
ORACLE_SID=DB11
[oracle@oel6 dbs]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.4.0 Production on Wed May 20 10:23:49 2020
Copyright (c) 1982, 2013, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup mount pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/initDB11.ora';
ORACLE instance started.
Total System Global Area 1653518336 bytes
Fixed Size                  2253784 bytes
Variable Size            1006636072 bytes
Database Buffers          637534208 bytes
Redo Buffers                7094272 bytes
Database mounted.
SQL> alter database open;
Database altered.

DB 기동 후 변경사항 확인

SQL> select INSTANCE from v$thread;
INSTANCE
--------------------------------------------------------------------------------
DB11
SQL> show parameter db_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_name                              string      DB11
SQL> show parameter db_unique_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_unique_name                       string      DB11
SQL> show parameter instance_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
instance_name                        string      DB11
반응형

+ Recent posts