[DRBD-user] Mount filesystem error and how to recover out-of-sync partition

2012-06-06 Thread 陈楠
Hi all, When our primary server power outage, our secondary server can not mount filesystem. We think that: filesystem has crashed. We know inode information, super block info, data block, metadata block are stored in partition. One of these is destroied will cause filesystem issue or drbd issue

[DRBD-user] Corosync Configuration

2012-06-06 Thread Yount, William D
I am following this guide: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/txt/Clusters_from_Scratch/Clusters_from_Scratch.txt I have two servers with two NICS each: Server 1: NIC-A: 10.89.99.31 NIC-B: 192.168.1.5 Server 2: NIC-A: 10.89.99.32

[DRBD-user] fault tolerant/HA NFS

2012-06-06 Thread Paul Theodoropoulos
So, i'm not sure if this will be helpful, but it certainly can't hurt. Last month i set up my first HA-NFS setup, backend for frontend PHP servers. I had some previous experience with the corosync/pacemaker/heartbeat/drbd suite - a rabbitmq setup a year ago, and i set up the PHP frontend serv

Re: [DRBD-user] Fault Tolerant NFS

2012-06-06 Thread Yount, William D
Thank you, that was a big help. I have come to realize that my idea of how Heartbeat/DRBD work together was completely wrong. I am working on a better understanding. From: Marcel Kraan [mailto:mar...@kraan.net] Sent: Wednesday, June 06, 2012 1:13 AM To: Yount, William D Cc: Felix Frank; drbd-us

Re: [DRBD-user] Fault Tolerant NFS

2012-06-06 Thread J.R. Lillard
This isn't the officially preferred method but it works for us. Instead of using Pacemaker, Corosync and OCFS2 we just use ucarp. All of your switching is handled via /etc/network/interfaces. You'll want to disable NFS from starting automatically at boot. I also disable DRBD from starting at bo

[DRBD-user] DRBD 8.3 User's Guide - al-extents typo

2012-06-06 Thread Pascal BERTON
Guys, It seems that the drbd.conf man page section (DRBD 8.3 Users Guide page 135) provides an erroneous max value for the "al-extents" parameter. It reads 3843 when it seems to be 3833 in reality : [root@euriastore2 drbd.d]# drbdadm create-md vmfs drbd.d/global_common.conf:27: al-exte

Re: [DRBD-user] Read Balancing Broken in 8.4.1?

2012-06-06 Thread Shaun Thomas
On 06/04/2012 08:45 AM, Shaun Thomas wrote: The weird thing is that this is a system where we've failed over to the second node several times, and the second node checks out. Clearly DRBD is working properly, but the read balancing feature just fails outright. Replying to my own message again,

Re: [DRBD-user] drbd 8.3.12 not writing meta data

2012-06-06 Thread Florian Haas
On Wed, Jun 6, 2012 at 9:28 PM, Dirk wrote: > Hi folks, > > on a freshly installed server pair I am activating 3 drbd volumes each. > The first two go without problem, the third returns >> >> [root@server-01 ~]# drbdadm create-md RESOURCE >> Writing meta data... >> initializing activity log >> NOT

[DRBD-user] drbd 8.3.12 not writing meta data

2012-06-06 Thread Dirk
Hi folks, on a freshly installed server pair I am activating 3 drbd volumes each. The first two go without problem, the third returns [root@server-01 ~]# drbdadm create-md RESOURCE Writing meta data... initializing activity log NOT initialized bitmap New drbd meta data block successfully created

Re: [DRBD-user] Fault Tolerant NFS

2012-06-06 Thread Dennis Jacobfeuerborn
On 06/06/2012 08:16 AM, Torsten Rosenberger wrote: > Am 06.06.2012 05:50, schrieb Yount, William D: >> I understand what heartbeat does in the general sense. Actually configuring >> it correctly and making it work the way it is supposed to is the problem. >> >> I have read the official DRBD/Heartb

Re: [DRBD-user] Three-way replication setup

2012-06-06 Thread Luca Fornasari
Original Message Subject: Re: [DRBD-user] Three-way replication setup From: Lars Ellenberg To: drbd-user@lists.linbit.com CC: Date: 06/06/2012 11:34 AM Have a look at the thread "Enabling a stacked resource - HELP!" of September 2011. You may find some of it useful. http://www

Re: [DRBD-user] Three-way replication setup

2012-06-06 Thread Lars Ellenberg
On Tue, Jun 05, 2012 at 06:25:03PM +0200, Luca Fornasari wrote: > Original Message > Subject: Re: [DRBD-user] Three-way replication setup > From: Felix Frank > To: Luca Fornasari > CC: drbd-user@lists.linbit.com > Date: 06/05/2012 06:11 PM > >In my setup I can see the upper laye

Re: [DRBD-user] Three-way replication setup

2012-06-06 Thread Lars Ellenberg
On Tue, Jun 05, 2012 at 10:14:00PM +0200, Arnold Krille wrote: > On 05.06.2012 21:06, Florian Haas wrote: > > On Tue, Jun 5, 2012 at 8:34 PM, Arnold Krille wrote: > >> Luca Fornasari schrieb: > >>> I have already setup a two node HA Proxmox cluster configuring as per > >>>

Re: [DRBD-user] Three-way replication setup

2012-06-06 Thread Felix Frank
On 06/05/2012 10:14 PM, Arnold Krille wrote: > But somehow I fear my eviction from this list when I always answer posts > with a list of alternatives... Now, now, I believe you're underestimating our hosts. After all, I believe technical discussion should never be limited to the subject immediate