ORACLE RAC部署实录:ORACLE ASMLIB
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORACLE RAC部署实录:ORACLE ASMLIB相关的知识,希望对你有一定的参考价值。
[[email protected] ~]# yum install -y kmod-oracleasm* [[email protected] ~]# rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm [[email protected] ~]# rpm -ivh oracleasm-support-2.1.8-1.el6.x86_64.rpm [[email protected] ~]# /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 <ENTER> 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 [[email protected] ~]# /usr/sbin/oracleasm init Creating /dev/oracleasm mount point: /dev/oracleasm Loading module "oracleasm": oracleasm Configuring "oracleasm" to use device physical block size Mounting ASMlib driver filesystem: /dev/oracleasm
[[email protected] ~]# /usr/sbin/oracleasm createdisk disk1 /dev/sdb1 Writing disk header: done Instantiating disk: done [[email protected] ~]# /usr/sbin/oracleasm createdisk disk2 /dev/sdc1 Writing disk header: done Instantiating disk: done [[email protected] ~]# /usr/sbin/oracleasm createdisk disk3 /dev/sdd1 Writing disk header: done Instantiating disk: done [[email protected] ~]# /usr/sbin/oracleasm createdisk disk4 /dev/sde1 Writing disk header: done Instantiating disk: done [[email protected] ~]# /usr/sbin/oracleasm createdisk disk5 /dev/sdf1 Writing disk header: done Instantiating disk: done [[email protected] ~]# /usr/sbin/oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks... Scanning system for ASM disks... [[email protected] ~]# /usr/sbin/oracleasm listdisks DISK1 DISK2 DISK3 DISK4 DISK5
[[email protected] ~]# yum install -y kmod-oracleasm* [[email protected] ~]# rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm [[email protected] ~]# rpm -ivh oracleasm-support-2.1.8-1.el6.x86_64.rpm [[email protected] ~]# /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 <ENTER> 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 [[email protected] ~]# /usr/sbin/oracleasm init Creating /dev/oracleasm mount point: /dev/oracleasm Loading module "oracleasm": oracleasm Configuring "oracleasm" to use device physical block size Mounting ASMlib driver filesystem: /dev/oracleasm
[[email protected] ~]# /usr/sbin/oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks... Scanning system for ASM disks... Instantiating disk "DISK1" Instantiating disk "DISK2" Instantiating disk "DISK3" Instantiating disk "DISK4" Instantiating disk "DISK5" [[email protected] ~]# /usr/sbin/oracleasm listdisks DISK1 DISK2 DISK3 DISK4 DISK5
以上是关于ORACLE RAC部署实录:ORACLE ASMLIB的主要内容,如果未能解决你的问题,请参考以下文章