dmcreateclusterservice - Create cluster service

Use this command when configuring CDC Replication to run in an MSCS (Microsoft Cluster Service) clustered environment.

Note: This command is only available for CDC Replication Engine for Db2® Database version 6.5.2 Interim Fix 12 and later.

Syntax

dmcreateclusterservice [-I <instance_name>] <passive_node_name> [-L <locale>]

Parameters

-I <INSTANCE_NAME>
Specifies the name of the CDC Replication instance. Alternatively, you can specify the TSINSTANCE environment variable in place of this value.
<passive_node_name>
Specifies the name of the passive node for the MSCS cluster.
-L <locale>
The name of the locale used for the CDC Replication instance. The default is your machine's locale.

Result

This command returns a value of 0 if the command was successful and a non-zero value if the command fails.

Examples

dmcreateclusterservice -I MYINSTANCE mypassivenode

The instance name and passive node in the clustered environment are specified.