Skip to main content
1-Visitor
April 14, 2015
Solved

Changing the hostname

  • April 14, 2015
  • 1 reply
  • 4953 views

I'm creating a plan to upgrade our MKS Integrity 2009 SP7 (AIX) test server to PTC Integrity 10.6 (AIX). In the is.properties file there is a setting mksis.hostname=mks-test.

Server URL is http://mks-test:7001. The actual name of the server is something different. I changed the hostname setting in the is.properties file to ptc-test. I stopped ans started the server using mksis stop and mksis start and I saw errors in the server.log:

2015-04-14 07:33:20,103 DEBUG [mksis.IntegrityServer] DEBUG(0): mks.frame.client.ConnectionException -- mks.frame.client.ConnectionException: MKS124871: Could not establish server connection (it may be down). Details: Error resolving hostnames; nested exception is: java.net.UnknownHostException: ptc-test

What did I miss?

    Best answer by wspadola

    Daniel,

    This error suggests that there is no DNS entry for "ptc-test" to be mapped to any IP address at all. You will need to discuss having this entry created with your network administrator. The only alternative is to use a local HOSTS file, but this is very cumbersome.

    Changing the value of mksis.hostname will also require using a diagnostic (at the very least) to re-map existing change packages within the database to a different mksis.hostname value. Please see https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS172703 There are also certain steps in the following article https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS115211&lang=en_US that I would suggest reading over as well, namely step 8 and 9.

    I would suggest opening a case with support so we can help with any additional scope of changes for this server.

    1 reply

    5-Regular Member
    April 14, 2015

    Did the server start although there is this error in the log file?

    Is the new server name reachable from the client (e.g. "ping potc-test") ?

    DanR.1-VisitorAuthor
    1-Visitor
    April 14, 2015

    No. The server.log repeats the error every 5 seconds. The client reports this error -> "Error connecting to ptc-test:7001 (it may be down): The IP address of the host could not be determined"

    wspadola12-AmethystAnswer
    12-Amethyst
    April 14, 2015

    Daniel,

    This error suggests that there is no DNS entry for "ptc-test" to be mapped to any IP address at all. You will need to discuss having this entry created with your network administrator. The only alternative is to use a local HOSTS file, but this is very cumbersome.

    Changing the value of mksis.hostname will also require using a diagnostic (at the very least) to re-map existing change packages within the database to a different mksis.hostname value. Please see https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS172703 There are also certain steps in the following article https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS115211&lang=en_US that I would suggest reading over as well, namely step 8 and 9.

    I would suggest opening a case with support so we can help with any additional scope of changes for this server.