View Single Post
  #17  
Old 6th August 2012, 16:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
From your daily_cron.php, you are calculating mail traffic saving data to the master db:
Thats correct and intended. The stats are only shown on the master so they are saved on the master. If you would save them on the slave, nobody would be able to see them.

Quote:
ow, from the interface code (mail_user_stats.php), you are quering the local server and not the master:
Thats correct as well. The only server that runs a interface in a ISPConfig cluster is the master servers, so when you query the local database in the interface, the amster is queried.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 6th August 2012 at 16:43.
Reply With Quote