<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to share same LUN to different Linux hosts at the same time ? Urgent in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580479#M18644</link>
    <description>What do you mean with "check lun status", you can see the disks/partitions/luns with fdisk -l or parted.&lt;BR /&gt;&lt;BR /&gt;You configure raw devices in /etc/rawdevices.&lt;BR /&gt;&lt;BR /&gt;Using raw devices has some disadvantages, and i believe oracle recommends the use of OCFS. If you use raw device, you don't have the choice to copy/move the data from a disk to another, verify the disk usage from OS, etc. You are complete dependant of the database administration tools.&lt;BR /&gt;&lt;BR /&gt;Check this article:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.us.dell.com/content/topics/global.aspx/power/en/ps3q03_mahmoodmigration?c=us&amp;amp;cs=555&amp;amp;l=en&amp;amp;s=biz" target="_blank"&gt;http://www1.us.dell.com/content/topics/global.aspx/power/en/ps3q03_mahmoodmigration?c=us&amp;amp;cs=555&amp;amp;l=en&amp;amp;s=biz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/whitepapers/rha/gfs/Oracle9i_RAC_GFS.pdf" target="_blank"&gt;www.redhat.com/whitepapers/rha/gfs/Oracle9i_RAC_GFS.pdf&lt;/A&gt;</description>
    <pubDate>Tue, 12 Jul 2005 13:20:19 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2005-07-12T13:20:19Z</dc:date>
    <item>
      <title>How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580474#M18639</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;We are going to setup Oracle RAC on Linux servers, one of the requirements for that is to present same LUN(EVA5000) to the two Linux hosts, that is, on two different Linux servers can read/write the same LUN at the same time.&lt;BR /&gt;I tried to create one mount point on ServerA, with LVM, then when I tried that on ServerB, it didn't allow me to share the same LUN.&lt;BR /&gt;Any suggestion?&lt;BR /&gt;Thanks !</description>
      <pubDate>Tue, 12 Jul 2005 07:46:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580474#M18639</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-07-12T07:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580475#M18640</link>
      <description>Hi Dear &lt;BR /&gt;  &lt;BR /&gt;   You have to activate the VG in a Shared mode exactly i am not aware how to do it in linux . In HP-ux the procedure is as follows . I think it will be applicable to linux also.&lt;BR /&gt;&lt;BR /&gt;On the Current server where vg is activated &lt;BR /&gt;umount mount the file system deactivate the volume group &lt;BR /&gt;say vg name is vg_rac_db&lt;BR /&gt;&lt;BR /&gt; #vgchange -a n Vg_rac_db&lt;BR /&gt;  Then enable the vg as cluster aware and sharable Vg by&lt;BR /&gt;&lt;BR /&gt; #vgchange -c y -S y vg_rac_db&lt;BR /&gt;activate in shared mode by&lt;BR /&gt; # vgchange -a s vg_rac_db&lt;BR /&gt; &lt;BR /&gt;This node will be come Server &lt;BR /&gt;&lt;BR /&gt;On the adoptive node &lt;BR /&gt;&lt;BR /&gt;import the vg with the map file of vg vg_rac_db &lt;BR /&gt;then active the vg by&lt;BR /&gt;vgchange -a s vg_rac_db&lt;BR /&gt;&lt;BR /&gt;if it does not helpful to you .please refer the RAC documentation.</description>
      <pubDate>Tue, 12 Jul 2005 07:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580475#M18640</guid>
      <dc:creator>ramkumar</dc:creator>
      <dc:date>2005-07-12T07:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580476#M18641</link>
      <description>Sorry, that is not possible! &lt;BR /&gt;The EVA has no knowledge about filesystems. The hosts have. The hosts write a filesystem to the lun, manage inodes etc....&lt;BR /&gt;The 2 servers do not communicate about this with eachother. If you let do that by the 2 hosts, the data will soon be corrupt.&lt;BR /&gt;&lt;BR /&gt;depending on what you want, you can do this:&lt;BR /&gt;- define a lun on the eva for each host, and mirror these hosts by drbd (&lt;A href="http://www.drbd.org/)" target="_blank"&gt;http://www.drbd.org/)&lt;/A&gt;&lt;BR /&gt;this will not have the performance you expect from the eva.&lt;BR /&gt;- make a snapshot of the first lun, and let the 2nd host work with the snapshot.&lt;BR /&gt;- leave the second host down, and let it pick up the mount if the first host dies. (f.i.heartbeat (&lt;A href="http://www.linux-ha.org/ConfiguringHeartbeat)" target="_blank"&gt;http://www.linux-ha.org/ConfiguringHeartbeat)&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jul 2005 08:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580476#M18641</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2005-07-12T08:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580477#M18642</link>
      <description>You can use the shared storage disks simultaneously only if you use a cluster file system, like Oracle Cluster File System (OCFS) or Red Hat Global File System (GFS).&lt;BR /&gt;&lt;BR /&gt;I'm not sure if you can use LVM with OCFS but with RH CFS you can.&lt;BR /&gt;&lt;BR /&gt;OCFS is part of oracle RAC and Red Hat GFS is a separated product for Red Hat.</description>
      <pubDate>Tue, 12 Jul 2005 08:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580477#M18642</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-12T08:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580478#M18643</link>
      <description>Thanks guys!&lt;BR /&gt;&lt;BR /&gt;I found that I just need to share Raw disk between two servers, no file system needed.&lt;BR /&gt;What Linux(Redhat) command can I use to check LUN status from O/S ?&lt;BR /&gt;Thanks again !&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jul 2005 11:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580478#M18643</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-07-12T11:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580479#M18644</link>
      <description>What do you mean with "check lun status", you can see the disks/partitions/luns with fdisk -l or parted.&lt;BR /&gt;&lt;BR /&gt;You configure raw devices in /etc/rawdevices.&lt;BR /&gt;&lt;BR /&gt;Using raw devices has some disadvantages, and i believe oracle recommends the use of OCFS. If you use raw device, you don't have the choice to copy/move the data from a disk to another, verify the disk usage from OS, etc. You are complete dependant of the database administration tools.&lt;BR /&gt;&lt;BR /&gt;Check this article:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.us.dell.com/content/topics/global.aspx/power/en/ps3q03_mahmoodmigration?c=us&amp;amp;cs=555&amp;amp;l=en&amp;amp;s=biz" target="_blank"&gt;http://www1.us.dell.com/content/topics/global.aspx/power/en/ps3q03_mahmoodmigration?c=us&amp;amp;cs=555&amp;amp;l=en&amp;amp;s=biz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/whitepapers/rha/gfs/Oracle9i_RAC_GFS.pdf" target="_blank"&gt;www.redhat.com/whitepapers/rha/gfs/Oracle9i_RAC_GFS.pdf&lt;/A&gt;</description>
      <pubDate>Tue, 12 Jul 2005 13:20:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580479#M18644</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-12T13:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580480#M18645</link>
      <description>LVM within linux is not cluster aware so it will not work (If it does it will be unsupported, and probably unreliable). You could look into a Veritas Volume Manage that is cluster aware, but to avoid cost don't use volume management. We use OCFS to format the filesystems and have them mounted on each node at the same time.  &lt;BR /&gt;&lt;BR /&gt;I am not familiar with the EVA, however Clariion and Hitachi I can assign the LUN's to both hosts, or have both hosts in the LUN security group the LUN's are assigned too. &lt;BR /&gt;&lt;BR /&gt;Once the LUNs are there, you can configure OCFS, start it, then format the LUNs and mount them on both nodes.  When you get it configured you would get a syslog entry like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jul 11 10:38:08 alvmnrtlnx08 kernel: ocfs: Adding ora-test-rac-02 (node 1) to clustered device (9,0)&lt;BR /&gt;Jul 11 10:38:18 alvmnrtlnx08 kernel: ocfs: Mounting device (9,0) on ora-test-rac-01 (node 0)&lt;BR /&gt;Jul 11 10:38:20 alvmnrtlnx08 kernel: ocfs: Adding ora-test-rac-02 (node 1) to clustered device (9,1)&lt;BR /&gt;Jul 11 10:38:29 alvmnrtlnx08 kernel: ocfs: Mounting device (9,1) on ora-test-rac-01 (node 0)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Ryan&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2005 05:23:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580480#M18645</guid>
      <dc:creator>Ryan Frank</dc:creator>
      <dc:date>2005-07-13T05:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to share same LUN to different Linux hosts at the same time ? Urgent</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580481#M18646</link>
      <description>Ryan,&lt;BR /&gt;it works the same way on EVA, too. The object is called a 'Host' and is assigned the WWPN of the server's fibre channel adapter(s). You can put WWPNs from different servers into the same Host entry, but you can also allow multiple Hosts access to a single Virtual Disk.</description>
      <pubDate>Wed, 13 Jul 2005 06:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-share-same-lun-to-different-linux-hosts-at-the-same-time/m-p/3580481#M18646</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-07-13T06:32:36Z</dc:date>
    </item>
  </channel>
</rss>

