Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] LVS + DR + PIRANHA

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


sp4wn.root at gmail

Oct 26, 2009, 1:58 PM

Post #1 of 4 (876 views)
Permalink
[lvs-users] LVS + DR + PIRANHA

Hi , everyone,

I'd like to know why sync table connections doesn't happens between
master/backup and backup/master server ?
When I check the table in both server with the command "ipvsadm -L -n -c" in
master server list the connections that were ESTABLISHED with all of the
status but in backup server nothing.

Following my configuration ( I'm trying to implement with Direct Routing
Module) :

I've 2 virtual (LVS) servers running overs Hyper-v,

===========================================================================
serial_no = 140
primary = 172.16.16.201
service = lvs
backup_active = 1
backup = 172.16.16.202
heartbeat = 1
heartbeat_port = 539
keepalive = 4
deadtime = 12
network = direct
debug_level = MAX
monitor_links = 1
syncdaemon = 1
virtual www_http {
active = 1
address = 172.16.16.200 seth0:1
vip_nmask = 255.255.255.0
port = 80
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
use_regex = 0
load_monitor = rup
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server mpweb03n01p {
address = 172.16.16.203
active = 1
weight = 1
}
server mpweb03n02p {
address = 172.16.16.204
active = 1
weight = 1
}
}


====================================================================

Regards,


--==========================--
Raul da Silva Leite
sp4wn.root [at] gmail
Linux Consultant / Red hat Brasil
RHCE / LPI-II / ITIL / RHCI / RHCA / RHCSS / RHCDS
+55 11 8504-3200
--==========================--
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


leon at linux

Oct 26, 2009, 9:41 PM

Post #2 of 4 (820 views)
Permalink
Re: [lvs-users] LVS + DR + PIRANHA [In reply to]

On Mon, 2009-10-26 at 18:58 -0200, Raul da Silva {Sp4wn} wrote:
> Hi , everyone,
>
> I'd like to know why sync table connections doesn't happens between
> master/backup and backup/master server ?
> When I check the table in both server with the command "ipvsadm -L -n -c" in
> master server list the connections that were ESTABLISHED with all of the
> status but in backup server nothing.

Are the sync daemons running on both nodes? Run `ipvsadm -Ln --daemon`
to find out. It looks like you're trying to set up LVS using piranha.
What happens if you run the daemons manually, maybe providing the
correct interface over which the daemons can send the multicast packets?
And if you run them manually and it works, try to run both master and
backup daemon on both nodes.


--
Léon


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

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


sp4wn.root at gmail

Oct 27, 2009, 6:46 AM

Post #3 of 4 (809 views)
Permalink
Re: [lvs-users] LVS + DR + PIRANHA [In reply to]

The configuration is ok and mcast communication is ok too, The problem is
that sync table happens when master server receives a heavy requests and
transitions in port 80, so after this the table is synchronized.


Other thing :

There is a problem in a config default on file "lvs.cfg" the parameter
default in "keepalive" is major than "deadline" , but this should be change
for something like this, example (keepalive = 12 / deadline = 4 ) if you
don't change this option all the time if you check on both server "watch
-n.1 "ifconfig" " you will see the virtual interface appearing/disapering in
the backup server.



On Tue, Oct 27, 2009 at 2:41 AM, L.S. Keijser <leon [at] linux> wrote:

> On Mon, 2009-10-26 at 18:58 -0200, Raul da Silva {Sp4wn} wrote:
> > Hi , everyone,
> >
> > I'd like to know why sync table connections doesn't happens between
> > master/backup and backup/master server ?
> > When I check the table in both server with the command "ipvsadm -L -n -c"
> in
> > master server list the connections that were ESTABLISHED with all of the
> > status but in backup server nothing.
>
> Are the sync daemons running on both nodes? Run `ipvsadm -Ln --daemon`
> to find out. It looks like you're trying to set up LVS using piranha.
> What happens if you run the daemons manually, maybe providing the
> correct interface over which the daemons can send the multicast packets?
> And if you run them manually and it works, try to run both master and
> backup daemon on both nodes.
>
>
> --
> Léon
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> Send requests to lvs-users-request [at] LinuxVirtualServer
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users




--
Att,


--==========================--
Raul da Silva Leite
sp4wn.root [at] gmail
Linux Consultant / Red hat Brasil
RHCE / LPI-II / ITIL / RHCI / RHCA / RHCSS / RHCDS
+55 11 8504-3200
--==========================--
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


sp4wn.root at gmail

Oct 27, 2009, 6:48 AM

Post #4 of 4 (802 views)
Permalink
Re: [lvs-users] LVS + DR + PIRANHA [In reply to]

Other thing :

There is a problem in a config default on file "lvs.cfg" the parameter
default in "keepalive" is *MINOR* than "deadline" , but this should be
change for something like this, example (keepalive = 12 / deadline = 4 )
if you don't change this option all the time if you check on both server
"watch -n.1 "ifconfig" " you will see the virtual interface
appearing/disapering in the backup server.




On Tue, Oct 27, 2009 at 11:46 AM, Raul da Silva {Sp4wn} <
sp4wn.root [at] gmail> wrote:

> The configuration is ok and mcast communication is ok too, The problem is
> that sync table happens when master server receives a heavy requests and
> transitions in port 80, so after this the table is synchronized.
>
>
> Other thing :
>
> There is a problem in a config default on file "lvs.cfg" the parameter
> default in "keepalive" is major than "deadline" , but this should be change
> for something like this, example (keepalive = 12 / deadline = 4 ) if you
> don't change this option all the time if you check on both server "watch
> -n.1 "ifconfig" " you will see the virtual interface appearing/disapering in
> the backup server.
>
>
>
>
> On Tue, Oct 27, 2009 at 2:41 AM, L.S. Keijser <leon [at] linux> wrote:
>
>> On Mon, 2009-10-26 at 18:58 -0200, Raul da Silva {Sp4wn} wrote:
>> > Hi , everyone,
>> >
>> > I'd like to know why sync table connections doesn't happens between
>> > master/backup and backup/master server ?
>> > When I check the table in both server with the command "ipvsadm -L -n
>> -c" in
>> > master server list the connections that were ESTABLISHED with all of the
>> > status but in backup server nothing.
>>
>> Are the sync daemons running on both nodes? Run `ipvsadm -Ln --daemon`
>> to find out. It looks like you're trying to set up LVS using piranha.
>> What happens if you run the daemons manually, maybe providing the
>> correct interface over which the daemons can send the multicast packets?
>> And if you run them manually and it works, try to run both master and
>> backup daemon on both nodes.
>>
>>
>> --
>> Léon
>>
>>
>> _______________________________________________
>> Please read the documentation before posting - it's available at:
>> http://www.linuxvirtualserver.org/
>>
>> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
>> Send requests to lvs-users-request [at] LinuxVirtualServer
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
>
>
>
> --
> Att,
>
>
>
> --==========================--
> Raul da Silva Leite
> sp4wn.root [at] gmail
> Linux Consultant / Red hat Brasil
> RHCE / LPI-II / ITIL / RHCI / RHCA / RHCSS / RHCDS
> +55 11 8504-3200
> --==========================--
>



--
Att,


--==========================--
Raul da Silva Leite
sp4wn.root [at] gmail
Linux Consultant / Red hat Brasil
RHCE / LPI-II / ITIL / RHCI / RHCA / RHCSS / RHCDS
+55 11 8504-3200
--==========================--
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.