[DRBD-user] small patch for drbddisk

Lars Ellenberg lars.ellenberg at linbit.com
Fri Jul 9 12:14:19 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Fri, Jul 09, 2010 at 07:03:32PM +0900, Junko IKEDA wrote:
> Hi,
> 
> > Can you please provide kernel and resource agent (heartbeat) logs
> > for such an incident.
> 
> # uname -a
> Linux dl380g5d 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010
> x86_64 x86_64 x86_64 GNU/Linux
> 
> # cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 5.5 (Tikanga)
> 
> There is no RA log on ACT node after this failure because its disks
> has already removed.
> SBY node's log says like this;
> 
> info: rsc:prmDrPostgreSQLDB: start
> info: RA output: (prmDrPostgreSQLDB:start:stderr) 0: State change
> failed: (-1) Multiple primaries not allowed by config
> 
> info: RA output: (prmDrPostgreSQLDB:start:stderr) Command '
> info: RA output: (prmDrPostgreSQLDB:start:stderr) /sbin/drbdsetup
> info: RA output: (prmDrPostgreSQLDB:start:stderr)
> info: RA output: (prmDrPostgreSQLDB:start:stderr) 0
> info: RA output: (prmDrPostgreSQLDB:start:stderr)
> info: RA output: (prmDrPostgreSQLDB:start:stderr) primary
> info: RA output: (prmDrPostgreSQLDB:start:stderr) ' terminated with exit code 11

I don't doubt the followon problems.

I'd like to see the _original_ error,
where the drbdsetup secondary fails,
so I can better see if your fix is the "right" fix.

> I will try to change the destination of log and get the perfect RA log
> on ACT node later.

Great.
Thanks,

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list