On Tue, Mar 02, 2010 at 07:28:07PM +0100, Dejan Muhamedagic wrote:
> Hi,
>
> On Tue, Mar 02, 2010 at 04:19:07PM +0100, Cristian Mammoli - Apra Sistemi
> wrote:
> > Lars Ellenberg wrote:
> >
> > >If a "mandatory" parameter has a default,
&g
t cannot possibly have a sane default, like the IP for IPaddr2.
Locations of binaries with the sane default of
"standard binary location" should not be mandatory.
But, if RA meta-data is specifying a parameter as mandatory AND gives
a default, which I'd argue is not really the smart
On Sat, Feb 27, 2010 at 02:39:27PM +0100, Sander van Vugt wrote:
> > I did not check yet how dated the rest of the
> > presented components is?
> >
> Hope SLES 11 with HAE, pathced up to feb. 8th 2010 is not too dated?
>
> ;-)
>
Should, do the job, I guess.
Most of the time.
;-)
(If it would
money out of it
> anyway.
Looks good on a first glance, so thanks for that.
Only, well, drbd 0.7.22 ... that's a bit dated meanwhile...
Why does it always have to be what "shipped" with some "enterprise"
distribution almost four years ago :(
I did not check yet how dated
u may need to give explicit --timeout and --dc-timeout
on the drbd.conf handler line.
--
: 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.
___
On Mon, Feb 22, 2010 at 08:46:23PM +0100, Andrew Beekhof wrote:
> On Mon, Feb 22, 2010 at 5:10 PM, Lars Ellenberg
> wrote:
> > On Mon, Feb 22, 2010 at 01:00:29PM +0100, Markus M. wrote:
> >> Hello,
> >>
> >> sometimes "heartbeat stop" seems to hang
ITY_HIGH - (sig == SIGTERM ? 2 : 1),
+ NULL, NULL);
CRM_ASSERT(crm_signals[sig] != NULL);
crm_signals[sig]->handler = dispatch;
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
DRBD® and LI
I ask because I used that exact meta parama today and it worked
> > like a charm.
>
> Some versions used to prevent promotion when target role was "Started".
Really?
Which ones?
Was it not that target-role="Master"
allowed more than master-max to be promoted?
Or are
ning the test_user on the mysql server.
> Very odd indeed.
Not at all.
If you look at the script,
you will notice that for $OCF_CHECK_LEVEL = 0,
a simple "exists a process with that pid" check is made,
which of course is true for merely stopped processes.
Only for OCF_CHECK_LEVEL != 0
rballs are available from
http://www.linux-ha.org/wiki/Download
which will also point to locations of binary packages.
The hgweb view of the Mercurial repository can be found at
http://hg.linux-ha.org/heartbeat-STABLE_3_0
Build instructions have been written up by Andrew on the Clusterlabs
website
On Fri, Jan 29, 2010 at 10:46:35AM +0100, Dejan Muhamedagic wrote:
> On Thu, Jan 28, 2010 at 07:22:34PM +0100, Lars Ellenberg wrote:
> > On Thu, Jan 28, 2010 at 03:49:12PM +0100, Dejan Muhamedagic wrote:
> > > On Thu, Jan 28, 2010 at 03:40:54PM +0100, Lars Ellenberg wrote:
>
On Thu, Jan 28, 2010 at 03:49:12PM +0100, Dejan Muhamedagic wrote:
> On Thu, Jan 28, 2010 at 03:40:54PM +0100, Lars Ellenberg wrote:
> > On Thu, Jan 28, 2010 at 03:20:37PM +0100, Lars Ellenberg wrote:
> > > On Thu, Jan 28, 2010 at 02:01:25PM +0100, Florian Haas wrote:
> >
On Thu, Jan 28, 2010 at 03:20:37PM +0100, Lars Ellenberg wrote:
> On Thu, Jan 28, 2010 at 02:01:25PM +0100, Florian Haas wrote:
> > On 2010-01-28 13:51, Dejan Muhamedagic wrote:
> > > Yes :) Is there a way to copy/convert old wiki documents to the
> > > new wiki? Some d
he page they are pointing to,
maybe just convert them to normal text.
__underline__ becomes underline
^superscript^
,,subscript,,
Attachments need special attention anyways, in case you really want to
move them over. If it is not simple images, but binaries, pdfs or
simi
ease refer to
http://www.linux-ha.org/ResourceAgent\n";)
xml/crm-1.0.dtd: See http://linux-ha.org/v2/Concepts/Clones for more
information on notify actions
xml/crm-transitional.dtd: See http://linux-ha.org/v2/Concepts/Clones for more
information on notify actions
--
: Lars Ellenberg
: L
primitive dum0 ocf:pacemaker:Dummy
primitive dum1 ocf:pacemaker:Dummy
primitive dum2 ocf:pacemaker:Dummy
group gDum dum0 dum1 dum1 dum2
delete gDum
if there is no double referencing of dum1,
it works as expected.
--
: Lars Ellenberg
: LINBIT | Your Way to Hi
ot.
So you have to make sure there will be no changes between those two
events, you need to also freeze IO on the DRBD Primary. The fence-peer
handler script hook, and the DRBD fencing policy are what can be used
for this.
--
: Lars Ellenberg
: LINBIT | Your Way to High Availabili
t as well to be part of the LPIC-3
> > certification.
>
> That is very interesting; do you have more information on this? I'd be
> happy to get involved with this effort, also from a planning/design
> stage.
There is http://wiki.lpi.org/wiki/LPIC-3_304_Objectives
which al
On Wed, Jan 06, 2010 at 09:02:07PM +0100, Lars Ellenberg wrote:
> On Wed, Jan 06, 2010 at 10:52:41AM -0500, Frank DiMeo wrote:
> > When I remove the target-role=master specifier from the configuration,
> > and then put the node where the master resources are running into
> > s
ts on the
master role, as explained previously. or at least use a very low score.
:)
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
DRBD® and LINBIT® are registered trad
settings.
as a side note, also try to avoid location constraints on Master roles.
in our experience it can confuse the crm into believing that it would
always be ok to promote on those nodes, which is not necessarily the case.
ymmv.
it probably depends on the behaviour of the RA as well.
--
: Lar
153 seems to be relevant, and has been fixed today.
http://developerbugs.linux-foundation.org/show_bug.cgi?id=2153
--
: 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, A
"master scores"
in the ocf:linbit:drbd RA, please compare and try with the latest
version of that agent, available at
http://git.drbd.org/?p=drbd-8.3.git;a=blob_plain;f=scripts/drbd.ocf;hb=HEAD
Also, try to reduce your "preference" scores to some sane number,
and not use
ing list
>> Pacemaker@oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> ___
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlab
retry $whatever_seconds,
so it simply sends the QUIT once,
and then waits for it to take effect.
any debian maintainer around?
is this fixed now?
if not, would reopening the bug help?
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.
a workaround,
which works because our RA is retrying start and stop
for as long as it takes.
But your _problem_ is that the _other_ RAs apparently
pretend that something is stopped that actually is only "shutting down".
On Filesystem stop, or even on DRBD stop, you get a lot of log entries
ab
kes the code more robust,
follows principle of least surprise etc.
there may even be plugins that can only "autodetect" in all caps
because of limitations in the firmware of the hardware used.
I don't know.
but either folding hostnames to all lowercase,
or using strcasecmp, sounds reas
gt; drbd is disconnected.
>
> resource monitoring.
> i would assume the RA looks for this case
You need resource level fencing.
Have a look for fencing, the fence-peer handler,
and "crm-fence-peer.sh" in the DRBD User's Guide.
--
: Lars Ellenberg
: LINBIT | Your Way to Hi
me that it is DRBDs fault if something
does not go as expected ;)
> Really hard to say without logs.
Not so hasty, Dejan ;)
Have a guess again: why would storage02 not start the resource "nfs"?
Hint:
> > location cli-standby-nfs nfs \
> > rule $id="cli-standby-ru
hand,
so it could potentially hanlde this better,
especially since one node does not run any resources.
I don't know, I did not try.
A hack that would even work in very old haresources clusters
would be to have a first resource that will block indefinetely
until co
On Thu, Oct 15, 2009 at 10:58:12AM +0200, Raoul Bhatia [IPAX] wrote:
> On 10/15/2009 10:47 AM, Lars Ellenberg wrote:
> >> Hmmm... looks like "Slave" does the right thing, but not "Started"
> >
> > In that case, I vote for a Documentation change only
On Thu, Oct 15, 2009 at 10:08:59AM +0200, Andrew Beekhof wrote:
> On Wed, Oct 14, 2009 at 5:07 PM, Rasto Levrinc
> wrote:
> > On Wed, October 14, 2009 4:36 pm, Andrew Beekhof wrote:
> >> On Wed, Oct 14, 2009 at 4:12 PM, Lars Ellenberg
> >> wrote:
> >&
ng mainly on email solution and HA
> > solution. ThirdWare is a certified partner of LINBIT and is working on
> > DRBD based solution together with LINBIT. It is also a partner of SuSE
> > (Novell) :-) Recently we built 30TB iSCSI target cluster using DRBD,
> > Heartbeat and Pa
\
meta clone-max="2" notify="true" target-role="started"
property $id="cib-bootstrap-options" \
dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \
cluster-infrastructure="openais" \
expected-quorum-v
On Mon, Oct 12, 2009 at 09:39:58AM +0200, Andrew Beekhof wrote:
> On Thu, Oct 1, 2009 at 5:46 PM, Lars Ellenberg
> wrote:
> > On Thu, Oct 01, 2009 at 05:45:30PM +0200, Lars Ellenberg wrote:
> >>
> >> attached is a full cibadmin -Q.
> >
> > I hate it. gr
the same
pacemaker cluster anyways.
>> So the question is, how do I get pacemaker to start both normal and
>> stacked resources, promote normal and stacked resources as primary and
>> then start a web server on the stacked resource that becomes primary.
proper constraints ;)
A
if not, there you are.
You just have to get it right then,
and the RA does not need to guess.
--
: 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.
On Thu, Oct 01, 2009 at 05:45:30PM +0200, Lars Ellenberg wrote:
>
> attached is a full cibadmin -Q.
I hate it. grmblf.
> there is exactly one master slave configured,
> primitive is the dummy Stateful agent.
>
> current cluster state is "stable",
> one Master,
aster score cause a slave to be stopped?
--
: 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.
___
Pacemaker mailing list
Pace
send_arp -i $interval_ms -r $repeat_count -p $some_pid_file $DEVICE $IP
${MAC:-auto} not_used not_used
iputils-arping:
(
arping -U -b -c $repeat_count -w $repeat_count -I $DEVICE -s $IP $IP &
arping -A -b -c $repeat_count -w $repeat_count -I $DEVICE -s $IP $IP &
wait
)
should be almost fun
at all?
On Linux (and other unix-ish systems), put it into inittab.
If you prefer indirections (for administrative or other purposes),
respawn some wrapper script from your inittab (just in case the wrapper
script dies unexpectedly), and put other respawn lines into some
config file that is parsed
rbd0 /service ext3defaults0 2
NONONONONO.
It does not belong in fstab.
If you insist on placing it there, at least say "defaults,noauto".
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and c
On Mon, Sep 14, 2009 at 10:23:55AM +0200, Michael Schwartzkopff wrote:
> Am Montag, 14. September 2009 09:51:45 schrieb Lars Ellenberg:
> > On Fri, Sep 11, 2009 at 09:50:56AM +0200, Michael Schwartzkopff wrote:
> > > Am Donnerstag, 10. September 2009 19:25:53 schrieb Lars Ellenbe
On Fri, Sep 11, 2009 at 09:50:56AM +0200, Michael Schwartzkopff wrote:
> Am Donnerstag, 10. September 2009 19:25:53 schrieb Lars Ellenberg:
> > On Thu, Sep 10, 2009 at 05:10:39PM +0200, Michael Schwartzkopff wrote:
> > > Hi,
> > >
> > > I configured a dual ma
he problem should be described a bit (better)?
> I think this is a very good place to start:
> http://www.drbd.org/users-guide-emb/ch-pacemaker.html
> then, http://www.clusterlabs.org/wiki/Documentation
Thanks for advertising us ;)
--
: Lars Ellenberg
: LINBIT | Your Way to High
t; master on that node?
>
> Thanks for any enlightenting answers.
Most likely it prevents you from shoting yourself in the foot ;)
look at /proc/drbd and the kernel logs (appart from the ha.log, of
course) on the drbd nodes to find out more.
I bet you manoevered yourself into diverging data
r: the left over "priority space" to work with
> > is rather small. You have to use values totalling less than 90 or you
> > will overrule the RA. If you have multiple considerations (multiple
> > network connections for example), you run out of space quickly.
.0.8-SLES10,
ok, I'll just skip this check.
--
: 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.
___
Pacemaker mailin
On Thu, Jun 11, 2009 at 01:59:56PM +0200, Dejan Muhamedagic wrote:
> > so, to summarize, I hacked up a compare_version.
> > and I think I even avoided bashisms! that is once in a life time :)
>
> Exemplary ;-)
It may depend on some GNU stuff in sed and sort, though.
> > comments?
> > overkill?
>
uot; shell function library -- if it turns out to even work on
non-linux shell, sed and sort ;)
whatever it is good for.
--
: 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, Austr
On Wed, Jun 10, 2009 at 04:42:32PM +0200, Dejan Muhamedagic wrote:
> On Wed, Jun 10, 2009 at 04:26:31PM +0200, Andrew Beekhof wrote:
> > On Wed, Jun 10, 2009 at 3:53 PM, Lars
> > Ellenberg wrote:
> > > taking this to the pacemaker list...
> > >
> > >
taking this to the pacemaker list...
On Wed, Jun 10, 2009 at 02:53:24PM +0200, Andrew Beekhof wrote:
> since 1.0.4, giving --version to almost any of the crm tools will give
> you the current version number.
> it also includes the supported stacks and (if built correctly) the Hg
> changeset us
On Tue, Jun 09, 2009 at 06:11:21PM +0200, Lars Marowsky-Bree wrote:
> On 2009-06-09T13:24:57, Lars Ellenberg wrote:
>
> > generic question about master score and globally-unique=false.
> > I don't think it can even work.
>
> Why not? They do.
>
> > but i
On Sat, Jun 06, 2009 at 04:33:48PM +0200, Lars Marowsky-Bree wrote:
> On 2009-06-06T10:59:44, Lars Ellenberg wrote:
>
> > > On join of a drbd_ group, you could see who else is there and
> > > connect to them, and also figure out if people try to start on more than
&g
On Sat, Jun 06, 2009 at 04:33:48PM +0200, Lars Marowsky-Bree wrote:
> On 2009-06-06T10:59:44, Lars Ellenberg wrote:
>
> > > On join of a drbd_ group, you could see who else is there and
> > > connect to them, and also figure out if people try to start on more than
&g
e "fence-peer" handler, and removing
them again from the "after-sync-target" handler. sort of works. nothing
gets actually outdated, yet, but that can be hacked into the monitor action.
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DR
, cl_enable_coredumps(1).
so I'd not want to enable coredumps "globally". I don't want some
random core files from novell-zislnxd lying around somewhere ;-)
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
t;
> > xmllint --shell tmp.xml <<<'ls //@id'
> > / > ls //@id
> > tan 7 ip_try3
> > t-- 27 ip_try3-instance_attributes
> > t-- 30 ip_try3-instance_attributes-ip
> > / >
> >
> > xmllint --shell tmp.xml <<<
d
tan7 ip_try3
t-- 27 ip_try3-instance_attributes
t-- 30 ip_try3-instance_attributes-ip
/ >
xmllint --shell tmp.xml <<<'ls //primiti...@type="IPaddr2" and
instance_attributes/nvpa...@name = "ip" and @value="10.0.0.1"]]/@id'
/ >
the network dump during a switchover/failover should be enough
to trouble shoot your issue.
btw, what kernel you are on?
--
: 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, A
uot; meant me, yes, please,
go ahead an delete outdated examples.
Replace with a reference to the drbd users guide
http://www.drbd.org/docs/about/ or
http://www.drbd.org/docs/install/
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.
h as
> hb_gui, the "crm" shell, cibadmin etc.
maybe you should store the cib.xml on disk in
rot13(plaintext) ^ 0xc0ffee
or some such ;)
Lars Ellenberg
___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
201 - 262 of 262 matches
Mail list logo