Re: Implementing LVS changes made in Piranha GUI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Quoting David Dyer-Bennet <dd-b@xxxxxxxx>:

> Every time I touch something, pieces fall off!  It's a good thing this
> stuff isn't in production yet (for me I mean).
>
> So I had an LVS, configured with Piranha, directing http test transactions
> across two servers.  I used Piranha to add another realserver.  It
> appeared in the lvs.cf file, but didn't appear in the ipvsadm output.  So
> I stopped and restarted Pulse.  And now *none* of the servers appear in
> the ipvsadm output.  Pulse says it started clean, and nothing in the
> syslog.  The gratuitous arp gets made, and the correct IPs are assigned to
> the correct interfaces.
>
> [ddb@prcapp02 ~]$ sudo ipvsadm
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  prcvmod01.pinerivercapital.l wlc
>
> That's the write service name (the ".l" at the end is ".local" truncated).
>  WLC is the right scheduling mode.  But no remote addresses are listed.
>
> In lvs.cf, there are multiple servers present:
>     server vl31 {
>          address = 172.17.3.1
>          active = 1
>          weight = 2
>      }
>      server vw32 {
>          address = 172.17.3.2
>          active = 1
>          weight = 2
>      }
>      server vl41 {
>          address = 172.17.4.1
>          active = 1
>          weight = 4
>      }

Is the service itself active?

Do you have a line above these that says something like:

virtual example.com {
     active = 1

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux