Oracle 12c GI/RAC Step-by-Step安裝指南(二)
14. 安裝asmlib 包。請確定安裝的asmlib 包和os kernel版本是對應的。在這次測試中,由於使用了uek 核心,也就是說asmlib kernel drive 已經包含在核心裡面了。 所以,只需要安裝下面的兩個包。
oracleasmlib-2.0.4-1.el6.x86_64.rpm
oracleasm-support-2.1.5-1.el6.x86_64.rpm
e.g: # rpm –ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm
# rpm –ivh oracleasm-support-2.1.5-1.el6.x86_64.rpm
15. 配置asmlib,並建立一些asm 磁碟。當然,您如果不想使用asmlib的話,也可以使用udev。不管怎麼樣,總是需要一種方式來標識您的磁碟。
--在所有節點配置asmlib
# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [grid]: <<<< 在這裡,指定asm磁碟的owner
Default group to own the driver interface [asmadmin]: <<< 在這裡,指定磁碟的group.
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks:
[ OK ]
注意:之所以指出來上面的asm 磁碟的owner 和 group, 是因為從11gR2 開始oracle引入了任務角色分離(job role separation)特性。這裡面指定的值和之後安裝GI時的步驟“Privileged Operation System Groups”中指定的值是對應的。所以,確認您的選擇是正確的。
--建立磁碟組,在叢集中的一個節點執行就可以了。在這個測試裡,一共建立了4塊磁碟。
# /etc/init.d/oracleasm createdisk /dev/sdc1 DISK1
……
/etc/init.d/oracleasm listdisks
DISK1
DISK2
DISK3
DISK4
--在叢集的其他節點掃描並列出已經建立的磁碟(不需要再建立了)。
# /etc/init.d/oracleasm scandisks
# /etc/init.d/oracleasm listdisks
oracleasmlib-2.0.4-1.el6.x86_64.rpm
oracleasm-support-2.1.5-1.el6.x86_64.rpm
e.g: # rpm –ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm
# rpm –ivh oracleasm-support-2.1.5-1.el6.x86_64.rpm
15. 配置asmlib,並建立一些asm 磁碟。當然,您如果不想使用asmlib的話,也可以使用udev。不管怎麼樣,總是需要一種方式來標識您的磁碟。
--在所有節點配置asmlib
# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [grid]: <<<< 在這裡,指定asm磁碟的owner
Default group to own the driver interface [asmadmin]: <<< 在這裡,指定磁碟的group.
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks:
[ OK ]
注意:之所以指出來上面的asm 磁碟的owner 和 group, 是因為從11gR2 開始oracle引入了任務角色分離(job role separation)特性。這裡面指定的值和之後安裝GI時的步驟“Privileged Operation System Groups”中指定的值是對應的。所以,確認您的選擇是正確的。
--建立磁碟組,在叢集中的一個節點執行就可以了。在這個測試裡,一共建立了4塊磁碟。
# /etc/init.d/oracleasm createdisk /dev/sdc1 DISK1
……
/etc/init.d/oracleasm listdisks
DISK1
DISK2
DISK3
DISK4
--在叢集的其他節點掃描並列出已經建立的磁碟(不需要再建立了)。
# /etc/init.d/oracleasm scandisks
# /etc/init.d/oracleasm listdisks
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12798004/viewspace-1274144/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ASK_ORACLE】安裝Oracle RAC 12.2的GI軟體時報錯CLSRSC-614Oracle
- oracle 12c rac 詳細部署教程(二)Oracle
- 沃趣微講堂 | Oracle叢集技術(二):GI與Oracle RACOracle
- Oracle 12C安裝Oracle
- Oracle 12c RAC構築之二:共享磁碟配置Oracle
- oracle 12c RAC安裝,例項不能多節點同時啟動Oracle
- Oracle11g RAC安裝GI時會遇到INS-06006報錯處理過程Oracle
- oracle 12c release 2 安裝Oracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- oracle rac資料庫的安裝Oracle資料庫
- vgant 安裝oracle資料庫racOracle資料庫
- centos7 安裝ORACLE 11.2.0.4.0 RACCentOSOracle
- Solaris下Oracle RAC 11.2.0.4 安裝方法Oracle
- Oracle 12c資料庫安裝Oracle資料庫
- 安裝ORACLE 12.2.0.1 GI 時遇到INS-44002錯誤Oracle
- Oracle 12c rac ocr和votedisk管理Oracle
- Oracle 12c 使用RMAN搭建物理備庫(RAC to RAC)Oracle
- Oracle 11g RAC自動打GI PSU補丁Oracle
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- Oracle RAC叢集解除安裝步驟Oracle
- Linux下Oracle 11.2.0.1 RAC安裝筆記LinuxOracle筆記
- Oracle 12c升級指南Oracle
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Oracle 12C RAC CDB資料庫部署Oracle資料庫
- oracle 12c rac 詳細部署教程(一)Oracle
- Oracle GoldenGate安裝(二)OracleGo
- 基於Linux的oracle 12cR2 RAC 標準化安裝(二)LinuxOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- Oracle 11G RAC叢集安裝(2)——安裝gridOracle
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- ORACLE 12C RAC資料庫的啟停Oracle資料庫
- ORACLE 12C RAC 部署應用包準備Oracle
- Oracle 19c RAC on Linux 7.6安裝手冊OracleLinux
- ORACLE 12C RAC 生產環境搭建介紹Oracle
- 一次GI補丁安裝不完整導致的RAC心跳流量異常
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- 【BUILD_ORACLE】Oracle 19c RAC搭建(五)DB軟體安裝UIOracle
- 【BUILD_ORACLE】Oracle 19c RAC搭建(四)Grid軟體安裝UIOracle
- Linux系統oracle 12c VMware Tools 的安裝教程LinuxOracle