Oracle 10g RAC Rebuild CRS

Source: Internet
Author: User

1.crs file is corrupt, remove CRS information

RAC10G1 node:

[Email protected] install]# ./rootdelete.sh

Shutting down Oracle Cluster ready Services (CRS):

Stopping resources.

Error while stopping resources. Possible CAUSE:CRSD is down.

Stopping CSSD.

Shutting down CSS daemon.

Shutdown request successfully issued.

Shutdown has begun. The daemons should exit soon.

Checking to see if Oracle CRS stack are down ...

Oracle CRS Stack is not running.

Oracle CRS stack is down now.

Removing script for Oracle Cluster ready Services

Updating OCR file for downgrade

Cleaning up SCR settings in '/ETC/ORACLE/SCLS_SCR '

[Email protected] install]# ./rootdeinstall.sh

Removing contents from OCR mirror device

2560+0 Records in

2560+0 Records out

Removing contents from OCR device

2560+0 Records in

2560+0 Records out

[Email protected] install]#


RAC10G2 node:

[Email protected] install]# ./rootdelete.sh

Shutting down Oracle Cluster ready Services (CRS):

Stopping resources.

Error while stopping resources. Possible CAUSE:CRSD is down.

Stopping CSSD.

Shutting down CSS daemon.

Shutdown request successfully issued.

Shutdown has begun. The daemons should exit soon.

Checking to see if Oracle CRS stack are down ...

Oracle CRS Stack is not running.

Oracle CRS stack is down now.

Removing script for Oracle Cluster ready Services

Updating OCR file for downgrade

Cleaning up SCR settings in '/ETC/ORACLE/SCLS_SCR '

[Email protected] install]# ./rootdeinstall.sh

Removing contents from OCR mirror device

2560+0 Records in

2560+0 Records out

Removing contents from OCR device

2560+0 Records in

2560+0 Records out

[Email protected] install]#


2. Installing CRS Information

RAC10G1 node:

[Email protected] install]# sh/u01/oracle/orainventory/orainstroot.sh

Changing permissions of/u01/oracle/orainventory to 770.

Changing groupname of/u01/oracle/orainventory to Oinstall.

The execution of the script is complete

[Email protected] install]# sh/u01/oracle/product/10.2.0.1/crs_1/root.sh

Warning:directory '/u01/oracle/product/10.2.0.1 ' isn't owned by root

Warning:directory '/u01/oracle/product ' isn't owned by root

Warning:directory '/u01/oracle ' isn't owned by root

Warning:directory '/u01 ' isn't owned by root

Checking to see if the 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 '/u01/oracle/product/10.2.0.1 ' isn't owned by root

Warning:directory '/u01/oracle/product ' isn't owned by root

Warning:directory '/u01/oracle ' isn't owned by root

Warning:directory '/u01 ' isn't owned by root

Successfully accumulated necessary OCR keys.

Using ports:css=49895 crs=49896 evmc=49898 and evmr=49897.

Node <nodenumber>: <nodename> <private interconnect name>

Node 1:rac10g01 rac10g01-priv rac10g01

Node 2:rac10g02 rac10g02-priv rac10g02

Creating OCR keys for user ' root ', privgrp ' root '.

Operation successful.

Now formatting voting device:/DEV/RAW/RAW3

Format of 1 voting devices complete.

Startup'll is queued to init within seconds.

Adding daemons to Inittab

Expecting the CRS daemons to being up within-seconds.

CSS is active on these nodes.

Rac10g01

CSS is inactive on these nodes.

Rac10g02

Local node checking complete.

Run root.sh on remaining nodes to start CRS daemons.

[Email protected] install]#


RAC10G2 node:

[Email protected] ~]# sh/u01/oracle/orainventory/orainstroot.sh

Changing permissions of/u01/oracle/orainventory to 770.

Changing groupname of/u01/oracle/orainventory to Oinstall.

The execution of the script is complete

[Email protected] ~]# sh/u01/oracle/product/10.2.0.1/crs_1/root.sh

Warning:directory '/u01/oracle/product/10.2.0.1 ' isn't owned by root

Warning:directory '/u01/oracle/product ' isn't owned by root

Warning:directory '/u01/oracle ' isn't owned by root

Warning:directory '/u01 ' isn't owned by root

Checking to see if the 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 '/u01/oracle/product/10.2.0.1 ' isn't owned by root

Warning:directory '/u01/oracle/product ' isn't owned by root

Warning:directory '/u01/oracle ' isn't owned by root

Warning:directory '/u01 ' isn't owned by root

Clscfg:existing configuration version 3 detected.

Clscfg:version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

Using ports:css=49895 crs=49896 evmc=49898 and evmr=49897.

Node <nodenumber>: <nodename> <private interconnect name>

Node 1:rac10g01 rac10g01-priv rac10g01

Node 2:rac10g02 rac10g02-priv rac10g02

Clscfg:arguments Check out successfully.


NO KEYS were written. Supply-force parameter to override.

-force is destructive and would destroy any previous cluster

Configuration.

Oracle Cluster Registry for Cluster have already been initialized

Startup'll is queued to init within seconds.

/etc/profile:line 61:ulimit:open files:cannot Modify limit:operation not PE rmitted

Adding daemons to Inittab

Expecting the CRS daemons to being up within-seconds.

CSS is active on these nodes.

Rac10g01

Rac10g02

CSS is active in all nodes.

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS Stack installed and running under init (1M)

Running VIPCA (silent) for configuring Nodeapps

Error 0 (Native:listnetinterfaces:[3])

[Error 0 (native:listnetinterfaces:[3])]

[Email protected] ~]#


3. Verify the results

[Email protected] ~]$ crs_stat-t

Name Type Target State Host

------------------------------------------------------------

ORA....G01.GSD Application Online Online rac10g01

Ora....g01.ons Application Online Online rac10g01

ORA....G01.VIP Application Online Online rac10g01

ORA....G02.GSD Application Online Online rac10g02

Ora....g02.ons Application Online Online rac10g02

ORA....G02.VIP Application Online Online rac10g02

[Email protected] ~]$


This article is from the "Days Together" blog, please be sure to keep this source http://tongcheng.blog.51cto.com/6214144/1872338

Oracle 10g RAC rebuilding CRS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.