Re: "fos" setup
Mike McLean <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
What version of Piranha are you using?
mixo wrote:
>
> I am trying to setup "fos" using 2 machines - node 1 amd 2. What I am
> looking for is
> for one of the machines to take over if the other one fails. Does the
> following make
> configuration make sense ( both machines have the same configuration):
>
> ++++++++++++++++++++++++/etc/sysconfig/ha/lvs.cf++++++++++++++++++++++++
> serial_no = 15
> primary = node_1_IP
> service = fos
> backup_active = 1
> backup = node_2_IP
> heartbeat = 1
> heartbeat_port = 539
> keepalive = 6
> deadtime = 18
> network = direct
> reservation_conflict_action = preempt
> debug_level = NONE
> failover vsof1 {
> address = node_2_IP eth0:4
> vip_nmask = 255.255.255.0
> active = 1
> port = 80
> timeout = 6
> send = "GET / HTTP/1.0\r\n\r\n"
> expect = "HTTP"
> start_cmd = "/etc/rc.d/init.d/httpd start"
> stop_cmd = "/etc/rc.d/init.d/httpd stop"
> }
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> The reason I ask : I keep getting the message
> ===============================================
> Jul 11 15:07:24 dhcp4 pulse[14687]: remote service unavailable but we
> can see the gateway
> Jul 11 15:07:24 dhcp4 pulse[14687]: seems like a remote network fault;
> performing service failover
> Jul 11 15:07:24 dhcp4 fos[14720]: Stopping local services (if any)
> Jul 11 15:07:24 dhcp4 fos[14720]: Shutting down local service node_2_IP:80
> Jul 11 15:07:24 dhcp4 httpd: httpd shutdown failed
> Jul 11 15:07:24 dhcp4 fos[14720]: Warning; shutdown of local service
> node_2_IP:80 returned error 1
> Jul 11 15:07:24 dhcp4 fos[14720]: Starting local service node_2_IP:80 ...
> Jul 11 15:07:25 dhcp4 httpd: httpd startup succeeded
> Jul 11 15:07:29 dhcp4 pulse[14719]: gratuitous fos arps finished
> Jul 11 15:07:30 dhcp4 pulse[14687]: Notifying partner WE are taking
> control!
>
> ===============================================
>
>
>
> _______________________________________________
> Piranha-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/piranha-list