Patching a Microsoft Cluster

A Microsoft cluster consists of two data tier nodes and multiple Unwired Server nodes, with failover between data tier nodes 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
      3. Sybase Unwired SampleDB (not applicable to Enterprise Server Edition)
    2. Primary Unwired Servers – shut down the same services in the same order as for the Secondary Unwired Servers.
  2. On the active data tier node, launch the MS Cluster Administrator and make sure the following active Unwired Platform resources are offline:
    • Afaria® Database Service (available with Unwired Platform version 1.5.2 or earlier)
    • Sybase Unwired CacheDB service
    • Sybase Unwired ClusterDB service (available with Unwired Platform version 2.0 or later new installations)
    • Sybase Unwired LogDataDB service (available with Unwired Platform version 2.0 or later new installations)
  3. Install the patch on the active data tier node:
    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.
      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. Make the passive node active and ensure all database services are offline.
    1. Launch Microsoft Cluster Administrator.
    2. Fail over the active node to the passive node.
      The node that was passive is now active.
  5. Install the patch on the new active data tier node:
    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.
      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.
  6. Install the patch on the Unwired Server nodes, in this sequence:
    • Primary Unwired Server – shut down services in this order:
      1. Sybase Unwired Server
      2. Sybase Control Center
      3. Sybase Unwired SampleDB (not applicable to Enterprise Server Edition)
    • Secondary Unwired Servers – shut down same services in same order as for the primary Unwired Server.
    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.