[Linux-HA] Force switch with DRBD

2008-03-04 Thread DucaConte Balabam
Hello, I've a cluster using heartbeat v2 and drbd in master/slave configuration. It's: Last updated: Tue Mar 4 09:49:30 2008 Current DC: rman1c (875afc12-b88e-4940-9816-218d2a5911c3) 2 Nodes configured. 2 Resources configured. Node: rman1a (4d7bd4ec-c121-4b13-a2d4-aec8

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread Dominik Klein
DucaConte Balabam wrote: Hello, I've a cluster using heartbeat v2 and drbd in master/slave configuration. It's: Last updated: Tue Mar 4 09:49:30 2008 Current DC: rman1c (875afc12-b88e-4940-9816-218d2a5911c3) 2 Nodes configured. 2 Resources configured. Node: rman1a (4d

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread b52
> Hello, > I've a cluster using heartbeat v2 and drbd in master/slave configuration. > > It's: > > Last updated: Tue Mar 4 09:49:30 2008 > Current DC: rman1c (875afc12-b88e-4940-9816-218d2a5911c3) > 2 Nodes configured. > 2 Resources configured. > > > Node: rman1a (4d7bd4e

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread DucaConte Balabam
Dominik Klein ha scritto: DucaConte Balabam wrote: Try crm_resource -M -r Oracle This will force the change from slave to master (and from master to slave) of DRBD resource? Thanks Ste ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread Luis Motta Campos
DucaConte Balabam wrote: > Dominik Klein ha scritto: >> DucaConte Balabam wrote: >> Try >> >> crm_resource -M -r Oracle > > This will force the change from slave to master (and from master to > slave) of DRBD resource? No, if you read the manual, you will discover that his creates a rule saying t

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread Fernando Iglesias
This will migrate the resource Oracle from its current location to the other node of the cluster. On Tue, Mar 4, 2008 at 10:51 AM, DucaConte Balabam < [EMAIL PROTECTED]> wrote: > Dominik Klein ha scritto: > > DucaConte Balabam wrote: > > Try > > > > crm_resource -M -r Oracle > > This will force t

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread b52
> DucaConte Balabam wrote: >> Dominik Klein ha scritto: >>> DucaConte Balabam wrote: >>> Try >>> >>> crm_resource -M -r Oracle >> >> This will force the change from slave to master (and from master to >> slave) of DRBD resource? > > No, if you read the manual, you will discover that his creates a r

[Linux-HA] Two node HA v2 Apache2 + DRBD 8.2.4

2008-03-04 Thread Marco Leone
Hi, can anyone try to explain how can I modify this existing cib.xml to obtain a configuration where: - Apache is started only in the node where drbd is master; - Apache is started after the filesystem is mounted; I guess I have to insert two more constraints: 1. order to start apache after

[Linux-HA] Silly newbie questions.

2008-03-04 Thread Guy
Hi, I've got DRBD8 set up and running with Heartbeat + CRM. I've got two machines, each with a primary partition on and it's secondary on the alternate machine. [EMAIL PROTECTED]:/var/lib/heartbeat/crm# cat /proc/drbd version: 8.0.3 (api:86/proto:86) SVN Revision: 2881 build by [EMAIL PROTECTED],

Re: [Linux-HA] Two node HA v2 Apache2 + DRBD 8.2.4

2008-03-04 Thread Dejan Muhamedagic
Hi, On Tue, Mar 04, 2008 at 12:32:24PM +0100, Marco Leone wrote: > Hi, > > can anyone try to explain how can I modify this existing cib.xml to obtain > a configuration where: > > - Apache is started only in the node where drbd is master; > - Apache is started after the filesystem is mounted; > >

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread Lars Marowsky-Bree
On 2008-03-04T10:58:21, [EMAIL PROTECTED] wrote: > > How can I force all resources to move to the other node? There's > > acommand? > There is a command crm_standby which should do this for you This is very effective, but it will also stop all resources on that node; including the replication tar

Re: [Linux-HA] ERROR: crm_abort: ha_set_tm_time: Triggered assertat iso8601.c:887

2008-03-04 Thread Abraham Iglesias
It was really funny... I had a production environment to upgrade on 29th February lol 1st march, saturday i was looking for a solution, but theerror just disappeared regards -bram Sebastian Reitenbach escribió: Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote: On 2008-02-29T08:30:37, Sebasti

[Linux-HA] Bug 1684 and Heartbeat 2.1.3

2008-03-04 Thread Franck Ganachaud
Does Heartbeat v2.1..3 contains the patch for the following bug? Bug: 1684 (*_) Thanks Franck _* ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See

Re: [Linux-HA] Two node HA v2 Apache2 + DRBD 8.2.4

2008-03-04 Thread Marco Leone
I guess I have to insert two more constraints: 1. order to start apache after filesystem is mounted; 2. location to start apache only where drbd is started; Yes, and you have your answer already in this cib. What you just described is how the filesystem and drbd are related. Does this help?

[Linux-HA] tying master/slave resource to regular one

2008-03-04 Thread Adam Kaufman
hi all, I've been wracking my brain trying to figure out how to tie a master/slave resource to a regular one. specifically, I'm trying to make drbd's behavior follow that of IPAddr. I'd like drbd to promote itself to master only on the node where IPAddr is started. conversely, when IPAddr is

Re: [Linux-HA] Two node HA v2 Apache2 + DRBD 8.2.4

2008-03-04 Thread Dejan Muhamedagic
Hi, On Tue, Mar 04, 2008 at 12:32:24PM +0100, Marco Leone wrote: > Hi, > > can anyone try to explain how can I modify this existing cib.xml to obtain > a configuration where: > > - Apache is started only in the node where drbd is master; > - Apache is started after the filesystem is mounted; > >

Re: [Linux-HA] Bug 1684 and Heartbeat 2.1.3

2008-03-04 Thread Dejan Muhamedagic
Hi, On Tue, Mar 04, 2008 at 02:37:19PM +0100, Franck Ganachaud wrote: > Does Heartbeat v2.1..3 contains the patch for the following bug? > > Bug: 1684 (*_) Yes. Though this patch has been superseded by b591600fbc15, which just replaced the very short s

Re: [Linux-HA] Bug 1684 and Heartbeat 2.1.3

2008-03-04 Thread Franck Ganachaud
On 2.1.2, yes but installing 2.1.3 on one node made it disapear on both (even the node with v2.1.2) so I wanted to be sure it was included in 2.1.3 Thanks Dejan Franck. Dejan Muhamedagic a écrit : Hi, On Tue, Mar 04, 2008 at 02:37:19PM +0100, Franck Ganachaud wrote: Does Heartbeat v2.1..

AW: [Linux-HA] (no subject) -- LSB-RA for SAProuter

2008-03-04 Thread Schmidt, Florian
Thanks a lot, guys, got it working :) But once again back to the LSB-Scripts..first app (AFD) is now running, but second app (SAProuter) not yet, because I not have a LSB-compliant RA yet. Is there anyone outside who already does have such an application managed by heartbeat? Google did not fi

[Linux-HA] ldirectord question

2008-03-04 Thread David Brain
Hi, I have a relatively old load balancer running ldirectord 1.131. It works OK, however I am unable to get it to produce any logs, unless I start it in debug mode (in which case it logs to stdout). I have the line: logfile = "/var/log/ldirectord.log" in my config file, but that file is

Re: [Linux-HA] question: external/ssh stonith to poweroff badnode via xen-host

2008-03-04 Thread Serge Dubrouski
Lino, were you able to make it work? On Mon, Mar 3, 2008 at 11:28 AM, Serge Dubrouski <[EMAIL PROTECTED]> wrote: > On Mon, Mar 3, 2008 at 12:08 PM, Lino Moragon <[EMAIL PROTECTED]> wrote: > > Serge Dubrouski wrote: > > > Configuration looks right to me, I even tested it and it worked fine > >

Re: [Linux-HA] Force switch with DRBD

2008-03-04 Thread b52
> On 2008-03-04T10:58:21, [EMAIL PROTECTED] wrote: > >> > How can I force all resources to move to the other node? There's >> > acommand? >> There is a command crm_standby which should do this for you > > This is very effective, but it will also stop all resources on that > node; including the repl