I like stop all services on FailOver machine except Mysql because server failover running on slave mode.
It is necessary as it clones the mail queue, user accounts, cron, mailman, and not to do so, there are duplicates of mail shipments, etc. lists.
I try wiht this on failover machine after hourly syncro:
CODE
replace "cpsrvd:1" "cpsrvd:0" -- /etc/chkserv.d/chkservd.conf;
/scripts/restartsrv_chkservd
service httpd stop;service courier-imap stop; service courier-authlib stop; service cpanel stop
service pure-ftpd stop; killall -9 python2.4; service exim stop; /usr/local/cpanel/libexec/tailwatchd --stop
/usr/local/cpanel/etc/init/stopcpsrvd
killall -9 courierlogger; killall -9 couriertcpd; killall -9 exim; killall -9 clamd; killall -9 httpd; killall -9 authdaemond
/scripts/restartsrv_chkservd
service httpd stop;service courier-imap stop; service courier-authlib stop; service cpanel stop
service pure-ftpd stop; killall -9 python2.4; service exim stop; /usr/local/cpanel/libexec/tailwatchd --stop
/usr/local/cpanel/etc/init/stopcpsrvd
killall -9 courierlogger; killall -9 couriertcpd; killall -9 exim; killall -9 clamd; killall -9 httpd; killall -9 authdaemond
But after any time services become up.
I'm lost. I need any help