RAC off
This article is about enabling/disabling RAC binaries
We have the following options for checking status of various services
- RAC (Real Application Cluster)
- RAT (Real Application Testing)
- OLS (Oracle Label Security)
- DV (Database Vault)
- ASM (Automated Storage Management)
- OLAP (Oracle OLAP)
- PART (Oracle Partitioning)
- CTX (Context Management Text)
To verify options and/or enable/disable them:
$ cd $ORACLE_HOME/rdbms/lib $ar -t libknlopt.a | grep -c {file}
Where {file} is:
- RAC – kcsm.o
- RAT – kecwr.o
- OLS – kzlilbac.o
- DV – kzvidv.o
- ASM – kfon.o
- OLAP – xsyeolap.o
- PART – kkpoban.o
- CTX – kciwcx.o
Sample Output:
mydb:oracle$ar -t libknlopt.a | grep -c kcsm.o
1
Here
If the output is 0, the option is disabled.
If the output is 1, the option is enabled.
How to Enable/Disable:
To enable or disable options, please look at the following commands:
$ make -f ins_rdbms.mk {option}
Where {option} is:
- RAC – rac_on / rac_off
- RAT – rat_on / rat_off
- OLS – lbac_on / lbac_off
- DV – dv_on / dv_off
- ASM – asm_on / asm_off
- OLAP – olap_on / olap_off
- PART – part_on / part_off
- CTX – ctx_on / ctx_off
- DM – dm_on / dm_off
An example:
cd $ORACLE_HOME/rdbms/lib make -f ins_rdbms.mk rac_off --Disabling RAC binaries make -f ins_rdbms.mk ioracle --Linking to Oracle binaries
Sample Output:Check output after disabled the oracle binaries by using following command
mydb:oracle$ar -t libknlopt.a | grep -c kcsm.o 0
There is another new utility chopt available in Oracle11g Release 2 (11.2) for disable and enable binaries.
The chopt command takes care of relinking to the oracle after enable/disable binaries.
The sample command is as follows
chopt disable rat