Adding an instance and configuring the MSCS (Microsoft Cluster Service) cluster

After installing CDC Replication on the MSCS cluster node that owns the shared disk array, you must add an instance using the configuration tool.

Procedure

  1. Start the configuration tool and add a new instance that specifies the port that the clustered instance is listening on.
    Note: Do not start the instance after you add it.
  2. Run the following command in the bin folder in your CDC Replication installation directory:

    dmcreateclusterservice -I <instance_name> <passive_node_name>

    where:

    <passive_node_name> is the name of the passive node in the cluster.

  3. Using the cluster administration tools in your version of Microsoft Windows, examine the MSCS cluster group.
  4. Create a new Generic Service resource in the MSCS cluster group for each CDC Replication instance.

    You must ensure that each new cluster resource depends on the MSCS resource and enter the service name. The service name must use the following format:

    dmtsudb_<instancename>

    where dmtsudb_ is the standard prefix and <instancename> is the CDC Replication instance name.

  5. Right-click the service name to display the properties and deselect the Affect the group check box. This will prevent MSCS from failing over when the CDC Replication service fails or is manually stopped.
  6. Bring the new cluster resources online.

What to do next

After completing this task, CDC Replication will work in a clustered environment and support failover of its services.

You should also note the following when using CDC Replication in a clustered environment:

  • Subscriptions must be restarted after a failover
  • All CDC Replication applications such as services, the configuration tool, and command line utilities must be run from the active node in the cluster since application files are stored on the shared disk and you can only access the active node in the cluster.
  • There are no Windows Start menu shortcuts on the passive node.