Cluster don't work good when Sendmail service is included in Piranha

Nebojsa Radojevic radojevicn at yahoo.com
Tue Dec 28 11:43:46 UTC 2004


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 
 




More information about the Piranha-list mailing list