[Linux-HA] New Ip problem

kiran kiran.2chat at gmail.com
Tue Jul 7 12:09:40 MDT 2009


Hi Michael,

Thanks for your reply.

The two nodes are having static ip addresses where my service(database) is
put on. DHCP machine is where i am accessing the service (client).

regards
kiran

On Tue, Jul 7, 2009 at 11:30 PM, <linux-ha-request at lists.linux-ha.org>wrote:

> Send Linux-HA mailing list submissions to
>        linux-ha at lists.linux-ha.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.linux-ha.org/mailman/listinfo/linux-ha
> or, via email, send a message with subject or body 'help' to
>        linux-ha-request at lists.linux-ha.org
>
> You can reach the person managing the list at
>        linux-ha-owner at lists.linux-ha.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Linux-HA digest..."
>
>
> Today's Topics:
>
>   1. Re: New Ip problem (Michael Schwartzkopff)
>   2. Re: logging out of control (Dejan Muhamedagic)
>   3. Re: Pacemaker 1.0 + heartbeat 2.99 / Problem      with    failover
>      scores ? (Dejan Muhamedagic) (Dejan Muhamedagic)
>   4. Re: logging out of control (Michael Hutchins)
>   5. Re: logging out of control (Dejan Muhamedagic)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 7 Jul 2009 14:43:50 +0200
> From: Michael Schwartzkopff <misch at multinet.de>
> Subject: Re: [Linux-HA] New Ip problem
> To: "General Linux-HA mailing list" <linux-ha at lists.linux-ha.org>
> Message-ID: <200907071443.51126.misch at multinet.de>
> Content-Type: Text/Plain;  charset="iso-8859-1"
>
> Am Dienstag, 7. Juli 2009 14:32:01 schrieb kiran:
> >  Hi,
> >
> >   I have setup a two node active/passive cluster using heartbeat in cent
> OS
> > to
> >    make our service reliable. But the problem is when ever my machine
> (from
> >    where I access my service) is assigned a new ip via dhcp, the service
> > keeps
> >    on waiting for the first time and if i stop it in the browser and then
> > send
> >    request again, it works. I observed this behavior very often. What
> could
> > be
> >    reasons for it. I have also added auto_failback on but of no use.
> >
> >  regards
> >  kiran
>
> DO NOT use DHCP in Cluster setups! Give the nodes a static IP address.
>
> --
> Dr. Michael Schwartzkopff
> MultiNET Services GmbH
> Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
> Tel: +49 - 89 - 45 69 11 0
> Fax: +49 - 89 - 45 69 11 21
> mob: +49 - 174 - 343 28 75
>
> mail: misch at multinet.de
> web: www.multinet.de
>
> Sitz der Gesellschaft: 85630 Grasbrunn
> Registergericht: Amtsgericht M?nchen HRB 114375
> Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens
>
> ---
>
> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
> Skype: misch42
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 7 Jul 2009 18:00:05 +0200
> From: Dejan Muhamedagic <dejanmm at fastmail.fm>
> Subject: Re: [Linux-HA] logging out of control
> To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
> Message-ID: <20090707160005.GA5220 at rondo.homenet>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> On Mon, Jul 06, 2009 at 02:29:01PM -0700, Michael Hutchins wrote:
> > Holy cow, how do I turn logging down? My ha-log was 800 megs over the
> weekend...
>
> Wow. Do you have debug turned on? If not, then must be something
> going on with the cluster all the time. Did you take a look? Can
> you post a sample?
>
> Thanks,
>
> Dejan
>
> >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 7 Jul 2009 18:06:03 +0200
> From: Dejan Muhamedagic <dejanmm at fastmail.fm>
> Subject: Re: [Linux-HA] Pacemaker 1.0 + heartbeat 2.99 / Problem
>  with
>        failover scores ? (Dejan Muhamedagic)
> To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
> Message-ID: <20090707160602.GC5220 at rondo.homenet>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> On Tue, Jul 07, 2009 at 01:30:22PM +0200, Alain.Moulle wrote:
> > Hi,
> > Thanks Dejan, you're right , there was something in the underlying
> > configuration
> > that prevent the failover from the node with score 50.
> > (By the way, the command ptest -Ls returns : ptest: option `-Ls' is
> > ambiguous)
>
> Funny, it works here. I guess that ptest -L -s should do in any
> case.
>
> > Anyway, my problem now is that if something fails on the expected
> > failover node,
> > the resource will be failovered on one of the remaining nodes (I have 4
> > nodes) and
> > I don't want this. So I thought about adding two constraints with
> > score="-INFINITY"
> > for the both remaining nodes, so for one resource I would have :
> > 1 location constraint score="100" for node1
> > 1 location constraint score="50" for node2
> > 1 location constraint score="-INFINITY" for node3
> > 1 location constraint score="-INFINITY" for node4
> > but as I have 32 resources dispatched on the 4 nodes, that makes a lot
> > of constraints
> > and Pacemaker or Heartbeat-v2 seems to have a limit max for
> > the number of constraints, doesn't it ??
>
> Nope, it doesn't, but that'll certainly make your configuration
> rather big. Perhaps you can try with the asymmetric cluster (set
> symmetric-cluster to false). In that case you should get by with
> only the first two location constraints. But note that you will
> need location constraints for all rsc-node combinations when you
> want to allow the resource to run.
>
> Thanks,
>
> Dejan
>
> > Thanks for your help.
> > Alain
> > > Did you check the scores with ptest -Ls? Perhaps some of the
> > > resources failed on their prefered nodes earlier. Other
> > > constraints, if there are any, may also have influenced the CRM.
> > > If that's fine, then it should work the way you expect. And if it
> > > doesn't please file a bugzilla with hb_report for the incident.
> > >
> > > Thanks,
> > >
> > > Dejan
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 7 Jul 2009 09:13:35 -0700
> From: Michael Hutchins <mhutchins at frontporch.com>
> Subject: Re: [Linux-HA] logging out of control
> To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
> Message-ID:
>        <F49439BE6938BE4F8AFC1E762B8BA20C4336C954 at EXMBX01.exchhosting.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Seems as though since mcast is on it is getting feedback from other boxes.
> Can I make it not log those?
>
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[4] : [src=dcwvm-drbdnode-1]
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[5] :
> [(1)srcuuid=0x8137360(36 27)]
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[6] : [seq=7e73f]
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[7] : [hg=4a4131fc]
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[8] : [ts=4a5373fd]
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/64 5665]
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[10] : [ttl=3]
> heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[11] : [auth=3
> 1909c816855795dc7291ea49a1713f87]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: process_status_message: bad
> node [dcwvm-drbdnode-2] in message
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG: Dumping message with 12
> fields
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[0] : [t=status]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[1] : [st=active]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[2] : [dt=7530]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[3] : [protocol=1]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[4] : [src=dcwvm-drbdnode-2]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[5] :
> [(1)srcuuid=0x813d568(36 27)]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[6] : [seq=7e1e4]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[7] : [hg=4a4131f6]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[8] : [ts=4a5373fe]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/63 9885]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[10] : [ttl=3]
> heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[11] : [auth=3
> 2f323b164c1769d2c987cf82660dbbd9]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: process_status_message: bad
> node [dcwvm-drbdnode-1] in message
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG: Dumping message with 12
> fields
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[0] : [t=status]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[1] : [st=active]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[2] : [dt=7530]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[3] : [protocol=1]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[4] : [src=dcwvm-drbdnode-1]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[5] :
> [(1)srcuuid=0x81390e8(36 27)]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[6] : [seq=7e740]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[7] : [hg=4a4131fc]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[8] : [ts=4a5373ff]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/64 5665]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[10] : [ttl=3]
> heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[11] : [auth=3
> 986058a23ee6f1a7ed6fd8d35d1b1046]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: process_status_message: bad
> node [dcwvm-drbdnode-2] in message
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG: Dumping message with 12
> fields
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[0] : [t=status]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[1] : [st=active]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[2] : [dt=7530]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[3] : [protocol=1]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[4] : [src=dcwvm-drbdnode-2]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[5] :
> [(1)srcuuid=0x8139c50(36 27)]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[6] : [seq=7e1e5]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[7] : [hg=4a4131f6]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[8] : [ts=4a537400]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/63 9885]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[10] : [ttl=3]
> heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[11] : [auth=3
> 4d5bd4a69f02a1b6abc4fc8098eabca2]
>
> -----Original Message-----
> From: linux-ha-bounces at lists.linux-ha.org [mailto:
> linux-ha-bounces at lists.linux-ha.org] On Behalf Of Dejan Muhamedagic
> Sent: Tuesday, July 07, 2009 9:00 AM
> To: General Linux-HA mailing list
> Subject: Re: [Linux-HA] logging out of control
>
> Hi,
>
> On Mon, Jul 06, 2009 at 02:29:01PM -0700, Michael Hutchins wrote:
> > Holy cow, how do I turn logging down? My ha-log was 800 megs over the
> weekend...
>
> Wow. Do you have debug turned on? If not, then must be something
> going on with the cluster all the time. Did you take a look? Can
> you post a sample?
>
> Thanks,
>
> Dejan
>
> >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 7 Jul 2009 18:31:54 +0200
> From: Dejan Muhamedagic <dejanmm at fastmail.fm>
> Subject: Re: [Linux-HA] logging out of control
> To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
> Message-ID: <20090707163153.GE5220 at rondo.homenet>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> On Tue, Jul 07, 2009 at 09:13:35AM -0700, Michael Hutchins wrote:
> > Seems as though since mcast is on it is getting feedback from
> > other boxes. Can I make it not log those?
>
> No, I don't think so. Why don't you use different ports for
> different clusters?
>
> Thanks,
>
> Dejan
>
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[4] :
> [src=dcwvm-drbdnode-1]
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[5] :
> [(1)srcuuid=0x8137360(36 27)]
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[6] : [seq=7e73f]
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[7] : [hg=4a4131fc]
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[8] : [ts=4a5373fd]
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/64 5665]
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[10] : [ttl=3]
> > heartbeat[4514]: 2009/07/07_09:11:35 ERROR: MSG[11] : [auth=3
> 1909c816855795dc7291ea49a1713f87]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: process_status_message: bad
> node [dcwvm-drbdnode-2] in message
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG: Dumping message with 12
> fields
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[0] : [t=status]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[1] : [st=active]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[2] : [dt=7530]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[3] : [protocol=1]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[4] :
> [src=dcwvm-drbdnode-2]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[5] :
> [(1)srcuuid=0x813d568(36 27)]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[6] : [seq=7e1e4]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[7] : [hg=4a4131f6]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[8] : [ts=4a5373fe]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/63 9885]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[10] : [ttl=3]
> > heartbeat[4514]: 2009/07/07_09:11:36 ERROR: MSG[11] : [auth=3
> 2f323b164c1769d2c987cf82660dbbd9]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: process_status_message: bad
> node [dcwvm-drbdnode-1] in message
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG: Dumping message with 12
> fields
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[0] : [t=status]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[1] : [st=active]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[2] : [dt=7530]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[3] : [protocol=1]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[4] :
> [src=dcwvm-drbdnode-1]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[5] :
> [(1)srcuuid=0x81390e8(36 27)]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[6] : [seq=7e740]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[7] : [hg=4a4131fc]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[8] : [ts=4a5373ff]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/64 5665]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[10] : [ttl=3]
> > heartbeat[4514]: 2009/07/07_09:11:37 ERROR: MSG[11] : [auth=3
> 986058a23ee6f1a7ed6fd8d35d1b1046]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: process_status_message: bad
> node [dcwvm-drbdnode-2] in message
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG: Dumping message with 12
> fields
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[0] : [t=status]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[1] : [st=active]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[2] : [dt=7530]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[3] : [protocol=1]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[4] :
> [src=dcwvm-drbdnode-2]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[5] :
> [(1)srcuuid=0x8139c50(36 27)]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[6] : [seq=7e1e5]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[7] : [hg=4a4131f6]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[8] : [ts=4a537400]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[9] : [ld=0.00 0.00 0.00
> 1/63 9885]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[10] : [ttl=3]
> > heartbeat[4514]: 2009/07/07_09:11:38 ERROR: MSG[11] : [auth=3
> 4d5bd4a69f02a1b6abc4fc8098eabca2]
> >
> > -----Original Message-----
> > From: linux-ha-bounces at lists.linux-ha.org [mailto:
> linux-ha-bounces at lists.linux-ha.org] On Behalf Of Dejan Muhamedagic
> > Sent: Tuesday, July 07, 2009 9:00 AM
> > To: General Linux-HA mailing list
> > Subject: Re: [Linux-HA] logging out of control
> >
> > Hi,
> >
> > On Mon, Jul 06, 2009 at 02:29:01PM -0700, Michael Hutchins wrote:
> > > Holy cow, how do I turn logging down? My ha-log was 800 megs over the
> weekend...
> >
> > Wow. Do you have debug turned on? If not, then must be something
> > going on with the cluster all the time. Did you take a look? Can
> > you post a sample?
> >
> > Thanks,
> >
> > Dejan
> >
> > >
> > > _______________________________________________
> > > Linux-HA mailing list
> > > Linux-HA at lists.linux-ha.org
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
>
> ------------------------------
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
> End of Linux-HA Digest, Vol 68, Issue 16
> ****************************************
>



-- 
Kiran Sarvabhotla
MS(Research)
OBH-50,IIIT
Gachibowli
Hyderabad-500032

Samvedana's blog: http://teamsamvedana.wordpress.com



More information about the Linux-HA mailing list