RAC 설치시 클러스터웨어 설치 실패시 조치 방법

1. 삭제 스크립트 실행

# $ORA_CRS_HOME/install/rootdelete.sh

# $ORA_CRS_HOME/install/rootdeinstall.sh


2. 노드 application 프로세스 중단

# srvctl stop nodeapps -n <node name>


3. 부팅 시 노드 application 자동 실행 방지(root 권한으로 실행)

Sun:


# rm /etc/init.d/init.cssd

# rm /etc/init.d/init.crs

# rm /etc/init.d/init.crsd

# rm /etc/init.d/init.evmd

# rm /etc/rc3.d/K96init.crs

# rm /etc/rc3.d/S96init.crs

# rm -Rf /var/opt/oracle/scls_scr

# rm -Rf /var/opt/oracle/oprocd

# rm /etc/inittab.crs

# cp /etc/inittab.orig /etc/inittab


Linux:


# rm -f /etc/init.d/init.cssd

# rm -f /etc/init.d/init.crs

# rm -f /etc/init.d/init.crsd

# rm -f /etc/init.d/init.evmd

# rm -f /etc/rc2.d/K96init.crs

# rm -f /etc/rc2.d/S96init.crs

# rm -f /etc/rc3.d/K96init.crs

# rm -f /etc/rc3.d/S96init.crs

# rm -f /etc/rc5.d/K96init.crs

# rm -f /etc/rc5.d/S96init.crs

# rm -Rf /etc/oracle/scls_scr

# rm -f /etc/inittab.crs

# cp /etc/inittab.orig /etc/inittab


HP-UX:

# rm /sbin/init.d/init.cssd

# rm /sbin/init.d/init.crs

# rm /sbin/init.d/init.crsd

# rm /sbin/init.d/init.evmd

# rm /sbin/rc3.d/K960init.crs

# rm /sbin/rc3.d/S960init.crs

# rm -Rf /var/opt/oracle/scls_scr

# rm -Rf /var/opt/oracle/oprocd

# rm /etc/inittab.crs

# cp /etc/inittab.orig /etc/inittab


HP Tru64:


# rm /sbin/init.d/init.cssd

# rm /sbin/init.d/init.crs

# rm /sbin/init.d/init.crsd

# rm /sbin/init.d/init.evmd

# rm /sbin/rc3.d/K96init.crs

# rm /sbin/rc3.d/S96init.crs

# rm -Rf /var/opt/oracle/scls_scr

# rm -Rf /var/opt/oracle/oprocd

# rm /etc/inittab.crs

# cp /etc/inittab.orig /etc/inittab


IBM AIX:


# rm /etc/init.cssd

# rm /etc/init.crs

# rm /etc/init.crsd

# rm /etc/init.evmd

# rm /etc/rc.d/rc2.d/K96init.crs

# rm /etc/rc.d/rc2.d/S96init.crs

# rm -Rf /etc/oracle/scls_scr

# rm -Rf /etc/oracle/oprocd

# rm /etc/inittab.crs

# cp /etc/inittab.orig /etc/inittab


5. Oracle Universal Installer에서 CRS home을 선택 후 "설치해제" 


6. dd 명령으로 OCR 및 Voting File을 제거


ex)

# dd if=/dev/zero of=/dev/raw/raw1 bs=8192

# dd if=/dev/zero of=/dev/raw/raw2 bs=8192

# dd if=/dev/zero of=/dev/rdsk/V1064_vote_01_20m.dbf bs=8192 count=2560

# dd if=/dev/zero of=/dev/rdsk/ocrV1064_100m.ora bs=8192 count=12800


만약 RDBMS 설치를 제거한다면, 사용중이던 ASM 디스크도 정리합니다.

CRS를 재 설치하고자 하면, RAC 설치 매뉴얼에 기술된 순서대로 설치를 다시 진행.

참고 : 프로세스가 살아 있다면 EVM, CRS 및 CRS 프로세스를 kill 시키거나 노드를 재부팅.


ps -ef | grep crs 

ps -ef | grep evm

ps -ef | grep css

티스토리 툴바