Re: [DRBD-user] DRBD + RHCS - Failover not working

2009-12-09 Thread James Perry
Hi Gianluca, I'm pleased to announce I now have it working Yay!!! Turns out the DRBD configuration was just fine. I was a combination of using the right resource type (postgres-8) and the order/dependencies of the resources. Thanks for your help!!! Here's my cluster.conf and drbd.conf for a

[DRBD-user] performance issues with DRBD :(

2009-12-09 Thread Jakov Sosic
Hi! I have a very strange performance issues with DRBD. I have two DRBD nodes - nasnode0 and nasnode1. They are running two raid 10 with 4 sata disks, and 1 raid10 with 6 sata disks. All volumes are exported via iSCSI (ietd) to client servers. Client server run Xen vm's. Now, my problem is that w

Re: [DRBD-user] DRBD + RHCS - Failover not working

2009-12-09 Thread James Perry
Thanks for your reply. I did try the built-in ocf script but ran into some problems early on. Now that I understand some of this a little better, let me go back and try it again. I just wanted to make sure that it's not something I did wrong with DRBD. Thanks for helping me understand. I'll g

Re: [DRBD-user] DRBD + RHCS - Failover not working

2009-12-09 Thread Gianluca Cecchi
On Wed, Dec 9, 2009 at 9:03 PM, James Perry wrote: > Hi Gianluca, > > You have described exactly what I'm doing to test this.  I kill the > postmaster process.  I've tried both a script resource as well as a > postgres-8 resource but neither seem to work.  What's odd is that I can > relocate th

Re: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

2009-12-09 Thread Mike Sweetser - Adhost
> On Wed, Dec 09, 2009 at 01:11:16PM -0800, Mike Sweetser - Adhost wrote: > > Linux SERVER 2.6.18-164.6.1.el5xen #1 SMP Tue Oct 27 11:45:55 EDT > 2009 > > x86_64 x86_64 x86_64 GNU/Linux > > > > It's running RHEL 5.4 in a Xen virtual machine. > > In that case, it is expected to just work. I comple

Re: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

2009-12-09 Thread Lars Ellenberg
On Wed, Dec 09, 2009 at 01:11:16PM -0800, Mike Sweetser - Adhost wrote: > Linux SERVER 2.6.18-164.6.1.el5xen #1 SMP Tue Oct 27 11:45:55 EDT 2009 > x86_64 x86_64 x86_64 GNU/Linux > > It's running RHEL 5.4 in a Xen virtual machine. In that case, it is expected to just work. -- : Lars Ellenberg

Re: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

2009-12-09 Thread Mike Sweetser - Adhost
Linux SERVER 2.6.18-164.6.1.el5xen #1 SMP Tue Oct 27 11:45:55 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux It's running RHEL 5.4 in a Xen virtual machine. -- Mike Sweetser, RHCT, WCSP | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washin

Re: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

2009-12-09 Thread Lars Ellenberg
On Wed, Dec 09, 2009 at 11:37:08AM -0800, Mike Sweetser - Adhost wrote: > As a followup, I tried different versions of DRBD on the Xen machines, > and was able to get it working with DRBD 8.3.2 and earlier. 8.3.3 and > later causes the kernel panic. > > Were any changes made to DRBD from 8.3.3 on

Re: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

2009-12-09 Thread Mike Sweetser - Adhost
Here's the data from the kernel panic - I'm not sure where the core would be kept to get the stack trace from. Starting DRBD resources: [ d(backup) Unable to handle kernel paging request at 81017480403c RIP: [] :drbd:drbd_md_read+0xd7/0x236 PGD 17b65c063 PUD 0 Oops: [1] SMP last sysfs

Re: [DRBD-user] DRBD + RHCS - Failover not working

2009-12-09 Thread James Perry
Hi Gianluca, You have described exactly what I'm doing to test this. I kill the postmaster process. I've tried both a script resource as well as a postgres-8 resource but neither seem to work. What's odd is that I can relocate the service to either node without issue. It's only when I "Brea

Re: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

2009-12-09 Thread Florian Haas
Can we please get a complete stack trace? Thanks. Cheers, Florian On 2009-12-09 20:37, Mike Sweetser - Adhost wrote: > As a followup, I tried different versions of DRBD on the Xen machines, > and was able to get it working with DRBD 8.3.2 and earlier. 8.3.3 and > later causes the kernel panic.

Re: [DRBD-user] Kernel panic - DRBD 8.3.6 and RHEL 5.4 x64 xen

2009-12-09 Thread Mike Sweetser - Adhost
As a followup, I tried different versions of DRBD on the Xen machines, and was able to get it working with DRBD 8.3.2 and earlier. 8.3.3 and later causes the kernel panic. Were any changes made to DRBD from 8.3.3 onward that causes problems with Xen? Are there parameters I need to set? Here's m

Re: [DRBD-user] Geo Location?

2009-12-09 Thread Brian R. Hellman
We utilize DRBD to replicate data between Vienna, Austria and Beaverton, OR. We use a "follow the sun" model, so whatever timezone has business hours becomes the primary So to answer your questions: > First off, can it be done? Yes it can, see above statement. > What impediments and / or issues

Re: [DRBD-user] Replication over Fiber Links

2009-12-09 Thread Charlie Schluting
Mark Watts wrote: > > Well, if you bought Fiber-Ethernet cards, I suspect that would work. > Right.. what is the card? If Ethernet, no problem. But the interface being fibre doesn't tell much. FC? Ethernet? Infiniband? -Charlie ___ drbd-user maili

Re: [DRBD-user] block drbd0: bio would need to, but cannot, be split error on physical device

2009-12-09 Thread Vadym Chepkov
--- On Wed, 12/9/09, Lars Ellenberg wrote: > Ok. > We apparently have a problem with 64K page size. > We could do a "hot fix", to get you going, > but that may work only "accidentally" ;) > What do you mean "accidentally"? Wouldn't work all the time or sometimes will crash the box? If none o

Re: [DRBD-user] block drbd0: bio would need to, but cannot, be split error on physical device

2009-12-09 Thread Lars Ellenberg
On Wed, Dec 09, 2009 at 06:49:02AM -0800, Vadym Chepkov wrote: > --- On Wed, 12/9/09, Lars Ellenberg wrote: > > > > > Architecture? > > uname -a? > > > > > > Linux ashlin02 2.6.18-164.el5 #1 SMP Tue Aug 18 15:58:09 EDT 2009 ppc64 ppc64 > ppc64 GNU/Linux Ok. We apparently have a problem with

Re: [DRBD-user] SLES 11 showstoppers in the drbd-8.3.6.tar.gz source distribution ...

2009-12-09 Thread Florian Haas
On 2009-12-09 14:16, Joe Bill wrote: > Just to fix a few showstoppers when building DRBD under SLES 11... > > 1) > > At http://www.drbd.org/users-guide-emb/s-build-rpm.html > > every occurence of ... > > `rpm -E _sourcedir` > > should read instead ... > > `rpm -E %_sourcedir` Thanks, will be

Re: [DRBD-user] block drbd0: bio would need to, but cannot, be split error on physical device

2009-12-09 Thread Vadym Chepkov
--- On Wed, 12/9/09, Lars Ellenberg wrote: > > Architecture? > uname -a? > > Linux ashlin02 2.6.18-164.el5 #1 SMP Tue Aug 18 15:58:09 EDT 2009 ppc64 ppc64 ppc64 GNU/Linux Thank you, Vadym Chepkov ___ drbd-user mailing list drbd-user@lists.linbi

Re: [DRBD-user] Drbd 8.3.6 module compilation problem

2009-12-09 Thread Lars Ellenberg
On Wed, Dec 09, 2009 at 01:28:28PM +0100, Marian Schmotzer wrote: > Hi everyone > I found problem with compilation drbd kernel module version 8.3.6 on one > of our systems. System is xen domU with kernel 2.6.18-r12 . > After deeper look into problem i found that module can be compiled > without xe

[DRBD-user] SLES 11 showstoppers in the drbd-8.3.6.tar.gz source distribution ...

2009-12-09 Thread Joe Bill
Just to fix a few showstoppers when building DRBD under SLES 11... 1) At http://www.drbd.org/users-guide-emb/s-build-rpm.html every occurence of ... `rpm -E _sourcedir` should read instead ... `rpm -E %_sourcedir` 2) Then, several occurences of '/etc/SuSErelease', in files 'configure' and '

[DRBD-user] Drbd 8.3.6 module compilation problem

2009-12-09 Thread Marian Schmotzer
Hi everyone I found problem with compilation drbd kernel module version 8.3.6 on one of our systems. System is xen domU with kernel 2.6.18-r12 . After deeper look into problem i found that module can be compiled without xen compatibility flag set in kernel source, or if xen compatible kernel is se

Re: [DRBD-user] drbd_send_uuids() causing kernel panic

2009-12-09 Thread Florian Haas
On 2009-12-08 01:20, Ivan Ho wrote: > > Hi, > > We are using DRBD v8.2.6 and recently ran into an issue where the > primary and secondary were stuck in WFBitMapS and WFBitMapT. > > We then applied the following patch: > > http://git.drbd.org/?p=drbd-8.2.git;a=commit;h=e350643dd4d42a9b06a283

Re: [DRBD-user] DRBD + RHCS - Failover not working

2009-12-09 Thread Gianluca Cecchi
On Wed, Dec 9, 2009 at 2:02 AM, James Perry wrote: [snip] > Here's the error I'm getting... It appears that DRBD is failing but I can't > tell why. > > Dec  7 14:34:49 rhcsnode1 clurgmgrd[8024]: Service > service:mezeo_ha_db started > Dec  7 14:36:36 rhcsnode1 clurgmgrd: [8024]: script:pgsql_s

Re: [DRBD-user] allow doubal primary and the notice

2009-12-09 Thread guohuai li
Dear all, Any idea for this ? regards, Edward From: guohuai...@hotmail.com To: james.mas...@tradefair.com; drbd-user@lists.linbit.com; guohuailee0...@gmail.com; lichangl...@hisense.com Subject: allow doubal primary and the notice Date: Wed, 9 Dec 2009 09:00:35 +0800 Dear all, so

[DRBD-user] Geo Location

2009-12-09 Thread Brent Clark
Hiya Id like to know. Does anyone exercise geo location redundancy using drbd. First off, can it be done? What impediments and / or issues have you experienced? What is the impact on your network. (I might be considering hosting two datacentres, so im hoping that may not be an issue, but I am w

[DRBD-user] preferably kernel and userland versions should match

2009-12-09 Thread Lannaud, Eric
Hello, I upgrade my Kernel. Now when I start DRBD I have the message: # /etc/init.d/drbd start DRBD module version: 8.3.1 userland version: 8.3.3 Why this difference? #modinfo drbd filename: /lib/modules/2.6.31-16-server/updates/dkms/drbd.ko alias: block-major-147

[DRBD-user] Geo Location?

2009-12-09 Thread Brent Clark
Hiya Id like to know. Does anyone exercise geo location redundancy using drbd. First off, can it be done? What impediments and / or issues have you experienced? What is the impact on your network. (I might be considering hosting two datacentres, so im hoping that may not be an issue, but I am w

[DRBD-user] drbd_send_uuids() causing kernel panic

2009-12-09 Thread Ivan Ho
Hi, We are using DRBD v8.2.6 and recently ran into an issue where the primary and secondary were stuck in WFBitMapS and WFBitMapT. We then applied the following patch: http://git.drbd.org/?p=drbd-8.2.git;a=commit;h=e350643dd4d42a9b06a28377369d3c6a4c7b61ed which has resolved the stuck, but now

Re: [DRBD-user] LVM crash maybe due to a drbd issue

2009-12-09 Thread Lars Ellenberg
On Wed, Dec 09, 2009 at 09:51:54AM +0100, Maxence DUNNEWIND wrote: > > Hard reboot (e.g. > > echo 1 > /proc/sys/kernel/sysrq > > echo b > /proc/sysrq-trigger > > ) and drbd upgrade. > Ok, thanks for the tip. Is this a bug I should report somewhere? well, * you did already * I told you

Re: [DRBD-user] how to make the resource secondary mandatorily

2009-12-09 Thread Lars Ellenberg
On Fri, Dec 04, 2009 at 12:20:52PM +0800, guohuai li wrote: > > Dear all, > > > > Would you help to tell me how to make the resource secondary mandatorily ? > > > > Now I use DRBD8.3.0. Would you please simply upgrade to 8.3.5. Thank you. -- : Lars Ellenberg : LINBIT | Your Way to High

Re: [DRBD-user] LVM crash maybe due to a drbd issue

2009-12-09 Thread Maxence DUNNEWIND
> Hard reboot (e.g. > echo 1 > /proc/sys/kernel/sysrq > echo b > /proc/sysrq-trigger > ) and drbd upgrade. Ok, thanks for the tip. Is this a bug I should report somewhere? Cheers, Maxence -- Maxence DUNNEWIND Contact : maxe...@dunnewind.net Site : http://www.dunnewind.net 06 32 39 3

Re: [DRBD-user] LVM crash maybe due to a drbd issue

2009-12-09 Thread Lars Ellenberg
On Tue, Dec 08, 2009 at 05:10:15PM +0100, Maxence DUNNEWIND wrote: > Hi, > > the drbd16 device is indeed blocking lvchange : > z2-3:~# lsof /dev/drbd16 > COMMANDPID USER FD TYPE DEVICE SIZE/OFFNODE NAME > lvchange 4969 root5u BLK 147,16 0t0 1328107 /dev/drbd16 > > what i

Re: [DRBD-user] block drbd0: bio would need to, but cannot, be split error on physical device

2009-12-09 Thread Lars Ellenberg
On Tue, Dec 08, 2009 at 03:50:09AM -0800, Vadym Chepkov wrote: > > no, it's default kernel from Redhat 5.4 > > kernel-2.6.18-164.el5 > > [vchep...@ashlin02 ~]$ rpm -qa|egrep "kernel|drbd" > kernel-devel-2.6.18-164.el5 > drbd-8.3.5-3 > kernel-headers-2.6.18-164.el5 > kernel-2.6.18-164.el5 > drbd-km

Re: [DRBD-user] Replication over Fiber Links

2009-12-09 Thread Florian Haas
On 2009-12-08 18:11, jayfitzpatr...@gmail.com wrote: > Hi Mark. > > I suspected the same, but our storage guy was hoping that there was some > way of having the fiber cards talking to each other without the need for > the tcpip encapsulation, therefore reducing the overhead You can run Infiniband