There are two configuration file interface/lib/config.inc.php server/lib/config.inc.php I changed the primary servers mysql port, rather than doing an upgrade to reconfigure I opted to change the configuration "file" instead. Took me a little while to work out why cron.log was showing connection errors and so changing the second file. With a brief inspection the files have the same size and appear to contain the same content. Actually diff shows they are identical. Is there a reason to keep two files in this way. Possibly some usage that I am not yet aware of?
the interface-file is use for the interface and the file in the server-dir is used for the server-plugins and cronjobs. on a slave-server, you don't need to change the file from interface.
I am just wondering why two files when one could serve both parts of the system, unless they can be separated into different hosts then it makes sense.
ISPConfig Interface and server part are completely independent from each other and can even reside on different hosts. That's why the interface and server have different config files. And e.g. on a mirror setup, the interface and server config file of the same physical node contain different database details.
Okay, if one were to setup in this way, would the secondary's poll the server or the interface? I am not going to do this, just interested to know.
The server part of the second server connects to the local database, the interface part connects to a mirrored copy of the primary database.