Creating and verifying the subscription

A subscription instructs Replication Server to copy data from the primary table to the specified RepConnector connection. The subscription describes the replicated information that RepConnector can accept.

You must verify that the subscription is valid both at the primary table and at the RepConnector connection.

StepsCreating and validating the subscription at Replication Server

Create the subscription using the RepConnector connection name as the parameter value for with replicate at. This value is the name of the connection you created in the previous section.

  1. Gather the following information and record it on your worksheet where appropriate:

  2. Create the database subscription:

    create subscription <subscription_name>
    for <replication_definition_name>
    with replicate at <dataserver>.<database>
    without materialization
    

    where:

    For example:

    create subscription authors_sub
    for authors_rep
    with replicate at RepConnector.RepCondb
    without materialization
    
  3. Verify that the subscription is valid at the primary database and at the replicate database:

    check subscription <subscription_name>
    for <replication_definition_name>
    with replicate at <dataserver>.<database>
    

    where:

    For example:

    check subscription authors_sub
    for authors_rep
    with replicate at RepConnector.RepCondb