Patching a Microsoft Cluster with Shared Hosts

A Microsoft cluster with shared hosts consists of two Unwired Servers colocated with two data tier servers, with failover capability between data tiers managed by Microsoft Cluster Service, also called Failover Clustering.

  1. Shut down the nodes in this order:
    1. Secondary Unwired Servers – shut down these services in this order:
      1. Sybase Unwired Server
      2. Sybase Control Center
    2. Primary Unwired Server – shut down the same services in the same order as for the Secondary Unwired Servers.
  2. On the active node, launch the MS Cluster Administrator and make sure the following active Unwired Platform resources are online:
    • Afaria Database Service (available with Unwired Platform version 1.5.2 or earlier)
    • Sybase Unwired CacheDB
    • Sybase Unwired ClusterDB service (available with Unwired Platform version 2.0 or later)
    • Sybase Unwired LogDataDB service (available with Unwired Platform version 2.0 or later)
  3. Install the patch on the passive node, with all Unwired Platform resources online on the active node.
    Both data tier and Unwired Server are patched on the passive node.
    Note: Do not begin patching any secondary servers until the primary server has completely restarted all its services after being patched.
    1. Extract the patch archive file to a temporary location, for example, C:\tmp\2.1.3p2.
    2. Log in with administrator privileges, then open a Windows Command Prompt (cmd.exe) and change to the folder where you extracted the patch files.
      On Windows 7 and Windows Server 2008R2, start the Command Prompt with the Run as Administrator option.
    3. Run installebf.bat.
      • If the script detects environment issues, you see an error message and the patch process stops. Follow the instructions provided and restart the patch. If you cannot correct the issue, contact Sybase Technical Support.
      • If the patch script stops with an unexpected error message, look for locked files in the installation directory tree. Unlock any locked files and re-run the patch script.
        Note: The script cannot specifically detect locked files in the installation directory tree. The error message that appears when the script encounters locked files is unpredictable.
    4. Press Y, then Enter to install the patch.
    5. When the patch finishes, review the text on your screen for error messages.
      On successful completion of the patch, the services for the patched server are started, even if you have specified to manually start services.
      Note: After patching the data tier, the first Unwired Server may take as long as an hour to restart.
    6. Before proceeding, verify that the patched server is started.
  4. Validate the patch on this passive node by starting the Unwired Platform services.
  5. For the data tier server, make the passive node active.
    1. Launch Microsoft Cluster Administrator.
    2. Fail over the active node to the passive node.
    The node that was passive is now active.
  6. Install the runtime patch on the new passive node.
    Both the data tier and Unwired Server are upgraded.
    1. Extract the patch archive file to a temporary location, for example, C:\tmp\2.1.3p2.
    2. Log in with administrator privileges, then open a Windows Command Prompt (cmd.exe) and change to the folder where you extracted the patch files.
      On Windows 7 and Windows Server 2008R2, start the Command Prompt with the Run as Administrator option.
    3. Run installebf.bat.
      • If the script detects environment issues, you see an error message and the patch process stops. Follow the instructions provided and restart the patch. If you cannot correct the issue, contact Sybase Technical Support.
      • If the patch script stops with an unexpected error message, look for locked files in the installation directory tree. Unlock any locked files and re-run the patch script.
        Note: The script cannot specifically detect locked files in the installation directory tree. The error message that appears when the script encounters locked files is unpredictable.
    4. Press Y, then Enter to install the patch.
    5. When the patch finishes, review the text on your screen for error messages.
      On successful completion of the patch, the services for the patched server are started, even if you have specified to manually start services.
      Note: After patching the data tier, the first Unwired Server may take as long as an hour to restart.
    6. Before proceeding, verify that the patched server is started.