Database Reference
In-Depth Information
Re-enabling CRS for RAC
As soon as the voting disks are available again, the RAC option can be linked back in and the
CRS configuration for RAC can be restored. Make sure any RDBMS and ASM instances are shut
down before you run make .
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk rac_on ioracle
As root, run localconfig delete to remove the current CRS configuration.
# $ORA_CRS_HOME/bin/localconfig delete
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
As long as the script $ORA_CRS_HOME/install/rootdeinstall.sh , which overwrites the OCR
with binary zeros, has not been used, there is no need to restore the backup of OCR. Considering
that a local-only configuration does not access the raw device holding the OCR, the backup is
just a precaution. The final steps consist of restoring the CRS scripts, adding entries in /etc/
inittab , and notifying the init process of the changes to inittab .
# tar xvfP crs_local_only_false.tar # -P extracts with absolute path
/etc/oracle/
/etc/rc6.d/K96init.crs
# cat inittab.crs >> /etc/inittab # append CRS entries to inittab
# telinit q # notify init of changes to inittab
After a few moments, the CRS processes are running.
# ps -ef|grep d\\.bin
root 319 31977 1 02:21 ? 00:00:01 /opt/oracle/product/crs10.2/bin/crsd.bin reboo
t
oracle 738 32624 0 02:22 ? 00:00:00 /opt/oracle/product/crs10.2/bin/ocssd.bin
oracle 32577 31975 0 02:21 ? 00:00:01 /opt/oracle/product/crs10.2/bin/evmd.bin
# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
CRS automatically starts the local ASM and RDBMS instances, given that cluster resources
are configured correctly. Multiple RAC instances are again able to open the same database.
$ env ORACLE_SID=TEN1 sqlplus / as sysdba
SQL> SELECT inst_number, trim(INST_NAME) inst_name FROM v$active_instances;
INST_NUMBER INST_NAME
----------- ------------------------------
1 dbserver1.oradbpro.com:TEN1
2 dbserver2.oradbpro.com:TEN2
 
Search WWH ::




Custom Search