oracle11.2.0.4 RAC 保姆級靜默安裝(二) DB數據庫軟件

1.響應文件配置

[root@db11g1 software]# su - oracle

[oracle@db11g1 ~]$ cd /software/database/

[oracle@db11g1 database]$ cd response/

[oracle@db11g1 response]$

vi db_install.rsp

oracle.install.option=INSTALL_DB_SWONLY

ORACLE_HOSTNAME=db11g1

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/u01/app/oraInventory

SELECTED_LANGUAGES=en

ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/dbhome_1

ORACLE_BASE=/u01/app/oracle

oracle.install.db.InstallEdition=EE

oracle.install.db.DBA_GROUP=dba

oracle.install.db.OPER_GROUP=oper

oracle.install.db.CLUSTER_NODES=db11g1,db11g2

oracle.install.db.config.starterdb.type=GENERAL_PURPOSE

oracle.install.db.config.starterdb.globalDBName=orcl

oracle.install.db.config.starterdb.SID=orcl

oracle.install.db.config.starterdb.password.ALL=oracle_4U

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

2.靜默安裝

[oracle@db11g1 ~]$ cd /software/database/

[oracle@db11g1 database]$ ./runInstaller -silent -ignoreSysPrereqs -force -ignorePrereq -responseFile /software/database/response/db_install.rsp

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB. ??Actual 117613 MB ???Passed

Checking swap space: must be greater than 150 MB. ??Actual 10239 MB ???Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2025-03-12_11-52-18AM. Please wait ...[oracle@db11g1 database]$ MoTTY X11 proxy: Unsupported authorisation protocol

[FATAL] [INS-35354] The system on which you are attempting to install Oracle RAC is not part of a valid cluster.

???CAUSE: Before you can install Oracle RAC, you must install Oracle Grid Infrastructure on all servers (Oracle Clusterware and Oracle ASM) to create a cluster.

???ACTION: Oracle Grid Infrastructure is not installed. Install it either from the separate installation media included in your media pack, or install it by downloading it from Electronic Product Delivery (EPD) or the Oracle Technology Network (OTN). Oracle Grid Infrastructure normally is installed by a different operating system user than the one used for Oracle Database. It may need to be installed by your system administrator. See the installation guide for more details.

處理報錯:

[oracle@db11g1 ContentsXML]$ cd /u01/app/oraInventory/ContentsXML

[oracle@db11g1 ContentsXML]$ vi inventory.xml

兩個節點修改該文件增加CRS=”true”

3.繼續安裝

[oracle@db11g1 database]$ ./runInstaller -silent -ignoreSysPrereqs ?-ignorePrereq -responseFile /software/database/response/db_install.rsp

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB. ??Actual 117610 MB ???Passed

Checking swap space: must be greater than 150 MB. ??Actual 10239 MB ???Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2025-03-12_11-57-55AM. Please wait ...[oracle@db11g1 database]$ MoTTY X11 proxy: Unsupported authorisation protocol

You can find the log of this install session at:

?/u01/app/oraInventory/logs/installActions2025-03-12_11-57-55AM.log

觀察日志:

安裝完成

4.執行root腳本

[root@db11g1 ~]# /u01/app/oracle/product/11.2.0.4/dbhome_1/root.sh

Check /u01/app/oracle/product/11.2.0.4/dbhome_1/install/root_db11g1_2025-03-12_12-08-07.log for the output of root script

[root@db11g1 ~]# tail -f /u01/app/oracle/product/11.2.0.4/dbhome_1/install/root_db11g1_2025-03-12_12-08-07.log

???Copying oraenv to /usr/local/bin ...

???Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Finished product-specific root actions.

/u01/app/oracle/product/11.2.0.4/dbhome_1/root.sh: line 14: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/install/rootadd_rdbms.sh: No such file or directory

/u01/app/oracle/product/11.2.0.4/dbhome_1/root.sh: line 16: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/install/rootadd_filemap.sh: No such file or directory

[root@db11g2 ~]# ?/u01/app/oracle/product/11.2.0.4/dbhome_1/root.sh

Check /u01/app/oracle/product/11.2.0.4/dbhome_1/install/root_db11g2_2025-03-12_12-08-49.log for the output of root script

[root@db11g2 ~]# tail -f /u01/app/oracle/product/11.2.0.4/dbhome_1/install/root_db11g2_2025-03-12_12-08-49.log

???Copying oraenv to /usr/local/bin ...

???Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Finished product-specific root actions.

/u01/app/oracle/product/11.2.0.4/dbhome_1/root.sh: line 14: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/install/rootadd_rdbms.sh: No such file or directory

/u01/app/oracle/product/11.2.0.4/dbhome_1/root.sh: line 16: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/install/rootadd_filemap.sh: No such file or directory

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/diannao/73398.shtml
繁體地址,請注明出處:http://hk.pswp.cn/diannao/73398.shtml
英文地址,請注明出處:http://en.pswp.cn/diannao/73398.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

日語學習-日語知識點小記-構建基礎-JLPT-N4N5階段(22):給與和得到相關用法

日語學習-日語知識點小記-構建基礎-JLPT-N4&N5階段(22):給與和得到相關用法 1、前言(1)情況說明(2)工程師的信仰2、知識點(1) あげます :給(2)もらいます(いただきます) 得到。(3) くれました :主要是給我。3、單詞(1)日語單詞(2)日語片假名…

Qt5中視口(ViewPort)與窗口(Window)

在Qt中,setViewport和setWindow是用于控制坐標系映射的核心方法,二者共同決定了繪圖邏輯與物理設備之間的轉換關系。以下是關鍵點總結: ?1. 視口(Viewport)與窗口(Window)的核心區別? ?視口…

迪威 3D 模型發布系統:制造業產品展示革新利器

在競爭激烈的制造業領域,如何將產品全方位、直觀地呈現給客戶,成為企業脫穎而出的關鍵。傳統的產品展示方式往往受限于平面資料或有限的實物展示,難以讓客戶深入了解產品的復雜結構與精妙細節。迪威 3D 模型發布系統的問世,為制造…

EasyCVR安防視頻匯聚平臺助力工業園區構建“感、存、知、用”一體化智能監管體系

在現代工業園區的安全管理和高效運營中,視頻監控系統扮演著不可或缺的角色。然而,隨著園區規模的擴大和業務的復雜化,傳統的視頻監控系統面臨著諸多挑戰,如設備眾多難以統一管理、數據存儲分散、智能分析能力不足、信息利用率低下…

解決 Redis 后臺持久化失敗的問題:內存不足導致 fork 失敗

文章目錄 解決 Redis 后臺持久化失敗的問題:內存不足導致 fork 失敗問題背景與成因解決方案修改內核參數 vm.overcommit_memory增加系統內存或 Swap 空間調整 Redis 配置 stop-writes-on-bgsave-error 在 Docker 環境中的注意事項總結 解決 Redis 后臺持久化失敗的問…

反射、反射調用以及修改成員變量,成員方法,構造函數、反射的應用

DAY11.2 Java核心基礎 反射(第二彈) 第一彈請訪問鏈接: 反射(第一篇) getMethod(String name, Class… parameterTypes)getMethods()getDeclaredMethod(String name,Class… parameterTypes)getDeclaredMethods() …

【鴻蒙開發】Hi3861學習筆記- 外部中斷

00. 目錄 文章目錄 00. 目錄01. 概述02. EXTI相關API03. 硬件設計04. 軟件設計05. 實驗現象06. 附錄 01. 概述 我們在做按鍵控制實驗時,雖然能實現 IO 口輸入功能,但代碼是一直在檢測 IO 輸入口的變化,因此效率不高,特別是在一些…

使用 crontab 定時同步服務器文件到本地

https://www.dong-blog.fun/post/1987 1. 安裝 sshpass sshpass 是一個可以自動輸入密碼的工具。如果未安裝,運行以下命令安裝: ? 對于 Debian/Ubuntu 系統: apt update && apt install sshpass? 對于 CentOS/RHEL 系統&#xf…

反射機制的理解

一、getName 方法解析 代碼功能 public static String getName(String key) throws IOException {Properties properties new Properties();FileInputStream in new FileInputStream("D:\\路徑...\\application.properties");properties.load(in); // 加載配置文…

Visual studio + Qt 項目配置管理

Visual studio Qt 項目配置管理 1.本機順利安裝 vs 和 Qt 軟件 ? 并且設置好Qt 的環境變量比如 E:\Qt\Qt5.9.8\5.9.8\msvc2017_64\bin E:\Qt\Qt5.9.8\5.9.8\msvc2017_64\lib E:\Qt\Qt5.9.8\5.9.8\msvc2017_64\include //這里是你電腦上Qt的路徑,每臺電腦不一樣…

通過 Python 爬蟲提高股票選股勝率

此貼為Python爬蟲技術學習貼 在股票中,即便有了選股規則,從5000多只股票中篩選出符合規則的股票也是十分困難的,于是想通過爬蟲來實現自動化的快速選股。全文用GP代替股票 實現方案 1、指定兩套規則,第一套弱約束,第…

SpringCloud帶你走進微服務的世界

認識微服務 隨著互聯網行業的發展,對服務的要求也越來越高,服務架構也從單體架構逐漸演變為現在流行的微服務架構。這些架構之間有怎樣的差別呢? 單體架構 單體架構:將業務的所有功能集中在一個項目中開發,打成一個…

FastAPI復雜查詢終極指南:告別if-else的現代化過濾架構

title: FastAPI復雜查詢終極指南:告別if-else的現代化過濾架構 date: 2025/3/14 updated: 2025/3/14 author: cmdragon excerpt: 本文系統講解FastAPI中復雜查詢條件的構建方法,涵蓋參數驗證、動態過濾、安全防護等18個核心技術點。通過引入策略模式、聲明式編程等技術,徹…

Ubuntu 22.04使用pigz多線程快速解壓/壓縮文件

最近搞項目,資料太大,解壓時間太久,于是想辦法解決。 開貼記錄。 1.安裝pigz sudo apt install pigz 2.解壓資料 解壓命令為 tar --use-compress-programpigz -xvpf ***.tar.gz 將最后的部分***.tar.gz換成你自己的文件即可 例如 ti…

Amazon Quantum Ledger Database (QLDB):革新數據可信記錄的終極解決方案

在數字化浪潮中,企業數據的安全性與可信性成為核心挑戰。無論是金融交易的透明審計、供應鏈的全程追蹤,還是醫療記錄的真實性驗證,如何確保數據不可篡改且可追溯,已成為企業亟待解決的難題。Amazon Quantum Ledger Database (QLDB…

日本IT|AWS工作內容及未來性、以及轉職的所需資質和技能

AWSとは AWSはAmazon Web Services(アマゾンウェブサービス)の略稱です。 名稱から分かるとおり、ネットを通じた通販などを事業として行っているAmazon.com社がクラウドサービスとして運営しています。 本來であれば自分たちでインフラ環境を構築する…

Conda+jupyterlab

文章目錄 1、Conda1.1、基本介紹1.2、conda安裝1.3、conda常用命令1.3.1、基本命令1.3.2、環境管理 2、Jupyterlab2.1、基本介紹2.2、安裝使用 3、pycharm中使用conda 1、Conda 1.1、基本介紹 Conda 是一個開源的包管理和環境管理工具,適用于 Python 及其他編程語…

Vue 項目中 CDN 引入的利弊及解決方案

在Vue項目中,引入到工程中的所有js、css文件,編譯時都會被打包進vendor.js,瀏覽器在加載該文件之后才能開始顯示首屏。若是引入的庫眾多,那么vendor.js文件體積將會相當的大,影響首屏的體驗。通過調試發送時間主要消耗…

擁有一臺云服務器能做什么呢?

擁有一臺云服務器就像擁有了一臺24小時在線的遠程電腦,你可以通過互聯網隨時隨地管理它。它的用途非常廣泛,無論是個人學習、開發測試,還是企業級應用部署,都能發揮重要作用。以下是常見的應用場景,按需求分類整理&…

PHP 在 if 判斷時由于運算符優先級導致 false 的問題

首先來看一段代碼&#xff1a; $price 187.50;if (!is_numeric($price) || $price < 0 || ($price * 100 > 1000000)) {echo "價格錯誤&#xff1a;$price\n"; } else {echo "價格正確&#xff1a;$price\n"; }乍一看是不是認為并沒有什么問題&…