Moving JTS to a new host, keeping the same database
![]()
Mamadou Diallo (31●2●7●8)
| asked Jan 22 '14, 3:10 p.m.
edited Feb 17 '14, 11:26 a.m. by Hadar Hawk (188●22●14)
Hello,
I have my JTS server installed on machine X. The database is a SQL server running on machine Y. Is it possible to reinstall JTS on machine Z and point it to the same SQL server on machine Y, although that only knows about the X.domainname.com:9443/ccm context root?
Thanks,
|
6 answers
![]()
Also since version 4 you can use server rename feature if you want to change uri. Please search for server rename resources in CLM infocenter.
|
![]()
Hi Mamadou,
We had exactly the same problem. It was caused by an invalid server rename eventid in the rm application properties file (fronting.properties). After changing it the correct one it works. Search for an entry in that file like com.ibm.team.jfs.app.util.serverRenameEventIds=.... and add the Url Mapping Id you get fromrea the urlMappaings service of the jts. https://url.to.your.jts:9443/jts/urlMappings/prefixes I assume that there is a problem especially related to the RRC renaming but this must be clarified by the developers. Kind regards Matthias |
![]()
Hi,
Are you using WAS or Tomcat? If you are using WAS, I think you can create a virtual host for the applications. If you move JTS server from machine X to machine Z, you would create a virtual host in WAS called X.domainame.com and map this virtual host to your .war application web modules. You obviously would need to register the host name X.domainame.com with DNS, to the IP address of machine Z. I have not tried this but in theory it should work. https://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m4/topic/com.ibm.jazz.install.doc/topics/t_configuring_virtual_hosts.html Thanks. |
![]()
Thanks for all the information. I have gone through a rename twice already. Both times I get a rename completed message from the DOS command line where I ran the repotool. When I run the serverRenameStatus from a web client, I get two applications (/ccm, /admin) that are green, and two (/qm and /rm) that failed with the message: "The server retrieved status 500 when it contacted application /qm. Please consult the log files for more details ID CRJAZ2458E" I have checked several log files under the Jazz Install directory but I see nothing that stands out. Instead of trying a third time, I thought I'd ask if anyone has come across something similar, or if there are any suggestions.
|
![]()
We had a number of problems with server rename, in some cases our fault (e.g., apps not registered properly, network problems), sometimes bugs (e.g, server rename complaining about properties that never or could never exist).
I found the errors in the logs fairly useful, we were able to target the problem from the information given, so look at all the logs closely, particularly the application logs. In a couple of cases we had to open PMR's. Support were very good is assisting us with this.
Note, that if the serverRenameStatus fails, you do not need to run the repotools again. Just attempt to fix the problems and then go back to serverRenameStatus to see if it gets past that problem. If you make changes to property files or you config, restart the affected server and then just go to serverRenameStatus again.
And like you, I think the strong coupling is appalling (sorry devs, big fail!) and the server rename solution and process a bit scary!
|
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.