Configuring Sybase companion servers using the Windows management tools

This section assumes that the Microsoft Cluster Server is installed on your system, and that the Microsoft .NET framework installer (InstallUtil.exe), a Microsoft distributed tool, is available.

Verify you have the InstallUtil.exe tool

  1. Find InstallUtil.exe:

    • You may already have it: Check this location on your system:

      %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\installutil.exe
      
    • If your system does not include the InstallUtil.exe tool, download and install the Microsoft.NET framework Version 2 utility from Microsoft.

  2. Copy the InstallUtil.exe tool to the %SYBASE%\%SYBASE_ASE%\install directory

NoteIf installUtil.exe does not exist in the %SYBASE%\%SYBASE_ASE%\install directory, you cannot configure Sybase Failover using the Microsoft Management Console (MMC). However, you can configure Sybase Failover using the steps outlined in “Asymmetric setup from the command line” and “Symmetric configuration from the command line”.

After you copy installUtil.exe, use this command on each node of the cluster to install the Sybase Companion Server resource type and Cluster Administrator extensions:

%SYBASE%\%SYBASE_ASE%\bin\sybcpnin.exe -s

where %SYBASE% is the release directory for the Adaptive Server executable.

To configure Sybase Failover on Microsoft Cluster Server:

Note These steps are unnecssary if you configured the companion server according to the steps described in “Asymmetric setup from the command line”.

  1. Use Windows Explorer to move to %SYBASE%\SYBASE_ASE%\bin and double-click on SybCpnSetup.msc (as a shortcut, hold the Windows key and press “R”, type SybCpnSetup.msc in the dialog box , and press Enter).

    The Microsoft Management Console appears.

  2. Click on Sybase Companion Server Setup.

  3. Click on “Create Sybase companion server” on the right-hand panel of the Microsoft Management Console. Click Yes to confirm.

    Microsoft Management Console starts the Sybase companion installer Wizard.

  4. On the ASE Server Information window, enter:

  5. Select Next.

  6. In the Companion Server Information field, enter the name of the Adaptive Server that is to be the secondary companion.

    To configure the companions in a symmetric setup, select Symmetric, then click Next.

  7. On the Cluster Parameters window, select Use System Generated Cluster Login. This provides a system-generated setup login that is used when the cluster logs into the Adaptive Server. Click Next. (Alternatively, you can create the login on the primary companion, assign it both the sa_role and ha_role before you perform this step.)

  8. (Optional) On the Setup Options window, enter the path to the error log that records the steps made during this configuration. This log may be helpful if you need to call Technical Support. Select Finish.

  9. The next window lists the configuration that you have selected for this cluster configuration. Select Back and reenter the appropriate data to change any information. When the configuration is correct, select Next to configure this cluster resource.

    You see a series of messages as the two Adaptive Servers are configured. If any error messages appear, address the issues and select Next. You do not have to start over again.

  10. Check the completion status of the Wizard. If the configuration failed, check the setup log for errors, if it succeeded, open the Windows Failover Cluster Manager (as a shortcut, press and release the Windows key, type “failover” to bring up the Failover Cluster Manager icon, then press Enter).

  11. Locate the new Sybase Companion server in the Services and Applications tree. The companion server is named primary_server_name_GRP.

    Click on companion server name to view the Summary of primary_server_name_GRP display.

  12. In the right-hand side of this display, click “Add Storage,” and add all shared storage devices the companion servers will use.

  13. In the central part of the display, right-click the Sybase Companion server under “Other Resources,” select Properties, and highlight the Dependencies tab. Add a dependency for every shared storage device.