Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Reconstruction of crs by oracle 10g rac

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The 1.crs file is corrupted. Delete crs information.

Rac10g1 node:

[root@rac10g01 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 is 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'

[root@rac10g01 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

[root@rac10g01 install] #

Rac10g2 node:

[root@rac10g02 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 is 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'

[root@rac10g01 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

[root@rac10g01 install] #

two。 Install crs information

Rac10g1 node:

[root@rac10g01 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

[root@rac10g01 install] # sh / u01/oracle/product/10.2.0.1/crs_1/root.sh

WARNING: directory'/ u01Accord is not owned by root 10.2.0.1'

WARNING: directory'/ u01max oracleUniverse product'is not owned by root

WARNING: directory'/ u01 bind oracle'is not owned by root

WARNING: directory'/ u01' 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'/ u01Accord is not owned by root 10.2.0.1'

WARNING: directory'/ u01max oracleUniverse product'is not owned by root

WARNING: directory'/ u01 bind oracle'is not owned by root

WARNING: directory'/ u01' is not owned by root

Successfully accumulated necessary OCR keys.

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

Node:

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 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.

Rac10g01

CSS is inactive on these nodes.

Rac10g02

Local node checking complete.

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

[root@rac10g01 install] #

Rac10g2 node:

[root@rac10g02 ~] # 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

[root@rac10g02 ~] # sh / u01/oracle/product/10.2.0.1/crs_1/root.sh

WARNING: directory'/ u01Accord is not owned by root 10.2.0.1'

WARNING: directory'/ u01max oracleUniverse product'is not owned by root

WARNING: directory'/ u01 bind oracle'is not owned by root

WARNING: directory'/ u01' 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'/ u01Accord is not owned by root 10.2.0.1'

WARNING: directory'/ u01max oracleUniverse product'is not owned by root

WARNING: directory'/ u01 bind oracle'is not owned by root

WARNING: directory'/ u01' is not 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:

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 will destroy any previous cluster

Configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 90 seconds.

/ etc/profile: line 61: ulimit: open files: cannot modify limit: Operation not pe rmitted

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

Rac10g01

Rac10g02

CSS is active on 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])]

[root@rac10g02 ~] #

3. Verification result

[oracle@rac10g02] $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

[oracle@rac10g02 ~] $

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report