메뉴 건너뛰기

Korea Oracle User Group

Install/Configuration

19c RAC 2Node 삭제 하기

우뽕 2020.04.22 10:42 조회 수 : 41

삭제 하기 입니다.

 

1. db 삭제 

2. grid 삭제 

로 진행 해 보겠습니다.  

 

1. db 삭제

01.GIF

 

02.GIF

 

03.GIF

 

04.GIF

 

05.GIF

 

06.GIF

 

07.GIF

 

08.GIF

 

09.GIF

 

10.GIF

 

2. GRID 삭제

--> 1node CRS가 정지 상태 였음 

[root@db19c1(+ASM1):/dg/app/product/gihome/crs/install] ./rootcrs.sh -deconfig -force
Using configuration parameter file: /dg/app/product/gihome/crs/install/crsconfig_params
The log of current session can be found at:
  /dg/app/grid_base/crsdata/db19c1/crsconfig/crsdeconfig_db19c1_2020-04-16_02-14-37PM.log
PRCR-1070 : Failed to check if resource ora.net1.network is registered
CRS-0184 : Cannot communicate with the CRS daemon.
PRCR-1070 : Failed to check if resource ora.helper is registered
CRS-0184 : Cannot communicate with the CRS daemon.
PRCR-1070 : Failed to check if resource ora.ons is registered
CRS-0184 : Cannot communicate with the CRS daemon.

2020/04/16 14:14:50 CLSRSC-180: An error occurred while executing the command '/dg/app/product/gihome/bin/srvctl config nodeapps'
2020/04/16 14:16:10 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.
2020/04/16 14:17:01 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2020/04/16 14:17:03 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
[root@db19c1(+ASM1):/dg/app/product/gihome/crs/install] 




[root@db19c2(+ASM2):/dg/app/product/gihome/crs/install] id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[root@db19c2(+ASM2):/dg/app/product/gihome/crs/install] ls -lart rootcrs.sh
-rwxr-x---. 1 root oinstall 8048 Apr 10 20:48 rootcrs.sh
[root@db19c2(+ASM2):/dg/app/product/gihome/crs/install] 
[root@db19c2(+ASM2):/dg/app/product/gihome/crs/install] 
[root@db19c2(+ASM2):/dg/app/product/gihome/crs/install]
[root@db19c2(+ASM2):/dg/app/product/gihome/crs/install] ./rootcrs.sh -deconfig -force -lastnode
Using configuration parameter file: /dg/app/product/gihome/crs/install/crsconfig_params
The log of current session can be found at:
  /dg/app/grid_base/crsdata/db19c2/crsconfig/crsdeconfig_db19c2_2020-04-16_02-19-00PM.log
2020/04/16 14:19:44 CLSRSC-332: CRS resources for listeners are still configured
CRS-2673: Attempting to stop 'ora.crsd' on 'db19c2'
CRS-2677: Stop of 'ora.crsd' on 'db19c2' succeeded
ASM de-configuration trace file location: /dg/app/grid_base/cfgtoollogs/asmca/asmcadc_clean2020-04-16_02-26-59PM.log
ASM Clean Configuration START
ASM Clean Configuration END

ASM instance deleted successfully. Check /dg/app/grid_base/cfgtoollogs/asmca/asmcadc_clean2020-04-16_02-26-59PM.log for details.

Redirecting to /bin/systemctl restart rsyslog.service
2020/04/16 14:31:05 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.
2020/04/16 14:33:25 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2020/04/16 14:33:32 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
2020/04/16 14:33:32 CLSRSC-559: Ensure that the GPnP profile data under the 'gpnp' directory in /dg/app/product/gihome is deleted on each node before using the software in the current Grid Infrastructure home for reconfiguration.
[root@db19c2(+ASM2):/dg/app/product/gihome/crs/install] 

[root@db19c1(+ASM1):/etc] mv oratab oratab_BK
[root@db19c1(+ASM1):/etc] mv oracle oracle_BK
[root@db19c1 etc]# rm -fr oraInst.loc
[root@db19c1 etc]# 


[root@db19c2 bin]# pwd
/usr/local/bin
[root@db19c2 bin]# 
[root@db19c2 bin]# mv dbhome dbhome_BK
[root@db19c2 bin]# mv oraenv oraenv_BK
[root@db19c2 bin]# mv coraenv coraenv_BK
[root@db19c2 bin]# 

-- 디바이스 재 포맷 수행  
dd if=/dev/zero  of=/dev/raw/raw1  bs=1048576 count=100000
dd if=/dev/zero  of=/dev/raw/raw2  bs=1048576 count=100000
dd if=/dev/zero  of=/dev/raw/raw3  bs=1048576 count=100000
dd if=/dev/zero  of=/dev/raw/raw4  bs=1048576 count=100000
dd if=/dev/zero  of=/dev/raw/raw5  bs=1048576 count=100000
dd if=/dev/zero  of=/dev/raw/raw7  bs=1048576 count=100000
dd if=/dev/zero  of=/dev/raw/raw8  bs=1048576 count=100000

 

 

 

삭제는 늘 고민 후. 조심히 사용 해 주시길 바랍니다.

 

 

 

 

위로