RAC

RAC and ASM

What is the process to configure ASM and RAC?
Install necessary rpm 

* oracleasm-support-2.0.1-1.i386.rpm
* oracleasmlib-2.0.1-1.i386.rpm
* oracleasm-2.6.9-34.ELsmp-2.0.1-1.i686.rpm

http://www.databasejournal.com/features/oracle/article.php/3606256
http://www.oracle.com/technology/software/tech/linux/asmlib/rhel4.html

[root@orcl-experts1 asm]# rpm -Uvh oracleasm-support-2.0.3-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [100%]
[root@orcl-experts1 asm]#


[root@orcl-experts1 asm]# rpm -Uvh oracleasm-2.6.9-42.0.3.EL-2.0.3-1.i686.rpm
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-42.0.3.########################################### [100%]
[root@orcl-experts1 asm]#

[root@orcl-experts1 asm]# rpm -Uvh oracleasmlib-2.0.2-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasmlib ########################################### [100%]
[root@orcl-experts1 asm]#

[root@orcl-experts1 asm]# /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 <enter> without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle
Default group to own the driver interface []: oinstall
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]


2nd Node:
[root@orcl-experts2 asm]# /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 <enter> without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface [oracle]:
Default group to own the driver interface [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": Unable to load module "oracleasm"
[FAILED]

[root@orcl-experts2 asm]# rpm -Uvh oracleasm-2.6.9-42.0.3.ELsmp-2.0.3-1.i686.rpm
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-42.0.3.########################################### [100%]
[root@orcl-experts2 asm]#
[root@orcl-experts2 asm]# /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 <enter> without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface [oracle]:
Default group to own the driver interface [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]


[root@orcl-experts1 ~]# fdisk -l | grep /dev/sdc
Disk /dev/sdc: 21.4 GB, 21474836480 bytes
/dev/sdc1 1 123 987966 83 Linux
/dev/sdc2 124 246 987997+ 83 Linux
/dev/sdc3 247 2610 18988830 83 Linux
[root@orcl-experts1 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: [ OK ]
[root@orcl-experts1 ~]# /etc/init.d/oracleasm createdisk VOL2 /dev/sdc2
Marking disk "/dev/sdc2" as an ASM disk: [ OK ]
[root@orcl-experts1 ~]#

[root@orcl-experts1 ~]# fdisk -l | grep /dev/sdc
Disk /dev/sdc: 21.4 GB, 21474836480 bytes
/dev/sdc1 1 123 987966 83 Linux
/dev/sdc2 124 246 987997+ 83 Linux
/dev/sdc3 247 2610 18988830 83 Linux
[root@orcl-experts1 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: [ OK ]
[root@orcl-experts1 ~]# /etc/init.d/oracleasm createdisk VOL2 /dev/sdc2
Marking disk "/dev/sdc2" as an ASM disk: [ OK ]
[root@orcl-experts1 ~]# /etc/init.d/oracleasm listdisks
VOL1
VOL2
[root@orcl-experts1 ~]# /etc/init.d/oracleasm scandisks
Scanning system for ASM disks: [ OK ]
[root@orcl-experts1 ~]#

CRS installation:
During CRS installation , No action required

Binaries installation:
Afte the Product-Specific Prerequisite Checks --> Select Configuration Option --> Configure ASM ( Provide ASM sys password) --> Next --> Configure ASM ( Disk Group Name, Redundancy,Candidate Disks or All Disks)


  Sign in   Recent Site Activity   Terms   Report Abuse   Print page  |  Powered by Google Sites