Solved

oracle auto start asm and mount diskgroups on boot server

Posted on 2014-02-15
3
749 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

Independent Software Vendors: 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 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
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 how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

739 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