SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 22.04 |
Virtualmin version | 7.8.2 |
Hello,
I’m trying to load balance apache2 across multiple instances using a shared file system.
The layout is a bit like this:
/etc/apache2
is a symlink on all the instances on a shared mounted share- site files are also on a shared mounted share (virtual server files)
- log files for virtual server are also on the mounted share
I’ve also symlinked /var/lock/apache2
, /var/log/apache2
and /var/run/apache2
On the initial instance, this configuration works without issue. When I access the desired url, it loads the page as expected.
Then I’ve made an image of the initial instance (same exact configuration), meaning that all shared file systems are already mounted and pointing to the correct locations.
What I am seeing is when I attempt to load the url, it shows the apache default page instead of showing the page defined in the virtual server.
I’ve checked the symlinks and file permissions, everything seems to be correctly configured on the cloned image.
It works fine if I point the url to to the initial image, but not on the cloned one.
I am not sure what I’m doing wrong, or what I missed.
Any help getting this setup to work would be greatly appreciated.