11 g rac 安裝 7,8步
七. 安裝oracleasm 程式包
7.1 安裝前準備
安裝oracleasm程式包之前,需要先安裝以下包(以root在兩個node執行)
kernel-2.6.18-128.el5.x86_64.rpm
kernel-doc-2.6.18-128.el5.noarch.rpm
kernel-debug-2.6.18-128.el5.x86_64.rpm
kernel-headers-2.6.18-128.el5.x86_64.rpm
kernel-debug-devel-2.6.18-128.el5.x86_64.rpm
kernel-xen-2.6.18-128.el5.x86_64.rpm
kernel-devel-2.6.18-128.el5.x86_64.rpm
kernel-xen-devel-2.6.18-128.el5.x86_64.rpm
注:這些包在OS安裝光碟中可以找到,安裝時請參照第一小節執行.
7.2 安裝ASM RPM
從OTN下載ASM庫,並安裝 ASM RPM. (以root在兩個node執行)
# rpm -Uvh oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpm
Preparing...
########################################### [100%]
1:oracleasmlib
########################################### [100%]
在這個階段,您應該已經安裝了以下ASM程式包.
[root@wmrac01 oracleasm]# rpm -qa|grep oracleasm
oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpm(用於預設核心)
oracleasm-2.6.18-128.el5debug-2.0.5-1.el5.i686.rpm
oracleasm-2.6.18-128.el5-debuginfo-2.0.5-1.el5.i686.rpm
oracleasm-2.6.18-128.el5PAE-2.0.5-1.el5.i686.rpm(用於PAE核心)
oracleasm-2.6.18-128.el5xen-2.0.5-1.el5.i686.rpm(用於xen核心)
oracleasmlib-2.0.4-1.el5.i386.rpm(使用者空間庫)
oracleasm-support-2.1.3-1.el5.i386.rpm(驅動程式支援檔案)
八. 配置oracleasm
Oracle ASM 與 Oracle 資料庫緊密整合在一起,並與Oracle 的資料管理工具套件配合工作.它可以簡化資料庫儲存管理 ,並提供原始磁碟I/O的效能.
8.1 配置 ASMLib。
以root在兩個node執行
[root@wmrac01 grid]# /usr/sbin/oracleasm configure -i
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
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
[root@wmrac01 grid]# /usr/sbin/oracleasm configure
ORACLEASM_ENABLED=true
ORACLEASM_UID=grid
ORACLEASM_GID=asmadmin
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
[root@wmrac01 grid]# /usr/sbin/oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
[root@wmrac01 grid]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
8.2 ?建 ASM 磁?。
以 root 用?身份在任何一???上?建 ASM 磁?。
[root@wmrac01 mapper]# oracleasm createdisk DATAV1 /dev/mapper/data_v01
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm createdisk DATAV2 /dev/mapper/data_v02
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm createdisk INDXV1 /dev/mapper/indx_v01
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm createdisk INDXV2 /dev/mapper/indx_v02
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@wmrac01 mapper]# oracleasm listdisks
DATAV1
DATAV2
INDXV1
INDXV2
在node2上執行查詢,若出現如下內容則OK.
[root@wmrac02 mapper]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "INDXV1"
Instantiating disk "INDXV2"
Instantiating disk "DATAV1"
Instantiating disk "DATAV2"
[root@wmrac02 mapper]# oracleasm listdisks
DATAV1
DATAV2
INDXV1
INDXV2
7.1 安裝前準備
安裝oracleasm程式包之前,需要先安裝以下包(以root在兩個node執行)
kernel-2.6.18-128.el5.x86_64.rpm
kernel-doc-2.6.18-128.el5.noarch.rpm
kernel-debug-2.6.18-128.el5.x86_64.rpm
kernel-headers-2.6.18-128.el5.x86_64.rpm
kernel-debug-devel-2.6.18-128.el5.x86_64.rpm
kernel-xen-2.6.18-128.el5.x86_64.rpm
kernel-devel-2.6.18-128.el5.x86_64.rpm
kernel-xen-devel-2.6.18-128.el5.x86_64.rpm
注:這些包在OS安裝光碟中可以找到,安裝時請參照第一小節執行.
7.2 安裝ASM RPM
從OTN下載ASM庫,並安裝 ASM RPM. (以root在兩個node執行)
# rpm -Uvh oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpm
Preparing...
########################################### [100%]
1:oracleasmlib
########################################### [100%]
在這個階段,您應該已經安裝了以下ASM程式包.
[root@wmrac01 oracleasm]# rpm -qa|grep oracleasm
oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpm(用於預設核心)
oracleasm-2.6.18-128.el5debug-2.0.5-1.el5.i686.rpm
oracleasm-2.6.18-128.el5-debuginfo-2.0.5-1.el5.i686.rpm
oracleasm-2.6.18-128.el5PAE-2.0.5-1.el5.i686.rpm(用於PAE核心)
oracleasm-2.6.18-128.el5xen-2.0.5-1.el5.i686.rpm(用於xen核心)
oracleasmlib-2.0.4-1.el5.i386.rpm(使用者空間庫)
oracleasm-support-2.1.3-1.el5.i386.rpm(驅動程式支援檔案)
八. 配置oracleasm
Oracle ASM 與 Oracle 資料庫緊密整合在一起,並與Oracle 的資料管理工具套件配合工作.它可以簡化資料庫儲存管理 ,並提供原始磁碟I/O的效能.
8.1 配置 ASMLib。
以root在兩個node執行
[root@wmrac01 grid]# /usr/sbin/oracleasm configure -i
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
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
[root@wmrac01 grid]# /usr/sbin/oracleasm configure
ORACLEASM_ENABLED=true
ORACLEASM_UID=grid
ORACLEASM_GID=asmadmin
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
[root@wmrac01 grid]# /usr/sbin/oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
[root@wmrac01 grid]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
8.2 ?建 ASM 磁?。
以 root 用?身份在任何一???上?建 ASM 磁?。
[root@wmrac01 mapper]# oracleasm createdisk DATAV1 /dev/mapper/data_v01
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm createdisk DATAV2 /dev/mapper/data_v02
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm createdisk INDXV1 /dev/mapper/indx_v01
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm createdisk INDXV2 /dev/mapper/indx_v02
Writing disk header: done
Instantiating disk: done
[root@wmrac01 mapper]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@wmrac01 mapper]# oracleasm listdisks
DATAV1
DATAV2
INDXV1
INDXV2
在node2上執行查詢,若出現如下內容則OK.
[root@wmrac02 mapper]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "INDXV1"
Instantiating disk "INDXV2"
Instantiating disk "DATAV1"
Instantiating disk "DATAV2"
[root@wmrac02 mapper]# oracleasm listdisks
DATAV1
DATAV2
INDXV1
INDXV2
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25850100/viewspace-704182/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- rhel7 安裝11g rac
- redhat7.6安裝Oracle11G RACRedhatOracle
- 11g rac新增節點步驟(11g)
- Oracle 11G RAC叢集安裝(2)——安裝gridOracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- rac新增節點步驟(11g)
- oracle 11g RAC 安裝前準備指令碼Oracle指令碼
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- Oracle 11G RAC叢集安裝(1)——安裝前的準備Oracle
- 【RAC】RAC搭建步驟Linux7.2+11G(基於Vmware+Openfile)Linux
- ORACLE11GR2 RAC解除安裝ASM例項步驟OracleASM
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- Vmware linux redhat6.4 安裝11g(11.2.0.1) 雙節點RACLinuxRedhat
- 超詳細oracle 11g安裝步驟 win版本Oracle
- Oracle 11g RAC安裝--基於openfiler儲存+多路徑+udev方式Oracledev
- Oracle RAC叢集解除安裝步驟Oracle
- Docker安裝Oracle11gDockerOracle
- Oracle 11G 安裝文件Oracle
- Oracle11g解除安裝Oracle
- linux7 安裝11g rac的時候突然卡著不動了Linux
- 11G RAC+DG搭建
- Oracle 11G 安裝 bbed 工具Oracle
- Oracle 11g RAC Silent Install For NFSOracleNFS
- oracle11g RAC新增節點Oracle
- 11g rac監聽配置解析
- Oracle11g RAC安裝GI時會遇到INS-06006報錯處理過程Oracle
- readhalt7.4 安裝 oracle11gOracle
- oracle11g安裝和下載Oracle
- linux7 靜默安裝 11GR2 RACLinux
- 【11g 單庫解除安裝、靜默安裝】實驗
- 11g rac 等待事件resmgr:cpu quantum事件
- Oracle 11g RAC 監聽日常管理Oracle
- Oracle 11g RAC手動新增serviceOracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- rac靜默安裝
- Tuning CPU 100% in Oracle 11g rac-20220215Oracle