Hi,all I'm trying to test a 2 node2 cluster(RHCS U4) with apache, each node has one eth , connect with hub. It could hand over work to node2 when I restart node1 or shutdown "rgmanager" with "service rgmanager stop"; but It counldn't hand over work to node2 when I unplug the cable on node1 that running apache current, why,why,why? could you help me? ----- Original Message ----- From: "Carlo Mandelli" <camandel@xxxxxxxxxx> To: "linux clustering" <linux-cluster@xxxxxxxxxx> Sent: Thursday, November 30, 2006 1:36 AM Subject: restart or relocate? > Hi all, > > I'm trying to test a 2 nodes cluster (RHCS U4) with apache and one > monitored ip on eth1 (VIP 192.168.0.3), the hearthbeat is on eth0. > > When I unplug the cable (eth1) on active node, I get these errors: > > Nov 29 17:03:54 node1 clurgmgrd: [4368]: <info> Executing > /etc/init.d/httpd status > Nov 29 17:04:24 node1 clurgmgrd: [4368]: <info> Executing > /etc/init.d/httpd status > Nov 29 17:04:25 node1 kernel: tg3: eth1: Link is down. > Nov 29 17:04:44 node1 clurgmgrd: [4368]: <warning> Link for eth1: Not > detected > Nov 29 17:04:44 node1 clurgmgrd: [4368]: <warning> No link on eth1... > Nov 29 17:04:44 node1 clurgmgrd[4368]: <notice> status on ip > "192.168.0.3" returned 1 (generic error) > Nov 29 17:04:44 node1 clurgmgrd[4368]: <notice> Stopping service http > Nov 29 17:04:44 node1 clurgmgrd: [4368]: <info> Executing > /etc/init.d/httpd stop > Nov 29 17:04:44 node1 httpd: httpd shutdown succeeded > Nov 29 17:04:44 node1 clurgmgrd: [4368]: <info> Removing IPv4 address > 192.168.0.3 from eth1 > Nov 29 17:04:54 node1 clurgmgrd[4368]: <notice> Service http is recovering > Nov 29 17:04:54 node1 clurgmgrd[4368]: <notice> Recovering failed > service http > Nov 29 17:04:54 node1 clurgmgrd: [4368]: <warning> Link for eth1: Not > detected > Nov 29 17:04:54 node1 clurgmgrd: [4368]: <info> Executing > /etc/init.d/httpd start > Nov 29 17:04:54 node1 httpd: httpd startup succeeded > Nov 29 17:04:54 node1 clurgmgrd[4368]: <notice> Service http started > Nov 29 17:05:04 node1 clurgmgrd: [4368]: <warning> 192.168.0.3 is not > configured > Nov 29 17:05:04 node1 clurgmgrd[4368]: <notice> status on ip > "192.168.0.3" returned 1 (generic error) > Nov 29 17:05:04 node1 clurgmgrd[4368]: <notice> Stopping service http > Nov 29 17:05:04 node1 clurgmgrd: [4368]: <info> Executing > /etc/init.d/httpd stop > Nov 29 17:05:04 node1 httpd: httpd shutdown succeeded > Nov 29 17:05:04 node1 clurgmgrd[4368]: <notice> Service http is recovering > Nov 29 17:05:04 node1 clurgmgrd[4368]: <notice> Recovering failed > service http > Nov 29 17:05:04 node1 clurgmgrd: [4368]: <warning> Link for eth1: Not > detected > Nov 29 17:05:04 node1 clurgmgrd: [4368]: <info> Executing > /etc/init.d/httpd start > Nov 29 17:05:04 node1 httpd: httpd startup succeeded > <...> > > and it restarts the service continously. > > It performs failover only if I modify recovery mode in cluster.conf: > > <service autostart="1" name="http" recovery="relocate"> > > Is there any way to set max number of retries before relocate service? > > Thanks > Carlo > > > -- > Linux-cluster mailing list > Linux-cluster@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/linux-cluster -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster