Re: [Linux-HA] debian lenny packages available - sourc es.list integration ?

2009-05-20 Thread Juha Heinanen
Michael Schwartzkopff writes: > > # High availability > > deb http://multinet.de/debian experimental main > > Be sure, that the SUSE build server packages are more recent than my > packages. yes, i have actually commented out that server: # High availability #deb http://multinet.de/debian

[Linux-HA] debian lenny packages available - sources.list integration ?

2009-05-20 Thread Juha Heinanen
Mikael Kermorgant writes: > I've seen debian lenny packages are available from > http://download.opensuse.org/repositories/server:/ha-clustering/Debian_5.0/ > > Is there a way to include that repository in /etc/apt/sources.list ? those seem to be a bit out of date. i have been using one of

Re: [Linux-HA] Problems With SLES11 + DRBD

2009-05-05 Thread Juha Heinanen
Lars Marowsky-Bree writes: > > Problem1 - Using DRBD OCF RA: I wanted to use the latest and greatest > > for the approaches, so tried the DRBD OCF RA following this howto: > > http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0 . The configuration works > > and I can manually migrate resources but

[Linux-HA] heartbeat + pacemaker on debian lenny

2009-04-17 Thread Juha Heinanen
Mikael Kermorgant writes: > I'd like to prepare several servers running debian lenny to high > availability with heartbeat. > The version included in lenny doesn't include pacemaker, which I'd > like to use. > > Do some of you already run it on lenny, and if so, how did you > install it ?

Re: [Linux-HA] can not shutdown heartbeat.

2009-04-15 Thread Juha Heinanen
Andrew Beekhof writes: > > You can't. There should be a shutdown escalation after 5 minutes > > if something hangs resourcewise. > > Actually the default is 10 minutes. how to reduce it? -- juha ___ Linux-HA mailing list Linux-HA@lists.linux-ha.or

Re: [Linux-HA] how to reset pacemaker crm?

2009-03-25 Thread Juha Heinanen
Dejan Muhamedagic writes: > BTW, for heartbeat clusters, you should also remove > /var/lib/heartbeat/hostcache. that gets recreated each time heartbeat starts. -- juha ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/ma

Re: [Linux-HA] why crm_resource -C works, but gives error message?

2009-03-25 Thread Juha Heinanen
Jason Fitzpatrick writes: > I tend to agree, I would love to see a similar interface within CRM to > what exists within the Cisco IOS, where hitting tab will auto populate > commands / auto complete commands, it would make the configuration so > much easier in this particular case, i don't th

[Linux-HA] why crm_resource -C works, but gives error message?

2009-03-25 Thread Juha Heinanen
i have: j...@lenny1:~$ crm_mon -1 Last updated: Wed Mar 25 19:33:01 2009 Current DC: lenny2 (f13aff7b-6c94-43ac-9a24-b118e62d5325) Version: 1.0.2-c02b459053bfa44d509a2a0e0247b291d93662b7 2 Nodes configured. 0 Resources configured. Node: lenny2 (f13aff7b-6c94-43ac-9a24-b

[Linux-HA] how to reset pacemaker crm?

2009-03-25 Thread Juha Heinanen
while testing heartbeat/pacemaker, it would be nice if i could reset pacemaker crm and start from scratch. i know that it can be done by emptying /var/lib/heartbeat/crm and on both nodes and then by restarting heartbeat, but is there a command to do it? i have tried by creating a config_file:

Re: [Linux-HA] Beginner questions

2009-03-23 Thread Juha Heinanen
Juha Heinanen writes: > the real problem is that start of mysql server by pacemaker stops > altogether after a few manual stops (/etc/init.d/mysql stop). i think i figured this out. when pacemaker needed to start my mysql-server resource three times on node lenny1, it migrated the gr

Re: [Linux-HA] Beginner questions

2009-03-23 Thread Juha Heinanen
Dominik Klein writes: > Heartbeat will for example no longer be part of the next suse enterprise > linux (sles11) ha solution. It will be based on openais. So for new > setups, this should be the way to go - at least imho. yes, after there are packages available for debian lenny. -- juha ___

Re: [Linux-HA] Beginner questions

2009-03-23 Thread Juha Heinanen
Dominik Klein writes: > I read your email on the pacemaker list and from what you've shared and > explained, i cannot spot find a configuration issue. It should just work > like that (and does work like that for me). i did more experiments and noticed that migration-threshold=N doesn't work as

Re: [Linux-HA] Beginner questions

2009-03-23 Thread Juha Heinanen
Dominik Klein writes: > Heartbeat in v1 mode (haresources configuration) cannot do any resource > level monitoring itself. You'd need to do that externally by any > means. yes, in v2 mode i have managed to make pacemaker to monitor resources, for example, like this: primitive test lsb:test \

[Linux-HA] node ignored after reboot

2009-03-18 Thread Juha Heinanen
i set up the example apache cluster of document http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0 but used mysql server instead of apache server. crm of my test cluster looks like this: node $id="8df8447f-6ecf-41a7-a131-c89fd59a120d" lenny1 node $id="f13aff7b-6c94-43ac-9a24-b118e62d5325" lenny2 p