<P>
  <BR>
 On looking at the lvs.cf file.. one thing I noted is... <BR>
*****<BR>
failover www11.co.yu {<BR>
    address =10.2.2.11 eth0:1<BR>
    active = 0<BR>
    port = 80<BR>
    timeout = 20<BR>
    send = "GET / HTTP/1.0\r\n\r\n"<BR>
    expect = "HTTP"<BR>
    start_cmd = "/etc/rc.d/init.d/httpd start"<BR>
    stop_cmd = "/etc/rc.d/init.d/httpd stop"<BR>
}<BR>
***********<BR>
 Kindly.. make the following change... Make active = 0 to active = 1.. Make sure... its reflected on lvs.cf of both the machines... :-)<BR>
 I can only... seee... sendmail being checked not the other services as.. only for sendmail u have put... active=1.. for rest it is active=0.. <BR>
 One thing i have noticed is u have to monitor.. the httpd service.. otherwise.. everytime the services will toggle.. donno its a limitation from the piranha.. or the bug.. Some other ... can give their expert comments... <BR>
 Thanx, <BR>
  Kawaljeet.<BR>
<BR>
<BR>
<BR>
<BR>
On Tue, 28 Dec 2004 Nebojsa Radojevic wrote :<BR>
>Hello All<BR>
><BR>
>I’m using piranha on RedHat AS 2.1 Update 5 .<BR>
><BR>
>In lvs.cf configurate file I have defined  httpd,<BR>
>named and squid services and everything is work ok.<BR>
><BR>
>After that I add sendmail services in lvs.cf file<BR>
><BR>
>I have sucesfully started pulse on primary and<BR>
>secundary server.<BR>
><BR>
>Services hhtpd, named, squid and sendmail have<BR>
>successfully started on primary server.<BR>
><BR>
>After a few minutes pulse stop all services(hhtpd,<BR>
>named, squid and sendmail) on primary server and<BR>
>started it on backup server.<BR>
><BR>
>After next few minutes pulse stop all services(hhtpd,<BR>
>named, squid and sendmail) on backup server and<BR>
>started it on primary server.<BR>
><BR>
>After next few minutes pulse stop all services(hhtpd,<BR>
>named, squid and sendmail) on primary server and<BR>
>started it on backup server.<BR>
><BR>
>After next few minutes pulse stop all services(hhtpd,<BR>
>named, squid and sendmail) on backup server and<BR>
>started it on primary server.<BR>
><BR>
>…..<BR>
><BR>
><BR>
>primary = 10.2.2.7<BR>
>service = fos<BR>
>rsh_command = ssh<BR>
>backup_active = 1<BR>
>backup = 10.2.2.3<BR>
>heartbeat = 1<BR>
>heartbeat_port = 539<BR>
>keepalive = 6<BR>
>deadtime = 24<BR>
>network = direct<BR>
>debug_level = NONE<BR>
>failover ns11.co.yu {<BR>
>      address =10.2.2.11 eth0:1<BR>
>      active = 0<BR>
>      port = 53<BR>
>      timeout = 20<BR>
>      send = "\n"<BR>
>      start_cmd = "/etc/rc.d/init.d/named start"<BR>
>      stop_cmd = "/etc/rc.d/init.d/named stop"<BR>
>}<BR>
>failover www11.co.yu {<BR>
>      address =10.2.2.11 eth0:1<BR>
>      active = 0<BR>
>      port = 80<BR>
>      timeout = 20<BR>
>      send = "GET / HTTP/1.0\r\n\r\n"<BR>
>      expect = "HTTP"<BR>
>      start_cmd = "/etc/rc.d/init.d/httpd start"<BR>
>      stop_cmd = "/etc/rc.d/init.d/httpd stop"<BR>
>}<BR>
>failover proxy11.co.yu {<BR>
>      address =10.2.2.11 eth0:1<BR>
>      active = 0<BR>
>      port = 8080<BR>
>      timeout = 20<BR>
>      send = "\n"<BR>
>      start_cmd = "/etc/rc.d/init.d/squid start"<BR>
>      stop_cmd = "/etc/rc.d/init.d/squid stop"<BR>
>}<BR>
>failover mail11.co.yu {<BR>
>      address =10.2.2.11 eth0:1<BR>
>      active = 1<BR>
>      port = 25<BR>
>      timeout = 25<BR>
>      send = "\n"<BR>
>      expect = "220"<BR>
>      start_cmd = "/etc/rc.d/init.d/sendmail start"<BR>
>      stop_cmd = "/etc/rc.d/init.d/sendmail stop"<BR>
><BR>
>I don’t know why piranha works on this way now?<BR>
><BR>
>Could any have some idea how I can resolve this<BR>
>problem.<BR>
><BR>
>Thank you in advanced<BR>
>Best Regards<BR>
>Nebojsa Radojevic<BR>
><BR>
><BR>
><BR>
><BR>
>__________________________________<BR>
>Do you Yahoo!?<BR>
>Meet the all-new My Yahoo! - Try it today!<BR>
>http://my.yahoo.com<BR>
><BR>
><BR>
>_______________________________________________<BR>
>Piranha-list mailing list<BR>
>Piranha-list@redhat.com<BR>
>https://www.redhat.com/mailman/listinfo/piranha-list<BR>

</P>


  -- kawaljeet singh chadha <br>
<br>
A thing of beauty is joy a forever ... <br>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>