Some problems after restoring database backup to another Jazz Server
Accepted answer
- If you run without a proxy and you want to restore an application server on a different machine, you have to give the machine the host name of the original machine (or whatever matches the name used in the public URI). You have to make sure that the new machine is the only one reachable using this name. E.g. with the hosts file or DNS.
-
If you use backup and restore to move to the new machine and make it available under the old host name to keep the public URI you don't have to run setup. Especially you don't have to register any new application and you can not change the Public URI either. If you could, you failed to bring all required files over. Please carefully read https://jazz.net/library/article/795 .
-
Today moving a project area from one server to another is not supported. If you mean you wanted to install two servers on one machine, this is possible if there are no conflicts in used ports and host names/host name aliases.
Comments
Very clear. Thanks Ralph. And what about a situation in which I just don't want to move anything but just create a connection to the repository in a different way than what I used for the public URI (i.e. public uri https://aaa.bbb.ccc/jazz/ while the connection I use for working and versioning files is https//10.16.33.66:9443/jazz/ )?
8 other answers
Comments
Ah, I didn't realize @wuhaizi may have been trying to move the Jazz Team Server to another URL. Good catch.
The URI is the same as the old Jazz Team Server, although I can't finish the jts/setup, I can access the CCM project area, seems that everything is ok as the old server, But the RQM and RM project is unavailable, I can't see any RQM and RM project
Comments
what I did is:
to access the repo using another URI is frowned upon. Seriously, you should not do that. The reason is, you could end up creating artifact links with your unofficial URL which will stay in the repo. They might not work for other users.
We had customers asking for internal and external URI's and the answer is, don't try that.
Comments
Just want to mention here your forum question (which I believe is similar):
https://jazz.net/forum/questions/88046/connection-url-different-from-public-uri-any-side-effects
as far as I am aware/have been told it is.
Sure, it might work since everybody does it, but you don't know if the artifact linking did not already infest your repository with all the wrong URI's. As long as these work, you might not even see anything real bad happening. As soon as you switch off the redirect you might be screwed. I can not tell. I can't even tell if "Server rename" which is actually rather URI change in 4.0 would be able to fix all the URL's in case they are really broken. Have you ever checked e.g. work item to work item links, with respect to the URL they have stored?
Comments
I can only tell you what I was told. We had customers that wanted to use different public URI's e.g. for internal users and external users. That did not work. I played around with it and , I think I recall, managed to get a URL stored that contained localhost instead of the public URI when I connected to the server (web UI) using localhost instead of the public URI.
The article https://jazz.net/library/article/325 refers to SCM caching, where the client works against a proxy, that caches and also forwards the request to the right public URI. My assumption is, the client use the correct URI but the message goes to the proxy instead, which forwards it to the right URI if necessary or provides the cached content (with the correct public URI).
Comments
Bo Chulindra
JAZZ DEVELOPER Sep 26 '12, 11:56 a.m.@wuhaizi: What application is the "Finalize Application" step for? You may be seeing the error message because the application you are attempting to finalize is configured with the original Jazz Team Server. Since you have now restored a database backup for the Jazz Team Server, the application may not recognize this new Jazz Team Server as being the same as the old. So it will stop you from trying to register a second Jazz Team Server with the same title.
A workaround for now may be to visit the application's Admin page and change the title of the registered Jazz Team Server to a different one. This may allow you to continue with setup.