Changing Unwired Server Host Name

Change the Unwired Server host name. If you are changing the host name for a node in a cluster, the name must be changed for all nodes in the cluster. Additional steps are required if you are making a host name change after an upgrade.

  1. Stop the Sybase Unwired Server service.
  2. Update all the socketlistener property files related to the node with the changed host name. Change the value of host to the new host name. The property files are located at ${UnwiredServer}\Repository\Instance\com\sybase\djc\server\SocketListener\<mlservername>_<protocol>.properties. Open each file, and change the old host value name to the new host name.
  3. Update the property value in the cluster database:
    1. Using dbisqlc, connect to the cluster database.
    2. Update the sup.host property value with the new node value. For example:
      update MEMBER_PROP set value1='<new_hostname>' where name='sup.host' and value1='<old_hostname>'
  4. Update the property value of sup.host with the new host name in sup.properties. It is located at: Repository\Instance\com\sybase\sup\server\SUPServer\sup.properties.
  5. If you are upgrading version 2.0 to 2.1, and changed the Unwired Server host name during that upgrade process, complete these steps:
    1. Change the listener prefix of httpListeners and iiopListeners for the new hostname in the new server's properties file:
      Repository\Instance\com\sybase\djc\server\ApplicationServer\default.properties,  <new_hostname>.properties
    2. In Repository\Instance\com\sybase\djc\server\SocketListner\*.properties, rename all the <old_hostname>_<protocol>.properties into <new_hostname>_<protocol>.properties.
    3. Use dbisql or dbisqlc to update the table: cluster_installation in clusterdb, update cluster_installation set hostname='<new_hostname>' where hostname='<old_hostname>'.
  6. To enable Sybase Control Center to work:
    1. Restart the Sybase Control Center X.X service.
    2. Modify the URL in the shortcut for the SCC. Use the new hostname instead of the old one in the launched URL
  7. For a cluster environment, repeat step 2 for each node.
  8. Restart the Sybase Unwired Server service.