Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.
The "TomcatGridDiscussion" page has been changed by theimpaler: https://wiki.apache.org/tomcat/TomcatGridDiscussion?action=diff&rev1=1&rev2=2 The example shown in the figure below assumes Machines #1 and #4 run a lighter web and/or back end applications, so they have enough resources bandwidth to run the extra Tomcat instance for the manager. In case the primary manager on Machine #1 goes down (or the whole Machine #1 goes down), there is a secondary manager (on Machine #4) that can be activated to take over the managing duties. - <pre> + {{{ - . .Machine #2............. : : : [Tomcat #2] : : ^ : : | [Tomcat #6] : : | ^ : : | | [Tomcat #9] : : | | ^ : : | | | : - - . + - - ---------- - >[Grid Agent #2] : - + ..Machine #2............. + : : + : [Tomcat #2] : + : ^ : + : | [Tomcat #6] : + : | ^ : + : | | [Tomcat #9] : + : | | ^ : + : | | | : + +---------->[Grid Agent #2] : + | : : - . | : : | ......................... | | + | ......................... + | + | + ..Machine #1............. | ..Machine #3............. - - . .Machine #1............. | ..Machine #3............. : : | : : : [Primary Web Manager] - - ---------- - >| : [Tomcat #3] : - - . : : | : ^ : : [Tomcat #1] : | : | [Tomcat #7] : - : ^ : | : | ^ : : | [Tomcat #5] : | : | | [Tomcat #10]: : | ^ : | : | | ^ : : | | : | : | | | : : [Grid Agent #1]< - - ---------- - | - - ---------- - >[Grid Agent #3] : - - . : : | : : : [Primary CLI Manager] + : : | : : - - ---------- - >| ......................... - + : [Primary Web Manager]---------->| : [Tomcat #3] : + : : | : ^ : + : [Tomcat #1] : | : | [Tomcat #7] : + : ^ : | : | ^ : + : | [Tomcat #5] : | : | | [Tomcat #10]: + : | ^ : | : | | ^ : + : | | : | : | | | : + : [Grid Agent #1]<----------------|---------->[Grid Agent #3] : + : : | : : + : [Primary CLI Manager]---------->| ......................... - . : : | + : : | - . ........................ | + ......................... | - . | ..Machine #4............. | : : | : [Sec. Web Manager] : | : : | : [Tomcat #4] : | : ^ : | : | [Tomcat #8] : | : | ^ : | : | | : + - - ---------- - >[Grid Agent #4] : - - . : : : [Sec. CLI Manager] : : : - . ........................ - - </pre> - + | ..Machine #4............. + | : : + | : [Sec. Web Manager] : + | : : + | : [Tomcat #4] : + | : ^ : + | : | [Tomcat #8] : + | : | ^ : + | : | | : + +---------->[Grid Agent #4] : + : : + : [Sec. CLI Manager] : + : : + ......................... + }}} The Grid Agents are Java processes installed and running on each machine that listen (on a configured port) for commands from a manager application (Web or CLI) and act upon them by interacting with the local Tomcat instances. No encryption is envisioned on the network channels, since all these machines are considered to be installed on a secured network segment (at least in prod). [Maybe we should reconsider this] All the Tomcat instances (including the Web Grid Managers), as well as the Grid Agents, are installed manually. The primary grid manager and all the agents are started manually too. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org