Clustered LSPHP Servers - Howto?
I been reading up on the LSAPI and I read this section, which I want t know more on how this can be accomplished and what is needed on the webserver and the dedicated PHP server itself in terms of the files in between.
Here is the reference:
Start PHP from command line
Usually, lsphp is managed by LiteSpeed web server in a single server installation. lsphp can be used in clustered environment with one LiteSpeed web server at the front, load balancing lsphp processes running on multiple backend servers. In such environment, lsphp can be start manually from command with option "-b ", socket address can be IPv4, IPv6 or Unix Domain Socket address.
./lsphp -b [::]:3000
have lsphp bind to port 3000 on all IPv4 and IPv6 address,
./lsphp -b *:3000
So the question is, does the backend lsphp server need access to the /home directory where the php files are located or it can be just small drive with just PHP running on it and have it all on the LSWS installed server for the data processing. Plus, what about the mysql processes, does it come from the lsphp server or from lsws server itself.
Those are the questions I have so I can build a test system and test it accordly to see how it works and go from there. Just need some basic understanding on how it works to make it all work together.