Hello,
I’ve read few posts on this community about running multiple Lucee instances but I did not find enough info on this subject. I’m currently testing Lucee to see if we can use it in our load balanced production environment.
We are currently running Adobe ColdFusion with three instances, each instance (develapps.domain.local, testapps.domain.local and prodapps.domain.local) have its own apache httpd virtual host, DNS name, IP address, systemd service, we are using mod_jk to connect httpd and CF instance, each CF instance configured to run on a separate AJP port.
What I’m trying to do is to configure Lucee with separate instances where each instance will have its own process and systemd service. I’ve installed CentOS, httpd, latest Lucee, compiled mod_jk, configured mod_JK.
Next, I’ve modified the /lucee_disk/lucee/tomcat/conf/server.xml and added the host ‘develapps’ with path to the source files. I was able to successfully test this by going to http://develapps.domain.local/test.cfm
However, I’m not sure how to add the other instances, I’ve read the instruction
But this is just adding the site, not the separate Lucee/tomcat instance. From the instructions, it appears that if Lucee server stops, all sites will be down. I’m looking into creating directory structure under lucee:
/lucee_disk/lucee/
|-----------------develapps/tomcat
|-----------------testapps/tomcat
|-----------------prodapps/tomcat
Have anyone done this type of setup or have the information on how to do what I’m trying to do? I’m not looking to exactly replicate what we have with Adobe ColdFusion but have the similar idea.