Re: ocfs2+drbd two-primary

2012-12-26 Thread Atıf CEYLAN
On Wed, 2012-12-26 at 23:12 +1100, Igor Cicimov wrote:

 Maybe try heartbeat if tou are after something simple. Using dual
 primary though without fencing is asking for trouble, split brain and
 lost od data.
 

Yes. maybe I will encounter a split brain problem. I had asked the first
question for this very reason. I have a similar problem with GlusterFS.
But drbd and ocfs2 are block device level software, I think so that
won't be problematic as GlusterFS. 
Also please, could you make reply all?

 
 
 On 26/12/2012 2:35 PM, Atıf CEYLAN meh...@atifceylan.com wrote:
 
 You are saying me that use HA and you have a master file
 system and share from on it via NFS to the other server. is
 that right?
 I tried some scenarios about cluster. GlusterFS, NFS and
 OCFS2. My system daily load is very highly. It's over 50
 million transactions daily. So nfs and glusterfs are not great
 working under the real load. ocfs2 is best solution for me.
 Because I have many small files and GlusterFS and NFS can not
 great work with many small files (or many write operations).
 When ocfs2 use be without drbd, it does go haywire at any
 fault or crash situation. So I want to try ocfs2+drbd. 
 
 On Wed, 2012-12-26 at 12:02 +1100, Igor Cicimov wrote:
 
  Then you dont need cluster at all do you. Or maybe you dont
  understand what cluster really means and provides. If you
  just need apps running on two nodes without any management
  software then use simple load balancing. Maybe even a NAS
  providing nfs mount for the mail storage instead of drbd.
  
  
 
 -- 
 M.Atıf CEYLAN
 Yurdum Yazılım

-- 
M.Atıf CEYLAN
Yurdum Yazılım


Re: ocfs2+drbd two-primary

2012-12-26 Thread Igor Cicimov
On Wed, Dec 26, 2012 at 11:47 PM, Atıf CEYLAN meh...@atifceylan.com wrote:

 **
 On Wed, 2012-12-26 at 23:12 +1100, Igor Cicimov wrote:

 Maybe try heartbeat if tou are after something simple. Using dual primary
 though without fencing is asking for trouble, split brain and lost od data.

  Yes. maybe I will encounter a split brain problem. I had asked the first
 question for this very reason. I have a similar problem with GlusterFS. But
 drbd and ocfs2 are block device level software, I think so that won't be
 problematic as GlusterFS.
 Also please, could you make reply all?


 I haven't used ocfs2 so I can't comment on it, but from what I could read
it handles split brain situations better than gfs2 and doesn't require
fencing. The gfs2, as an alternative to ocfs2, apart from fencing requires
cman configuration as well. But you say you are not happy with your tests
with ocfs2 ...
I would say the best place for your question is the Linbit drbd mailing
list. I'm sure you'll find more competent answers there from people using
various setups in production.
At the end of the day there isn't any 100% secure option in the free
software world. If you want it, you need to spend some money on hardware
appliance like NetApp lets say or Veritas or similar.


  On 26/12/2012 2:35 PM, Atıf CEYLAN meh...@atifceylan.com wrote:

  You are saying me that use HA and you have a master file system and
 share from on it via NFS to the other server. is that right?
 I tried some scenarios about cluster. GlusterFS, NFS and OCFS2. My system
 daily load is very highly. It's over 50 million transactions daily. So nfs
 and glusterfs are not great working under the real load. ocfs2 is best
 solution for me. Because I have many small files and GlusterFS and NFS can
 not great work with many small files (or many write operations). When ocfs2
 use be without drbd, it does go haywire at any fault or crash situation. So
 I want to try ocfs2+drbd.

 On Wed, 2012-12-26 at 12:02 +1100, Igor Cicimov wrote:

 Then you dont need cluster at all do you. Or maybe you dont understand
 what cluster really means and provides. If you just need apps running on
 two nodes without any management software then use simple load balancing.
 Maybe even a NAS providing nfs mount for the mail storage instead of drbd.







Re: ocfs2+drbd two-primary

2012-12-26 Thread Atif Ceylan
Yes I have encountered some issues on ocfs2 but these were not split-brain 
problems. Also my problems reasons were about the SPOF. So I want to use Drbd. 
I will join to drbd maillist and ask this subject on there again. 

Thanks,

Igor Cicimov icici...@gmail.com wrote:

On Wed, Dec 26, 2012 at 11:47 PM, Atıf CEYLAN meh...@atifceylan.com wrote:

 **
 On Wed, 2012-12-26 at 23:12 +1100, Igor Cicimov wrote:

 Maybe try heartbeat if tou are after something simple. Using dual primary
 though without fencing is asking for trouble, split brain and lost od data.

  Yes. maybe I will encounter a split brain problem. I had asked the first
 question for this very reason. I have a similar problem with GlusterFS. But
 drbd and ocfs2 are block device level software, I think so that won't be
 problematic as GlusterFS.
 Also please, could you make reply all?


 I haven't used ocfs2 so I can't comment on it, but from what I could read
it handles split brain situations better than gfs2 and doesn't require
fencing. The gfs2, as an alternative to ocfs2, apart from fencing requires
cman configuration as well. But you say you are not happy with your tests
with ocfs2 ...
I would say the best place for your question is the Linbit drbd mailing
list. I'm sure you'll find more competent answers there from people using
various setups in production.
At the end of the day there isn't any 100% secure option in the free
software world. If you want it, you need to spend some money on hardware
appliance like NetApp lets say or Veritas or similar.


  On 26/12/2012 2:35 PM, Atıf CEYLAN meh...@atifceylan.com wrote:

  You are saying me that use HA and you have a master file system and
 share from on it via NFS to the other server. is that right?
 I tried some scenarios about cluster. GlusterFS, NFS and OCFS2. My system
 daily load is very highly. It's over 50 million transactions daily. So nfs
 and glusterfs are not great working under the real load. ocfs2 is best
 solution for me. Because I have many small files and GlusterFS and NFS can
 not great work with many small files (or many write operations). When ocfs2
 use be without drbd, it does go haywire at any fault or crash situation. So
 I want to try ocfs2+drbd.

 On Wed, 2012-12-26 at 12:02 +1100, Igor Cicimov wrote:

 Then you dont need cluster at all do you. Or maybe you dont understand
 what cluster really means and provides. If you just need apps running on
 two nodes without any management software then use simple load balancing.
 Maybe even a NAS providing nfs mount for the mail storage instead of drbd.







Re: ocfs2+drbd two-primary

2012-12-25 Thread Atıf CEYLAN
Thanks for the answer.
if I must do it, I don't want to use the HA (pacemaker or corosync). I
should run on both server actively. There is a way for active-active
cluster without any HA solution? Do I know incorrect thi?

On Wed, 2012-12-26 at 00:43 +1100, Igor Cicimov wrote:

 Check pacemaker then. Search for cluster from scratch there you can
 find a comprehensive guide about HA cluster based on pacemaker,
 corosync, drbd and stonith for fancing.
 
 
 
 On 25/12/2012 10:47 AM, Atıf CEYLAN meh...@atifceylan.com wrote:
 
 Hi all,
 I have Apache and Postfix+Dovecot are running on two debian
 servers. I want to use drbd+ocfs2 (or redhat gfs). 
 I tried some configurations and fault scenarios on VM  but I
 have data loss. Would you like suggest me best practice about
 drbd+cluster filesystem with two-primary mode?  
 
 regards,
 -- 
 M.Atıf CEYLAN
 Yurdum Yazılım

-- 
M.Atıf CEYLAN
Yurdum Yazılım


Re: ocfs2+drbd two-primary

2012-12-25 Thread Atıf CEYLAN
You are saying me that use HA and you have a master file system and
share from on it via NFS to the other server. is that right?
I tried some scenarios about cluster. GlusterFS, NFS and OCFS2. My
system daily load is very highly. It's over 50 million transactions
daily. So nfs and glusterfs are not great working under the real load.
ocfs2 is best solution for me. Because I have many small files and
GlusterFS and NFS can not great work with many small files (or many
write operations). When ocfs2 use be without drbd, it does go haywire at
any fault or crash situation. So I want to try ocfs2+drbd. 

On Wed, 2012-12-26 at 12:02 +1100, Igor Cicimov wrote:

 Then you dont need cluster at all do you. Or maybe you dont understand
 what cluster really means and provides. If you just need apps running
 on two nodes without any management software then use simple load
 balancing. Maybe even a NAS providing nfs mount for the mail storage
 instead of drbd.
 
 

-- 
M.Atıf CEYLAN
Yurdum Yazılım


ocfs2+drbd two-primary

2012-12-24 Thread Atıf CEYLAN
Hi all,
I have Apache and Postfix+Dovecot are running on two debian servers. I
want to use drbd+ocfs2 (or redhat gfs). 
I tried some configurations and fault scenarios on VM  but I have data
loss. Would you like suggest me best practice about drbd+cluster
filesystem with two-primary mode?  

regards,
-- 
M.Atıf CEYLAN
Yurdum Yazılım