ORACLE之RAC搭建過程10 上傳RAC安裝包

2021-10-19 12:21:50 字數 1119 閱讀 8489

1、以grid使用者登入rac1,建立rac安裝包存放路徑:

[grid@rac1 ~]$ mkdir /oracle/soft

[grid@rac1 soft]$ ll

total 3323828

-rw-r–r-- 1 root root 1239269270 feb 17 10:05 linux.x64_11gr2_database_1of2.zip

-rw-r–r-- 1 root root 1111416131 feb 17 10:03 linux.x64_11gr2_database_2of2.zip

-rw-r–r-- 1 root root 1052897657 feb 17 10:04 linux.x64_11gr2_grid.zip

[grid@rac1 soft]$

[grid@rac1 asmlib]$ ll

total 148

-rw-r–r-- 1 root root 38720 feb 17 10:22 kmod-oracleasm-2.0.8-28.el7.x86_64.rpm

-rw-r–r-- 1 root root 19360 feb 17 10:22 oracleasmlib-2.0.12-1.el7.x86_64.rpm

-rw-r–r-- 1 root root 86908 feb 17 10:22 oracleasm-support-2.1.11-2.el7.x86_64.rpm

[grid@rac1 asmlib]$

在 oracle grid infrastructure 或 oracle rac 軟體的安裝過程中,

oui 使用 ssh 執行命令並將檔案複製到其他節點。在安裝過程中,系統中的隱藏檔案(例如 .bashrc 或 .cshrc)如果包含stty 命令,

則會導致生成檔案錯誤和其他安裝錯誤。

要避免該問題,必須在每個 oracle 安裝所有者的使用者主目錄中修改這些檔案以取消所有 stderr 輸出,

如下所示:

bourne、bash 或 korn shell:

if [ -t 0 ]; then

stty intr ^c

fi注:如果由遠端 shell 載入的隱藏檔案包含 stty 命令,則 oui 將指示錯誤並停止安裝。

ORACLE之RAC搭建過程5 配置使用者環境變數

1 設定使用者grid的環境變數 在grid使用者下的 bash profile 新增 在為每個 oracle rac 節點設定 oracle 環境變數時,確保為每個 rac 節點指定唯一的asm sid。rac1 oracle sid asm1 rac2 oracle sid asm2 add f...

ORACLE之DG搭建1 DG搭建要求

data guard的軟硬體需求 1 硬體及作業系統需求 1 同乙個data guard 配置中的所有oracle 資料庫必須執行於相同的平台。2 伺服器的硬體配置可以不同,比如cpu 的個數,記憶體大小,儲存配置。3 primary 資料庫和standby 資料庫的作業系統必須相同,不過作業系統版...

Oracle學習筆記之儲存過程(1)

建立乙個儲存過程 首先建立乙個資料庫 create table mytest name varchar2 30 passwd varchar2 30 要是實現的功能為使用儲存過程往mytest表裡插入一條資料 create procedure sp prol is create or replace...