LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] debian lenny-lvs virtual IP

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] debian lenny-lvs virtual IP
From: Marek Soha <marek@xxxxxxx>
Date: Sat, 14 Feb 2009 16:29:42 +0100

Graeme, dňa 14. februára 2009 ste napísali:
GF> On Sat, 2009-02-14 at 15:27 +0100, Marek Soha wrote:
>> It is not starting up...as I wrote at first message, when i want to
>> have ldirector running, i must run it manually from init.d.

GF> OK, it isn't running. But I did ask:

>> What *else* does the log file say after that?

GF> If the answer is "nothing", please say it. We can't see into your system
GF> to debug it for you!

Nothing :D
There is nothing but log messages of time, when I run it manually from
init.d.

GF> I'm putting my money on this being a heartbeat problem, personally. It
GF> doesn't look to me like heartbeat is bringing up the VIP correctly, but
GF> you haven't given us that detail yet - your debug log you posted earlier
GF> was identical to the messages log.

You can see debug log of heartbeat (sorry for the first time, debug
level was so lower):
http://triton.antaree.com/~sogi/hadebug.txt

GF> Also, does ldirectord log anything at all?

No, only that what I pasted.

GF> What happens if you change ha.cf like so:

GF> IPaddr2::197.232.181.29

GF> ???

I try it...

When I run ldirector as daemon (from /etc/init.d/ldurectord start)
in logs appears:

[Sat Feb 14 15:01:46 2009|ldirectord|4549] Invoking ldirectord invoked as: 
/usr/sbin/ldirectord start
[Sat Feb 14 15:01:46 2009|ldirectord|4549] Starting Linux Director 
v1.186-ha-2.1.3 as daemon
[Sat Feb 14 15:01:46 2009|ldirectord|4551] Added virtual server: 
197.232.181.29:3306
[Sat Feb 14 15:01:46 2009|ldirectord|4551] Quiescent real server: 
197.232.180.242:3306 (197.232.181.29:3306) (Weight set to 0)
[Sat Feb 14 15:01:46 2009|ldirectord|4551] Quiescent real server: 
197.232.181.242:3306 (197.232.181.29:3306) (Weight set to 0)
[Sat Feb 14 15:01:46 2009|ldirectord|4551] Restored real server: 
197.232.180.242:3306 (197.232.181.29:3306) (Weight set to 1)
[Sat Feb 14 15:01:46 2009|ldirectord|4551] Restored real server: 
197.232.181.242:3306 (197.232.181.29:3306) (Weight set to 1)
[Sat Feb 14 15:12:37 2009|ldirectord|7261] Invoking ldirectord invoked as: 
/usr/sbin/ldirectord stop 
[Sat Feb 14 15:12:37 2009|ldirectord|4551] Purged real server (stop): 
197.232.180.242:3306 (197.232.181.29:3306)
[Sat Feb 14 15:12:37 2009|ldirectord|4551] Purged real server (stop): 
197.232.181.242:3306 (197.232.181.29:3306)
[Sat Feb 14 15:12:37 2009|ldirectord|4551] Purged virtual server (stop): 
197.232.181.29:3306
[Sat Feb 14 15:12:37 2009|ldirectord|4551] Linux Director Daemon terminated on 
signal: TERM
[Sat Feb 14 15:12:39 2009|ldirectord|7265] Invoking ldirectord invoked as: 
/usr/sbin/ldirectord start 
[Sat Feb 14 15:12:39 2009|ldirectord|7265] Starting Linux Director 
v1.186-ha-2.1.3 as daemon
[Sat Feb 14 15:12:39 2009|ldirectord|7267] Added virtual server: 
197.232.181.29:3306
[Sat Feb 14 15:12:39 2009|ldirectord|7267] Quiescent real server: 
197.232.180.242:3306 (197.232.181.29:3306) (Weight set to 0)
[Sat Feb 14 15:12:39 2009|ldirectord|7267] Quiescent real server: 
197.232.181.242:3306 (197.232.181.29:3306) (Weight set to 0)
[Sat Feb 14 15:12:39 2009|ldirectord|7267] Restored real server: 
197.232.180.242:3306 (197.232.181.29:3306) (Weight set to 1)
[Sat Feb 14 15:12:39 2009|ldirectord|7267] Restored real server: 
197.232.181.242:3306 (197.232.181.29:3306) (Weight set to 1)
[Sat Feb 14 15:51:00 2009|ldirectord|8994] Invoking ldirectord invoked as: 
/usr/sbin/ldirectord start 
[Sat Feb 14 15:54:53 2009|ldirectord|7267] system(/sbin/ipvsadm -a -t 
197.232.181.29:3306 -r 197.232.180.242:3306 -g -w 1) failed: 
[Sat Feb 14 15:54:53 2009|ldirectord|7267] Added real server: 
197.232.180.242:3306 (197.232.181.29:3306) (Weight set to 1) 

GF> Graeme


GF> _______________________________________________
GF> Please read the documentation before posting - it's available at:
GF> http://www.linuxvirtualserver.org/

GF> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
GF> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
GF> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

---------------=[**]=----------------- 

S prianim pekneho dna

             \\\\|//// 
             \\ _ _ // 
              ( o o ) 
+==========oOOo-(_)-oOOo==========+ 
             Marek Soha 
            marek@xxxxxxx
    snet.sk network administrator
          ICQ 146-284-791
          MSN spam@xxxxxxx
+==================Oooo===========+ 
             oooO  (  ) 
             (  )  ) / 
              \ ( (_/ 
               \_) 


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>