`
itspace
  • 浏览: 978321 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

How to Check and Enable/Disable Oracle Binary Options [ID 948061.1]

阅读更多
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.2 - Release: 10.2 to 11.2
Other UNIX
Goal

The goal of this article is 2 parts:

   1. Verify if a given option is turned on or not
   2. Enable/Disable given options

This applies to the following options:

    * RAC (Real Appliction Cluster)
    * RAT (Real Application Testing)
    * OLS (Oracle Label Security)
    * DV (Database Vault)

Last, some unusual items to be aware of

    * ASM (Automated Storage Management)
    * OLAP (Oracle OLAP)
    * PART (Oracle Partitioning)
    * CTX (Context Management Text)

Solution

Before you can verify options and/or enable/disable them, you will need to:
cd $ORACLE_HOME/rdbms/lib

and run either or both of the following commands:
ar -t libknlopt.a | grep -c {file}

where {file} is  => OPTION - file

    * RAC - kcsm.o
    * RAT - kecwr.o
    * OLS - kzlibac.o
    * DV - kzvidv.o
    * ASM - kfon.o
    * OLAP - xsyeolap.o
    * PART - kkpoban.o
    * CTX - kciwcx.o

An example
ar -t libknlopt.a | grep -c kcsm.o
would return 0 if RAC is disabled or a number >0 if enabled


The ar command does not work on IBM AIX



To enable or disable options, please look at the following commands:
make -f ins_rdbms.mk {option}

where {option} is => OPTION - {option on} / {option off }

    * 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

An example
make -f ins_rdbms.mk asm_on

would enable ASM option

Unusual Items to be Aware Of

The V$OPTION is unchanged and you will need to refer to other documentation to change it in order to complete the changes to the options. This include but not limited to running sql scripts which changes the DB Catalog.

Lastly, the Oracle binary will need to be recompiled


$ make -f rdbms/lib/ins_rdbms.mk ioracle



Additional information is the chopt utility



This note can be made applicable for all platforms by adopting the chopt utility.

Besides working on Windows platforms, another useful feature is the fact that on UNIX/Linux platforms, it neatly displays the commands that need to be executed:

[celcaix3]/grdbms/64bit/patchdb/app/oracle/product/p11201b/rdbms/lib> chopt disable rat

Writing to /grdbms/64bit/patchdb/app/oracle/product/p11201b/install/disable_rat.log...
%s_unixOSDMakePath% -f /grdbms/64bit/patchdb/app/oracle/product/p11201b/rdbms/lib/ins_rdbms.mk rat_off
%s_unixOSDMakePath% -f /grdbms/64bit/patchdb/app/oracle/product/p11201b/rdbms/lib/ins_rdbms.mk ioracle


Note that the relink commands above are not actually being run by chopt. The user has to manually run them.

Note: The fact that chopt is showing an Installer variable is a bug.
As per "Bug 8967636: $ORACLE_HOME/BIN/CHOPT.INI NOT INSTANTIATED CORRECTLY" chopt really *should* invoke make and relink the oracle executable.

Workaround as per the bug is edit the chopt.ini file and
replace all references to %s_unixOSDMakePath% with /usr/bin/make
before running the chopt script.

Warning concerning switching on ASM should only be done on Grid Infrastructure
Homes in Oracle 11gR2. Doing it on standard RDBMS will result in errors on
startup.
分享到:
评论

相关推荐

    Think Pad恢复盘下载地址

    - **DISK1**: [71Y7097.iso](http://kbdl.lenovo.com.cn/Think/ThinkPad/X_Series/X301%20X200%20s%20X200T%20Win7-Professional%2032%20SC%2058Y3863%20disable/DISK1%2071Y7097.iso) - **DISK2**: [58Y3938.iso]...

    M25P20, M25P40, M25P80, M25P16, M25P32, SPI FLASH C语言软件驱动源码.zip

    //bit6:TE=1. SPI Transmitter enable //bit5:RE=1. SPI Receiver enable //bit4:SPIEN=1. SPI enable //bit3:SSEL=0. SPI Slave select output is disabled,use P4.7 as the Select Slave ...

    disable-enable.txt

    启用约束: enable( validate) :启用约束,创建索引,对已有及新加入的数据执行约束. enable novalidate :启用约束,创建索引,仅对新加入的数据强制执行约束,而不管表中的现有数据.

    platform-tools-r33.0.1-windows.zip.7z

    Fixes enable-verity/disable-verity on old devices. Fixes "install multiple" on old devices Improves the help output to include all supported compression methods. systrace Removed. Use Studio Profiler/...

    EJTAG Linux32/64和Windows版本

    Unlock Bypass command & disable polling /st5 ............... Use Speedtouch ST5xx flash routines instead of WRT routines /reboot............. sets the process and reboots /fc:XX = Optional ...

    ulps_enable_disable.zip

    标题 "ulps_enable_disable.zip" 暗示了这是一个与启用或禁用ULPS相关的软件配置包。ULPS,全称Ultra Low Power State(超低功耗状态),是计算机硬件,特别是显卡中的一种节能技术。它允许设备在不活动时进入一种极...

    Keil.STM32F1xx_DFP.2.1.0.pack

    Corrected Peripheral Reset and Clock enable/disable (check if peripheral is available on selected device) Corrected CTS handling and added signal CTS change event. SPI: Corrected Peripheral Reset ...

    qtcreator4.4.1.zip

    IS_GCC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I../../../src -I../../../src -I../../libs -I/opt/qt-creator-opensource-src-4.4.1/tools -I../../...

    ethminer-0.16.0.dev3

    Check our [samples](POOL_EXAMPLES_ETH.md) to see how to connect to different pools. ## Build ### Continuous Integration and development builds | CI | OS | Status | Development builds | | ----------...

    UE(官方下载)

    How to enable and disable autocorrect keywords with syntax highlighting Insert Menu Commands UltraEdit includes several special insert functions under the Insert menu. You can use these functions to ...

    KBA_160615010248_2_how_to_disable_QC3_0_.pdf

    1. **定位相关服务**:首先需要找到包含`hvdcp_opti`服务的文件。这个服务通常位于`/device/qcom/msm8996/init.target.rc`路径下。 2. **移除或注释服务**:打开该文件,找到`service hvdcp_opti /system/bin/...

    sogou_toolchain.tar.gz

    arm-openwrt-linux-g++ -c record.c -I./include -o ./obj/record.o In file included from ./include/alsa/asoundlib.h:32:0, from record.c:13: /home/rootroot/sogou/toolchain/include/sys/poll.h:1:2: warning...

    cmake-tools.vsix

    Add setting to enable/disable automatic reconfiguring of projects. #1259 Partial/full CMT activation improperly persisted for multi-root projects. #1269 Fix MacOS debugging to work out of the box. #...

    Unreliable Guide To Hacking The Linux Kernel

    6.6. local_bh_disable()/local_bh_enable() include/asm/softirq.h 16 6.7. smp_processor_id()/cpu_[number/logical]_map() include/asm/smp.h....................................................................

    arm-linux-gcc-4.3.2(交叉编译器)

    ding specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --...

    php.ini-development

    To disable this feature set this option to empty value ;user_ini.filename = ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) ;user_ini.cache_ttl = ...

    ORACLE CRS日常维护命令.docx

    ### Oracle CRS 日常维护命令详解 #### 一、Oracle CRS 概述 Oracle Cluster Ready Services (CRS) 是 Oracle RAC 集群的核心服务之一,它负责管理集群中的资源,确保应用程序和服务能够高可用地运行。对于Oracle...

    Oracle静默安装

    Oracle静默安装是针对Linux操作系统,如RedHat或CentOS,进行Oracle数据库无交互式部署的一种方法。在静默安装过程中,通常会涉及到系统配置、依赖包安装以及自动化脚本的执行。以下是一些关键步骤和注意事项: 1. ...

    imu_3dm_gx4.zip

    - Added option to enable/disable accelerometer update in the estimator. - Removed TF broadcast option. - Reformatted code base to clang-llvm convention. * **0.0.1**: - First release.

    centos 升级 glibc-2.14 教程附资源

    ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin make make install # 查看 /lib64/libc.so.6 软链接 ll /lib64/libc.so.6 /lib64/libc....

Global site tag (gtag.js) - Google Analytics