Archive

Posts Tagged ‘rac on’

RAC off

March 23, 2013 Leave a comment

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
Categories: RAC Tags: , , ,
Peasland Database Blog

Where all the Action Is !!!!

Kevin Closson's Blog: Platforms, Databases and Storage

Platform, Database and Storage Topics

DBsGuru

Where all the Action Is !!!!

sqlmaria.com/

Oracle Database Product Manager with a passion for SQL, the Optimizer and performance.

Richard Foote's Oracle Blog

Focusing Specifically On Oracle Indexes, Database Administration and Some Great Music

https://dbakevlar.com/

Where all the Action Is !!!!

Pythian Technical Track

Where all the Action Is !!!!

Tales From A Lazy Fat DBA

Its all about Databases & their performance, troubleshooting & much more .... ¯\_(ツ)_/¯

Database Heartbeat

Oracle Database and Oracle Cloud Technologies

Databases Are Fun

dohdatabase.com

Upgrade your Database - NOW!

Mike Dietrich's Blog About Oracle Database Upgrades... Mostly

Oracle database internals by Riyaj

Discussions about Oracle performance tuning, RAC, Oracle internal & E-business suite.

Pavan DBA's Blog

The DBA Knowledge Store

ORACLE-BASE - Latest Articles

Where all the Action Is !!!!