Solved

oracle auto start asm and mount diskgroups on boot server

Posted on 2014-02-15
3
729 Views
Last Modified: 2014-02-27
Hello,

Instance oracle asm doesn't start on boot.
I have created raw devices  :

vi /etc/udev/rules.d/63-oracle-raw.rules
ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sdd1", RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sdf1", RUN+="/bin/raw /dev/raw/raw3 %N"
KERNEL=="raw[1-3]*", OWNER="oracle", GROUP="oinstall", MODE="644
[root@srvtest raw]# chmod 777  /dev/raw/raw1
[root@srvtest raw]# chmod 777  /dev/raw/raw2
[root@srvtest raw]# chmod 777  /dev/raw/raw3

[root@srvtest raw]# chown oracle:dba /dev/raw/raw1
[root@srvtest raw]# chown oracle:dba /dev/raw/raw2
[root@srvtest raw]# chown oracle:dba /dev/raw/raw3

and I have created asmdiskgroup with dbca.

But on boot, asm diskgroup are not mounted

I have to execute chmod and chown on raws and "/etc/init.d/init.cssd stop" then "/etc/init.d/init.cssd start"

Why?

Thanks
0
Comment
Question by:bibi92
3 Comments
 
LVL 5

Expert Comment

by:cheers4beers
Comment Utility
What is your OS and Oracle version?
0
 

Author Comment

by:bibi92
Comment Utility
Redhat 5 and oracle 10.2.0.5 thanks
0
 
LVL 8

Accepted Solution

by:
Surrano earned 500 total points
Comment Utility
In udev rules, you wrote permissions 644 and owner oracle:oinstall
but in chmod/chown commands you wrote 777 and oracle:dba

I believe the correct one (in both places) would be 664 oracle:oinstall
I assume it's either user oracle or grid or crs that runs ASM but typically it's a member of oinstall group so it should work.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now