Solved

oracle auto start asm and mount diskgroups on boot server

Posted on 2014-02-15
3
760 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:cheers4beers
ID: 39862403
What is your OS and Oracle version?
0
 

Author Comment

by:bibi92
ID: 39863460
Redhat 5 and oracle 10.2.0.5 thanks
0
 
LVL 8

Accepted Solution

by:
Surrano earned 500 total points
ID: 39864165
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Suggested Courses

622 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