[CentOS] Implementing LVS changes made in Piranha GUI

David Dyer-Bennet dd-b at dd-b.net
Thu Sep 25 19:04:37 UTC 2008


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 at 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
     }


-- 
David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info



More information about the CentOS mailing list