Re: [Ocfs2-users] Ocfs2-users Digest, Vol 105, Issue 4

2012-09-13 Thread Asanka Gunasekera
Hi Sunil, you are right out of my frustration I have made mistake in the config 
file, how this is working :)

Thank you and best regards
Asanka





 From: Sunil Mushran sunil.mush...@gmail.com
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk 
Cc: Yuvrajsinh Chauhan yuvraj.chau...@elitecore.com; 
ocfs2-users@oss.oracle.com ocfs2-users@oss.oracle.com 
Sent: Thursday, 13 September 2012, 5:17
Subject: Re: [Ocfs2-users] Ocfs2-users Digest, Vol 105, Issue 4
 

On Wed, Sep 12, 2012 at 9:45 AM, Asanka Gunasekera 
asanka_gunasek...@yahoo.co.uk wrote:

Load O2CB driver on boot (y/n) [y]:
Cluster stack backing O2CB [o2cb]:
Cluster to start on boot (Enter none to clear) [ocfs2]:
Specify heartbeat dead threshold (=7) [31]:
Specify network idle timeout in ms (=5000) [3]:
Specify network keepalive delay in ms (=1000) [2000]:
Specify network reconnect delay in ms (=2000) [2000]:
Writing O2CB configuration: OK

Loading filesystem configfs: OK
Mounting configfs filesystem at /sys/kernel/config: OK
Loading filesystem ocfs2_dlmfs: OK
Mounting ocfs2_dlmfs filesystem at /dlm: OK
Starting O2CB cluster ocfs2: Failed
Cluster ocfs2 created
Node ocfsn1 added
o2cb_ctl: Internal logic failure while adding node ocfsn2

Stopping O2CB cluster ocfs2: OK


Something wrong with your cluster.conf. Overlapping node numbers, maybe.

 
abd in the messages I time to time get below and I saw in a post that I can 
ignore this.

modprobe: FATAL: Module ocfs2_stackglue not found.


Yes, this is harmless.___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users

Re: [Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 2.6.18-300.el5

2012-09-13 Thread Asanka Gunasekera
Hi Tiger, out of my frustration I have made mistakes in the config file, how 
this is working :)

Thank you and best regards
Asanka



 From: Tiger Yang tiger.y...@oracle.com
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk 
Cc: ocfs2-users@oss.oracle.com ocfs2-users@oss.oracle.com 
Sent: Thursday, 13 September 2012, 8:36
Subject: Re: [Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 
2.6.18-300.el5
 

What is the version of the ocfs2-tools? 

run mkfs.ocfs2 --version to get the tools version.

For 1.4.10, you need ocfs2-tools 1.6.3-2.

Tiger


On 09/12/2012 03:32 PM, Asanka Gunasekera wrote: 
Hi this is a resend from a subscribed address sorry if I am causing any 
inconvenience



hope some one can help me on this, I have been straggling to get this working 
for few weeks now. My issue is as below

I am just trying to use ocfs2 as shared file system between 2
  node HA cluster for a application that runs on these nodes

I have downloaded below packages

ocfs2-2.6.18-238.9.1.el5-1.4.9-1.el5.x86_64.r
and 
ocfs2-2.6.18-308.1.1.el5-1.4.10-1.el5.x86_64

Installation goes with out any complains but when its time to
  configure I get below errors

[root@ccbsn01 ~]# /etc/init.d/o2cb configure
Configuring the O2CB driver.

This will configure the on-boot properties of the O2CB
driver.
The following questions will determine whether the driver is
loaded on
boot. The current values will be shown in brackets ('[]').
Hitting
ENTER without typing an answer will keep that
current value. Ctrl-C
will abort.

Load O2CB driver on boot (y/n) [y]:
Cluster stack backing O2CB [o2cb]:
Cluster to start on boot (Enter none to clear) [ocfs2]:
Specify heartbeat dead threshold (=7) [31]:
Specify network idle timeout in ms (=5000) [3]:
Specify network keepalive delay in ms (=1000) [2000]:
Specify network reconnect delay in ms (=2000) [2000]:
Writing O2CB configuration: OK
Loading filesystem ocfs2_dlmfs: Unable to load filesystem
ocfs2_dlmfs
Failed

And in the /var/log/message log I get below error

Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_stackglue not found.
Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_dlmfs
not found.
Sep 12 11:33:13 node01 modprobe: FATAL: Module
ocfs2_stackglue not found.
Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_dlmfs
not found.

How can I fix this and get this working

Thanks and Best Regards

___
Ocfs2-users mailing list Ocfs2-users@oss.oracle.com 
https://oss.oracle.com/mailman/listinfo/ocfs2-users___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users

[Ocfs2-users] HA-OCFS2?

2012-09-13 Thread Eric
Is it possible to create a highly-available OCFS2 cluster (i.e., A storage 
cluster that mitigates the single point of failure [SPoF] created by storing an 
OCFS2 volume on a single LUN)?


The OCFS2 Project Page makes this claim...

 OCFS2 is a general-purpose shared-disk cluster file system for Linux capable 
 of
providing both high performance and high availability.

...but without backing-up the claim of high availability storage  (at either 
the HDD- or the node-level).

I've found a couple of articles hinting at using Linux Multipathing or  DRBD 
but very little detailed information about either.

TIA,
Eric Pretorious
Truckee, CA
___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users

Re: [Ocfs2-users] HA-OCFS2?

2012-09-13 Thread Sunil Mushran
cfs != storage

You need to get a highly available storage that is concurrently accessible
from multiple nodes.

ocfs2 will allow multiple nodes to concurrently access the same storage.
With posix semantics.
If a node dies, the remaining nodes will pause to recover and then continue
functioning. The
dead node can then restart and rejoin the cluster.

On Thu, Sep 13, 2012 at 5:02 PM, Eric epretori...@yahoo.com wrote:

 Is it possible to create a highly-available OCFS2 cluster (i.e., A storage
 cluster that mitigates the single point of failure [SPoF] created by
 storing an OCFS2 volume on a single LUN)?

 The OCFS2 Project Page makes this claim...

  OCFS2 is a general-purpose shared-disk cluster file system for Linux
 capable of providing both *high performance* and *high availability*.

 ...but without backing-up the claim of high availability storage (at
 either the HDD- or the node-level).

 I've found a couple of articles hinting at using Linux Multipathing or
 DRBD but very little detailed information about either.

 TIA,
 Eric Pretorious
 Truckee, CA

 ___
 Ocfs2-users mailing list
 Ocfs2-users@oss.oracle.com
 https://oss.oracle.com/mailman/listinfo/ocfs2-users

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users