ITPub博客

首页 > 数据库 > Oracle > oracle rac 12彻底删除,彻底删除该死的rac

oracle rac 12彻底删除,彻底删除该死的rac

Oracle 作者:flywiththewind 时间:2022-05-16 11:13:37 0 删除 编辑

oracle rac 12彻底删除,彻底删除该死的rac

彻底删除该死的rac

Oracle安装目录,包括crs等

$ORACLE_BASE

/etc/oracle

/etc/

oraInst.loc oratab

/usr/local/bin

coraenv dbhome oraenv

RAC 安装失败后的删除

dd if=/dev/zero of=/dev/raw/raw1 bs=1k count=3000

dd if=/dev/zero of=/dev/raw/raw2 bs=1k count=3000

dd if=/dev/zero of=/dev/raw/raw5 bs=1k count=3000

dd if=/dev/zero of=/dev/raw/raw6 bs=1k count=3000

dd if=/dev/zero of=/dev/raw/raw7 bs=1k count=3000

rm  -rf -rf /home/oracle/oracle/*

rm  -rf /etc/rc.d/rc5.d/S96init.crs

rm  -rf /etc/rc.d/init.d/init.crs

rm  -rf /etc/rc.d/rc4.d/K96init.crs

rm  -rf /etc/rc.d/rc6.d/K96init.crs

rm  -rf /etc/rc.d/rc1.d/K96init.crs

rm  -rf /etc/rc.d/rc0.d/K96init.crs

rm  -rf /etc/rc.d/rc2.d/K96init.crs

rm  -rf /etc/rc.d/rc3.d/S96init.crs

rm  -rf /etc/oracle/*

rm  -rf /etc/oraInst.loc

rm  -rf /etc/oratab

rm  -rf /usr/local/bin/coraenv

rm  -rf /usr/local/bin/dbhome

rm  -rf /usr/local/bin/oraenv

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 -f /etc/inittab.crs

mv /etc/inittab /etc/inittab_bak

cp /etc/inittab.orig /etc/inittab

原来没有清空裸设备里的信息 导致第一个节点 执行./root.sh 出错

[root@db1 crs]# ./root.sh

WARNING: directory '/home/oracle/oracle/product/10.2.0' is not owned by root

WARNING: directory '/home/oracle/oracle/product' is not owned by root

WARNING: directory '/home/oracle/oracle' is not owned by root

WARNING: directory '/home/oracle' is not owned by root

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/home/oracle/oracle/product/10.2.0' is not owned by root

WARNING: directory '/home/oracle/oracle/product' is not owned by root

WARNING: directory '/home/oracle/oracle' is not owned by root

WARNING: directory '/home/oracle' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

assigning default hostname db1 for node 1.

assigning default hostname db2 for node 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: db1 db1-priv db1

node 2: db2 db2-priv db2

clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 90 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

db1

db2

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Timed out waiting for the CRS stack to start.


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26224914/viewspace-2894402/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-08-30

  • 博文量
    146
  • 访问量
    207819