Multi CF 8/Apache install on Cent OS 5.4 64bit
First, let me explain that I know nothing about coldfusion, I am the systems guy and we have outside contractors doing the actual configuration of the coldfusion pieces. They are windows guys so asking them really hasnt been much help at all. Anyways, I am responsible for the server os and getting the apps installed into a default cfg status.
I am having issues getting the wsconfig and its options running. Of course, I'm not sure Im even using the connector tool correctly.
I was able to run the wsconfig the first time, using
./wsconfig -ws apache -dir /etc/httpd/conf/ -server cfusion -coldfusion -bin /usr/sbin/httpd -script /usr/sbin/apachectl -v
it added the jrun properties to the apache conf, once it was up I sent the developers to it, they are setting up 6 instances each jailed from the other. The developers started with creating instances CFLive-1, CFLive-2 and CFLive-3 for now.
My understanding is that I need to run wsconfig for each instance, using the -server CFLive-? variable and it will update the apache conf file for each instance, I've tried
./wsconfig -ws apache -dir /etc/httpd/conf/ -server CFLive-1 -coldfusion -bin /usr/sbin/httpd -script /usr/sbin/apachectl -v
and every time I run it It tells me it is already configured, here is the output:
Found JRun server cfusion at 127.0.0.1:2902
Found JRun server CFLive-1 at 127.0.0.1:2908
Found JRun server CFLive-2 at 127.0.0.1:2909
Found JRun server admin at 127.0.0.1:2910
Found JRun server CFLive-3 at 127.0.0.1:2911
This web server is already configured for JRun.
Am I using the tool incorrectly, or even have the correct usage of it?
Also, I'm pretty sure I have to wrap virtual host entry's around the mod_jrun22 call created for each instance. Anyone got an example httpd.conf for multiple instances on apache I can look at?
I've tried to find help on the web, everyone seems to have Windows IIS and Windows Apache and loves using the gui, no such luck here with a gui. These are centos 5.4 servers minimally built for the cf8 service and apache server.
However, I have found some people configuring multiple instances on windows/apache, and I got to where I was looking in the /opt/jre4/servers/<instance>/SERVER-INFO/jrun.xml for the port numbers assigned to the instances. The documentation talked about building a apache config with each instance, and then talked about how there should be directories created for each instance with a seperate jrunserver.store located in /opt/jrun4/lib/wsconfig/X/jrunserver.store, where X = the instance number, and that this is created when the instance is created via the cf admin tool, I dont have anything other then the /1/ directory that the first jrun settings entry in the httpd.conf file has in it.
Anyone care to assist me or point me to documentation that can acutually help, or tell me what I am doing wrong?
Thanks in advance
-John
