Apache2 resin2.x cluster configuration
test environment:
Required software apache2.x, resin2.x
2 tables required
Machine A: IP 192.168.1.119
1. Install apache2.x
2. Modify apache httpd.conf configuration file, include conf / include / recote-resin.conf
3. Generate remote-resin.conf in the conf / include directory of Apache, not to create one
4. Remote-resin.conf file content
LoadModule Caucho_Module "
Cauchohost 211.111.8.86 6804
SetHandler Caucho-Request
Location>
SetHandler Caucho-Status
Location>
Ifmodule>
Restart Apache In the address bar http://192.168.1.119/caucho-status should see something, huh, huh
Machine B: IP 211.111.8.86
1. Install resin2.x
2. Modify resin.con
3. Starting resin again access http://192.168.1.119/caucho-status sees another scenario, access http://192.168.1.119/ws2 will see the App WS2 deployed on the machine B.
If you have multiple machines, you can repeat step B machine installation, and SRUN has other usages to see the RESIN manual.
It feels very good in practical applications, no longer need to update N access procedures and data, you can update a machine, of course, you have to make a restriction on the firewall, otherwise no one can connect to RESIN. Connect to Tomcat is comfortable than JK2.
Nightkids
2005-01-15