update_siteguard_lag
Updates the limit for Apply lag and Transport lag for all databases or selected databases of the system.
Format
emcli update_siteguard_lag [-system_name="name_of_the_system"] [-target_name="name_of_the_target_database"] [-property_name=lag_type] [-value="lag_limit_in_seconds"] [ ] indicates that the parameter is optional
Options
-
system_name
Name of the system whose lag limits you want to update.
-
target_name
Name of the database whose lag limits you want to update.
-
property_name
Name of the lag property. Valid values for this option are
ApplyLag
andTransportLag
. -
value
Time limit of the lag. Specify the values of this option in seconds.
Examples
Example 1
This example updates the Apply lag property with a lag limit of 1000 seconds on all of the databases configured on austin-system
:
emcli update_siteguard_lag -system_name="austin-system" -property_name="ApplyLag" -value="1000"
Example 2
This example updates the Transport lag property with a lag limit of 2500 seconds on the OID-db
database configured on austin-system
:
emcli update_siteguard_lag -system_name="austin-system" -target_name="OID_db" -property_name="TransportLag" -value="2500"