Can I change port number on apps on proxy server without a rename
David Mehaffy (901●2●33●38)
| asked Mar 26 '18, 10:48 a.m.
JAZZ DEVELOPER edited Mar 26 '18, 11:22 a.m. I have a sandbox setup with all apps on a single server and the public URL is https://clm-sb...../jts.
|
2 answers
In the long run it would be best to perform the server rename. From the wording of the question I assume that your Public URI does not include a port number (i.e. the network is using the implied 443 port number and you modified your server.xml file to use 443 for https instead of 9443).
Comments Thanks for the answer. I had originally done a server rename to remove the 9443 a while back. I have been experimenting with changing it back to 9443 in a rename but that did not seem to work well with the apps communicating with each other. This is a unix system and I will be setting up a reverse proxy. Maybe I am missing something but if I have :443 as the port coming in an remap to :9443 isn't :443 really being passed to the server and translated coming back?
I think the challenge is this: I have the following in mappings.txt:
It has been a couple of years since I performed a server rename - but I think that you are seeing an error because the last block should use :9443 in the second line, i.e.
Well if I do as suggested I get a duplicate port error. But the link you supplied looks like I would do the way I have but what I find is the cross application links for things like workitems don't get renamed
Daniel Barbour
commented Mar 26 '18, 3:52 p.m.
In regard to "..cross application links for things like workitems don't get renamed.." did your mapping file include entries for ALL of the apps (jts, ccm, rm, qm, etc...(i.e all apps you have installed))? workitems would fall under ccm. If your apps are distributed across multiple servers (implied by your reference to a 'reverse proxy server' in the original post - you would also need to complete a server rename operation on each individual server.
My mapping file includes all apps. I guess I am not clear on my scenario. I have 5.0.2 production with everything on one server with implied 443 in URL. I am setting up a test server - so I have to do a server rename first. Then I will upgrade to 6.0.5 with all applications on a single server (makes the upgrade simpler). Then I want to move to a distributed environment with an IHS reverse proxy connecting to CLM-Liberty servers - so I need a reverse proxy anyways as our users want a single name space. This is for testing before moving production
Daniel Barbour
commented Mar 27 '18, 9:29 a.m.
David,
Daniel Barbour
commented Mar 27 '18, 12:23 p.m.
David,
/rm
/rm
showing 5 of 8
show 3 more comments
|
David,
#/gc I get the following warning during -verifyURLMappings: When a URL has no port specified, or when it has the default port specified, theHowever - when I remove the 'duplicate' entries, as in: #/gc source=https://ct-clm-tqk/gcI get the following warning during -verifyURLMappings When a URL has no port specified, or when it has the default port specified, theGiven the warnings during the 'verify' step. This looks like a 'Catch-22' issue with server rename that needs to be escalated for repair. ----- Update ---- Regardless of the warnings raised during the 'verify' step - I did actually 'try' importing the mappings files from both of the above cases. The first one (where the 'duplicate' warning was raised) did NOT work. When the import was started for the second 'gc' entry an error message was raised indicating that the mapping had already been completed and the import operation halted (leaving the partially updated environment in unhelpful state..annoying, but I had a VM snapshot so no harm). The second one (where the warning informed of a missing 'alternate' entry) completed successfully. As far as I can tell, all of my projects are present and accessible using the updated public URL (where I restored the :9443 port number to the URL). Your mileage may vary. However, I do believe that the the mappings.txt file with the 'alternate' address entries SHOULD have worked and a PMR is still warranted but I won't be entering one since it entails an time obligation that I cannot make since we are staying with our current URL (no port number) pattern. |
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.