<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Oracle Clusterware on RHEL5/OEL5 with udev and multipath</title>
	<atom:link href="http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/</link>
	<description>Jeremy Schneider</description>
	<lastBuildDate>Wed, 30 Nov 2011 21:26:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: John</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-2067</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 25 May 2011 22:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-2067</guid>
		<description>I never had to rebuild initrd with any systems after RHEL 5.3 without the patch referenced above. 
The patch is integrated into later versions of the OS (and more specifically, device-mapper-multipath-0.4.7-34.el5 and later)

If you&#039;re running &gt; RHEL 5.3 (or &gt;= device-mapper-multipath-0.4.7-34.el5), I don&#039;t think you should need to rebuild initrd.

I tested this again today with this system (which is due for an update too, but it illustrates the point):
[root@serv ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
[root@serv ~]# rpm -qa &#124; grep multipath
device-mapper-multipath-0.4.7-34.el5_5.6
[root@serv ~]# ls -al /dev/mapper
total 0
drwxr-xr-x  2 root   root     100 May 25 17:06 .
drwxr-xr-x 16 root   root    4540 May 25 17:21 ..
crw-------  1 root   root  10, 63 Mar 10 12:30 control
brw-r-----  1 oracle dba  253,  0 May 25 17:06 dguard
brw-r-----  1 oracle dba  253,  1 May 25 17:06 dguardp1

This is with the following change being made to /etc/multipath.conf:
multipath {
        wwid                    3603208b7200a3e264000a30001bc0000
        alias                   dguard
        path_grouping_policy    group_by_prio
        path_selector           &quot;round-robin 0&quot;
        failback                immediate
        rr_weight               uniform
        no_path_retry           18
        rr_min_io               100
        mode                    640
        uid                     54321
        gid                     54322
        }
(oracle is UID 54321, dba is gid 54322 thanks to oracle-validated)

HTH, and I think it&#039;s great that the discussions have continued. I still have this thread bookmarked and refer back to it every now and again.

Thanks!
John</description>
		<content:encoded><![CDATA[<p>I never had to rebuild initrd with any systems after RHEL 5.3 without the patch referenced above.<br />
The patch is integrated into later versions of the OS (and more specifically, device-mapper-multipath-0.4.7-34.el5 and later)</p>
<p>If you&#8217;re running &gt; RHEL 5.3 (or &gt;= device-mapper-multipath-0.4.7-34.el5), I don&#8217;t think you should need to rebuild initrd.</p>
<p>I tested this again today with this system (which is due for an update too, but it illustrates the point):<br />
[root@serv ~]# cat /etc/redhat-release<br />
Red Hat Enterprise Linux Server release 5.5 (Tikanga)<br />
[root@serv ~]# rpm -qa | grep multipath<br />
device-mapper-multipath-0.4.7-34.el5_5.6<br />
[root@serv ~]# ls -al /dev/mapper<br />
total 0<br />
drwxr-xr-x  2 root   root     100 May 25 17:06 .<br />
drwxr-xr-x 16 root   root    4540 May 25 17:21 ..<br />
crw&#8212;&#8212;-  1 root   root  10, 63 Mar 10 12:30 control<br />
brw-r&#8212;&#8211;  1 oracle dba  253,  0 May 25 17:06 dguard<br />
brw-r&#8212;&#8211;  1 oracle dba  253,  1 May 25 17:06 dguardp1</p>
<p>This is with the following change being made to /etc/multipath.conf:<br />
multipath {<br />
        wwid                    3603208b7200a3e264000a30001bc0000<br />
        alias                   dguard<br />
        path_grouping_policy    group_by_prio<br />
        path_selector           &#8220;round-robin 0&#8243;<br />
        failback                immediate<br />
        rr_weight               uniform<br />
        no_path_retry           18<br />
        rr_min_io               100<br />
        mode                    640<br />
        uid                     54321<br />
        gid                     54322<br />
        }<br />
(oracle is UID 54321, dba is gid 54322 thanks to oracle-validated)</p>
<p>HTH, and I think it&#8217;s great that the discussions have continued. I still have this thread bookmarked and refer back to it every now and again.</p>
<p>Thanks!<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Hopcroft</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-2063</link>
		<dc:creator>Alex Hopcroft</dc:creator>
		<pubDate>Tue, 17 May 2011 16:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-2063</guid>
		<description>I know it&#039;s a long time after SST&#039;s post but I&#039;ve used his post today and had the same issue as John. The solution if your going to use /etc/multpath.conf to set the permissions as per SST&#039;s post is to recreate your initrd after updating the mutlipath.conf. It worked fine for me and all Oracle devices now have the correct permissions every time.

E.G
[root@~]# vi /etc/multipath.conf
[root@~]# cd /boot
[root@boot]# uname -r
2.6.18-238.9.1.el5
[root@boot]# mkinitrd -f initrd-2.6.18-238.9.1.el5.img 2.6.18-238.9.1.el5
Modulefile is /etc/modprobe.conf
[root@boot]# reboot</description>
		<content:encoded><![CDATA[<p>I know it&#8217;s a long time after SST&#8217;s post but I&#8217;ve used his post today and had the same issue as John. The solution if your going to use /etc/multpath.conf to set the permissions as per SST&#8217;s post is to recreate your initrd after updating the mutlipath.conf. It worked fine for me and all Oracle devices now have the correct permissions every time.</p>
<p>E.G<br />
[root@~]# vi /etc/multipath.conf<br />
[root@~]# cd /boot<br />
[root@boot]# uname -r<br />
2.6.18-238.9.1.el5<br />
[root@boot]# mkinitrd -f initrd-2.6.18-238.9.1.el5.img 2.6.18-238.9.1.el5<br />
Modulefile is /etc/modprobe.conf<br />
[root@boot]# reboot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MP Derelle</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1790</link>
		<dc:creator>MP Derelle</dc:creator>
		<pubDate>Thu, 18 Nov 2010 17:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1790</guid>
		<description>With Asmlib, you can directly take advantage of device-mapper-multipath 

just configure /etc/sysconfig/oracleasm (RedHat 4/5) :

&quot;
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER=&quot;dm-&quot;

# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE=&quot;sd&quot;
&quot;

/etc/init.d/oracleasm will then scan /dev/dm- device instead of /dev/sd, forcing use of multipath. This will map persistently by ASM label the good major/minor device in /dev/oracleasm/disks

You just need to configure wwid persistence for ocr/voting disk and configure rawdevices like this :

(we have created small partitions on the same volume)

&quot;# This file and interface are deprecated.
# Applications needing raw device access should open regular
# block devices with O_DIRECT.
# raw device bindings
# format:    
#           
# example: /dev/raw/raw1 /dev/sdb1
#          /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/mapper/clup1
/dev/raw/raw2 /dev/mapper/clup2
/dev/raw/raw5 /dev/mapper/clup5
/dev/raw/raw6 /dev/mapper/clup6
/dev/raw/raw7 /dev/mapper/clup7
&quot;</description>
		<content:encoded><![CDATA[<p>With Asmlib, you can directly take advantage of device-mapper-multipath </p>
<p>just configure /etc/sysconfig/oracleasm (RedHat 4/5) :</p>
<p>&#8221;<br />
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning<br />
ORACLEASM_SCANORDER=&#8221;dm-&#8221;</p>
<p># ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan<br />
ORACLEASM_SCANEXCLUDE=&#8221;sd&#8221;<br />
&#8221;</p>
<p>/etc/init.d/oracleasm will then scan /dev/dm- device instead of /dev/sd, forcing use of multipath. This will map persistently by ASM label the good major/minor device in /dev/oracleasm/disks</p>
<p>You just need to configure wwid persistence for ocr/voting disk and configure rawdevices like this :</p>
<p>(we have created small partitions on the same volume)</p>
<p>&#8220;# This file and interface are deprecated.<br />
# Applications needing raw device access should open regular<br />
# block devices with O_DIRECT.<br />
# raw device bindings<br />
# format:<br />
#<br />
# example: /dev/raw/raw1 /dev/sdb1<br />
#          /dev/raw/raw2 8 5<br />
/dev/raw/raw1 /dev/mapper/clup1<br />
/dev/raw/raw2 /dev/mapper/clup2<br />
/dev/raw/raw5 /dev/mapper/clup5<br />
/dev/raw/raw6 /dev/mapper/clup6<br />
/dev/raw/raw7 /dev/mapper/clup7<br />
&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Schneider</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1765</link>
		<dc:creator>Jeremy Schneider</dc:creator>
		<pubDate>Mon, 04 Oct 2010 16:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1765</guid>
		<description>Hello all - thanks for all the discussion.  Sorry I haven&#039;t been so responsive on this particular post!  There are lots of great comments here.

First, @Ez&#039;s recent comment about ASMlib being the &quot;right&quot; way: this article is almost 3 years old, and it&#039;s just an update of an even older article.  Before ASMlib was released with Oracle 10.1 this was how we used to do it.  ASMlib is not the &quot;right&quot; way but just one choice.  I&#039;ve discussed this in another old post about &lt;a href=&quot;http://www.ardentperf.com/2008/10/08/asmlib-performance-vs-udev/&quot; rel=&quot;nofollow&quot;&gt;ASMLIB Performance vs Udev&lt;/a&gt;.  I will say that today, I do think ASMlib is the right choice in most situations.

@Dave and @Scott5[55] and @SST and @Robert - thanks for answering other people&#039;s questions in the thread while I wasn&#039;t around.  :)

Lots of discussion here about using multipath.conf - I was aware of that when I wrote the post several years ago, and I&#039;ve used it before.  It works fine too, though in this particular case we were using UDEV for a lot more than just multipath devices.  They were just one type of device.  It was awhile ago though... can&#039;t remember all the reasons I didn&#039;t use multipath.conf...  it works too.  As several people have mentioned in the comments, generally you shouldn&#039;t need to use both multipath.conf and UDEV - just one or the other should do the job.

Regarding /etc/rc.local - the problem with this approach is that it only takes effect at boot-time.  With larger production systems it&#039;s not uncommon at all to attach and detach storage at run-time without rebooting (if possible).  UDEV handles this very nicely.  (I think that multipath.conf does too.) And of course, ASMlib is probably my preferred solution if there aren&#039;t linux guys around who can handle multipath.conf or UDEV.

@Emmanuel - Off the top of my head, I&#039;m not sure why ohasd was throwing an error. I hope you&#039;ve been able to fix it by now.

Thanks again everybody.  :)

-Jeremy</description>
		<content:encoded><![CDATA[<p>Hello all &#8211; thanks for all the discussion.  Sorry I haven&#8217;t been so responsive on this particular post!  There are lots of great comments here.</p>
<p>First, @Ez&#8217;s recent comment about ASMlib being the &#8220;right&#8221; way: this article is almost 3 years old, and it&#8217;s just an update of an even older article.  Before ASMlib was released with Oracle 10.1 this was how we used to do it.  ASMlib is not the &#8220;right&#8221; way but just one choice.  I&#8217;ve discussed this in another old post about <a href="http://www.ardentperf.com/2008/10/08/asmlib-performance-vs-udev/" rel="nofollow">ASMLIB Performance vs Udev</a>.  I will say that today, I do think ASMlib is the right choice in most situations.</p>
<p>@Dave and @Scott5[55] and @SST and @Robert &#8211; thanks for answering other people&#8217;s questions in the thread while I wasn&#8217;t around.  :)</p>
<p>Lots of discussion here about using multipath.conf &#8211; I was aware of that when I wrote the post several years ago, and I&#8217;ve used it before.  It works fine too, though in this particular case we were using UDEV for a lot more than just multipath devices.  They were just one type of device.  It was awhile ago though&#8230; can&#8217;t remember all the reasons I didn&#8217;t use multipath.conf&#8230;  it works too.  As several people have mentioned in the comments, generally you shouldn&#8217;t need to use both multipath.conf and UDEV &#8211; just one or the other should do the job.</p>
<p>Regarding /etc/rc.local &#8211; the problem with this approach is that it only takes effect at boot-time.  With larger production systems it&#8217;s not uncommon at all to attach and detach storage at run-time without rebooting (if possible).  UDEV handles this very nicely.  (I think that multipath.conf does too.) And of course, ASMlib is probably my preferred solution if there aren&#8217;t linux guys around who can handle multipath.conf or UDEV.</p>
<p>@Emmanuel &#8211; Off the top of my head, I&#8217;m not sure why ohasd was throwing an error. I hope you&#8217;ve been able to fix it by now.</p>
<p>Thanks again everybody.  :)</p>
<p>-Jeremy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ez Aton</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1764</link>
		<dc:creator>Ez Aton</dc:creator>
		<pubDate>Mon, 04 Oct 2010 12:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1764</guid>
		<description>You could use ASMLib, as you are using ASM. This is the &quot;right&quot; way of doing it. This simplifies things, as ASM sets its own (required) permissions according to your predefinitions. Simple and elegant.
You don&#039;t need to define RAW devices, and ASMLib makes use of labels, so life is good even if you have many devices, or if you experience LUN (sd) device renames. Also, God forbid, if both (some of) your servers see different LUN names. You needn&#039;t fight with the system to match the mpath names, permissions, binding, etc. Just label them with ASMLib, and you&#039;re happy.

Ez</description>
		<content:encoded><![CDATA[<p>You could use ASMLib, as you are using ASM. This is the &#8220;right&#8221; way of doing it. This simplifies things, as ASM sets its own (required) permissions according to your predefinitions. Simple and elegant.<br />
You don&#8217;t need to define RAW devices, and ASMLib makes use of labels, so life is good even if you have many devices, or if you experience LUN (sd) device renames. Also, God forbid, if both (some of) your servers see different LUN names. You needn&#8217;t fight with the system to match the mpath names, permissions, binding, etc. Just label them with ASMLib, and you&#8217;re happy.</p>
<p>Ez</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1596</link>
		<dc:creator>Emmanuel</dc:creator>
		<pubDate>Tue, 01 Jun 2010 05:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1596</guid>
		<description>Hi Jeremy,

I realize that it is what I did with multipath.conf :

multipaths {
        multipath {
                wwid                    3600a0b80004891dc00000ffd4bea8199
                alias                   ocr_vote_01
        }
        multipath {
                wwid                    3600a0b8000423486000016404bed1ace
                alias                   dg_data_01
        }

It works because I get my aliases under /dev/mapper/ . I am also able to mount the partition and format them with mkfs.ext3. I can create the OCR disk with oracleasm create disk successfully. It crashes when ohasd tries to format the partition to create the OCR.

I do not think that it would change anything with Udev. 

What do you think ?

Regards,

Emmanuel</description>
		<content:encoded><![CDATA[<p>Hi Jeremy,</p>
<p>I realize that it is what I did with multipath.conf :</p>
<p>multipaths {<br />
        multipath {<br />
                wwid                    3600a0b80004891dc00000ffd4bea8199<br />
                alias                   ocr_vote_01<br />
        }<br />
        multipath {<br />
                wwid                    3600a0b8000423486000016404bed1ace<br />
                alias                   dg_data_01<br />
        }</p>
<p>It works because I get my aliases under /dev/mapper/ . I am also able to mount the partition and format them with mkfs.ext3. I can create the OCR disk with oracleasm create disk successfully. It crashes when ohasd tries to format the partition to create the OCR.</p>
<p>I do not think that it would change anything with Udev. </p>
<p>What do you think ?</p>
<p>Regards,</p>
<p>Emmanuel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1595</link>
		<dc:creator>Emmanuel</dc:creator>
		<pubDate>Tue, 01 Jun 2010 05:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1595</guid>
		<description>hi Scott555,

Thank for your answer. I will try and let you know.

Regards,

Emmanuel</description>
		<content:encoded><![CDATA[<p>hi Scott555,</p>
<p>Thank for your answer. I will try and let you know.</p>
<p>Regards,</p>
<p>Emmanuel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott555</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1594</link>
		<dc:creator>Scott555</dc:creator>
		<pubDate>Fri, 28 May 2010 14:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1594</guid>
		<description>@Emmanuel - 

I recently went back and forth with one of our DBAs over this.  (I&#039;m an SA, and we handle the systems and storage, but the DBAs handle the ASM config and Oracle/RAC installation.)  The understanding we came to was that the Oracle installation was essentially broken in that it wouldn&#039;t use the multipathed (mapper) devices during the installation, and a set of standard SCSI devices had to be presented and set up within UDEV for the installation to auto-configure as ASM storage.  I don&#039;t know if that&#039;s a fully accurate interpretation of the new 11GR2 install requirements, but it worked for us.

I like using the wwid of the LUNs when identifying storage devices, and that&#039;s how I do it in the multipath.conf.  For straight-up SCSI devices, though; I created this udev rules file to provide a couple of disks to the Oracle install:

Part of the criteria included isolating devices to individual HBAs, as I wouldn&#039;t want to present both LUNs down the same path

# cat /etc/udev/rules.d/45-oracle-asmdevices.rules 
#	asm1 device; only use the SCSI devices available to 0000:11:00.1 
KERNEL==&quot;sd*&quot;, BUS==&quot;scsi&quot;, PROGRAM==&quot;/sbin/scsi_id -g -u -s %p&quot;
RESULT==&quot;3600508b4000c39390001100000600000&quot;, BUS==&quot;pci&quot;, ID==&quot;0000:11:00.1&quot;, NAME:=&quot;asm1&quot;, OWNER:=&quot;oracle&quot;, GROUP:=&quot;oinstall&quot;, MODE:=&quot;0660&quot;
#	asm2 device; only use the SCSI devices available to 0000:0d:00.0
KERNEL==&quot;sd*&quot;, BUS==&quot;scsi&quot;, PROGRAM==&quot;/sbin/scsi_id -g -u -s %p&quot;
RESULT==&quot;3600508b4000c39390001100000630000&quot;, BUS==&quot;pci&quot;, ID==&quot;0000:0d:00.0&quot;, NAME:=&quot;asm2&quot;, OWNER:=&quot;oracle&quot;, GROUP:=&quot;oinstall&quot;, MODE:=&quot;0660&quot;

Keep in mind that we did *NOT* partition these devices or create file systems on them; they&#039;re essentially &quot;raw&quot; SCSI block devices.

This gives me two SCSI devices; /dev/asm1, and /dev/asm2, and the installation seems to be happy with this.</description>
		<content:encoded><![CDATA[<p>@Emmanuel &#8211; </p>
<p>I recently went back and forth with one of our DBAs over this.  (I&#8217;m an SA, and we handle the systems and storage, but the DBAs handle the ASM config and Oracle/RAC installation.)  The understanding we came to was that the Oracle installation was essentially broken in that it wouldn&#8217;t use the multipathed (mapper) devices during the installation, and a set of standard SCSI devices had to be presented and set up within UDEV for the installation to auto-configure as ASM storage.  I don&#8217;t know if that&#8217;s a fully accurate interpretation of the new 11GR2 install requirements, but it worked for us.</p>
<p>I like using the wwid of the LUNs when identifying storage devices, and that&#8217;s how I do it in the multipath.conf.  For straight-up SCSI devices, though; I created this udev rules file to provide a couple of disks to the Oracle install:</p>
<p>Part of the criteria included isolating devices to individual HBAs, as I wouldn&#8217;t want to present both LUNs down the same path</p>
<p># cat /etc/udev/rules.d/45-oracle-asmdevices.rules<br />
#	asm1 device; only use the SCSI devices available to 0000:11:00.1<br />
KERNEL==&#8221;sd*&#8221;, BUS==&#8221;scsi&#8221;, PROGRAM==&#8221;/sbin/scsi_id -g -u -s %p&#8221;<br />
RESULT==&#8221;3600508b4000c39390001100000600000&#8243;, BUS==&#8221;pci&#8221;, ID==&#8221;0000:11:00.1&#8243;, NAME:=&#8221;asm1&#8243;, OWNER:=&#8221;oracle&#8221;, GROUP:=&#8221;oinstall&#8221;, MODE:=&#8221;0660&#8243;<br />
#	asm2 device; only use the SCSI devices available to 0000:0d:00.0<br />
KERNEL==&#8221;sd*&#8221;, BUS==&#8221;scsi&#8221;, PROGRAM==&#8221;/sbin/scsi_id -g -u -s %p&#8221;<br />
RESULT==&#8221;3600508b4000c39390001100000630000&#8243;, BUS==&#8221;pci&#8221;, ID==&#8221;0000:0d:00.0&#8243;, NAME:=&#8221;asm2&#8243;, OWNER:=&#8221;oracle&#8221;, GROUP:=&#8221;oinstall&#8221;, MODE:=&#8221;0660&#8243;</p>
<p>Keep in mind that we did *NOT* partition these devices or create file systems on them; they&#8217;re essentially &#8220;raw&#8221; SCSI block devices.</p>
<p>This gives me two SCSI devices; /dev/asm1, and /dev/asm2, and the installation seems to be happy with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1593</link>
		<dc:creator>Emmanuel</dc:creator>
		<pubDate>Fri, 28 May 2010 12:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1593</guid>
		<description>Hi Jeremy,

here is a trace I found in the ohasd.log, may be It can help :

2010-05-28 10:49:24.482: [ default][3872035408] OHASD Daemon Starting. Command string :reboot
2010-05-28 10:49:24.489: [ default][3872035408] Initializing OLR
2010-05-28 10:49:24.494: [ OCROSD][3872035408]utgdv:2:ocr loc file /etc/oracle/olr.loc cannot be opened. errno 2
2010-05-28 10:49:24.494: [ OCRRAW][3872035408]proprioo: cannot get current configuration (33)
2010-05-28 10:49:24.495: [ OCRRAW][3872035408]proprinit: Could not open raw device
2010-05-28 10:49:24.495: [ OCRAPI][3872035408]a_init:16!: Backend init unsuccessful : [33]
2010-05-28 10:49:24.496: [ CRSOCR][3872035408] OCR context init failure. Error: PROCL-33: Oracle Local Registry is not configured Storage layer error [Error opening olr.loc file. No such file or directory] [2]
2010-05-28 10:49:24.496: [ default][3872035408] OLR initalization failured, rc=33
2010-05-28 10:49:24.499: [ default][3872035408]Created alert : (:OHAS00106:) : Failed to initialize Oracle Local Registry
2010-05-28 10:49:24.499: [ default][3872035408][PANIC] OHASD exiting; Could not init OLR
2010-05-28 10:49:24.499: [ default][3872035408] Done.

It is really weird, because I am successful in create ext3 on my /dev/mapper/ocr_vote_01p1 partition, which is the one I use to create the ASM disk. 

By the way, I do not know why but the OUI does not see my ASM volume created at step 8, so I have to change the discovery path to /dev/mapper and select myself /dev/mapper/ocr_vote_01p1 .

Regards,

Emmanuel</description>
		<content:encoded><![CDATA[<p>Hi Jeremy,</p>
<p>here is a trace I found in the ohasd.log, may be It can help :</p>
<p>2010-05-28 10:49:24.482: [ default][3872035408] OHASD Daemon Starting. Command string :reboot<br />
2010-05-28 10:49:24.489: [ default][3872035408] Initializing OLR<br />
2010-05-28 10:49:24.494: [ OCROSD][3872035408]utgdv:2:ocr loc file /etc/oracle/olr.loc cannot be opened. errno 2<br />
2010-05-28 10:49:24.494: [ OCRRAW][3872035408]proprioo: cannot get current configuration (33)<br />
2010-05-28 10:49:24.495: [ OCRRAW][3872035408]proprinit: Could not open raw device<br />
2010-05-28 10:49:24.495: [ OCRAPI][3872035408]a_init:16!: Backend init unsuccessful : [33]<br />
2010-05-28 10:49:24.496: [ CRSOCR][3872035408] OCR context init failure. Error: PROCL-33: Oracle Local Registry is not configured Storage layer error [Error opening olr.loc file. No such file or directory] [2]<br />
2010-05-28 10:49:24.496: [ default][3872035408] OLR initalization failured, rc=33<br />
2010-05-28 10:49:24.499: [ default][3872035408]Created alert : (:OHAS00106:) : Failed to initialize Oracle Local Registry<br />
2010-05-28 10:49:24.499: [ default][3872035408][PANIC] OHASD exiting; Could not init OLR<br />
2010-05-28 10:49:24.499: [ default][3872035408] Done.</p>
<p>It is really weird, because I am successful in create ext3 on my /dev/mapper/ocr_vote_01p1 partition, which is the one I use to create the ASM disk. </p>
<p>By the way, I do not know why but the OUI does not see my ASM volume created at step 8, so I have to change the discovery path to /dev/mapper and select myself /dev/mapper/ocr_vote_01p1 .</p>
<p>Regards,</p>
<p>Emmanuel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel</title>
		<link>http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1592</link>
		<dc:creator>Emmanuel</dc:creator>
		<pubDate>Fri, 28 May 2010 11:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/#comment-1592</guid>
		<description>Hi,

I am trying to install the 11GR2 Clusterware on RHEL5 servers using multipath.

I am able to create the ASM disk with oracleasm without any trouble, based on /dev/mapper/ocr_vote_01 which is the alias I specified in my multipath.conf. 

I am also able to create an ext3 partition on that device, and mount it.

The thing is that I am not successful at the end of the clusterware installation :

CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.

I tried and checked a lot of things. Remember it is 11GR2, so /dev/mapper/ link has to be owned by grid:asmdba . I also tried to disable IPV6, with no result. 

Any idea ?

Regards,

Emmanuel</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to install the 11GR2 Clusterware on RHEL5 servers using multipath.</p>
<p>I am able to create the ASM disk with oracleasm without any trouble, based on /dev/mapper/ocr_vote_01 which is the alias I specified in my multipath.conf. </p>
<p>I am also able to create an ext3 partition on that device, and mount it.</p>
<p>The thing is that I am not successful at the end of the clusterware installation :</p>
<p>CRS-4124: Oracle High Availability Services startup failed.<br />
CRS-4000: Command Start failed, or completed with errors.<br />
ohasd failed to start: Inappropriate ioctl for device<br />
ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.</p>
<p>I tried and checked a lot of things. Remember it is 11GR2, so /dev/mapper/ link has to be owned by grid:asmdba . I also tried to disable IPV6, with no result. </p>
<p>Any idea ?</p>
<p>Regards,</p>
<p>Emmanuel</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
