-
CatDV server & HTTP-server on different hosts
I haven’t seen much talk about setting up CatDV and Tomcat on different hosts with different ip-addresses. I understood from the documentation that it is indeed possible but I have a little trouble understanding the traffic involved.
Scenario: machine A has CatDV server and MySQL (or other db) running and machine B has Tomcat7 runnning. The machines have different public ip addresses. User connects by browser to machine B’s public ip address. (https://b.b.b.b:8080/catdv2). The proxy files are locally on machine B and the proxy paths match the path used during import (except for the drive letter, which changes D: -> C:).
Does this scenario require specific configuration to Tomcat to work? I mean how does Tomcat authenticate user login if the database is on machine A? Can I replicate the database to machine B so it would serve proxy files even if A goes offline?
How about the CatDV server configuration? Should the web proxy paths be mapped to local path of proxy in the HTTP-server (in this scenario D: -> C:) because I don’t want to load proxy through the relatively slow public network.
I guess what I mean can be described best through this image: architecture
What is the link between CatDV data access & query library and CatDV core servlets? Can the proxy files be loaded locally by the web server even if CatDV server goes offline and there’s a replicate database on the remote HTTP-server?Sorry for the wall of text and I hope somebody understood where I am going with it.
Best,
Toni Popovic