Unwired Server Upgrade Stalls if Cluster Name is Longer than 16 Characters

Problem: If an existing 2.1.X cluster has a cluster name that is longer than 16 characters, when upgrading to version 2.2, the 2.2 installer throws this error: Upgrade failed. Cannot find the 32 bit ClusterDB DSN registry key.

Workaround:
  1. Make sure all Sybase Unwired Platform services and process are stopped on the server to be upgraded.
  2. On 64-bit systems, create the following key (all on one line):
    HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\
    clusterdb_cluster_32bit
  3. Create the following STRING (REG_SZ) values under the above key
    • CommLinks
    • DatabaseName
    • Driver
    • ServerName
    • UID, if it exists in
      HKLM\SOFTWARE\ODBC\ODBC.INI\clusterdb_<clustername>
    • PWD, if it exists in
      HKLM\SOFTWARE\ODBC\ODBC.INI\clusterdb_<clustername>
  4. Values for CommLinks, DatabaseName, UID, PWD and ServerName should come from the corresponding STRING values in HKLM\SOFTWARE\ODBC\ODBC.INI\clusterdb_<cluster-name>.
  5. Value for Driver should come from the corresponding STRING value in HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\default-cdb_32bit.
  6. Make a copy of HKLM\SOFTWARE\ODBC\ODBC.INI\clusterdb_<clustername> and name it HKLM\SOFTWARE\ODBC\ODBC.INI\clusterdb_cluster.
  7. Make a backup of sup.properties in SUP_HOME\Servers\UnwiredServer\Repository\Instance\com\sybase\sup\server\SUPServer.
  8. Use a text editor to open sup.properties.
  9. Locate the line that begins with cldb.dsnname=.
  10. Replace the string to the right of the equal sign with clusterdb_cluster.
  11. Save the file.