From radojevicn at yahoo.com Tue Dec 28 11:43:46 2004 From: radojevicn at yahoo.com (Nebojsa Radojevic) Date: Tue, 28 Dec 2004 03:43:46 -0800 (PST) Subject: Cluster don't work good when Sendmail service is included in Piranha Message-ID: <20041228114346.85008.qmail@web40627.mail.yahoo.com> 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 From kawaljeet_singh at rediffmail.com Tue Dec 28 12:32:03 2004 From: kawaljeet_singh at rediffmail.com (kawaljeet singh chadha) Date: 28 Dec 2004 12:32:03 -0000 Subject: Cluster don't work good when Sendmail service is included in Piranha Message-ID: <20041228123203.26039.qmail@webmail31.rediffmail.com> This can happen only if one machine thinks the services are not running on the other machine. So, some condition is failing on both the machine.. Hence.. the services are toggling... Kindly, attach the logs in /var/log/messages.. The messages will state the reason for the failure.. Also very that.. the syslogd is running on ur system. 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 >Piranha-list at redhat.com >https://www.redhat.com/mailman/listinfo/piranha-list -- kawaljeet singh chadha A thing of beauty is joy a forever ... -------------- next part -------------- An HTML attachment was scrubbed... URL: From kawaljeet_singh at rediffmail.com Tue Dec 28 12:37:11 2004 From: kawaljeet_singh at rediffmail.com (kawaljeet singh chadha) Date: 28 Dec 2004 12:37:11 -0000 Subject: Cluster don't work good when Sendmail service is included in Piranha Message-ID: <20041228123711.315.qmail@webmail31.rediffmail.com> 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 >Piranha-list at redhat.com >https://www.redhat.com/mailman/listinfo/piranha-list -- kawaljeet singh chadha A thing of beauty is joy a forever ... -------------- next part -------------- An HTML attachment was scrubbed... URL: From radojevicn at yahoo.com Tue Dec 28 14:44:21 2004 From: radojevicn at yahoo.com (Nebojsa Radojevic) Date: Tue, 28 Dec 2004 06:44:21 -0800 (PST) Subject: Cluster don't work good when Sendmail service is included in Piranha In-Reply-To: <20041228123711.315.qmail@webmail31.rediffmail.com> Message-ID: <20041228144421.80775.qmail@web40603.mail.yahoo.com> 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 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 > >Piranha-list at redhat.com > >https://www.redhat.com/mailman/listinfo/piranha-list > > > -- kawaljeet singh chadha > > A thing of beauty is joy a forever ... > > _______________________________________________ > Piranha-list mailing list > Piranha-list at redhat.com > https://www.redhat.com/mailman/listinfo/piranha-list __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com