Skip to main content
Common Reference

trepctl setdynamic

The trepctl setdynamic command allows you to change certain dynamic properties without the need to execute tpm update

Usage
trepctl [ common-options ] setdynamic [ options ]

Where:

OptionDescriptionVersion
-propertySpecify the property to change.6.1.17
-valueSpecify the value of the specified -property.6.1.17

To change a property, specify the property using the -property parameter.

important

To change a property dynamically, the service must first be OFFLINE

shell> trepctl setdynamic -property [property]

The list of properties that can be dynamically changed are as follows:

  • replicator.autoRecoveryMaxAttempts

    This allows you to dynamically alter the behavior of the autoRecovery options. A value greater than 0 will enable the autoRecovery.

    Set a value of 0 to disable.

    The following example enables autoRecovery with the MaxAttempts value of 10

    shell> trepctl -service beta setdynamic -property replicator.autoRecoveryMaxAttempts -value 10

    The following example disables autoRecovery

    shell> trepctl -service beta setdynamic -property replicator.autoRecoveryMaxAttempts -value 0
  • replicator.thl.protocol.client.serialization
    Version availability

    This option was enabled in v7.0.3

    This allows you to dynamically alter THL transfer protocol for In-Flight compression.

    The following example sets the protocol to DEFLATE

    shell> trepctl setdynamic -property replicator.thl.protocol.client.serialization -value DEFLATE

    For more information on THL transfer protocol, see: