<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000066">
<tt>Here is what I did.<br>
<br>
First step is to define a disk that will be shared on the guest1. It
will usually be on scsi1 (scsi0 is the guest install disk).<br>
<br>
Once the guest is configured, I changed the scsi1 definition in the
.vmx file to be like:<br>
<br>
<b>disk.locking = "FALSE"</b><br>
scsi1.present = "TRUE"<br>
<b>scsi1.sharedBus = "virtual"</b><br>
scsi1:0.present = "TRUE"<br>
scsi1:0.fileName = "&lt;PATH TO YOUR VIRTUAL DISK&gt;Shared-0.vmdk"<br>
scsi1:0.writeThrough = "TRUE"<br>
scsi1:0.mode = "independent-persistent"<br>
scsi1.virtualDev = "lsilogic"<br>
<br>
Note the disk.locking and scsi1.sharedBus parameters. I set them based
on VMWare doc (Server Admin Manual - Chapter 7 - Using
High-Availability Configurations)<br>
<br>
The settings above needs to be replicated to the second guest
configuration file (.vmx file of the guest2).<br>
<br>
This worked for me. Not even close to a good performance (single core
machine, 2.8GHz and 2GB RAM running about 70 xterm sessions on the
host, thunderbird, firefox, etc.), but I wasn't expecting it anyway.<br>
</tt>
<pre class="moz-signature" cols="72">Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering

“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
</pre>
<br>
<br>
David Coulson wrote:
<blockquote cite="mid:48341768.3080103@davidcoulson.net" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
How does the second virtual machine see the disk? You do realize that
both systems need to see the 'physical' disk, and it's not just
exporting one to the other like NFS?<br>
  <br>
Tapas Mallick wrote:
  <blockquote cite="mid:817925.61128.qm@web53302.mail.re2.yahoo.com"
 type="cite">
    <pre wrap="">Hi,

I am using OCFS2console to mount in both the virtual
machine. In the first system(where the actual physical
disk located), I am getting the disk in the console
and there is no issue to format and mount. In the
second system, I am not getting the disk in the
console(or fdisk -l), so there is no option to mount
the disk.

In my second system I am not getting the "HEARTBEAT"
too !!!

Regards,
Tapas Mallick
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:fedora4all@yahoo.com">fedora4all@yahoo.com</a>

--- V Srinivas <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:vaungasrinu@gmail.com">&lt;vaungasrinu@gmail.com&gt;</a> wrote:

  </pre>
    <blockquote type="cite">
      <pre wrap="">Hi ,
 while mounting the mount point what error it is
throwing .
is it invalid argument.Ocheck o2cb status whether
heartbeat is active on 2nd
node.
 Rgds,
 srinivas

On 20/05/2008, Tapas Mallick <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="mailto:fedora4all@yahoo.com">&lt;fedora4all@yahoo.com&gt;</a>
wrote:
    </pre>
      <blockquote type="cite">
        <pre wrap="">Hi All,

I am very new in OCFS(or u can say, novice in any
cluster file system).

I have installed OCFS2 as per the instruction in
      </pre>
      </blockquote>
      <pre wrap="">two
    </pre>
      <blockquote type="cite">
        <pre wrap="">of the Guest OS(Both RHEL 4 AS) in VMware
      </pre>
      </blockquote>
      <pre wrap="">Workstation
    </pre>
      <blockquote type="cite">
        <pre wrap="">6. In the first OS where I export the file system,
      </pre>
      </blockquote>
      <pre wrap="">I
    </pre>
      <blockquote type="cite">
        <pre wrap="">am able to view the clustered file system and able
      </pre>
      </blockquote>
      <pre wrap="">to
    </pre>
      <blockquote type="cite">
        <pre wrap="">format and mount using the OCFS2CONSOLE GUI.

But In the second system(Though OCFS2 is running
      </pre>
      </blockquote>
      <pre wrap="">fine,
    </pre>
      <blockquote type="cite">
        <pre wrap="">I have propagate the configuration file and o2cb
      </pre>
      </blockquote>
      <pre wrap="">load
    </pre>
      <blockquote type="cite">
        <pre wrap="">and o2cb online ocfs2 and o2cb status are working
      </pre>
      </blockquote>
      <pre wrap="">as
    </pre>
      <blockquote type="cite">
        <pre wrap="">per the instruction) I am not able to view and
      </pre>
      </blockquote>
      <pre wrap="">mount
    </pre>
      <blockquote type="cite">
        <pre wrap="">the cluster file system.

If any Guru have any idea about the root cause for
      </pre>
      </blockquote>
      <pre wrap="">the
    </pre>
      <blockquote type="cite">
        <pre wrap="">happening and what to do next to debug the issue
      </pre>
      </blockquote>
      <pre wrap="">???
    </pre>
      <blockquote type="cite">
        <pre wrap="">Thanks in advance.

Regards,
Tapas Mallicl
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:fedora4all@yahoo.com">fedora4all@yahoo.com</a>






_______________________________________________
Ocfs2-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a>

      </pre>
      </blockquote>
    </blockquote>
    <pre wrap=""><!---->


      

_______________________________________________
Ocfs2-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
  </pre>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Ocfs2-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></pre>
</blockquote>
</body>
</html>