ISPConfig 3 Multiple Servers + NFS
I have 2 ISPConfig 3 servers that are running websites. Server2 mirrors Server1. I created an NFS share on another server because I want to share the /var/www directory so users only have to FTP once. I mounted the NFS share to /var/www in /etc/fstab on both servers, issued a cp -R -p * on my /var/www to the NFS share, then rebooted both servers. Both came up fine sharing the NFS share on /var/www. However, I'm getting 403 Access Denied error messages when accessing any of the sites. I've ensured my users in /etc/passwd match, i.e. web22 (id 1004) is the same on both systems. So I did a chmod 755 recursively on the new /var/www directory and that fixed the error. Now it seems some session issues are appearing in applications like squirrelmail. I haven't setup any load balancing whatsoever. Everything still goes to Server1, so I don't understand why it's having session issues.
Has anyone done a multiserver setup like this before? Any tips or tricks you can share would be greatly appreciated!