Not what I am looking to do. Agents would only report to (1) ocsinventory server. What I am trying to accomplish is to host multiple ocsinventory servers on a single apache instance without running multiple instances of the ocsreports admin console and seperate ServerNames (site1.test.com, site2.test.com, etc). Instead I would like to use different virtual locations of /ocsinventory to point to their own mysql database. Something like the following:
ocs agent A -> test.com/ocsinventory -> mysql db A
ocs agent B -> test.com/ocsinventoryb -> mysql db B
Not asking on the Agent end, but for the server. I have been able to get multi site configurations working on a single server with apache configs tied to seperate ServerNames, but would like to streamline further and only use virtual locations. From testing it appears like mod_perl may be the issue and only able to get tied to a single virtual location.