Re: Cluster don't work good when Sendmail service is included in Piranha
Nebojsa Radojevic <[email protected]> Tue, 28 Dec 2004 06:44:21 -0800 (PST)
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
Hello It seem that I found solution. It has been defined for: SMTP port options: Port=smtp,Addr=10.2.2.7,Name=MTA on primary server SMTP port options: Port=smtp,Addr=10.2.2.3,Name=MTA on backup server. When this parametar has been changed to: SMTP port option: Default SMTP port option: Default on both server piranha starting to work OK. Especially thank very much to Kawaljeet Singh Chadha ! Best Regards Nebojsa Radojevic Belgrade, Serbia --- kawaljeet singh chadha <[email protected]> wrote: > > On looking at the lvs.cf file.. one thing I noted > is... > ***** > failover www11.co.yu { > address =10.2.2.11 eth0:1 > active = 0 > port = 80 > timeout = 20 > 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" > } > *********** > Kindly.. make the following change... Make active = > 0 to active = 1.. Make sure... its reflected on > lvs.cf of both the machines... :-) > 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.. > 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... > Thanx, > Kawaljeet. > > > > > On Tue, 28 Dec 2004 Nebojsa Radojevic wrote : > >Hello All > > > >I’m using piranha on RedHat AS 2.1 Update 5 . > > > >In lvs.cf configurate file I have defined httpd, > >named and squid services and everything is work ok. > > > >After that I add sendmail services in lvs.cf file > > > >I have sucesfully started pulse on primary and > >secundary server. > > > >Services hhtpd, named, squid and sendmail have > >successfully started on primary server. > > > >After a few minutes pulse stop all services(hhtpd, > >named, squid and sendmail) on primary server and > >started it on backup server. > > > >After next few minutes pulse stop all > services(hhtpd, > >named, squid and sendmail) on backup server and > >started it on primary server. > > > >After next few minutes pulse stop all > services(hhtpd, > >named, squid and sendmail) on primary server and > >started it on backup server. > > > >After next few minutes pulse stop all > services(hhtpd, > >named, squid and sendmail) on backup server and > >started it on primary server. > > > >….. > > > > > >primary = 10.2.2.7 > >service = fos > >rsh_command = ssh > >backup_active = 1 > >backup = 10.2.2.3 > >heartbeat = 1 > >heartbeat_port = 539 > >keepalive = 6 > >deadtime = 24 > >network = direct > >debug_level = NONE > >failover ns11.co.yu { > > address =10.2.2.11 eth0:1 > > active = 0 > > port = 53 > > timeout = 20 > > send = "\n" > > start_cmd = "/etc/rc.d/init.d/named start" > > stop_cmd = "/etc/rc.d/init.d/named stop" > >} > >failover www11.co.yu { > > address =10.2.2.11 eth0:1 > > active = 0 > > port = 80 > > timeout = 20 > > 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" > >} > >failover proxy11.co.yu { > > address =10.2.2.11 eth0:1 > > active = 0 > > port = 8080 > > timeout = 20 > > send = "\n" > > start_cmd = "/etc/rc.d/init.d/squid start" > > stop_cmd = "/etc/rc.d/init.d/squid stop" > >} > >failover mail11.co.yu { > > address =10.2.2.11 eth0:1 > > active = 1 > > port = 25 > > timeout = 25 > > send = "\n" > > expect = "220" > > start_cmd = "/etc/rc.d/init.d/sendmail start" > > stop_cmd = "/etc/rc.d/init.d/sendmail stop" > > > >I don’t know why piranha works on this way now? > > > >Could any have some idea how I can resolve this > >problem. > > > >Thank you in advanced > >Best Regards > >Nebojsa Radojevic > > > > > > > > > >__________________________________ > >Do you Yahoo!? > >Meet the all-new My Yahoo! - Try it today! > >http://my.yahoo.com > > > > > >_______________________________________________ > >Piranha-list mailing list > >[email protected] > >https://www.redhat.com/mailman/listinfo/piranha-list > > > -- kawaljeet singh chadha > > A thing of beauty is joy a forever ... > > _______________________________________________ > Piranha-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/piranha-list __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com