<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>AskDBA.org Forum &#187; Topic: ASM and Multipathing</title>
<link>http://www.forum.askdba.org/</link>
<description>Forum for Oracle DBA&#039;s</description>
<language>en</language>
<pubDate>Sun, 12 Feb 2012 08:46:38 +0000</pubDate>

<item>
<title>deepika.dhamija@gmail.com on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-111</link>
<pubDate>Wed, 09 Dec 2009 12:29:40 +0000</pubDate>
<dc:creator>deepika.dhamija@gmail.com</dc:creator>
<guid isPermaLink="false">111@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Amit,&#60;/p&#62;
&#60;p&#62;I am finally able to achieve what I intended to do.&#60;/p&#62;
&#60;p&#62;Many Thanks to you for your valuable suggestions.
&#60;/p&#62;</description>
</item>
<item>
<title>Amit Bansal on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-110</link>
<pubDate>Wed, 09 Dec 2009 09:30:43 +0000</pubDate>
<dc:creator>Amit Bansal</dc:creator>
<guid isPermaLink="false">110@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;&#38;gt;&#38;gt;Actually I have an application that runs on every node on the cluster and creates the devices /dev/multipath/sd*&#60;/p&#62;
&#60;p&#62;Can't understand this statement.&#60;br /&#62;
Anyways if you use udev, you can set permissions in rules file&#60;/p&#62;
&#60;p&#62;/etc/udev/rules.d/50-udev.rules&#60;/p&#62;
&#60;p&#62;I think your sysadmin can help you with that.&#60;/p&#62;
&#60;p&#62;-Amit
&#60;/p&#62;</description>
</item>
<item>
<title>deepika.dhamija@gmail.com on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-109</link>
<pubDate>Wed, 09 Dec 2009 09:03:19 +0000</pubDate>
<dc:creator>deepika.dhamija@gmail.com</dc:creator>
<guid isPermaLink="false">109@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Hi Amit,&#60;/p&#62;
&#60;p&#62;Actually I have an application that runs on every node on the cluster and creates the devices /dev/multipath/sd*. I am new to this entire setup, but I can tell you that it uses udev.&#60;br /&#62;
On Node 1&#60;br /&#62;
[oracle@linux1 ~]$ uname -a&#60;br /&#62;
Linux linux1 2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 7 17:52:47 EST 2009 i686 i686 i386 GNU/Linux&#60;/p&#62;
&#60;p&#62;Does this much information answer your questions?
&#60;/p&#62;</description>
</item>
<item>
<title>Amit Bansal on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-108</link>
<pubDate>Wed, 09 Dec 2009 07:58:21 +0000</pubDate>
<dc:creator>Amit Bansal</dc:creator>
<guid isPermaLink="false">108@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Deepika,&#60;/p&#62;
&#60;p&#62;How have you configured multipathing? Are you using udev and device mapper?&#60;br /&#62;
Also let me know your linux release details.&#60;/p&#62;
&#60;p&#62;-Amit
&#60;/p&#62;</description>
</item>
<item>
<title>deepika.dhamija@gmail.com on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-107</link>
<pubDate>Wed, 09 Dec 2009 07:10:39 +0000</pubDate>
<dc:creator>deepika.dhamija@gmail.com</dc:creator>
<guid isPermaLink="false">107@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Thanks Amit for the prompt reply.&#60;/p&#62;
&#60;p&#62;I had ORACLE_SID SET to orcl1 and orcl2 on both the nodes respectively.&#60;/p&#62;
&#60;p&#62;On node1, I did the above steps, and I luckily was able to connect to Oracle. It did not say 'connected to idle instance'.&#60;/p&#62;
&#60;p&#62;The O/P of the query on Node1 (ORACLE_SID=+ASM1) is&#60;br /&#62;
NAME	PATH		MOUNT_S		HEADER_STATUS&#60;br /&#62;
	ORCL:VOL1	CLOSED		UNKNOWN&#60;br /&#62;
	ORCL:VOL1	CLOSED		UNKNOWN&#60;br /&#62;
	ORCL:VOL1	CLOSED		UNKNOWN&#60;/p&#62;
&#60;p&#62;The O/P of the query on Node2 (ORACLE_SID=orcl2) is&#60;br /&#62;
NAME	PATH		MOUNT_S		HEADER_STATUS&#60;br /&#62;
VOL1	ORCL:VOL1	OPENED		UNKNOWN&#60;br /&#62;
VOL2	ORCL:VOL2	OPENED		UNKNOWN&#60;br /&#62;
VOL3	ORCL:VOL3	OPENED		UNKNOWN&#60;/p&#62;
&#60;p&#62;Does that mean that the multipath disks have not been picked up by asm at all.&#60;br /&#62;
What about the permissions. I ran the foll commands (for sdb2, sdb3, sdb4) on Node1&#60;br /&#62;
# chown -R oracle:dba /dev/multipath/sdb2&#60;br /&#62;
# chmod -R 775 /dev/multipath/sdb2&#60;/p&#62;
&#60;p&#62;# /etc/init.d/oracleasm scandisks&#60;br /&#62;
# /etc/init.d/oracleasm listdisks&#60;br /&#62;
VOL1&#60;br /&#62;
VOL2&#60;br /&#62;
VOL3&#60;/p&#62;
&#60;p&#62;How do these permissions remain intact after a reboot to the node?
&#60;/p&#62;</description>
</item>
<item>
<title>Amit Bansal on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-106</link>
<pubDate>Wed, 09 Dec 2009 06:54:50 +0000</pubDate>
<dc:creator>Amit Bansal</dc:creator>
<guid isPermaLink="false">106@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Try logging into ASM instance and query V$ASM_DISK i.e&#60;/p&#62;
&#60;p&#62;export ORACLE_SID=+ASM1&#60;br /&#62;
sqlplus &#34;/ as sysdba&#34;&#60;br /&#62;
select name,path,mount_status,header_status from V$ASM_DISK;&#60;/p&#62;
&#60;p&#62;with regards to naming convention, I think naming convention should follow /dev/[a-z]* naming convention instead of /dev/multipath/[a-z]*&#60;br /&#62;
It could be this or it could be that as the name of multipath device is also ending with sdb2,sdb3 and we are also excluding the disk ending with sdb2,sdb3. I am not too sure on this.&#60;/p&#62;
&#60;p&#62;I think best way would be to actually first query V$ASM_DISK output.
&#60;/p&#62;</description>
</item>
<item>
<title>deepika.dhamija@gmail.com on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-105</link>
<pubDate>Wed, 09 Dec 2009 06:33:44 +0000</pubDate>
<dc:creator>deepika.dhamija@gmail.com</dc:creator>
<guid isPermaLink="false">105@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Hi Amit,&#60;/p&#62;
&#60;p&#62;Yes, I am following the above URL.&#60;/p&#62;
&#60;p&#62;On Node1:&#60;br /&#62;
[root@linux1 ~]# /etc/init.d/oracleasm listdisks&#60;br /&#62;
VOL1&#60;br /&#62;
VOL2&#60;br /&#62;
VOL3&#60;br /&#62;
[root@linux1 ~]# /etc/init.d/oracleasm querydisk /dev/multipath/sdb2&#60;br /&#62;
Device &#34;/dev/multipath/sdb2&#34; is marked an ASM disk with the label &#34;VOL1&#34;&#60;br /&#62;
[root@linux1 ~]# /etc/init.d/oracleasm querydisk /dev/sdb2&#60;br /&#62;
Device &#34;/dev/sdb2&#34; is marked an ASM disk with the label &#34;VOL1&#34;&#60;/p&#62;
&#60;p&#62;The O/P is same for sdb3 and sdb4 (both multipath &#38;amp; single path devices)&#60;br /&#62;
Is this what you mean when you say if disks are visible on node1?&#60;/p&#62;
&#60;p&#62;[oracle@linux1 ~]$ srvctl status asm -n linux1&#60;br /&#62;
ASM instance +ASM1 is running on node linux1.&#60;br /&#62;
[oracle@linux1 ~]$ srvctl status instance -d orcl -i orcl1&#60;br /&#62;
Instance orcl1 is not running on node linux1&#60;br /&#62;
[oracle@linux1 ~]$ srvctl start instance -d orcl -i orcl1&#60;br /&#62;
PRKP-1001 : Error starting instance orcl1 on node linux1&#60;br /&#62;
CRS-0215: Could not start resource 'ora.orcl.orcl1.inst'.&#60;br /&#62;
[oracle@linux1 ~]$&#60;/p&#62;
&#60;p&#62;I am unable to start the instance orcl1 on node1.&#60;/p&#62;
&#60;p&#62;Also what is the significance of naming multipath devices in a particular way?
&#60;/p&#62;</description>
</item>
<item>
<title>Amit Bansal on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-104</link>
<pubDate>Tue, 08 Dec 2009 13:32:15 +0000</pubDate>
<dc:creator>Amit Bansal</dc:creator>
<guid isPermaLink="false">104@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Hi Deepika,&#60;/p&#62;
&#60;p&#62;I believe you are following below article available on Oracle website&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.oracle.com/technology/tech/linux/asmlib/multipath.html&#34; rel=&#34;nofollow&#34;&#62;http://www.oracle.com/technology/tech/linux/asmlib/multipath.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;First I believe that you should check ASM instance and see if you are able to see the disks on Node 1. From above output it looks that you connected to node 1 DB instance and not asm instance. This can also be seen from crs_stat output which shows that asm instance is up on node 1.&#60;br /&#62;
Secondly name multipath device as multipatha,multibathc instead of /multipath/sdb1 etc
&#60;/p&#62;</description>
</item>
<item>
<title>deepika.dhamija@gmail.com on "ASM and Multipathing"</title>
<link>http://www.forum.askdba.org/topic/asm-and-multipathing#post-103</link>
<pubDate>Tue, 08 Dec 2009 09:37:34 +0000</pubDate>
<dc:creator>deepika.dhamija@gmail.com</dc:creator>
<guid isPermaLink="false">103@http://www.forum.askdba.org/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I have a 2node RAC Setup 10gR2.&#60;/p&#62;
&#60;p&#62;I have three ASM Volumes configured, out of devices sdb2, sdb3, sdb4&#60;br /&#62;
/etc/init.d/oracleasm createdisk VOL1 /dev/sdb2&#60;br /&#62;
/etc/init.d/oracleasm createdisk VOL2 /dev/sdb3&#60;br /&#62;
/etc/init.d/oracleasm createdisk VOL3 /dev/sdb4.&#60;br /&#62;
where VOL1 &#38;amp; VOL2 belong to the Disk Group ORCL_DATA1 and Vol3 to the group FLASH_RECOVERY_AREA.&#60;/p&#62;
&#60;p&#62;I want to use the multipath disks namely /dev/multipath/sdb2, /dev/multipath/sdb3 and /dev/multipath/sdb4 for asm volumes.&#60;br /&#62;
I created the multipath disks on node1 and edited the file /etc/sysconfig/oracleasm and set ORACLEASM_SCANORDER=&#34;multipath&#34; and&#60;br /&#62;
ORACLEASM_SCANEXCLUDE=&#34;sdb2 sdb3 sdb4&#34;.&#60;/p&#62;
&#60;p&#62;After a Reboot, the crs_stat shows&#60;br /&#62;
On Node1&#60;/p&#62;
&#60;p&#62;--------------------------------------------------------------------------------&#60;br /&#62;
Name Type Target State Host&#60;/p&#62;
&#60;p&#62;--------------------------------------------------------------------------------&#60;br /&#62;
ora....SM1.asm application ONLINE ONLINE linux1&#60;br /&#62;
ora....X1.lsnr application ONLINE ONLINE linux1&#60;br /&#62;
ora.linux1.gsd application ONLINE ONLINE linux1&#60;br /&#62;
ora.linux1.ons application ONLINE ONLINE linux1&#60;br /&#62;
ora.linux1.vip application ONLINE ONLINE linux1&#60;br /&#62;
ora....SM2.asm application ONLINE ONLINE linux2&#60;br /&#62;
ora....X2.lsnr application ONLINE ONLINE linux2&#60;br /&#62;
ora.linux2.gsd application ONLINE ONLINE linux2&#60;br /&#62;
ora.linux2.ons application ONLINE ONLINE linux2&#60;br /&#62;
ora.linux2.vip application ONLINE ONLINE linux2&#60;br /&#62;
ora.orcl.db application ONLINE ONLINE linux1&#60;br /&#62;
ora....l1.inst application ONLINE OFFLINE&#60;br /&#62;
ora....l2.inst application ONLINE ONLINE linux2&#60;br /&#62;
ora....test.cs application ONLINE ONLINE linux2&#60;br /&#62;
ora....cl1.srv application ONLINE OFFLINE&#60;br /&#62;
ora....cl2.srv application ONLINE ONLINE linux2&#60;/p&#62;
&#60;p&#62;oracle@linux1 ~$ sqlplus &#34;/ as sysdba&#34;&#60;/p&#62;
&#60;p&#62;SQL*Plus: Release 10.2.0.1.0 - Production on Tue Dec 8 12:04:53 2009&#60;/p&#62;
&#60;p&#62;Copyright (c) 1982, 2005, Oracle. All rights reserved.&#60;/p&#62;
&#60;p&#62;Connected to an idle instance.&#60;/p&#62;
&#60;p&#62;SQL&#38;gt; select name, path from v$asm_disk;&#60;br /&#62;
select name, path from v$asm_disk&#60;br /&#62;
*&#60;br /&#62;
ERROR at line 1:&#60;br /&#62;
ORA-01034: ORACLE not available&#60;/p&#62;
&#60;p&#62;I try to start the instance manually,&#60;br /&#62;
oracle@linux1 ~$ srvctl start instance -d orcl -i orcl1&#60;br /&#62;
PRKP-1001 : Error starting instance orcl1 on node linux1&#60;br /&#62;
CRS-0215: Could not start resource 'ora.orcl.orcl1.inst'.&#60;/p&#62;
&#60;p&#62;Also from sql&#60;br /&#62;
SQL&#38;gt; startup&#60;br /&#62;
ORA-01078: failure in processing system parameters&#60;br /&#62;
ORA-01565: error in identifying file '+ORCL_DATA1/orcl/spfileorcl.ora'&#60;br /&#62;
ORA-17503: ksfdopn:2 Failed to open file +ORCL_DATA1/orcl/spfileorcl.ora&#60;br /&#62;
ORA-15077: could not locate ASM instance serving a required diskgroup&#60;/p&#62;
&#60;p&#62;On Node2&#60;/p&#62;
&#60;p&#62;--------------------------------------------------------------------------------&#60;br /&#62;
oracle@linux2 ~$ sqlplus &#34;/ as sysdba&#34;&#60;/p&#62;
&#60;p&#62;SQL*Plus: Release 10.2.0.1.0 - Production on Tue Dec 8 11:56:13 2009&#60;/p&#62;
&#60;p&#62;Copyright (c) 1982, 2005, Oracle. All rights reserved.&#60;/p&#62;
&#60;p&#62;Connected to:&#60;br /&#62;
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production&#60;br /&#62;
With the Partitioning, Real Application Clusters, OLAP and Data Mining options&#60;/p&#62;
&#60;p&#62;SQL&#38;gt; select name, path from v$asm_disk;&#60;/p&#62;
&#60;p&#62;NAME&#60;/p&#62;
&#60;p&#62;--------------------------------------------------------------------------------&#60;br /&#62;
PATH&#60;/p&#62;
&#60;p&#62;--------------------------------------------------------------------------------&#60;br /&#62;
VOL1&#60;br /&#62;
ORCL:VOL1&#60;/p&#62;
&#60;p&#62;VOL2&#60;br /&#62;
ORCL:VOL2&#60;/p&#62;
&#60;p&#62;VOL3&#60;br /&#62;
ORCL:VOL3&#60;/p&#62;
&#60;p&#62;Plz note, that I have the multipath devices only on one node currently.&#60;/p&#62;
&#60;p&#62;I am new to the multipathing concept. Plz advise, on what (above) steps are wrong and what additional things are to be taken care of.&#60;br /&#62;
And the causes/solutions to the errors.
&#60;/p&#62;</description>
</item>

</channel>
</rss>

