Is that allowed or possible to have 2 machines set with the same hostname.
Hi.
When we configuring JTS server, we are asked to provide "Fully Qualified Hostname" as the public URI root. I was wondering whether it's possible to name two machines with the same hostname in the same intranet? Would it cause any potential problems when running JTS from the two machines at the same time? Whether any network configuration could achieve above? Your insight thoughts would be highly appreciated. Thanks and Regards |
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Jul 28 '14, 1:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Jin,
you can't have that. However, you can use a "Reverse Proxy". See https://jazz.net/wiki/bin/view/Deployment/InstallProxyServers The proxy server is reachable under the common public URI and forwards the calls to the other machines based on the URL. E.g. forwards the call to the CCM application using the /ccm bit of the URL. The applications can have all the same public URI root without knowing they are on different hosts. Jin Zhou selected this answer as the correct answer
Comments 1
If you want to use the same host name in a network (e.g. for upgrade testing), you have to shield them from each other. You can set up an isolated network of a few machines, by manipulating the hosts file of all of the machines. You essentially overwrite the DNS and put in IP addresses in the host file to make sure the correct machines are reached. You have to be very careful if you do that, in order to avoid Linking the wrong applications.
Jin Zhou
commented Jul 28 '14, 1:54 a.m.
Thanks, Ralph
Jin,
Jin Zhou
commented Jul 28 '14, 2:55 a.m.
Hi, Ralph
I would strongly advise not to try that. For use cases like upgrade testing, using entries in the hosts file has been used. The reverse proxy can not help with the scenario you describe, because it relies on different URL infixes to identify where to forward.
Jin Zhou
commented Jul 29 '14, 12:42 a.m.
Hi, Ralph
showing 5 of 6
show 1 more comments
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.