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

Re: [Linux-cluster] lvs + nanny + piranha problem, server not working




Just check if port forwarding is enabled. in your lvs router.
Paste the output of sysctl -p

jimmy nimo pranical com wrote:
I take your recommendation and change the gateway in the real server to
10.11.12.9 (I really think that it has to use the 10.11.12.10 because if you
have a backup lvs Router, it change is the virtual ip eth1:1 not the real ip)
and don't work either

btw I run a nmap to the virtual server and this is the output:



root Cancer:~# nmap -sT 172.16.247.150

Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-06 09:42 VET
Interesting ports on 172.16.247.150:
Not shown: 1693 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
111/tcp open  rpcbind
443/tcp open  https
815/tcp open  unknown

it dosn't have the http port open, I don't have a firewall, I have the iptables
down in all the server, I really don't know what happen, anyone can help?¡




Quoting GS R <gsrlinux gmail com>:

On 11/6/07, jimmy nimo pranical com <jimmy nimo pranical com> wrote:




Hello, thanks for reading my email,


Welcome :)

I have a problem and perphaps someone in the
list can work it out

I have 3 working redhat 4 update 5 trying to work with piranha+lvs+nanny,
2 Real
Server and 1 LVS Router, the router have 2 NIC, 1 with IP 172.16.247.130
(eht0),
and the other with 10.11.12.9(eth1), the real server are 10.11.12.11 and
10.11.12.12, I want to put the virtual server to run in the ip
172.16.247.150
(eth0:1) and the gateway in the real servers are 10.11.12.10 (eth1:1 in
the
router server),


Since you have configured LVS- NAT your gateway on the real servers should
be 10.11.12.9

I create the lvs.cf with piranha and start pulse, but, NOTHING
happens, piranha create the 10.11.12.10 and the 172.16.247.150 virtual
interfaces (I can conect to the gui of piranha in
http://172.16.247.150:3636)
but can't do in the port 80. here are my lvs.cf

serial_no = 137
primary = 172.16.247.130
primary_private = 10.11.12.9
service = lvs
backup_active = 0
backup = 172.16.247.131
backup_private = 10.11.12.11
heartbeat = 1
heartbeat_port = 539
keepalive = 3
deadtime = 10
network = nat
nat_router = 10.11.12.10 eth1:1
nat_nmask = 255.255.255.0
debug_level = NONE
monitor_links = 0
virtual http {
    active = 1
    address = 172.16.247.150 eth0:1
    vip_nmask = 255.255.255.0
    port = 80
    use_regex = 0
    load_monitor = ruptime


You should start 'rwhod' service on the real servers since you opted for
'load_monitor' as ruptime.

   scheduler = rr
    protocol = tcp
    timeout = 5
    reentry = 5
    quiesce_server = 0
    server uno {
        address = 10.11.12.11
        active = 1
        weight = 1
    }
    server dos {
        address = 10.11.12.12
        active = 1
        weight = 1
    }
}


Rest configuration looks fine.

and I don't know why, but the ipsvadmin don't show the entrys of the real
servers:

[root node1 ~]# ipvsadm -Ln
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  172.16.247.150:80 rr


Make sure you have the 80 port up and running on your real servers.

can anyone help me? (sorry for my bad english)



-GSR





-- Linux-cluster mailing list Linux-cluster redhat com https://www.redhat.com/mailman/listinfo/linux-cluster


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