OUI does not recognize ASM disks in 11.2

Oracle Universal Installer (OUI) does not recognize ASM disks during the grid infrastructure installation.

Cause: Oracleasm (ASMLIB) was configured for user root instead of OS user that owns the Grid Infrastructure installation.
Configure oracleasm for OS user that owns the Grid Infrastructure installation.

E.g. if that user was oracle in dba group, as root run

/etc/init.d/oracleasm configure

and
answer oracle to ‘Default user to own the driver interface’.
answer dba to ‘Default group to own the driver interface’
answer y to Start ‘Oracle ASM library driver on boot’
answer y to ‘Fix permissions of Oracle ASM disks on boot’

[root@myrac1 logs]# /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 [grid]:
Default group to own the driver interface [asmadmin]:
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  ]

Resolved.

Also, make sure the following on all rac nodes:

[root@myrac1 ~]# id grid
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper)

[root@myrac11 ~]# id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1201(asmdba),1300(dba),1301(oper)

Advertisements

About mpoojari
Oracle Database/Applications Administrator

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: