The script was added in Continuent Tungsten 2.0.1. It cannot be backported
to older versions.

The tungsten_set_position updates the
trep_commit_seqno table to reflect the
given THL sequence number or provided information. It implements the
Tungsten Script Interface as well as these additional options.

In order to update the trep_commit_seqno table, the replication service must
be offline. You may pass the
--offline option to do
that for you. The
--online option will put
the replication services back online at successful completion.

In most cases you will want to pass the
--clear-logs argument so
that all THL and relay logs are delete from the server following
provisioning. This ensures that any corrupted or inconsistent THL records
are removed prior to replication coming back online.

The --service argument is
used to determine which database server should be provisioned.

This command will fail if there is more than one record in the
trep_commit_seqno table. This may
happen if parallel replication does not stop cleanly. You may bypass that
error with the --force option.

Update trep_commit_seqno with information from a THL
event

This will read the THL information from the host specified as
--source.

shell> tungsten_set_position --seqno=5273 --source=db1

Update trep_commit_seqno with specific
information

The script will also accept specific values to update the
trep_commit_seqno table. This may be
used when bringing a new master service online or when the THL event is no
longer available.