ORACLE/TroubleShooting2024. 2. 22. 15:05
반응형

상태 확인

[root@arac1 dev]# crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ARTEST.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       arac1                    STABLE
ora.CRS.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.DATA.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.FRA.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       arac1                    STABLE
ora.MGMT.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.chad
               ONLINE  ONLINE       arac1                    STABLE
ora.net1.network
               ONLINE  ONLINE       arac1                    STABLE
ora.ons
               ONLINE  ONLINE       arac1                    STABLE
ora.proxy_advm
               OFFLINE OFFLINE      arac1                    STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
중 략
--------------------------------------------------------------------------------

디스크 그룹 파괴
[root@arac1 dev]# dd if=/dev/zero of=/dev/ARTEST/ARTESTLV count=1000
1000+0 records in
1000+0 records out
512000 bytes (512 kB) copied, 0.00114053 s, 449 MB/s

확인 - 오프라인 상태로 변경 됨
[+ASM1:/home/grid]> asmcmd
ASMCMD> ls
ARTEST/
CRS/
DATA/
FRA/
MGMT/
ASMCMD> cd artest
ASMCMD> ls

[root@arac1 ARTEST]# crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ARTEST.dg
               OFFLINE OFFLINE      arac1                    STABLE
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       arac1                    STABLE
ora.CRS.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.DATA.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.FRA.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       arac1                    STABLE
ora.MGMT.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.chad
               ONLINE  ONLINE       arac1                    STABLE
ora.net1.network
               ONLINE  ONLINE       arac1                    STABLE
ora.ons
               ONLINE  ONLINE       arac1                    STABLE
ora.proxy_advm
               OFFLINE OFFLINE      arac1                    STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       arac1                    STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       arac1                    169.254.51.97 192.16
                                                             8.0.111,STABLE
ora.arac1.vip
      1        ONLINE  ONLINE       arac1                    STABLE
ora.arac2.vip
      1        ONLINE  INTERMEDIATE arac1                    FAILED OVER,STABLE
ora.aracdb.db
      1        ONLINE  ONLINE       arac1                    Open,HOME=/u01/app/o
                                                             racle/product/12c/db
                                                             _1,STABLE
      2        OFFLINE OFFLINE                               STABLE
  

로 그
  
2024-02-22T11:16:08.730714+09:00
GMON dismounting group 1 at 27 for pid 44, osid 21554
2024-02-22T11:16:08.905072+09:00
System State dumped to trace file /u01/app/oracle/diag/asm/+asm/+ASM1/incident/incdir_214849/+ASM1_ora_21498_i214849.trc
2024-02-22T11:16:08.950506+09:00
ami_comp:dbgrip.c@16254:SQL> alter diskgroup ARTEST check
2024-02-22T11:16:09.156303+09:00
NOTE: cache deleting context for group ARTEST 1/0x47c6226f
2024-02-22T11:16:09.796926+09:00
NOTE: Disk ARTEST_0000 in mode 0x7f marked for de-assignment
2024-02-22T11:16:09.801824+09:00
SUCCESS: diskgroup ARTEST was dismounted
2024-02-22T11:16:09.802800+09:00
SUCCESS: alter diskgroup ARTEST dismount force /* ASM SERVER:1204167279 */
2024-02-22T11:16:09.805146+09:00
ami_comp:dbgrip.c@16254:ORA-15032: not all alterations performed
ami_comp:dbgrip.c@16254:ORA-15001: diskgroup "ARTEST" does not exist or is not mounted
ami_comp:dbgrip.c@16254:ORA-15001: diskgroup "1" does not exist or is not mounted
ami_comp:dbgrip.c@16254:
2024-02-22T11:16:09.805723+09:00
ami_comp:dbgrip.c@16254:ERROR: alter diskgroup ARTEST check
ami_comp:dbgrip.c@16254:Some DDE async actions failed or were cancelled
2024-02-22T11:16:09.813709+09:00
SUCCESS: ASM-initiated MANDATORY DISMOUNT of group ARTEST
2024-02-22T11:16:09.918350+09:00
NOTE: diskgroup resource ora.ARTEST.dg is offline



select group_number, name, state from v$asm_diskgroup;
GROUP_NUMBER NAME                     STATE
------------ ------------------------ ---------------------------------
           2 CRS                      MOUNTED
           3 DATA                     MOUNTED
           4 FRA                      MOUNTED
           5 MGMT                     MOUNTED


삭제 실패
SQL> drop diskgroup ARTEST force including contents
  2  ;
drop diskgroup ARTEST force including contents
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "ARTEST"

그냥 crs에서 삭제 한다. 오라클 문서 1478128.1
crsctl delete resource ora.ARTEST.dg

12.2.0.1 기준 아래 방법으로 해야 된다
srvctl remove diskgroup -g ARTEST -f

삭제 완료
[+ASM1:/home/grid]> srvctl remove diskgroup -g ARTEST -f
[+ASM1:/home/grid]> crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       arac1                    STABLE
ora.CRS.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.DATA.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.FRA.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       arac1                    STABLE
ora.MGMT.dg
               ONLINE  ONLINE       arac1                    STABLE
ora.chad
               ONLINE  ONLINE       arac1                    STABLE
ora.net1.network
               ONLINE  ONLINE       arac1                    STABLE
ora.ons
               ONLINE  ONLINE       arac1                    STABLE
ora.proxy_advm
               OFFLINE OFFLINE      arac1                    STABLE

 

참조 : ORA-015039, ORA-15063: ASM Discovered An Insufficient Number Of Disks For Diskgroup (문서 ID 1478128.1)

반응형
Posted by [PineTree]
ORACLE/INSTALL2024. 2. 20. 15:37
반응형

 1.Red Hat Enterprise Linux 9

 
Oracle Database 19.0.0.0.0(Linux x86-64 Red Hat Enterprise Linux 9 사용)
Red Hat Enterprise Linux 9: 5.14.0-70.22.1.el9_0.x86_64 or later

Minimum RU: 19.19
 
 

 2.Oracle Linux 9

Oracle Database 19.0.0.0.0(Linux x86-64 Oracle Linux 9 사용)
Product: For general information relating to certification for the Oracle Database product, including virtualization, interoperability, binary compatibiliy, general release and patch set information, see Core Database Certification Information (Doc ID 1306539.1).

Platform: For details about certifications of Oracle Database on Linux x86-64, see Certification Information for Oracle Database on Linux x86-64 (Doc ID 1304727.1).

For details about Oracle Linux Ksplice Support with the Oracle Database, see Oracle Linux Ksplice Support with Oracle Database (Doc ID 2312257.1).

Minimum RU: 19.19

Minimum kernel versions:

Oracle Linux 9 with the Unbreakable Enterprise Kernel 7: 5.15.0-1.43.4.2.el9uek.x86_64 or later,
or
Oracle Linux 9 with the Red Hat Compatible kernel: 5.14.0-70.22.1.0.2.el9_0.x86_64 or later
AFD/ASMLib

Oracle ASM Filter Driver (AFD) is supported with Oracle Linux 9. Please refer to Note 1369107.1 for more details.
Oracle ASMlib is not supported in the initial release. It will be supported soon.
Customers can choose between using AFD or configuring block devices with udev rules directly as documented here.
ACFS: Please refer to ACFS Supported on OS Platforms for Oracle ACFS certification details (Doc ID 1369107.1)
 
 
 

 

반응형
Posted by [PineTree]
ORACLE/Backup & Recovery2024. 2. 14. 17:03
반응형

주로 사용자의 실수로 datafile 삭제

-- 전제 조건 아카이브 모드 상태.
SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            /arch
Oldest online log sequence     83
Next log sequence to archive   85
Current log sequence           85
SQL> 

 

-- 상태 확인 
SQL> select file#,name,status,CREATION_TIME from v$datafile;

     FILE# NAME                                               STATUS  CREATION_TIM
---------- -------------------------------------------------- ------- ------------
         1 /oradata/ORA19C/system01.dbf                       SYSTEM  17-APR-19
         3 /oradata/ORA19C/sysaux01.dbf                       ONLINE  17-APR-19
         4 /oradata/ORA19C/undotbs01.dbf                      ONLINE  17-APR-19
         5 /oradata/ORA19C/users02.dbf                        ONLINE  14-FEB-24
         7 /oradata/ORA19C/users01.dbf                        ONLINE  17-APR-19
         8 /oradata/ORA19C/soe01.dbf                          ONLINE  22-JAN-24

-- 장애 상황 발생 
[oracle@ora19c ORA19C]$ rm users02.dbf 
[oracle@ora19c ORA19C]$ exit

-- 로그 스위칭 도중 db down 발생
SQL> alter system switch logfile;
alter system switch logfile
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 5028
Session ID: 154 Serial number: 38319

Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.21.0.0.0
-- DB 마운트 모드 기동
[ora19c:/home/oracle]> ss

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Feb 14 14:52:56 2024
Version 19.21.0.0.0

Copyright (c) 1982, 2022, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup mount
ORACLE instance started.

Total System Global Area 3137336112 bytes
Fixed Size                  8930096 bytes
Variable Size             671088640 bytes
Database Buffers         2449473536 bytes
Redo Buffers                7843840 bytes
Database mounted.
SQL> select * from v$recover_file;

     FILE# ONLINE  ONLINE_ ERROR                   CHANGE# TIME             CON_ID
---------- ------- ------- -------------------- ---------- ------------ ----------
         5 ONLINE  ONLINE  FILE NOT FOUND                0                       0
 
SQL>  select file#,name,status,CREATION_TIME from v$datafile;
     FILE# NAME                                          STATUS  CREATION_TIM
---------- --------------------------------------------- ------- ------------
         1 /oradata/ORA19C/system01.dbf                  SYSTEM  17-APR-19
         3 /oradata/ORA19C/sysaux01.dbf                  ONLINE  17-APR-19
         4 /oradata/ORA19C/undotbs01.dbf                 ONLINE  17-APR-19
         5 /oradata/ORA19C/users02.dbf                   ONLINE  14-FEB-24
         7 /oradata/ORA19C/users01.dbf                   ONLINE  17-APR-19
         8 /oradata/ORA19C/soe01.dbf                     ONLINE  22-JAN-24

6 rows selected.
-- 삭제 파일  껍데기 만들어 줌
SQL> alter database create datafile '/oradata/ORA19C/users02.dbf';

Database altered.
-- 복구 
SQL> recover datafile 5;
Media recovery complete.
SQL> alter database datafile 5 online;

Database altered.
-- db open 완료
SQL> alter database open;

Database altered. 

-- 복구 완료 확인

SQL> select * from v$recover_file;

no rows selected

SQL> col file_name for a45
SQL> set lines 200
SQL>  select tablespace_name,file_name,bytes/1024/1024 from dba_data_files;

TABLESPACE_NAME                FILE_NAME                                     BYTES/1024/1024
------------------------------ --------------------------------------------- ---------------
USERS                          /oradata/ORA19C/users01.dbf                             93.75
UNDOTBS1                       /oradata/ORA19C/undotbs01.dbf                             605
SYSTEM                         /oradata/ORA19C/system01.dbf                             1150
SYSAUX                         /oradata/ORA19C/sysaux01.dbf                              910
USERS                          /oradata/ORA19C/users02.dbf                           36.5625
SOE                            /oradata/ORA19C/soe01.dbf                                2419

6 rows selected.

SQL>  select file#,name,status,CREATION_TIME from v$datafile;

     FILE# NAME                                          STATUS  CREATION_TIM
---------- --------------------------------------------- ------- ------------
         1 /oradata/ORA19C/system01.dbf                  SYSTEM  17-APR-19
         3 /oradata/ORA19C/sysaux01.dbf                  ONLINE  17-APR-19
         4 /oradata/ORA19C/undotbs01.dbf                 ONLINE  17-APR-19
         5 /oradata/ORA19C/users02.dbf                   ONLINE  14-FEB-24
         7 /oradata/ORA19C/users01.dbf                   ONLINE  17-APR-19
         8 /oradata/ORA19C/soe01.dbf                     ONLINE  22-JAN-24

6 rows selected.

SQL> select instance_name,status from v$instance;

INSTANCE_NAME    STATUS
---------------- ------------
ora19c           OPEN

 

※ DB가  다운 되지 않았다면 삭제한 datafile offline 후 alter database create datafile  생성 부터 

진행 하면 된다.

반응형
Posted by [PineTree]
반응형

SYMPTOMS

Pump process abends with below error:
2020-08-05 23:19:16 ERROR OGG-00041 Data source not specified.
2020-08-05 23:19:16 ERROR OGG-01668 PROCESS ABENDING.

CHANGES

 

CAUSE

Goldengate is not able to correctly interpret the parameter file.
It could be due to an unsupported parameter used or a spelling error in one of the keywords specifies in parameter file

Goldengate가 매개변수 파일을 올바르게 해석할 수 없습니다. 지원되지 않는 매개변수가 사용되었거나 매개변수 파일에 지정된 키워드 중 하나의 철자 오류가 원인일 수 있습니다
 

SOLUTION

Scan and ensure that all the parameters set in Pump parameter file are valid for extract pump and that there are no typing errors with the keywords used.

펌프 매개변수 파일에 설정된 모든 매개변수가 추출 펌프에 대해 유효한지, 사용된 키워드에 입력 오류가 없는지 스캔하고 확인하십시오.

 

 

참조 : ERROR OGG-00041 Data Source Not Specified (문서 ID 2698427.1)

 

 

반응형
Posted by [PineTree]
ORACLE/19C2024. 2. 14. 10:42
반응형

Process and Runtime Limits

Process and Runtime Limits

This table describes limit types and limit values for process and runtime items.

ItemType of LimitLimit Value
Instances per database Maximum number of cluster database instances per database Operating system-dependent
Locks Row-level Unlimited
Locks Distributed Lock Manager Operating system dependent
SGA size Maximum value Operating system-dependent; typically 2 to 4 GB for 32-bit operating systems, and > 4 GB for 64-bit operating systems
Advanced Queuing Processes Maximum per instance 10
Job Queue Processes Maximum per instance 1000
I/O Slave Processes Maximum per background process (DBWR, LGWR, and so on) 15
I/O Slave Processes Maximum per Backup session 15
Sessions Maximum per instance 216; limited by the PROCESSES and SESSIONS initialization parameters. 216 is 65536.
Global Cache Service Processes Maximum per instance 10
Shared Servers Maximum per instance Unlimited within constraints set by the PROCESSES and SESSIONS initialization parameters, for instance
Dispatchers Maximum per instance Unlimited within constraints set by PROCESSES and SESSIONS initialization parameters, for instance
Parallel Execution Slaves Maximum per instance Unlimited within constraints set by PROCESSES and SESSIONS initialization parameters, for instance
Backup Sessions Maximum per instance Unlimited within constraints set by PROCESSES and SESSIONS initialization parameters, for instance
Services Maximum per instance 8200

 

반응형
Posted by [PineTree]
ORACLE/19C2024. 2. 14. 10:37
반응형

논리적 데이터베이스 제한

이 표에서는 논리적 데이터베이스 항목에 대한 제한 유형과 제한 값을 설명합니다.

안건한도 유형한계값
테이블당 최대 1000
인덱스(또는 클러스터형 인덱스)당 최대값 32
비트맵 인덱스당 최대값 30
제약 열당 최대값 제한 없는
Oracle은 열당 제약 조건 수에 대한 제한을 정의하지 않습니다. 그러나 제약조건에는 데이터베이스의 최대 제약조건 수에 대한 제한이 적용됩니다. 이 표에서 " 제약조건 - 데이터베이스당 최대값 " 항목을 참조하세요 .
제약 데이터베이스당 최대값 4,294,967,293
데이터베이스 사용자 데이터베이스당 최대값 4,294,967,293
사전 관리 데이터베이스 객체 데이터베이스당 최대값 4,254,950,911 - 간접비
인덱스 테이블당 최대 제한 없는
Oracle은 테이블당 인덱스 수에 대한 제한을 정의하지 않습니다. 그러나 인덱스에는 데이터베이스당 허용되는 최대 사전 관리 데이터베이스 개체 수에 대한 제한이 적용됩니다. 이 표에서 " 사전 관리 데이터베이스 개체 " 항목을 참조하세요 .
인덱스 인덱싱된 열의 총 크기 데이터베이스 블록 크기의 약 75%에서 약간의 오버헤드를 뺀 값
파티션 선형 파티셔닝 키의 최대 길이 4KB - 오버헤드
파티션 파티션 키의 최대 열 수 16열
파티션 테이블 또는 인덱스당 허용되는 최대 파티션 수 1024K - 1
테이블당 최대 개수 제한 없는
저장된 패키지 최대 크기 대략 6,000,000적인 코드 줄.
참조: 자세한 내용은 Oracle Database PL/SQL 언어 참조
하위 파티션 복합 파티션된 테이블의 최대 하위 파티션 수 1024K - 1
하위 쿼리 SQL 문의 최대 하위 쿼리 수준 FROM최상위 쿼리 절 에서는 무제한
255WHERE절의 하위 쿼리
SCN(시스템 변경 번호) 최고 2 63 - 2 48 = 9,223,090,561,878,065,152 SCN
테이블 클러스터링된 테이블당 최대값 테이블 32개
테이블 데이터베이스당 최대값 제한 없는
Oracle은 데이터베이스당 테이블 수에 대한 제한을 정의하지 않습니다. 그러나 테이블에는 데이터베이스당 허용되는 최대 사전 관리 데이터베이스 개체 수에 대한 제한이 적용됩니다. 이 표에서 " 사전 관리 데이터베이스 개체 " 항목을 참조하세요 .
트리거 캐스케이드 제한 최대값 일반적으로 운영 체제에 따라 다름32
사용자 및 역할 최고 2,147,483,638

메모:

SQL 문의 길이에 대한 제한은 데이터베이스 구성, 디스크 공간 및 메모리를 포함한 여러 요인에 따라 달라집니다.

메모:

객체 인스턴스가 메모리에 존재하는 경우 객체의 속성 수에는 고정된 제한이 없습니다. 그러나 객체 인스턴스가 소비하는 최대 총 메모리 양은 4GB입니다. 객체 인스턴스가 테이블에 삽입되면 속성이 테이블의 별도 열로 분해되고 Oracle 1000 열 제한이 적용됩니다.

 

참조 

https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/logical-database-limits.html#GUID-685230CF-63F5-4C5A-B8B0-037C566BDA76

반응형
Posted by [PineTree]
ORACLE/19C2024. 2. 14. 10:34
반응형

물리적 데이터베이스 제한

이 표에서는 물리적 데이터베이스 항목에 대한 제한 유형과 제한 값을 설명합니다.

안건한도 유형한계값
데이터베이스 블록 크기 최저한의 2048바이트; 운영 체제 물리적 블록 크기의 배수여야 합니다.
데이터베이스 블록 크기 최고 운영 체제에 따라 다름. 32KB를 넘지 않음
데이터베이스 블록 세그먼트 초기 범위의 최소값 2블록
데이터베이스 블록 데이터 파일당 최대값 플랫폼에 따라 다릅니다. 일반적으로 2 22 - 1 블록
제어 파일 제어 파일 수 1최저한의; 2이상(별도의 장치) 강력 권장
제어 파일 제어 파일의 크기 최대 201031680개의 논리 블록
데이터베이스 파일 테이블스페이스당 최대값 운영 체제에 따라 다름. 대개1023
데이터베이스 파일 데이터베이스당 최대값 65533
일부 운영 체제에서는 더 적을 수 있습니다.
DB_FILES데이터베이스 블록의 크기와 특정 인스턴스의 초기화 매개변수 에 의해서도 제한됩니다.
데이터베이스 범위 사전 관리 테이블스페이스당 최대값 4GB * 물리적 블록 크기(K/M 수정자 사용) 4GB(K/M 수정자 제외)
데이터베이스 범위 로컬로 관리되는(균일) 테이블스페이스당 최대값 2GB * 물리적 블록 크기(K/M 수정자 사용) 2GB(K/M 수정자 제외)
데이터베이스 파일 크기 최고 운영 체제에 따라 다릅니다. 최대 운영 체제 파일 크기로 제한됩니다. 이러한 유형의 테이블스페이스의 최대 데이터베이스 파일 크기에 대한 자세한 내용은 Bigfile 테이블스페이스  Smallfile(기존) 테이블스페이스 행을 참조하세요 .
MAXEXTENTS 기본값 테이블스페이스 기본 스토리지 또는 DB_BLOCK_SIZE초기화 매개변수 에서 파생됨
MAXEXTENTS 최고 제한 없는
리두 로그 파일 최대 로그 파일 수 명령문 MAXLOGFILES의 매개변수 값으로 제한됨CREATE DATABASE
더 많은 항목을 허용하도록 제어 파일의 크기를 조정할 수 있습니다. 궁극적으로 운영 체제 제한
리두 로그 파일 그룹당 최대 로그 파일 수 제한 없는
리두 로그 파일 크기 최소 크기 4 MB
리두 로그 파일 크기 최대 크기 운영 체제 제한 일반적으로 2결핵
테이블스페이스 데이터베이스당 최대 수 64 K
각 테이블스페이스에는 하나 이상의 파일이 포함되어야 하므로 테이블스페이스 수는 데이터베이스 파일 수를 초과할 수 없습니다.
빅파일 테이블스페이스 블록 수 빅파일 테이블스페이스에는 단 하나의 데이터 파일 또는 임시 파일만 포함되며, 이는 최대 약 40억( 2 32 )개의 블록을 포함할 수 있습니다. 단일 데이터 파일 또는 임시 파일의 최대 크기는 32K 블록이 있는 테이블스페이스의 경우 128TB이고, 8K 블록이 있는 테이블스페이스의 경우 32TB입니다.
Smallfile(기존) 테이블스페이스 블록 수 스몰파일 테이블스페이스는 전통적인 Oracle 테이블스페이스로, 1023개의 데이터 파일 또는 임시 파일을 포함할 수 있으며 각 테이블스페이스에는 최대 약 400만(2 22 )개의 블록이 포함될 수 있습니다.
외부 테이블 파일 최대 크기 운영 체제에 따라 다릅니다.
외부 테이블은 여러 파일로 구성될 수 있습니다.

 

참조

https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/physical-database-limits.html#GUID-939CB455-783E-458A-A2E8-81172B990FE9

반응형
Posted by [PineTree]
ORACLE/19C2024. 2. 14. 10:30
반응형

A.1 데이터 유형 제한

이 표에는 데이터 유형에 대한 제한이 문서화되어 있으며 데이터 유형에 대한 설명이 포함되어 있습니다.

데이터 유형한계코멘트
BFILE 최대 크기: 4GB
파일 이름의 최대 크기: 255자
디렉터리 이름의 최대 크기: 128바이트
열려 있는 BFILE의 최대 수: 설명 참조
최대 수는 초기화 매개변수 BFILEs의 값에 의해 제한되며 SESSION_MAX_OPEN_FILES, 이 매개변수 자체는 운영 체제에서 허용하는 최대 열린 파일 수에 의해 제한됩니다.
BLOB 최대 크기: (4GB - 1) * DB_BLOCK_SIZE초기화 매개변수(8TB ~ 128TB) 테이블당 LOB 열 수는 테이블당 최대 열 수(즉, 1000 피트 1 )에 의해서만 제한됩니다.
CHAR 최대 크기: 2000바이트 없음
CLOB 최대 크기: (4GB - 1) * DB_BLOCK_SIZE초기화 매개변수(8TB ~ 128TB) 테이블당 LOB 열 수는 테이블당 최대 열 수(즉, 1000 피트 1 )에 의해서만 제한됩니다.
리터럴(SQL 또는 PL/SQL의 문자 또는 숫자) 최대 크기: 4000자 없음
LONG 최대 크기: 2GB - 1 테이블당 하나의 열만 LONG허용됩니다.
NCHAR 최대 크기: 2000바이트 없음
NCLOB 최대 크기: (4GB - 1) * DB_BLOCK_SIZE초기화 매개변수(8TB ~ 128TB) 테이블당 LOB 열 수는 테이블당 최대 열 수(즉, 1000 피트 1 )에 의해서만 제한됩니다.
NUMBER 999...(38 9's) x10 125 최대값
-999...(38 9's) x10 125 최소값
전체 38자리 정밀도(가수)로 표현 가능
전체 38자리 정밀도(가수)로 표현 가능
NVARCHAR2 최대 크기: 4000바이트 또는 MAX_STRING_SIZE초기화 매개변수가 다음으로 설정된 경우 32767바이트EXTENDED
추가 세부사항은 " MAX_STRING_SIZE " 초기화 매개변수를 참조하십시오.
없음
정도 유효 숫자 38개 없음
RAW 최대 크기: 2000바이트 또는 MAX_STRING_SIZE초기화 매개변수가 다음으로 설정된 경우 32767바이트EXTENDED
추가 세부사항은 " MAX_STRING_SIZE " 초기화 매개변수를 참조하십시오.
없음
VARCHAR2 최대 크기: 4000바이트 또는 MAX_STRING_SIZE초기화 매개변수가 다음으로 설정된 경우 32767바이트EXTENDED
추가 세부사항은 " MAX_STRING_SIZE " 초기화 매개변수를 참조하십시오.
없음

각주 1

테이블의 절대 최대 열 수는 1000입니다. 그러나 객체 테이블(또는 객체 열, 중첩 테이블, 가변형 또는 REF유형의 열이 있는 관계형 테이블)을 생성할 때 Oracle은 사용자 정의 유형의 열을 다음 테이블에 매핑합니다. 관계형 열을 사용하여 실제로 1000개 열 제한에 포함되는 숨겨진 열을 생성합니다. Oracle이 해당 테이블의 총 열 수를 계산하는 방법에 대한 자세한 내용은 Oracle Database Administrator's Guide를 참조하십시오 .

 

참조 : https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/datatype-limits.html#GUID-963C79C9-9303-49FE-8F2D-C8AAF04D3095

반응형
Posted by [PineTree]
ORACLE/ADMIN2024. 2. 8. 08:12
반응형

 

오라클 12.2.0.1 -> 19.22.0.0

 

0.. 먼저 19C 엔진을 설치하고 최신 RU 패치 까지 진행 한다.

기존 12C 설치 홈

export ORACLE_HOME=$ORACLE_BASE/product/12C/db_1

신규 19C 설치 홈
export ORACLE_HOME=$ORACLE_BASE/product/19C/db_1 

 

[oracle@ORA12C ~]$ opatch lspatches
35926646;OJVM RELEASE UPDATE: 19.22.0.0.240116 (35926646)
35943157;Database Release Update : 19.22.0.0.240116 (35943157)
29585399;OCW RELEASE UPDATE 19.3.0.0.0 (29585399)

OPatch succeeded.

패치가 끝나니  autoupgrade.jar도 최신 파일로 업그레이드 된다.

 

1,config 파일 샘플 생성 및 자성

$ORACLE_HOME/jdk/bin/java -jar $ORACLE_HOME/rdbms/admin/autoupgrade.jar -create_sample_file config

cp sample_config.cfg config.cfg

vi config.cfg

#
# Sample config file for AutoUpgrade
#
# build version 23.4.230921
# build date    2023/09/21 14:43:05 -0400
#
#
# Global configurations
#
# This directory will include the following:
#   (1) AutoUpgrade''s global directory
#   (2) Any logs, not directly tied to a job
#   (3) Config files
#   (4) progress.json and status.json
global.autoupg_log_dir=/home/oracle/upg_logs

#
# Database number 1 - Full DB/CDB upgrade
#
upg1.log_dir=/home/oracle/upg_logs/aracdb            # Path of the log directory for the upgrade job
upg1.sid=ORA12C                                              # ORACLE_SID of the source DB/CDB
upg1.source_home=/u01/app/oracle/product/12C/db_1  # Path of the source ORACLE_HOME
upg1.target_home=/u01/app/oracle/product/19C/db_1  # Path of the target ORACLE_HOME
upg1.start_time=NOW                                       # Optional. [NOW | +XhYm (X hours, Y minutes after launch) | dd/mm/yyyy hh:mm:ss]
upg1.upgrade_node=ora12c                                # Optional. To find out the name of your node, run the hostname utility. Default is ''localhost''
#upg1.run_utlrp=[yes|no]                                  # Optional. Whether or not to run utlrp after upgrade
#upg1.timezone_upg=[yes|no]                               # Optional. Whether or not to run the timezone upgrade
upg1.target_version=19                                # Oracle version of the target ORACLE_HOME.  Only required when the target Oracle database version is 12.2

 

2. 초기 분석 작업

[oracle@aracdb ~]$ $ORACLE_HOME/jdk/bin/java -jar $ORACLE_HOME/rdbms/admin/autoupgrade.jar -config config.txt -mode analyze
AutoUpgrade 23.4.230921 launched with default internal options
Processing config file ...
+--------------------------------+
| Starting AutoUpgrade execution |
+--------------------------------+
1 Non-CDB(s) will be analyzed
Type 'help' to list console commands
upg> Job 100 completed
------------------- Final Summary --------------------
Number of databases            [ 1 ]

Jobs finished                  [1]
Jobs failed                    [0]

Please check the summary report at:
/home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.html
/home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.log

로그 확인 필요!!!!

vi /home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.log

[Stage Name]    PRECHECKS
[Status]        FAILURE
[Start Time]    2024-02-07 17:07:13
[Duration]
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/100/prechecks
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/100/prechecks/ora12c_preupgrade.log
                Check failed for ORA12C, manual intervention needed for the below checks
                [FLASH_RECOVERY_AREA_SETUP, ARCHIVE_MODE_ON]
원인:
이유: 데이터베이스 검사와 관련하여 /home/oracle/upg_logs/aracdb/ORA12C/100/prechecks에 실패 세부정보가 있습니다.
조치: [MANUAL]
정보: 반환 상태가 ERROR입니다.
ExecutionError: 아니오
오류 메시지: 없음

 

에러 화인 기존 12C 환경에서 FLASH_RECOVERY_AREA_SETUP, ARCHIVE_MODE_ON 

설정을 해줘야 한다.

아카이이브 모드 설정 완료

 

FRA 영역 설정 완료

fra 경로 사이즈 설정

===============================================
SQL> alter system set db_recovery_file_dest_size = 10G;  
System altered.
fra 경로 설정
SQL> alter system set db_recovery_file_dest = '/oradata/fra';
System altered.

===============================================

다시 초기  분석 시작 

 


[oracle@ORA12C ~]$ $ORACLE_HOME/jdk/bin/java -jar $ORACLE_HOME/rdbms/admin/autoupgrade.jar -config config.txt -mode analyze
AutoUpgrade 23.4.230921 launched with default internal options
구성 파일 처리 중...
+--------------------------------+
| 자동 업그레이드 실행 시작 중 |
+--------------------------------+
1 Non-CDB(s) will be analyzed
콘솔 명령을 나열하려면 'help'을(를) 입력하십시오.
upg> status

Config
        User configuration file    [/home/oracle/config.txt]
        General logs location      [/home/oracle/upg_logs/cfgtoollogs/upgrade/auto]
        Mode                       [ANALYZE]
Jobs Summary

        Total databases in configuration file [1]
        Total Non-CDB being processed         [1]
        Total Containers being processed      [0]
        Jobs finished successfully            [0]
        Jobs finished/stopped                 [0]
        Jobs in progress                      [1]

Progress
        +---+---------------------------------------------------------+
        |Job|                                                 Progress|
        +---+---------------------------------------------------------+
        |101|[|||||||||||||||||                                 ] 33 %|
        +---+---------------------------------------------------------+

upg> /

Config
        User configuration file    [/home/oracle/config.txt]
        General logs location      [/home/oracle/upg_logs/cfgtoollogs/upgrade/auto]
        Mode                       [ANALYZE]
Jobs Summary

        Total databases in configuration file [1]
        Total Non-CDB being processed         [1]
        Total Containers being processed      [0]
        Jobs finished successfully            [0]
        Jobs finished/stopped                 [0]
        Jobs in progress                      [1]

Progress
        +---+---------------------------------------------------------+
        |Job|                                                 Progress|
        +---+---------------------------------------------------------+
        |101|[|||||||||||||||||                                 ] 33 %|
        +---+---------------------------------------------------------+

upg> /

Config
        User configuration file    [/home/oracle/config.txt]
        General logs location      [/home/oracle/upg_logs/cfgtoollogs/upgrade/auto]
        Mode                       [ANALYZE]
Jobs Summary
        Total databases in configuration file [1]
        Total Non-CDB being processed         [1]
        Total Containers being processed      [0]

        Jobs finished successfully            [0]
        Jobs finished/stopped                 [0]
        Jobs in progress                      [1]

Progress
        +---+---------------------------------------------------------+
        |Job|                                                 Progress|
        +---+---------------------------------------------------------+
        |101|[|||||||||||||||||                                 ] 33 %|
        +---+---------------------------------------------------------+
upg> status

Config

        User configuration file    [/home/oracle/config.txt]
        General logs location      [/home/oracle/upg_logs/cfgtoollogs/upgrade/auto]
        Mode                       [ANALYZE]
Jobs Summary

        Total databases in configuration file [1]
        Total Non-CDB being processed         [1]
        Total Containers being processed      [0]
        Jobs finished successfully            [0]
        Jobs finished/stopped                 [0]
        Jobs in progress                      [1]

Progress
        +---+---------------------------------------------------------+
        |Job|                                                 Progress|
        +---+---------------------------------------------------------+
        |101|[|||||||||||||||||                                 ] 33 %|
        +---+---------------------------------------------------------+

upg> ljs
알 수 없는 CMD: ljs
upg> status

Config

        User configuration file    [/home/oracle/config.txt]
        General logs location      [/home/oracle/upg_logs/cfgtoollogs/upgrade/auto]
        Mode                       [ANALYZE]
Jobs Summary

        Total databases in configuration file [1]
        Total Non-CDB being processed         [1]
        Total Containers being processed      [0]

        Jobs finished successfully            [0]
        Jobs finished/stopped                 [0]
        Jobs in progress                      [1]

Progress
        +---+---------------------------------------------------------+
        |Job|                                                 Progress|
        +---+---------------------------------------------------------+
        |101|[|||||||||||||||||                                 ] 33 %|
        +---+---------------------------------------------------------+
upg> /
Config

        User configuration file    [/home/oracle/config.txt]
        General logs location      [/home/oracle/upg_logs/cfgtoollogs/upgrade/auto]
        Mode                       [ANALYZE]
Jobs Summary

        Total databases in configuration file [1]
        Total Non-CDB being processed         [1]
        Total Containers being processed      [0]
        Jobs finished successfully            [0]
        Jobs finished/stopped                 [0]
        Jobs in progress                      [1]

Progress
        +---+---------------------------------------------------------+
        |Job|                                                 Progress|
        +---+---------------------------------------------------------+
        |101|[|||||||||||||||||                                 ] 33 %|
        +---+---------------------------------------------------------+

upg> Job 101 completed
------------------- Final Summary --------------------
Number of databases            [ 1 ]

Jobs finished                  [1]
Jobs failed                    [0]

 

로그 확인 완료

[oracle@ORA12C ~]$ cat /home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.log
==========================================
          Autoupgrade Summary Report
==========================================
[Date]           Wed Feb 07 17:28:14 KST 2024
[Number of Jobs] 1
==========================================
[Job ID] 101
==========================================
[DB Name]                ORA12C
[Version Before Upgrade] 12.2.0.1.0
[Version After Upgrade]  19.22.0.0.0
------------------------------------------
[Stage Name]    PRECHECKS
[Status]        SUCCESS
[Start Time]    2024-02-07 17:27:23
[Duration]       
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/101/prechecks
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/101/prechecks/ora12c_preupgrade.log
                Check passed and no manual intervention needed
------------------------------------------

 

3. 사전 작업 

[oracle@aracdb ~]$ $ORACLE_HOME/jdk/bin/java -jar $ORACLE_HOME/rdbms/admin/autoupgrade.jar -config config.txt -mode fixups
AutoUpgrade 23.4.230921 launched with default internal options
Processing config file ...
+--------------------------------+
| Starting AutoUpgrade execution |
+--------------------------------+
1 Non-CDB(s) will be processed
Type 'help' to list console commands
upg> lsj -p
+----+-------+---------+---------+-------+----------+-------+----------------------------+
|Job#|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|                     MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------+
| 103| aracdb|PRECHECKS|EXECUTING|RUNNING|  14:44:35| 0s ago|Loading database information|
+----+-------+---------+---------+-------+----------+-------+----------------------------+
Total jobs 1

upg> /
+----+-------+---------+---------+-------+----------+-------+----------------------------+
|Job#|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|                     MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------+
| 103| aracdb|PRECHECKS|EXECUTING|RUNNING|  14:44:35| 0s ago|Loading database information|
+----+-------+---------+---------+-------+----------+-------+----------------------------+
Total jobs 1

upg> /
+----+-------+---------+---------+-------+----------+-------+-------+
|Job#|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+-------+
| 103| aracdb|PREFIXUPS|EXECUTING|RUNNING|  14:44:35| 0s ago|       |
+----+-------+---------+---------+-------+----------+-------+-------+
Total jobs 1

upg> /
+----+-------+---------+---------+-------+----------+-------+------------------+
|Job#|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|           MESSAGE|
+----+-------+---------+---------+-------+----------+-------+------------------+
| 103| aracdb|PREFIXUPS|EXECUTING|RUNNING|  14:44:35| 1s ago|Refreshing DB info|
+----+-------+---------+---------+-------+----------+-------+------------------+
Total jobs 1

upg> /
+----+-------+---------+---------+-------+----------+-------+------------------+
|Job#|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|           MESSAGE|
+----+-------+---------+---------+-------+----------+-------+------------------+
| 103| aracdb|PREFIXUPS|EXECUTING|RUNNING|  14:44:35| 0s ago|Refreshing DB info|
+----+-------+---------+---------+-------+----------+-------+------------------+
Total jobs 1

upg> /Job 103 completed
------------------- Final Summary --------------------
Number of databases            [ 1 ]
Jobs finished                  [1]
Jobs failed                    [0]

Please check the summary report at:
/home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.html
/home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.log

 

로그 확인 완료

==========================================
          Autoupgrade Summary Report
==========================================
[Date]           Wed Feb 07 17:32:40 KST 2024
[Number of Jobs] 1
==========================================
[Job ID] 102
==========================================
[DB Name]                ORA12C
[Version Before Upgrade] 12.2.0.1.0
[Version After Upgrade]  19.22.0.0.0
------------------------------------------
[Stage Name]    PRECHECKS
[Status]        SUCCESS
[Start Time]    2024-02-07 17:30:47
[Duration]      0:00:10
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/102/prechecks
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/102/prechecks/ora12c_preupgrade.log
                Check passed and no manual intervention needed
------------------------------------------
[Stage Name]    PREFIXUPS
[Status]        SUCCESS
[Start Time]    2024-02-07 17:30:58
[Duration]       
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/102/prefixups
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/102/prefixups/prefixups.html
------------------------------------------

이상 없음

 

4. 업그레이드


[oracle@ORA12C ~]$ $ORACLE_HOME/jdk/bin/java -jar $ORACLE_HOME/rdbms/admin/autoupgrade.jar -config config.txt -mode deploy
AutoUpgrade 23.4.230921 launched with default internal options
구성 파일 처리 중...
+--------------------------------+
| 자동 업그레이드 실행 시작 중 |
+--------------------------------+
1 Non-CDB(s) will be processed
콘솔 명령을 나열하려면 'help'을(를) 입력하십시오.
upg> lsj -p
+-----+-------+---------+---------+-------+----------+-------+----------------------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|                     MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+----------------------------+
|  103| ORA12C|PRECHECKS|EXECUTING|RUNNING|  17:34:32| 4s ago|Loading database information|
+-----+-------+---------+---------+-------+----------+-------+----------------------------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+-------+-------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+-------+
|  103| ORA12C|PREFIXUPS|EXECUTING|RUNNING|  17:34:32| 0s ago|       |
+-----+-------+---------+---------+-------+----------+-------+-------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+-------+------------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|           MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+------------------+
|  103| ORA12C|PREFIXUPS|EXECUTING|RUNNING|  17:34:32| 4s ago|Refreshing DB info|
+-----+-------+---------+---------+-------+----------+-------+------------------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+-------+------------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|           MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+------------------+
|  103| ORA12C|PREFIXUPS|EXECUTING|RUNNING|  17:34:32| 0s ago|Refreshing DB info|
+-----+-------+---------+---------+-------+----------+-------+------------------+
총 작업 1


upg> /
+-----+-------+-----+---------+-------+----------+-------+---------+
|작업 번호|DB_NAME|STAGE|OPERATION| STATUS|START_TIME|UPDATED|  MESSAGE|
+-----+-------+-----+---------+-------+----------+-------+---------+
|  103| ORA12C|DRAIN|EXECUTING|RUNNING|  17:34:32|28s ago|데이터베이스 종료|
+-----+-------+-----+---------+-------+----------+-------+---------+
총 작업 1


upg> /
+-----+-------+---------+---------+-------+----------+-------+-------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+-------+
|  103| ORA12C|DBUPGRADE|EXECUTING|RUNNING|  17:34:32| 0s ago|Running|
+-----+-------+---------+---------+-------+----------+-------+-------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+-------+-----------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|          MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+-----------------+
|  103| ORA12C|DBUPGRADE|EXECUTING|RUNNING|  17:34:32| 2s ago|0%을(를) 업그레이드했습니다.|
+-----+-------+---------+---------+-------+----------+-------+-----------------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+--------+-----------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME| UPDATED|          MESSAGE|
+-----+-------+---------+---------+-------+----------+--------+-----------------+
|  103| ORA12C|DBUPGRADE|EXECUTING|RUNNING|  17:34:32|118s ago|5%을(를) 업그레이드했습니다.|
+-----+-------+---------+---------+-------+----------+--------+-----------------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+-------+------------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|           MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+------------------+
|  103| ORA12C|DBUPGRADE|EXECUTING|RUNNING|  17:34:32| 0s ago|10%을(를) 업그레이드했습니다.|
+-----+-------+---------+---------+-------+----------+-------+------------------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+-------+------------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|           MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+------------------+
|  103| ORA12C|DBUPGRADE|EXECUTING|RUNNING|  17:34:32| 5s ago|21%을(를) 업그레이드했습니다.|
+-----+-------+---------+---------+-------+----------+-------+------------------+
총 작업 1

upg> /
+-----+-------+---------+---------+-------+----------+-------+------------------+
|작업 번호|DB_NAME|    STAGE|OPERATION| STATUS|START_TIME|UPDATED|           MESSAGE|
+-----+-------+---------+---------+-------+----------+-------+------------------+
|  103| ORA12C|DBUPGRADE|EXECUTING|RUNNING|  17:34:32|63s ago|21%을(를) 업그레이드했습니다.|
+-----+-------+---------+---------+-------+----------+-------+------------------+
총 작업 1

upg> Job 103 completed
------------------- Final Summary --------------------
Number of databases            [ 1 ]

Jobs finished                  [1]
Jobs failed                    [0]
Jobs restored                  [0]
Jobs pending                   [0]

---- 더 이상 필요하지 않다고 생각되면 편리하게 GRP를 삭제하십시오. ----
ORA12C에서 GRP 삭제: 복원 지점 AUTOUPGRADE_9212_ORA12C122010 삭제


Please check the summary report at:
/home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.html
/home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.log

 

로그 확인

[oracle@ORA12C ~]$ cat /home/oracle/upg_logs/cfgtoollogs/upgrade/auto/status/status.log
==========================================
          Autoupgrade Summary Report
==========================================
[Date]           Wed Feb 07 18:07:33 KST 2024
[Number of Jobs] 1
==========================================
[Job ID] 103
==========================================
[DB Name]                ORA12C
[Version Before Upgrade] 12.2.0.1.0
[Version After Upgrade]  19.22.0.0.0
------------------------------------------
[Stage Name]    GRP
[Status]        SUCCESS
[Start Time]    2024-02-07 17:34:33
[Duration]      0:00:01
[Detail]        Please drop the following GRPs after Autoupgrade completes:
                 AUTOUPGRADE_9212_ORA12C122010
------------------------------------------
[Stage Name]    PREUPGRADE
[Status]        SUCCESS
[Start Time]    2024-02-07 17:34:34
[Duration]      0:00:00
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/preupgrade
------------------------------------------
[Stage Name]    PRECHECKS
[Status]        SUCCESS
[Start Time]    2024-02-07 17:34:34
[Duration]      0:00:11
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/prechecks
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/103/prechecks/ora12c_preupgrade.log
                Check passed and no manual intervention needed
------------------------------------------
[Stage Name]    PREFIXUPS
[Status]        SUCCESS
[Start Time]    2024-02-07 17:34:46
[Duration]      0:00:09
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/prefixups
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/103/prefixups/prefixups.html
------------------------------------------
[Stage Name]    DRAIN
[Status]        SUCCESS
[Start Time]    2024-02-07 17:34:56
[Duration]      0:00:30
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/drain
------------------------------------------
[Stage Name]    DBUPGRADE
[Status]        SUCCESS
[Start Time]    2024-02-07 17:35:26
[Duration]      0:25:50
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/dbupgrade
------------------------------------------
[Stage Name]    POSTCHECKS
[Status]        SUCCESS
[Start Time]    2024-02-07 18:01:34
[Duration]      0:00:00
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/postchecks
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/103/postchecks/ora12c_postupgrade.log
                Check passed and no manual intervention needed
------------------------------------------
[Stage Name]    POSTFIXUPS
[Status]        SUCCESS
[Start Time]    2024-02-07 18:01:35
[Duration]      0:04:36
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/postfixups
[Detail]        /home/oracle/upg_logs/aracdb/ORA12C/103/postfixups/postfixups.html
------------------------------------------
[Stage Name]    POSTUPGRADE
[Status]        SUCCESS
[Start Time]    2024-02-07 18:06:12
[Duration]      0:01:20
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/postupgrade
------------------------------------------
[Stage Name]    SYSUPDATES
[Status]        SUCCESS
[Start Time]    2024-02-07 18:07:33
[Duration]       
[Log Directory] /home/oracle/upg_logs/aracdb/ORA12C/103/sysupdates
------------------------------------------
Summary: /home/oracle/upg_logs/aracdb/ORA12C/103/dbupgrade/upg_summary.log
[oracle@ORA12C ~]$ .

 

5. 업그레이드 완료 후 인벨리드 오브젝트 처리

 

[oracle@ORA12C ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Feb 7 18:40:15 2024
Version 19.22.0.0.0
Copyright (c) 1982, 2023, Oracle.  All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.22.0.0.0

SQL> col instance_name form a20
SQL> col version form a20
SQL> col status form a10
SQL> select instance_name, version, status from v$instance;

INSTANCE_NAME        VERSION              STATUS
-------------------- -------------------- ----------
ORA12C               19.0.0.0.0           OPEN

SQL> set lines 200
SQL> set pages 100
SQL> col comp_id form a10
SQL> col comp_name form a50
SQL> col version_full form a20
SQL> col status form a20
SQL> select COMP_ID, COMP_NAME, VERSION_FULL, STATUS from DBA_REGISTRY;

COMP_ID    COMP_NAME                                          VERSION_FULL         STATUS
---------- -------------------------------------------------- -------------------- --------------------
CATALOG    Oracle Database Catalog Views                      19.22.0.0.0          VALID
CATPROC    Oracle Database Packages and Types                 19.22.0.0.0          VALID
JAVAVM     JServer JAVA Virtual Machine                       19.22.0.0.0          VALID
XML        Oracle XDK                                         19.22.0.0.0          VALID
CATJAVA    Oracle Database Java Packages                      19.22.0.0.0          VALID
APS        OLAP Analytic Workspace                            19.22.0.0.0          VALID
RAC        Oracle Real Application Clusters                   19.22.0.0.0          OPTION OFF
XDB        Oracle XML Database                                19.22.0.0.0          VALID
OWM        Oracle Workspace Manager                           19.22.0.0.0          VALID
CONTEXT    Oracle Text                                        19.22.0.0.0          VALID
ORDIM      Oracle Multimedia                                  19.22.0.0.0          VALID
SDO        Spatial                                            19.22.0.0.0          VALID
XOQ        Oracle OLAP API                                    19.22.0.0.0          VALID
OLS        Oracle Label Security                              19.22.0.0.0          VALID
DV         Oracle Database Vault                              19.22.0.0.0          VALID

15 rows selected.

SQL> @?/rdbms/admin/utlrp

Session altered.


TIMESTAMP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN              2024-02-07 18:44:24

DOC>   The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC>   objects in the database. Recompilation time is proportional to the
DOC>   number of invalid objects in the database, so this command may take
DOC>   a long time to execute on a database with a large number of invalid
DOC>   objects.
DOC>
DOC>   Use the following queries to track recompilation progress:
DOC>
DOC>   1. Query returning the number of invalid objects remaining. This
DOC>      number should decrease with time.
DOC>         SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC>   2. Query returning the number of objects compiled so far. This number
DOC>      should increase with time.
DOC>         SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC>   This script automatically chooses serial or parallel recompilation
DOC>   based on the number of CPUs available (parameter cpu_count) multiplied
DOC>   by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC>   On RAC, this number is added across all RAC nodes.
DOC>
DOC>   UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC>   recompilation. Jobs are created without instance affinity so that they
DOC>   can migrate across RAC nodes. Use the following queries to verify
DOC>   whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC>   1. Query showing jobs created by UTL_RECOMP
DOC>         SELECT job_name FROM dba_scheduler_jobs
DOC>            WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC>   2. Query showing UTL_RECOMP jobs that are running
DOC>         SELECT job_name FROM dba_scheduler_running_jobs
DOC>            WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
PL/SQL procedure successfully completed.


TIMESTAMP
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_END              2024-02-07 18:44:25

DOC> The following query reports the number of invalid objects.
DOC>
DOC> If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#

OBJECTS WITH ERRORS
-------------------
                  0

DOC> The following query reports the number of exceptions caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC> Note: Typical compilation errors (due to coding errors) are not
DOC>       logged into this table: they go into DBA_ERRORS instead.
DOC>#

ERRORS DURING RECOMPILATION
---------------------------
                          0

Function created.
PL/SQL procedure successfully completed.
Function dropped.


PL/SQL procedure successfully completed.

SQL>  select DBMS_DST.GET_LATEST_TIMEZONE_VERSION from dual;

GET_LATEST_TIMEZONE_VERSION
---------------------------
                         42

 

SQL> col version for a24

SQL> col version for 999999  

SQL> select FILENAME, VERSION from V$TIMEZONE_FILE;
FILENAME             VERSION
-------------------- -------
timezlrg_42.dat           42

 

 

 

참조 :

AutoUpgrade Tool (문서 ID 2485457.1)

https://dataforum.io/pages/viewpage.action?pageId=57573378#AutoUpgrade%EB%A5%BC%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC11.2.0.4%EC%97%90%EC%84%9C19c%EB%A1%9C%EC%97%85%EA%B7%B8%EB%A0%88%EC%9D%B4%EB%93%9C%ED%95%98%EA%B8%B0-%EC%82%AC%EC%A0%84%EC%A4%80%EB%B9%84

 

반응형

'ORACLE > ADMIN' 카테고리의 다른 글

ASMLib사용 ASM 디스크 그룹 생성 및 추가  (0) 2024.02.23
ASM 디스크 그룹 삭제 방법  (0) 2024.02.22
single to rac 방법  (0) 2024.01.29
12.2.0.1 기준 rac to single로 변환  (0) 2024.01.28
12C RAC GIRU Patch ROLLBACK  (0) 2024.01.26
Posted by [PineTree]
ORACLE/TroubleShooting2024. 2. 6. 17:23
반응형

19C(19.3) RAC 노 패치 기준 테스트 

 

참조 : How to Reinstall Oracle Grid Infrastructure Without Disturbing RDBMS Installation (문서 ID 1276975.1)

 

0. RAC 현재 상태

-- 패치 정보

[racdb1:/home/oracle]> opatch lspatches
29585399;OCW RELEASE UPDATE 19.3.0.0.0 (29585399)
29517242;Database Release Update : 19.3.0.0.190416 (29517242)

-- voting disk 정보

[racdb1:/home/oracle]> crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   a2cd2b1080754f3dbfd1dd9cfc288076 (/dev/oracleasm/disks/CRS1) [CRS]
 2. ONLINE   3d09921f15d14f46bf07b9802ba755d4 (/dev/oracleasm/disks/CRS3) [CRS]
 3. ONLINE   4b80c0d6281c4f13bfbb26f44031a142 (/dev/oracleasm/disks/CRS2) [CRS]
3개의 선호 디스크를 찾았습니다.
[root@rac1 disks]# olsnodes -n -i -s -t
rac1    1       <none>  Active  Unpinned
rac2    2       <none>  Active  Unpinned
[racdb1:/home/oracle]> ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     491684
         Used space (kbytes)      :      84292
         Available space (kbytes) :     407392
         ID                       :  269554171
         Device/File Name         :       +CRS
                                    Device/File integrity check succeeded
                                    Device/File not configured
                                    Device/File not configured
                                    Device/File not configured
                                    Device/File not configured
         Cluster registry integrity check succeeded
         Logical corruption check bypassed due to non-privileged user

 

-- disk 정보

[root@rac1 ~]# cd /dev/oracleasm/disks

[root@rac1 disks]# ls
ASM01  ASM02  ASM03  ASM04  ASM05  CRS1  CRS2  CRS3  CRS4  DATA  DATA2  FRA

[root@rac1 disks]# crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
ora.chad
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
ora.net1.network
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
ora.ons
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.ASMDATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        ONLINE  OFFLINE                               STABLE
ora.CRS.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.DATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.FRA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac2                     STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       rac1                     STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       rac1                     STABLE
ora.asm(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     Started,STABLE
      2        ONLINE  ONLINE       rac2                     Started,STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.asmnet1.asmnetwork(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.cvu
      1        ONLINE  ONLINE       rac1                     STABLE
ora.qosmserver
      1        ONLINE  ONLINE       rac2                     STABLE
ora.rac1.vip
      1        ONLINE  ONLINE       rac1                     STABLE
ora.rac2.vip
      1        ONLINE  ONLINE       rac2                     STABLE
ora.racdb.db
      1        ONLINE  ONLINE       rac2                     Open,HOME=/u01/app/o
                                                             racle/product/19c/db
                                                             _1,STABLE
      2        ONLINE  ONLINE       rac1                     Open,HOME=/u01/app/o
                                                             racle/product/19c/db
                                                             _1,STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       rac2                     STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       rac1                     STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       rac1                     STABLE
--------------------------------------------------------------------------------

 

1. ocr  ,voting  dd 카피로 삭제

[root@rac1 disks]# dd if=/dev/zero of=/dev/oracleasm/disks/CRS1 bs=8192
dd: `/dev/oracleasm/disks/CRS1'에 쓰는 도중 오류 발생: 장치에 남은 공간이 없음
130945+0 records in
130944+0 records out
1072693248 bytes (1.1 GB) copied, 3.63769 s, 295 MB/s
[root@rac1 disks]# dd if=/dev/zero of=/dev/oracleasm/disks/CRS2 bs=8192
dd if=/dev/zero of=/dev/oracleasm/disks/CRS3 bs=8192
dd if=/dev/zero of=/dev/oracleasm/disks/CRS4 bs=8192dd: 
dd: `/dev/oracleasm/disks/CRS2'에 쓰는 도중 오류 발생: 장치에 남은 공간이 없음
130945+0 records in
130944+0 records out
1072693248 bytes (1.1 GB) copied, 2.12309 s, 505 MB/s
[root@rac1 disks]# dd if=/dev/zero of=/dev/oracleasm/disks/CRS3 bs=8192
dd: `/dev/oracleasm/disks/CRS3'에 쓰는 도중 오류 발생: 장치에 남은 공간이 없음
130945+0 records in
130944+0 records out
1072693248 bytes (1.1 GB) copied, 3.82352 s, 281 MB/s
[root@rac1 disks]# dd if=/dev/zero of=/dev/oracleasm/disks/CRS4 bs=8192
dd: `/dev/oracleasm/disks/CRS4'에 쓰는 도중 오류 발생: 장치에 남은 공간이 없음
130945+0 records in
130944+0 records out
1072693248 bytes (1.1 GB) copied, 4.25221 s, 252 MB/s

-- 비정상 동작 확인

[root@rac1 disks]# crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. OFFLINE  04d643e792984fa7bf2c85e2a9abcac2 (/dev/oracleasm/disks/CRS1) [CRS]
 2. PENDOFFL d3be744a62074f53bf7e41621a49fadc (/dev/oracleasm/disks/CRS2) [CRS]
 3. PENDOFFL d0469877eb0d4f82bf8c6a9c45193bc8 (/dev/oracleasm/disks/CRS3) [CRS]
Located 3 voting disk(s).
[root@rac1 disks]# ocrcheck
PROT-601: Failed to initialize ocrcheck
PROC-22: The OCR backend has an invalid format

 

2. CRS  정지

<GRID_HOME>/bin/crsctl stop crs -f

-- 그리드 정지 안 될때는 리 부팅 후 그리드 시작 초반에 다시 crsctl stop crs -f로 정지 해야 된다.

 

3. 구성 해제

De-configure the clusterware on the remote nodes (typically 'node2'-'noden')
 On all remote nodes, as root on Unix platforms and as the (current) Grid Infrastructure software owner on Windows, execute the following:

Unix example:
# <GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose 

[root@rac2 install]# ./rootcrs.pl -deconfig -force -verbose
./rootcrs.pl: line 88: =head1: command not found
./rootcrs.pl: line 90: rootcrs.pl: command not found
./rootcrs.pl: line 92: =head1: command not found
./rootcrs.pl: line 94: rootcrs.pl: command not found
./rootcrs.pl: line 95: parameter-file: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 96: [-deconfig: command not found
./rootcrs.pl: line 96: file: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 97: path: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 98: path: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 99: [[-prepatch: command not found
./rootcrs.pl: line 99: path: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 100: node: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 101: [-init]: command not found
./rootcrs.pl: line 102: path: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 103: sites: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 104: conversion: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 104: -createmc: command not found
./rootcrs.pl: line 104: -rollbacksc: command not found
./rootcrs.pl: line 104: dsc: 그런 파일이나 디렉터리가 없습니다
./rootcrs.pl: line 104: -convert: command not found
./rootcrs.pl: line 106: Options:: command not found
./rootcrs.pl: line 107: -verbose: command not found
./rootcrs.pl: line 108: -upgrade: command not found
./rootcrs.pl: line 109: -lock: command not found
./rootcrs.pl: line 110: -paramfile: command not found
./rootcrs.pl: line 111: -lastnode: command not found

wtmp begins Sun Jan  2 01:04:41 2022
./rootcrs.pl: line 113: with: command not found
./rootcrs.pl: line 114: -downgrade: command not found
./rootcrs.pl: line 115: -deconfig: command not found
./rootcrs.pl: line 116: -deinstall: command not found
./rootcrs.pl: line 117: -keepdg: command not found
./rootcrs.pl: line 118: -force: command not found
./rootcrs.pl: line 119: verified: command not found
./rootcrs.pl: line 120: -unlock: command not found
./rootcrs.pl: line 121: -crshome: command not found
./rootcrs.pl: line 122: syntax error near unexpected token `('
./rootcrs.pl: line 122: `   -prepatch   Perform required steps before the Oracle patching tool (Opatch) is invoked'

 

 

4) On the local node (typically 'node1'), as root on Unix platforms and as the (current) Grid Infrastructure software owner on Windows, execute the following:
a)  ONLY EXECUTE THE FOLLOWING COMMAND IF YOUR OCR and VD files ARE CONTAINED WITHIN THEIR OWN DISKGROUP:

Unix example:
# <GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose -lastnode

 

4. 그리드 인프라스트럭처 삭제

-- 1번 노드

[racdb1:/u01/app/19c/grid/deinstall]> ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
로그 위치 /u01/app/oraInventory/logs/

############ ORACLE DECONFIG TOOL START ############


######################### DECONFIG CHECK OPERATION START #########################
## [시작] 설치 확인 구성 ##


 Oracle Clusterware 프로세스가 로컬 노드에서 실행 중이지 않으므로 설치 해제 유틸리티가 해당 홈이 구성된 노드 목록을 확인할 수 없습니다.

 다른 노드에 구성된 홈입니까(y - 예, n - 아니오)?[n]:

Oracle 홈 위치의 존재 여부를 확인하는 중/u01/app/19c/grid
설치 해제를 위해 선택된 Oracle 홈 유형: 클러스터용 Oracle Grid Infrastructure
설치 해제를 위해 선택된 Oracle 기본 위치: /u01/app/oracle
중앙 인벤토리 위치의 존재 여부를 확인하는 중/u01/app/oraInventory
Oracle Grid Infrastructure 홈의 존재 여부를 확인하는 중/u01/app/19c/grid
이 클러스터에 속한 노드: rac1
노드에 충분한 임시 공간을 사용할 수 있는지 확인하는 중: 'rac1'

## [종료] 설치 확인 구성 ##

Traces log file: /u01/app/oraInventory/logs//crsdc_2024-02-06_10-50-11-오전.log

네트워크 구성 확인 구성 시작

네트워크 구성 해제 추적 파일 위치: /u01/app/oraInventory/logs/netdc_check2024-02-06_10-50-12AM.log

구성을 해제할 RAC 리스너(SCAN 리스너 포함 안함)를 모두 지정하십시오. 모두 선택 해제하려면 .(마침표)를 입력하십시오. [ASMNET1LSNR_ASM,LISTENER,LISTENER_SCAN3,LISTENER_SCAN2,LISTENER_SCAN1]:

네트워크 구성 확인 구성 종료

ASM 확인 구성 시작

ASM 구성 해제 추적 파일 위치: /u01/app/oraInventory/logs/asmcadc_check2024-02-06_10-50-12AM.log

이 Oracle 홈에서 ASM 구성이 감지되지 않았습니다. 이 Oracle 홈 (y|n)에서 ASM을 구성했습니까? [n]: y
이 Oracle 홈 /u01/app/19c/grid에서 ASM(Automatic Storage Management) 인스턴스가 감지되었습니다.
ASM 진단 대상: /u01/app/oracle
ASM 디스크 그룹: 
ASM 디스크 문자열: /dev/oracleasm/disks/*
디스크 그룹이 삭제되지 않습니다.
 기존 디스크 그룹을 보존하려는 경우 또는 감지된 정보가 올바르지 않을 경우 'y'를 입력하여 수정할 수 있습니다. 위 정보 (y|n)을(를) 수정하겠습니까? [n]: 
데이터베이스 확인 구성 시작

데이터베이스 구성 해제 추적 파일 위치: /u01/app/oraInventory/logs/databasedc_check2024-02-06_10-50-12AM.log

이 Grid Infrastructure 홈에서 Oracle Grid 관리 데이터베이스를 찾을 수 없습니다.

데이터베이스 확인 구성 종료

######################### DECONFIG CHECK OPERATION END #########################


####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure 홈: /u01/app/19c/grid
이 클러스터에 속한 노드: rac1
Oracle 홈 설치 해제가 수행될 클러스터 노드:rac1
설치 해제를 위해 선택된 Oracle 홈: /u01/app/19c/grid
등록된 Oracle 홈이 있는 인벤토리 위치: /u01/app/oraInventory
구성을 해제할 RAC 리스너: ASMNET1LSNR_ASM,LISTENER,LISTENER_SCAN3,LISTENER_SCAN2,LISTENER_SCAN1
이 Oracle 홈에서 ASM 인스턴스의 구성이 해제됩니다.
이 Grid Infrastructure 홈에서 Oracle Grid 관리 데이터베이스를 찾을 수 없습니다.
계속하겠습니까(y - 예, n - 아니오)? [n]: y
이 세션의 로그는 '/u01/app/oraInventory/logs/deinstall_deconfig2024-02-06_10-49-07-AM.out'에 기록됩니다.
이 세션의 모든 오류 메시지는 '/u01/app/oraInventory/logs/deinstall_deconfig2024-02-06_10-49-07-AM.err'에 기록됩니다.

######################## DECONFIG CLEAN OPERATION START ########################
데이터베이스 구성 해제 추적 파일 위치: /u01/app/oraInventory/logs/databasedc_clean2024-02-06_10-50-12AM.log
ASM 구성 해제 추적 파일 위치: /u01/app/oraInventory/logs/asmcadc_clean2024-02-06_10-50-12AM.log
ASM 정리 구성 시작
ASM 정리 구성 종료

네트워크 구성 정리 구성 시작

네트워크 구성 해제 추적 파일 위치: /u01/app/oraInventory/logs/netdc_clean2024-02-06_10-50-12AM.log

RAC 리스너의 구성을 해제하는 중: ASMNET1LSNR_ASM,LISTENER,LISTENER_SCAN3,LISTENER_SCAN2,LISTENER_SCAN1

리스너의 구성을 해제하는 중: ASMNET1LSNR_ASM
    리스너를 정지하는 중: ASMNET1LSNR_ASM
    경고: 리스너 정지를 실패했습니다. 리스너가 실행 중이 아닐 수 있습니다.
리스너의 구성이 성공적으로 해제되었습니다.

리스너의 구성을 해제하는 중: LISTENER
    리스너를 정지하는 중: LISTENER
    경고: 리스너 정지를 실패했습니다. 리스너가 실행 중이 아닐 수 있습니다.
리스너의 구성이 성공적으로 해제되었습니다.

리스너의 구성을 해제하는 중: LISTENER_SCAN3
    리스너를 정지하는 중: LISTENER_SCAN3
    경고: 리스너 정지를 실패했습니다. 리스너가 실행 중이 아닐 수 있습니다.
리스너의 구성이 성공적으로 해제되었습니다.

리스너의 구성을 해제하는 중: LISTENER_SCAN2
    리스너를 정지하는 중: LISTENER_SCAN2
    경고: 리스너 정지를 실패했습니다. 리스너가 실행 중이 아닐 수 있습니다.
리스너의 구성이 성공적으로 해제되었습니다.

리스너의 구성을 해제하는 중: LISTENER_SCAN1
    리스너를 정지하는 중: LISTENER_SCAN1
    경고: 리스너 정지를 실패했습니다. 리스너가 실행 중이 아닐 수 있습니다.
리스너의 구성이 성공적으로 해제되었습니다.

모든 노드에서 이름 지정 방법 구성 파일의 구성을 해제하는 중...
이름 지정 방법 구성 파일의 구성이 성공적으로 해제되었습니다.

모든 노드에서 로컬 네트 서비스 이름 구성 파일의 구성을 해제하는 중...
로컬 네트 서비스 이름 구성 파일의 구성이 성공적으로 해제되었습니다.

모든 노드에서 디렉토리 사용 구성 파일의 구성을 해제하는 중...
디렉토리 사용 구성 파일의 구성이 성공적으로 해제되었습니다.

모든 노드에서 백업 파일의 구성을 해제하는 중...
백업 파일의 구성이 성공적으로 해제되었습니다.

네트워크 구성이 성공적으로 정리되었습니다.

네트워크 구성 정리 구성 종료


---------------------------------------->

아래의 deconfig 명령은 모든 원격 노드에서 병렬로 실행할 수 있습니다. 모든 원격 노드에서 실행이 완료된 후 로컬 노드에서 명령을 실행하십시오.

다음 명령을 "rac1" 노드에서 루트 사용자 또는 관리자로 실행하십시오.

/u01/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2024-02-06_10-48-43AM/response/deinstall_OraGI19Home1.rsp" -lastnode

위의 명령 실행을 완료한 후 Enter를 누르십시오.

<----------------------------------------

-- 1번 서버 새창에서 Enter 전에 실행 

[root@rac1 ~]# /u01/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2024-02-06_10-48-43AM/response/deinstall_OraGI19Home1.rsp" -lastnode
Using configuration parameter file: /tmp/deinstall2024-02-06_10-48-43AM/response/deinstall_OraGI19Home1.rsp
The log of current session can be found at:
  /u01/app/oraInventory/logs/crsdeconfig_rac1_2024-02-06_10-51-57AM.log
PRCR-1070 : 리소스 ora.cvu이(가) 등록되었는지 여부 확인을 실패했습니다.

CRS-0184 : Cannot communicate with the CRS daemon.

2024/02/06 10:52:05 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/srvctl stop cvu -f'
PRCR-1070 : 리소스 ora.cvu이(가) 등록되었는지 여부 확인을 실패했습니다.

CRS-0184 : CRS 데몬과 통신할 수 없습니다.

2024/02/06 10:52:06 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/srvctl remove cvu -f'
PRCR-1068 : 리소스 질의를 실패했습니다.

CRS-0184 : CRS 데몬과 통신할 수 없습니다.

2024/02/06 10:52:06 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/srvctl stop scan_listener -f'
PRCR-1068 : 리소스 질의를 실패했습니다.

CRS-0184 : CRS 데몬과 통신할 수 없습니다.

2024/02/06 10:52:07 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/srvctl remove scan_listener -y -f'
PRCR-1068 : 리소스 질의를 실패했습니다.
CRS-0184 : CRS 데몬과 통신할 수 없습니다.
2024/02/06 10:52:07 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/srvctl stop scan -f'
PRCR-1068 : 리소스 질의를 실패했습니다.
CRS-0184 : CRS 데몬과 통신할 수 없습니다.
2024/02/06 10:52:08 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/srvctl remove scan -y -f'
PRCR-1070 : 리소스 ora.net1.network이(가) 등록되었는지 여부 확인을 실패했습니다.
CRS-0184 : CRS 데몬과 통신할 수 없습니다.
PRCR-1070 : 리소스 ora.helper이(가) 등록되었는지 여부 확인을 실패했습니다.
CRS-0184 : CRS 데몬과 통신할 수 없습니다.
PRCR-1070 : 리소스 ora.ons이(가) 등록되었는지 여부 확인을 실패했습니다.
CRS-0184 : CRS 데몬과 통신할 수 없습니다.

2024/02/06 10:52:09 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/srvctl config nodeapps'

CRS-4123: Oracle 고가용성 서비스가 시작되었습니다.
CRS-2672: 'ora.evmd'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2672: 'ora.mdnsd'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2676: 'ora.mdnsd' 시작('rac1')이 성공했습니다.
CRS-2676: 'ora.evmd' 시작('rac1')이 성공했습니다.
CRS-2672: 'ora.gpnpd'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2676: 'ora.gpnpd' 시작('rac1')이 성공했습니다.
CRS-2672: 'ora.cssdmonitor'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2672: 'ora.gipcd'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2676: 'ora.cssdmonitor' 시작('rac1')이 성공했습니다.
CRS-2676: 'ora.gipcd' 시작('rac1')이 성공했습니다.
CRS-2672: 'ora.cssd'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2672: 'ora.diskmon'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2676: 'ora.diskmon' 시작('rac1')이 성공했습니다.
CRS-2676: 'ora.cssd' 시작('rac1')이 성공했습니다.
CRS-2672: 'ora.crf'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2672: 'ora.ctssd'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2672: 'ora.cluster_interconnect.haip'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2676: 'ora.crf' 시작('rac1')이 성공했습니다.
CRS-2676: 'ora.ctssd' 시작('rac1')이 성공했습니다.
CRS-2676: 'ora.cluster_interconnect.haip' 시작('rac1')이 성공했습니다.
CRS-2672: 'ora.asm'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
CRS-2676: 'ora.asm' 시작('rac1')이 성공했습니다.
CRS-2672: 'ora.storage'을(를) 'rac1'에서 시작하려고 시도하는 중입니다.
diskgroup CRS not mounted ()
CRS-5055: 클러스터에 실행 중인 ASM 인스턴스가 없으므로 ASM 인스턴스에 접속할 수 없습니다.
CRS-2674: 'ora.storage' 시작('rac1')이 실패했습니다.
CRS-2679: 'ora.storage'('rac1')을(를) 정리하려고 시도하는 중입니다.
CRS-2681: 'ora.storage' 정리('rac1')가 성공했습니다.
CRS-2673: 'ora.asm'을(를) 'rac1'에서 정지하려고 시도하는 중입니다.
CRS-2677: 'ora.asm' 정지('rac1')가 성공했습니다.
CRS-2673: 'ora.cluster_interconnect.haip'을(를) 'rac1'에서 정지하려고 시도하는 중입니다.
CRS-2677: 'ora.cluster_interconnect.haip' 정지('rac1')가 성공했습니다.
CRS-2673: 'ora.ctssd'을(를) 'rac1'에서 정지하려고 시도하는 중입니다.
CRS-2677: 'ora.ctssd' 정지('rac1')가 성공했습니다.
CRS-2673: 'ora.crf'을(를) 'rac1'에서 정지하려고 시도하는 중입니다.
CRS-2677: 'ora.crf' 정지('rac1')가 성공했습니다.
CRS-4000: Start 명령을 실패했거나 오류와 함께 완료되었습니다.
2024/02/06 11:03:31 CLSRSC-260: Clusterware exclusive mode start of Cluster Ready Services failed
2024/02/06 11:03:31 CLSRSC-558: failed to deconfigure ASM
2024/02/06 11:03:31 CLSRSC-651: One or more deconfiguration steps failed, but the deconfiguration process continued because the -force option was specified.
2024/02/06 11:03:49 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.
2024/02/06 11:05:48 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2024/02/06 11:05:52 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
2024/02/06 11:05:52 CLSRSC-559: Ensure that the GPnP profile data under the 'gpnp' directory in /u01/app/19c/grid is deleted on each node before using the software in the current Grid Infrastructure home for reconfiguration.

 

-- 2번 서버도 같은 방식으로 deinstall

 

5. OCR ,VOTING DISK 파일 ASM등록

 

[root@rac1 ~]# oracleasm createdisk CRS1 /dev/sdb1
Writing disk header: done
Instantiating disk: done

[root@rac1 ~]# oracleasm createdisk CRS 2 /dev/sdc1
Writing disk header: done
Instantiating disk: done

[root@rac1 ~]# oracleasm createdisk CRS 3 /dev/sdd1
Writing disk header: done
Instantiating disk: done

[root@rac1 ~]# oracleasm createdisk CRS4 /dev/sdh1
Writing disk header: done
Instantiating disk: done

[root@rac1 ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac1 ~]# oracleasm listdisks
ASM01
ASM02
ASM03
ASM04
ASM05
CRS1
CRS2
CRS3

CRS4
DATA
DATA2
FRA

 

6. 그리드 인프라스트럭처 재 설치

 

-- cvuqdisk 패키지 1, 2번 노드 설치

[root@rac1 ~]# cd $GRID_HOME/cv/rpm

[root@rac1 rpm]# ls -ltr
합계 12
-rw-r--r--. 1 oracle oinstall 11412  3월 13  2019 cvuqdisk-1.0.10-1.rpm
[root@rac1 rpm]# rpm -Uvh cvuqdisk-1.0.10-1.rpm 
준비 중...                         ################################# [100%]
Updating / installing...
   1:cvuqdisk-1.0.10-1                ################################# [100%]

-- SCP 로 2번 노드로 복사 후 설치

scp cvuqdisk-1.0.10-1.rpm root@rac2:/tmp/

-- 2번 서버에서 설치

[root@rac2 tmp]# rpm -Uvh cvuqdisk-1.0.10-1.rpm 
준비 중...                         ################################# [100%]
Updating / installing...
   1:cvuqdisk-1.0.10-1                ################################# [100%]

 

-- 처음에 설치 했던 대로 설치

cd $GRID_HOME
./gridSetup.sh

 

-- 설치 중  ASM 볼륨(OCR,Voting disk ) 설정

 

-- #1번 서버 설치 중 root.sh 실행하라고 나오면 1.서버 root.sh실행 후 2번서버root.sh실행

[root@rac1 grid]# ./root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/19c/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/19c/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/oracle/crsdata/rac2/crsconfig/rootcrs_rac2_2024-02-06_02-50-47PM.log
2024/02/06 14:50:56 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2024/02/06 14:50:56 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2024/02/06 14:50:57 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2024/02/06 14:50:58 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2024/02/06 14:50:58 CLSRSC-594: Executing installation step 5 of 19: 'SetupOSD'.
2024/02/06 14:50:58 CLSRSC-594: Executing installation step 6 of 19: 'CheckCRSConfig'.
2024/02/06 14:50:59 CLSRSC-594: Executing installation step 7 of 19: 'SetupLocalGPNP'.
2024/02/06 14:51:01 CLSRSC-594: Executing installation step 8 of 19: 'CreateRootCert'.
2024/02/06 14:51:01 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2024/02/06 14:51:10 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2024/02/06 14:51:10 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2024/02/06 14:51:11 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2024/02/06 14:51:12 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2024/02/06 14:51:32 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2024/02/06 14:51:41 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2024/02/06 14:51:43 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
2024/02/06 14:51:44 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2024/02/06 14:51:46 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
2024/02/06 14:51:54 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.
2024/02/06 14:52:50 CLSRSC-343: Successfully started Oracle Clusterware stack
2024/02/06 14:52:50 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
2024/02/06 14:53:08 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2024/02/06 14:53:16 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

 

7. root.sh 완료 후 제대로 실행 되었는 지 확인

 

Unix: <GRID_HOME>/bin/crsctl check cluster -all
[root@rac2 grid]# crsctl check cluster -all
**************************************************************
rac1:
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
rac2:
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************

For Grid Infrastructure Standalone: <GRID_HOME>/bin/crsctl check has

For Grid Infrastructure Standalone, it's possible you will need to re-create your ora.asm resource using the following commands:

Unix:

srvctl add asm
srvctl start asm

 

8. 기존 asm 디스크 그룹 마운트

 

-- asmca 실행 후 기존 디스크 그룹 마운트

   모두 마운트 선택

---------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.ASMDATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        ONLINE  OFFLINE                               STABLE
ora.CRS.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.DATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.FRA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE

 

9 DB 및 인스턴스 정보 등록

DB 등록

[racdb1:/home/oracle]> srvctl add database -d racdb -o $ORACLE_HOME

인스턴스 정보 등록

[racdb1:/home/oracle]> srvctl add instance -d racdb  -i racdb1 -n rac1
[racdb1:/home/oracle]> srvctl add instance -d racdb  -i racdb2 -n rac2

 

10  오라클 기동 

[racdb1:/home/oracle]> srvctl start database -d racdb
[racdb1:/home/oracle]> crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
ora.chad
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
ora.net1.network
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
ora.ons
               ONLINE  ONLINE       rac1                     STABLE
               ONLINE  ONLINE       rac2                     STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.ASMDATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        ONLINE  OFFLINE                               STABLE
ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        ONLINE  OFFLINE                               STABLE
ora.CRS.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.DATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.FRA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac1                     STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       rac2                     STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       rac2                     STABLE
ora.asm(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     Started,STABLE
      2        ONLINE  ONLINE       rac2                     Started,STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.asmnet1.asmnetwork(ora.asmgroup)
      1        ONLINE  ONLINE       rac1                     STABLE
      2        ONLINE  ONLINE       rac2                     STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.cvu
      1        ONLINE  ONLINE       rac2                     STABLE
ora.qosmserver
      1        ONLINE  ONLINE       rac2                     STABLE
ora.rac1.vip
      1        ONLINE  ONLINE       rac1                     STABLE
ora.rac2.vip
      1        ONLINE  ONLINE       rac2                     STABLE
ora.racdb.db
      1        ONLINE  ONLINE       rac1                     Open,HOME=/u01/app/o
                                                             racle/product/19c/db
                                                             _1,STABLE
      2        ONLINE  ONLINE       rac2                     Open,HOME=/u01/app/o
                                                             racle/product/19c/db
                                                             _1,STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       rac1                     STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       rac2                     STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       rac2                     STABLE
--------------------------------------------------------------------------------

 

완료!!!

반응형
Posted by [PineTree]