Page 1 of 1

IP address change

Posted: Wed Nov 11, 2020 6:22 am
by jhgough
The server hosting our internal cmaps has had to be moved to a newer network which the server name and VM details all retained the same. However the IP addresses of the server had to be changed. I updated the serverconfig.txt and all the cmaps were/thumbnails etc were updated however
when viewing the maps as web pages the links to concept maps under Resource links appear to by trying to use the old server IP address for the Resource Links
If the CMAP tool is used these work fine

Is there a way to update the links from the server?

Re: IP address change

Posted: Wed Nov 11, 2020 7:28 am
by cmapadmin
Did you have a domain name in your serverconfig.txt file? If so, the HTML should have been generated using the domain names and not the IP addresses.

The HTML (web pages) are generated when the Cmap is saved, and so they are not updated when the IP address changed. On the other hand, CmapTools uses the serverid (server identification) to locate the server where the resource is stored, and so changing the IP address won't affect it as it uses the Directory of Places to update the IP address of each CmapServer.

Opening and saving each of the Cmaps from CmapTools will generate the web pages again and should work. Make sure you have the domain name in the serverconfig file.

There is no easy way to update the links automatically from the server.