如何幹淨刪除oracle clusterware軟體__各種os version
千萬別在重灌的clusterware上面安裝oracle clusterware,不然會出各種怪問題.
摘錄deinstallation of failed and successfullly installed oracle clusterware:
PURPOSE
-------
The purpose of this document is to help DBA's and support analysts understand how
to clean up a failed CRS (Cluster Ready Services) install for 10g RAC.
SCOPE & APPLICATION
-------------------
DBA's and Support Analysts
10g RAC: How to Clean Up After a Failed CRS Install
---------------------------------------------------
Not cleaning up a failed CRS install can cause problems like node reboots.
Follow these steps to clean up a failed CRS install:
1. Run the rootdelete.sh script. then the rootdeinstall.sh script. from the
$ORA_CRS_HOME/install directory on any nodes you are removing CRS from. Running --切記:在所有的rac節點上
these scripts should be sufficent to clean up your CRS install. Rootdelete.sh
accepts options like nosharedvar/sharedvar, and nosharedhome/sharedhome. Make
yourself familiar with these options by reading the Oracle Clusterware and
Oracle Real Application Clusters Administration and Deployment Guide.
If you have any problems with these scripts please open a service request.
If for some reason you have to manually remove the install due to problems
with the scripts, continue to step 2:
2. Stop the Nodeapps on all nodes:
srvctl stop nodeapps -n
3. Prevent CRS from starting when the node boots. To do this issue the following
as 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 /etc/oracle/*
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/rc2.d/K960init.crs
rm /sbin/rc2.d/K001init.crs
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
4. If they are not already down, kill off EVM, CRS, and CSS processes or reboot
the node:
ps -ef | grep crs
kill
ps -ef | grep evm
kill
ps -ef | grep css
kill
Do not kill any OS processes, for example icssvr_daemon process !
5. If there is no other Oracle software running (like listeners, DB's, etc...),
you can remove the files in /var/tmp/.oracle or /tmp/.oracle. Example:
rm -f /var/tmp/.oracle/*
or
rm -f /tmp/.oracle/*
6. Remove the ocr.loc
Usually the ocr.loc can be found at /etc/oracle
7. De-install the CRS home in the Oracle Universal Installer
8. Remove the CRS install location:
rm -Rf
9,在/etc/inittab中清除與cr相關的記錄(一般是三行),在所有的rac節點上
10,在所有的rac節點上以oracle使用者rm -rf /orainventory目錄
11. Clean out the OCR and Voting Files with dd commands. Example:
dd if=/dev/zero f=/dev/rdsk/V1064_vote_01_20m.dbf bs=1M count=256
dd if=/dev/zero f=/dev/rdsk/ocrV1064_100m.ora bs=1M count=256
See the Clusterware Installation Guide for sizing requirements...
If you placed the OCR and voting disk on a shared filesystem, remove them.
If you are removing the RDBMS installation, also clean out any ASM disks if
they have already been used.
12. It is good practice to reboot the node before starting the next install.
13.If you would like to re-install CRS, follow the steps in the RAC Installation manual.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-613056/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 流氓軟體如何徹底刪除 流氓軟體如何解除安裝乾淨
- 如何用靜默方式刪除oracle軟體Oracle
- 如何手工刪除oracle資料庫和軟體Oracle資料庫
- 【刪除】【Oracle】完美刪除Windows系統上的Oracle軟體OracleWindows
- win10如何刪除隱藏軟體_win10刪除隱藏軟體的方法Win10
- 【RAC】刪除RAC資料庫節點(七)——刪除Oracle叢集軟體資料庫Oracle
- 從電腦中刪除勒索軟體的5種方法
- Linux 及Windows 上如何解除安裝,徹底刪除Oracle軟體LinuxWindowsOracle
- OS 刪除oracle資料檔案恢復過程Oracle
- 軟體測試人員如何避免被甩各種鍋?
- 重灌Oracle 10g RAC如何幹淨的清理系統Oracle 10g
- 如何刪除oracle資料庫Oracle資料庫
- BIEE 11g 軟體刪除
- win10如何攔截各種軟體的廣告彈窗_win10阻止各種軟體廣告視窗的步驟Win10
- 【RAC】刪除RAC資料庫節點(四)——刪除資料庫軟體及ASM軟體資料庫ASM
- Oracle叢集軟體管理-新增和刪除叢集節點Oracle
- 軟體開發各個階段用到的各種圖
- mac上如何徹底刪除IntelliJ IDEA等軟體MacIntelliJIdea
- Win10怎麼刪除軟體Win10
- 刪除 oracleOracle
- win10 刪除內建軟體方法 怎麼刪除windows10下的內建軟體Win10Windows
- oracle體系結構梳理----各種程式Oracle
- Win10如何刪除字型_win10刪除字型的兩種方法Win10
- 各種程式打包軟體的安裝命令
- Oracle解除安裝卸不乾淨,Oracle徹底刪除的辦法(winxp)Oracle
- 克隆OS、ORACLE軟體並duplicate的實戰Oracle
- oracle 刪除重複資料的幾種方法Oracle
- oracle clusterwareOracle
- Windows XP 軟體刪除常見故障(轉)Windows
- 分別用deinstall和命令列刪除Oracle資料庫軟體命令列Oracle資料庫
- Mac如何解除安裝系統自帶軟體?macbook系統軟體怎麼刪除?Mac
- ORACLE sequence各引數及建立修改刪除使用詳解示例Oracle
- Oracle體系結構之-Oracle中各種名稱Oracle
- Laravel 如何實現資料的軟刪除Laravel
- win10電腦怎麼刪除隱藏的流氓軟體 win10強制刪除流氓軟體Win10
- 安裝Oracle報Checking os version: must be redhat-3OracleRedhat
- check the OS support version before install the oracle 11gOracle
- 從oracle v$version檢視中查詢os的資訊Oracle