目錄
Applies to:
Goal
Solution
Checking if products/components have been installed
What file contains the various status's of products/components?
Checking if products/components have been enabled/disabled at the binary level
How to enable/disable products/components at the binary level
首頁 資料庫 mysql教程 How to Check and Enable/Disable Oracle Binary Options (Doc I

How to Check and Enable/Disable Oracle Binary Options (Doc I

Jun 07, 2016 pm 03:02 PM
and check enable o

Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1] Other UNIX Goal To show how to install/deinstall and/or disable/enable the following database components at the ORACLE_HOME software/bin

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1]
Other UNIX

Goal

To show how to install/deinstall and/or disable/enable the following database components at the ORACLE_HOME software/binary level:

 
Product/Component Short Name
Automated Storage Management ASM
Context Management Text CTX
Oracle Data Mining DM
Database Vault DV
Oracle OLAP OLAP
Oracle Label Security OLS
Oracle Partitioning PART
Real Application Cluster RAC
Real Application Testing RAT

This requires advanced skills to make the changes and perform the relink.

This note WILL NOT address product specific scripts that are required at the database level for specific components to further complete the install/deinstall process.

Please refer to the appropriate Oracle Component Guide or as a starting point

Note 472937.1 Information On Installed Database Components and Schemas

Furthermore it will only cover UNIX/LINUX and Windows where applicable covering versions 9.2.0.x through 11.2.0.x.

Solution

Checking if products/components have been installed

Starting with releases 11.1.0.7.x and above all products are installed by default and the option to customize the product/component selection is no longer possible.
The only customization that can be done on these releases is to enable or disable certain products/components which will be covered in the following divs.

For versions 9.2.0.x through 11.1.0.6.x product installation can be confirmed in the following manner:

1. Using the Oracle Universal Installer (OUI) from either the $ORACLE_HOME/oui/bin or software installation media:

$ cd

$ ./runInstaller

  click on "Installed Products"
  select the ORACLE_HOME
  click on "Expand All"
  Review the list or products installed.

2. Use the opatch utility:

$ export PATH=$ORACLE_HOME/OPatch:$PATH

$ opatch lsinventory -detail

Review the log file in either $ORACLE_HOME/.patch_storage/ or $ORACLE_HOME/cfgtoollogs/opatch/lsinv

Use the following notes to assist with product identification:

Note 783288.1 Oracle Database Software Component Guide for 10gR2

Note 783290.1 Oracle Database Software Component Guide for 11gR1

What file contains the various status's of products/components?

Once the products/components have been confirmed as being installed (applicable only to versions 9.2.0.x through 11.1.0.6.x) then they can be enabled/disabled at the binary level.

The file that contains the status of components being enabled or disabled is:

$ORACLE_HOME/rdbms/lib/libknlopt.a

The relevant files contained within this archive and status's associated with them are:

Automatic Storage Mgt ON=kfon.o
Automatic Storage Mgt OFF=kfoff.o

Context Management Text ON=kciwcx.o
Oracle Data Mining ON=dmwdm.o
Oracle Data Mining OFF=dmndm.o

Oracle Database Vault ON=kzvidv.o
Oracle Database Vault OFF=kzvndv.o

Oracle OLAP ON=xsyeolap.o
Oracle OLAP OFF=xsnoolap.o

Oracle Label Security ON= kzlilbac.o
Oracle Label Security OFF= kzlnlbac.o

Oracle Partitioning ON=kkpoban.o
Oracle Partitioning OFF=ksnkkpo.o

Real Application Cluster ON=kcsm.o
Real Application Cluster OFF=ksnkcs.o

Oracle Real Application Testing ON=kecwr.o
Oracle Real Application Testing OFF=kecnr.o

The following command can be used to verify the contents of the archive:

$ cd $ORACLE_HOME/rdbms/lib

$ ar -tv libknlopt.a

For IBM AIX

$ cd $ORACLE_HOME/rdbms/lib

$ ar -X64 -tv libknlopt.a

 Sample output:

$ ar -tv libknlopt.a
rw-rw-r-- 94110/42424 275432 Sep 17 08:28 2011 kkxwtp.o
rw-rw-r-- 94110/42424  46832 Sep 17 07:14 2011 ktd.o
rw-r--r-- 503/502  25144 Sep 17 06:20 2011 kxmwsd.o
rw-r--r-- 503/502  44056 Sep 17 06:14 2011 kciwcx.o
rw-rw-r-- 94110/42424   4040 Sep 17 07:16 2011 sllfls.o
rw-rw-r-- 94110/42424   4032 Sep 17 07:16 2011 kprnts.o
rw-rw-r-- 94110/42424   5104 Sep 17 07:19 2011 kzvndv.o
rw-rw-r-- 94110/42424   4016 Sep 17 06:55 2011 kdzof.o
rw-rw-r-- 94110/42424 1512392 Sep 17 07:03 2011 jox.o
rw-rw-r-- 503/502   4032 Sep 17 06:05 2011 kecwr.o
rw-r--r-- 503/502   6352 Sep 17 06:19 2011 xsyeolap.o
rw-r--r-- 503/502   4872 Sep 17 06:14 2011 kzlnlbac.o
rw-r--r-- 503/502   4024 Sep 17 06:15 2011 dmwdm.o
rw-r--r-- 503/502   4608 Sep 17 05:56 2011 kfoff.o
rw-r--r-- 503/502   5272 Sep 17 05:57 2011 ksnkcs.o
rw-r--r-- 503/502   4032 Sep 17 06:05 2011 kkpoban.o

Checking if products/components have been enabled/disabled at the binary level

An alternative to going through the $ORACLE_HOME/rdbms/lib/libknlopt.a output line by line is to check the archive for the existance of the 'ON' file noted above by running the following command:

$ cd $ORACLE_HOME/rdbms/lib

$ ar -t libknlopt.a | grep -c

For IBM AIX

$ cd $ORACLE_HOME/rdbms/lib

$ ar -X64 -t libknlopt.a | grep -c

Where is:

 
Product/Component Short Name
Automated Storage Management ASM kfon.o
Oracle Data Mining DM dmwdm.o
Database Vault DV kzvidv.o
Oracle OLAP OLAP xsyeolap.o
Oracle Label Security OLS kzlilbac.o
Oracle Partitioning PART kkpoban.o
Real Application Cluster RAC kcsm.o
Real Application Testing RAT kecwr.o

For example:

$ ar -t libknlopt.a | grep -c kfon.o

For IBM AIX

$ ar -X64 -t libknlopt.a | grep -c kfon.o

If the output is 0, the option is disabled.

If the output is 1, the option is enabled.

How to enable/disable products/components at the binary level

For all versions 9.2.0.x through 11.2.0.x or above products/components can be enabled or disabled by running 'make' commands and passing the appropriate switch.

Note:
All processes running from the ORACLE_HOME including but not limited to databases, listeners, intelligent agents, etc. must be shutdown/stopped before issuing these commands.

For example to enable/disable Oracle Partitioning:

Enable
------

$ cd $ORACLE_HOME/rdbms/lib

$ make -f ins_rdbms.mk part_on ioracle

Disable
-------

$ cd $ORACLE_HOME/rdbms/lib

$ make -f ins_rdbms.mk part_off ioracle

The list of switches for each product/component are:

 
Product/Component Enable Switch Disable Switch
Automated Storage Management asm_on asm_off
Oracle Data Mining dm_on dm_off
Database Vault dv_on dv_off
Oracle OLAP olap_on olap_off
Oracle Label Security lbac_on lbac_off
Oracle Partitioning part_on part_off
Real Application Cluster rac_on rac_off
Real Application Testing rat_on rat_off

Warning: switching on ASM should only be done on Grid Infrastructure Homes in Oracle 11gR2. Doing it on an RDBMS ORACLE_HOME will result in errors on startup.

Starting with 11.2 and above there is a utility called 'chopt' that can be used in UNIX/LINUX and WINDOWS as well.

usage:

chopt

For example to enable/disable Oracle Partitioning:

Enable
------
--
$ chopt enable partitioning

Disable
-------
--
$ chopt disable partitioning

This utility only works for the following products/components:

 
Product/Component Option
Oracle Data Mining dm
Database Vault dv
Oracle OLAP olap
Oracle Label Security lbac
Oracle Partitioning partitioning
Real Application Testing rat


For Oracle Database 12.1 , only the following components can be enabled/disabled:

 
Product/Component Option
Oracle Data Mining dm
Oracle OLAP olap
Oracle Partitioning partitioning
Real Application Testing rat


本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

<🎜>:泡泡膠模擬器無窮大 - 如何獲取和使用皇家鑰匙
3 週前 By 尊渡假赌尊渡假赌尊渡假赌
北端:融合系統,解釋
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Mandragora:巫婆樹的耳語 - 如何解鎖抓鉤
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

熱門話題

Java教學
1669
14
CakePHP 教程
1428
52
Laravel 教程
1329
25
PHP教程
1273
29
C# 教程
1256
24
解決kernel_security_check_failure藍色畫面的17種方法 解決kernel_security_check_failure藍色畫面的17種方法 Feb 12, 2024 pm 08:51 PM

Kernelsecuritycheckfailure(內核檢查失敗)就是一個比較常見的停止代碼類型,可藍屏錯誤出現不管是什麼原因都讓很多的有用戶們十分的苦惱,下面就讓本站來為用戶們來仔細的介紹一下17種解決方法吧。 kernel_security_check_failure藍色畫面的17種解決方法方法1:移除全部外部裝置當您使用的任何外部裝置與您的Windows版本不相容時,則可能會發生Kernelsecuritycheckfailure藍色畫面錯誤。為此,您需要在嘗試重新啟動電腦之前拔下全部外部裝置。

主機板上的數位音訊輸出介面-SPDIF OUT 主機板上的數位音訊輸出介面-SPDIF OUT Jan 14, 2024 pm 04:42 PM

主機板上SPDIFOUT連接線序最近我遇到了一個問題,就是關於電線的接線順序。我上網查了一下,有些資料說1、2、4對應的是out、+5V、接地;而有些資料則說1、2、4對應的是out、接地、+5V。最好的方法是查看你的主機板說明書,如果找不到說明書,你可以使用萬用電表進行測量。首先找到接地,然後就可以確定其他的接線順序了。主機板vdg怎麼接線連接主機板的VDG接線時,您需要將VGA連接線的一端插入顯示器的VGA接口,另一端插入電腦的顯示卡VGA接口。請注意,不要將其插入主機板的VGA介面。完成連接後,您可以

電腦裡enable是什麼意思 電腦裡enable是什麼意思 Aug 30, 2023 pm 01:55 PM

電腦裡enable是指的是啟用或啟動某個功能或選項的意思,在電腦領域,enable通常用來描述在軟體或硬體中啟用某種功能或選項的過程。詳細介紹:1、在軟體方面,enable通常指的是在應用程式或作業系統中啟用某個功能;2、在硬體方面,enable通常指的是在電腦系統中啟用某個裝置或介面。

如何在Windows 11/10中關閉Palm Check 如何在Windows 11/10中關閉Palm Check Feb 19, 2024 pm 09:45 PM

本文將引導您在Windows11/10PC上關閉PalmCheck功能。 PalmCheck是一項設計用來防止在鍵盤輸入時意外手掌或其他部位的觸摸被誤識別為輸入的功能。通常可以在觸控板設定中找到,特別是在筆記型電腦等裝置上具有觸控功能的裝置。有時候,您可能需要關閉PalmCheck或類似的功能,以便在需要同時使用鍵盤和觸控板的情況下更靈活地控制輸入。在本文中,我們將介紹如何在Windows11/10PC上停用PalmCheck功能,讓您能夠更好地應對遊戲或執行應用程式時的需求。什麼是觸控板上的P

解讀Linux 系統Keepalived健康檢查機制 解讀Linux 系統Keepalived健康檢查機制 Feb 28, 2024 am 09:52 AM

在進行負載平衡時,一般都會部署一個健康檢查工具,確保後端realserver是正常的,可以提供服務的,避免出現後端realserver已經宕機或服務不可用時,負載平衡器扔將請求分發到realserver,影響整體業務訪問。健康檢查的方式很多,可以自行部署腳本,當然目前用的比較多的就是keepalived服務了。 keepalived的健康檢查方式有三種,tcp_check、http_check、misc_check。 keepalived設定簡述keepalived主要有三個模組,分別是core、

全球數字貨幣交易十大APP推薦(2025貨幣交易軟件排名) 全球數字貨幣交易十大APP推薦(2025貨幣交易軟件排名) Mar 12, 2025 pm 05:48 PM

本文推薦全球十大數字貨幣交易APP,涵蓋幣安(Binance)、OKX、火幣(Huobi Global)、Coinbase、Kraken、Gate.io、KuCoin、Bitfinex、Gemini和Bitstamp。這些平台在交易對數量、交易速度、安全性、合規性、用戶體驗等方面各有特色,例如幣安以其高交易速度和廣泛服務聞名,而Coinbase則更適合新手用戶。選擇適合自己的平台需要綜合考慮自身需求和風險承受能力。 了解全球主流數字貨幣交易平台,助您安全高效進行數字資產交易。

ubuntu系統使用vsftpd搭建FTP伺服器。 ubuntu系統使用vsftpd搭建FTP伺服器。 Feb 18, 2024 pm 05:50 PM

在Ubuntu系統上使用vsftpd搭建FTP伺服器,您可以依照下列步驟進行:安裝vsftpd:開啟終端,並執行下列指令安裝vsftpd:sudoaptupdatesudoaptinstallvsftpd設定vsftpd:使用文字編輯器(如nano或vi)開啟vsftpd的設定檔案:sudonano/etc/vsftpd.conf在設定檔中,您可以根據需要進行以下變更或新增:啟用匿名存取(如果需要):anonymous_enable=YES停用匿名上傳(如果需要):anon_upload

btc交易app怎麼安裝註冊? btc交易app怎麼安裝註冊? Feb 21, 2025 pm 07:09 PM

本篇文章將詳細介紹如何安裝和註冊比特幣交易應用。比特幣交易應用允許用戶管理和交易比特幣等加密貨幣。文章逐步指導用戶完成安裝和註冊過程,包括下載應用程序、創建賬戶、進行身份驗證和首次存款。文章的目標是為初學者提供清晰易懂的指南,幫助他們輕鬆進入比特幣交易的世界。

See all articles