Skip Headers
Oracle® Enterprise Manager Lifecycle Management Administrator's Guide
12c Release 3 (12.1.0.3)

E27046-20
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

F Oracle Site Guard Command-Line Interface Reference

Oracle Site Guard uses the Enterprise Manager Command Line Interface (EMCLI) to manage Oracle Site Guard configuration directly from the command line, or from batch programs or scripts.

Note:

EMCLI commands are case-sensitive. Ensure that you use the correct EMCLI verb, and enter the correct input.

This chapter lists all of the EM CLI verbs used for configuring Oracle Site Guard:

See:

For more information about EMCLI, see Oracle Enterprise Manager Command Line Interface.

F.1 add_siteguard_script_hosts

Adds a host to the Oracle Site Guard configuration scripts. You can add more than one host.

Format

emcli add_siteguard_script_hosts
         -script_id="script_id"
         -host_name="name1;name2;..." 
Parameter Description
-script_id Specify the identification associated with the script.
-host_name Specify the host that you want to associate with the script. You can specify more than one host name.

Example F-1 Adding Hosts

emcli add_siteguard_script_hosts 
         -script_id="10" 
         -host_name ="BIHOST1;BIHOST2"

F.2 add_siteguard_aux_hosts

Associates new auxiliary hosts to the system.

An auxiliary host can be any host that is not part of the system but is managed by Enterprise Manager Cloud Control. These hosts can be used to execute any script. Any other targets running on this host are not part of site guard operation plans.

Format

emcli add_siteguard_aux_hosts 
          -system_name="system_name" 
          -host_name="host_name1" 
          -host_name="host_name2"
          -host_name="host_name3"

emcli add_siteguard_aux_hosts 
          -system_name="system_name" 
          -host_name="host_name1" 
          -host_name="host_name2"
          -host_name="host_name3"

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the system on which you are performing the operation.
-host_name One or more names of the host. This host must be managed by Enterprise Manager Cloud Control.

Example F-2 Adding Auxiliary Hosts

emcli add_siteguard_aux_hosts 
       -system_name="austin-system
       -host_name="host1.domain.com"

emcli add_siteguard_aux_hosts 
       -system_name="austin-system"
       -host_name="host2.domain.com"
       -host_name="host3.domain.com"

F.3 configure_siteguard_lag

Configures values of Apply Lag and Transport Lag for one or more Data Guard enabled databases of the system.

Format

emcli configure_siteguard_lag
        -system_name="system_name"
        [-target_name="database_target_name"]
        -property_name="lag_type"
        -value="max_limit"
Parameter Description
-system_name Specify the system on which you want to configure the threshold limit.
-target_name Specify the database target name for which the threshold limit is configured. If this parameter is not specified, then the threshold value is applied to all databases of the system.
-property_name Specify the property name. Valid values are Apply Lag and Transport Lag.
-value Specify the threshold value to be configured (in seconds).

Example F-3 Configuring Values of Apply Lag and Transport Lag

emcli configure_siteguard_lag 
       -system_name="austin-system"
       -property_name="ApplyLag"
       -value="1000"
 
emcli configure_siteguard_lag 
       -system_name="austin-system"
       -target_name="OID_db"
       -property_name="TransportLag"
       -value="2500"

F.4 create_operation_plan

Creates an operational plan for Oracle Site Guard operations.

Format

emcli create_operation_plan
         -primary_system_name="name"
         -standby_system_name="name"
         -system_name="name"
         -operation="name"
         -name="name"
         -role="role"
Parameter Description
-primary_system_name Specify the name of your system associated with the primary site. Enter this option for switchover or failover operations.
-standby_system_name Specify the name of your system associated with the standby site. Enter this option for switchover or failover operations.
-system_name Specify the name of the system. Enter this option for start or stop operations.
-operation Specify the function of the operation. Example: switchover, failover, start or stop.
-name Specify the name of the operation plan.
-role Specify the role associated with a system, when you run an operation (start or stop).

Example F-4 Creating Operation Plan

emcli create_operation_plan 
         -primary_system_name="BISystem1"
         -standby_system_name="BISystem2"
         -operation="switchover"
         -name="BISystem1-switchover-plan"

emcli create_operation_plan 
         -system_name="austin"
         -operation="start"
         -name="BISystem1-start-plan"
         -role="Primary"

F.5 create_siteguard_configuration

Creates a site configuration for Oracle Site Guard. It associates the systems and their roles.

Format

emcli create_siteguard_configuration
         -primary_system_name="name"
         -standby_system_name="name1;name2;..."
Parameter Description
-primary_system_name Specify the name of the system that is associated with the primary site.
-standby_system_name Specify the name of the system that is associated with the standby system. You can specify more than one option and one system name.

Example F-5 Creating Site Guard Configuration

emcli create_siteguard_configuration 
         -primary_system_name="BISystem1"
         -standby_system_name="BISystem2"

F.6 create_siteguard_credential_association

Associates the credentials with the targets in a site.

Format

emcli create_siteguard_credential_association
         -system_name="name"
         [-target_name="name"]
         -credential_type="type"
         [-credential_name="name"]
         -credential_owner="owner"
         [–use_preferred_credential="true_or_false"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the name of the system.
-target_name Specify the name of the target. This parameter is optional.
-credential_type Specify the type of the credential. Example: HostNormal, HostPrivileged, WLSAdmin, or DatabaseSysdba.
-credential_name Specify the name of the credential.
-credential_owner Specify the owner of the credential.
–use_preferred_credential If you are using Preferred Credentials, then specify true. The default value is false. If you use the default value, then you must specify the -credential_name parameter to use named credentials.

Example F-6 Creating Site Guard Credential Association

emcli create_siteguard_credential_association 
         -system_name="BISystem1"
         -credential_type="HostNormal"
         -credential_name="HOST-SGCRED"
         -credential_owner="sysman"
         –use_preferred_credential="false"
                      

emcli create_siteguard_credential_association 
         -system_name="BIsystem1"
         -target_name="database-instance"
         -credential_type="HostNormal"
         -credential_name="HOST-DBCRED"
         -credential_owner="sysman"
         –use_preferred_credential="false"


emcli create_siteguard_credential_association
         -system_name="BISystem1"
         -credential_type="HostNormal"
         -credential_owner="sysman"
         -use_preferred_credential="true"

F.7 create_siteguard_script

Associates scripts (pre-script, post script and storage script) with the Oracle Site Guard configuration.

Format

emcli create_siteguard_script
         [-system_name={name of the system}]
         [-operation={name of the operation}]
         [-script_type={type of the script}]
         [-script_type={type of the script}]
         [-credential_type={type of the credential}]         
         [-path={path of the script}]
         [-all_hosts={flag to let script run on all the hosts in the system}]
         [-role={role associated with the system}]
         [-target_storage_credential_name={target storage credential}]
         [-source_storage_credential_name={source storage credential}] 
         [-credential_owner={credential owner}]
         [-run_on="flag_specifying_the_host"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the name of the system.
-operation Specify the name of the operation. For example: Switchover, Failover, Start, or Stop.
-script_type Specify the type of the script. It can be Mount, UnMount, Pre-Script, Post-Script, Failover, or Switchover.
-host_name Specify the name of the host where this script will be executed.

This parameter is optional and can be specified more than once.

–credential_type Specify HostNormal or HostPrivileged if you have the root privileges.
-path Specify the path to the script.
-all_hosts Optional flag to allow the script to run on all the hosts in the system. This parameter overrides the host_name. For example: true or false.
-role Optional flag to configure script based on the system role. By default, the script is configured for both primary and standby roles for a given system. For example: Primary or Standby.
-target_storage_credential_name Specify the named credential for target storage. If target_storage_credential_name is specified then source_storage_credential_name and credential_owner must be specified.
-source_storage_credential_name Specify the named credential for source storage. If source_storage_credential_name is specified then target_storage_credential_name and credential_owner must be specified.
-credential_owner Specify the owner of the credential. If target_storage_credential_name and source_storage_credential_name are specified then the attribute credential_owner must be specified.
-run_on Specify whether the script needs to be executed on only one of the available hosts (enter any) or on all hosts (enter all).

This parameter is optional and default value is all.


Example F-7 Creating Site Guard Script

emcli create_siteguard_script -system_name="austin-system"
          -operation="Switchover"
          -script_type="Pre-Script"
          -credential_type="HostPrivileged"
          -path="/tmp/prescript"
          -host_name="host1.domain.com"
          -host_name="host2.domain.com"
          -run_on="any"

emcli create_siteguard_script 
         -system_name="austin-system"
         -operation="Switchover"
         -script_type="Pre-Script"
         -credential_type="HostPrivileged" 
         -path="/tmp/prescript"
         -host_name="host1.domain.com" 
         -host_name="host2.domain.com"


emcli create_siteguard_script -system_name="austin-system"
          -operation="Switchover"
          -script_type="Pre-Script"
          -credential_type="HostNormal"
          -path="/tmp/prescript"
          -all_hosts="true"
          -role="Primary"

emcli create_siteguard_script -system_name="austin-system"
          -operation="Switchover"
          -script_type="Pre-Script"
          -credential_type="HostNormal"
          -path="/tmp/prescript"
          -all_hosts="true"
          -target_storage_credential_name="SGCRED-TARGET-STORAGE"
          -source_storage_credential_name="SGCRED-SOURCE-STORAGE"
          -credential_owner="sysman"  

F.8 delete_operation_plan

Deletes the specified operation plan from a Site Guard configuration.

Format

emcli delete_operation_plan
         -name="plan_name"
Parameter Description
-name Specify the name of the operation plan you want to delete.

Example F-8 Deleting the Operation Plan

emcli delete_operation_plan 
         -name="BISystem1-switchover"

F.9 delete_siteguard_configuration

Deletes the Oracle Site Guard configuration. The entire configuration (scripts, credential associations, site associations, operation plans) pertaining to the specified system and all of the associated standby systems, are deleted.

Format

emcli delete_siteguard_configuration
         -primary_system_name="name"
        [-standby_system_name="name"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-primary_system_name Specify the name of the primary system. Specify either primary_system_name or standby_system_name.
-standby_system_name Specify the name of the standby system. This parameter is optional. However, if you do not specify this parameter, the Oracle Site Guard configuration of the specified primary system and all its standby system are deleted.

Example F-9 Deleting Site Guard Configuration

emcli delete_siteguard_configuartion 
         -primary_system_name="BISystem1"

emcli delete_siteguard_configuration
         -standby_system_name="BISystem2"

F.10 delete_siteguard_credential_association

Deletes the credential association from the Oracle Site Guard configuration.

Format

emcli delete_siteguard_credential_association
         -system_name="name"
         [-target_name=["name"]
         -credential_type="type"

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the system on which the service resides.
-credential_type Specify the credential type. It can be HostNormal, HostPrivileged, WLSAdmin, or DatabaseSysdba.
-target_name Specify the name of the target. This parameter is optional.

Example F-10 Deleting Site Guard Credential Association

emcli delete_siteguard_credential_association
         -system_name="BISystem1"
         -credential_type="HostNormal"

emcli delete_siteguard_credential_association 
         -system_name="BISystem2"
         -target_name="austin-database-instance"
         -credential_type="HostNormal"

F.11 delete_siteguard_script

Deletes the specified script from the Oracle Site Guard configuration.

Format

emcli delete_siteguard_script
         -script_id="script id"
Parameter Description
-script_id Specify the ID associated with the script.

Example F-11 Deleting Site Guard Script

emcli delete_siteguard_script 
         -script_id="10"

F.12 delete_siteguard_script_hosts

Deletes the host or hosts associated with a given script.

Format

emcli delete_siteguard_script_hosts
         -script_id="script id"
         -host_name="name1;name2;..."
Parameter Description
-script_id Specify the ID associated with the script.
-host_name Specify the name of the host where this script will be executed.

This parameter can be specified more than once.


Example F-12 Deleting Site Guard Script Hosts

emcli delete_siteguard_script_hosts 
         -script_id="10"
         -host_name="BIHOST1"

F.13 delete_siteguard_aux_host

Delete any auxiliary host associated with the system.

Format

emcli delete_siteguard_aux_host
        -system_name="system_name"
        -host_name="name1;name2;..."
Parameter Description
-system_name Specify the system on which you are performing the operation.
-host_name The name of the host where the script will be run. This is an optional parameter. If it is not specified, then all auxiliary hosts associated with the system will be deleted.

Note: Ensure that the host name is part of the system specified in system_name.


Example F-13 Deleting Auxiliary Hosts

emcli delete_siteguard_aux_host 
       -system_name="austin-system"
 
emcli delete_siteguard_aux_host 
       -system_name="austin-system"
       -host_name="host1.domain.com"
 
emcli delete_siteguard_aux_host 
       -system_name="austin-system"
       -host_name="host2.domain.com"

F.14 delete_siteguard_lag

Deletes values of Apply Lag and Transport Lag threshold configured for one or more Data Guard enabled databases of the system.

Format

emcli delete_siteguard_lag
         -system_name="system_name"
         [-target_name="database_target_name"]
         -property_name="lag_type"}
Parameter Description
-system_name Specify the system for which you want to configure the threshold limit.
-target_name Specify the database target name for which the threshold limit is configured. If this parameter is not specified, then the threshold value is applied to all databases of the system. This parameter is optional.
-property_name Specify the property name. Valid values are ApplyLag and TransportLag.
-value Specify the threshold value to be updated (in seconds).

Example F-14 Deleting Values of Apply Lag and Transport Lag

emcli delete_siteguard_lag 
       -system_name="austin-system"
       -property_name="ApplyLag"
 
emcli delete_siteguard_lag 
       -system_name="austin-system"
       -target_name="OID_db"
       -property_name="TransportLag"

F.15 get_operation_plan_details

Provides the detailed step-by-step information about the specified operation plan.

Format

emcli get_operation_plan_details
         -name="plan name"
Parameter Description
-name Specify the name of the operation plan.

Example F-15 Obtaining Operation Plan Details

emcli get_operation_plan_details 
         -name="BISystem1-switchover"

F.16 get_operation_plans

Lists all configured operation plans.

Format

emcli get_operation_plans
        [-name="operation_plan_name"]
        [-operation="operation_name"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-name Specify the name of the operation plan.
-operation Specify the name of the operation. For example, switchover, failover, start, or stop.

This is an optional parameter. If you do not specify this parameter, then all the operation plans will be listed.


Example F-16 Obtaining Operation Plans

emcli get_operation_plans 
         -name="austin-switchover"
         -operation="switchover"

F.17 get_siteguard_configuration

Provides the Oracle Site Guard configuration.

Format

emcli get_siteguard_configuration
         [-primary_system_name="name_of_the_primary_system"]
         [-standby_system_name="name_of_the_standby_system"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-primary_system_name Specify the name of the primary system.
-standby_system_name Specify the name of the standby system.

Example F-17 Obtaining Site Guard Configuration

emcli get_siteguard_configuartion 
         -primary_system_name="BISystem1"
         -standby_system_name="BISystem2"

F.18 get_siteguard_credential_association

Lists the credential associations configured for a system.

Format

emcli get_siteguard_credential_association
         -system_name="name_of_the_system"
         [-target_name="name_of_the_target"]
         [-credential_type="type_of_the_credential"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the name of the system.
-target_name Specify the name of the target. This parameter is optional.
-credential_type Specify the type of the credential. It can be HostNormal, HostPrivileged, WLSAdmin, or DatabaseSysdba.

This parameter is optional.


Example F-18 Obtaining Site Guard Credential Association

emcli get_siteguard_credential_association 
         -system_name="BISystem1"
         -credential_type="HostNormal"

emcli create_siteguard_credential_association 
         -system_name="BISystem1"
         -target_name="BI-database-instance"
         -credential_type="HostNormal"

F.19 get_siteguard_script_hosts

Lists the hosts associated with any script where the script is designated to run.

Format

emcli get_siteguard_script_hosts
         -script_id="script_id" 
Parameter Description
-script_id Specify the ID associated with the script.

Example F-19 Obtaining Site Guard Script Hosts

emcli get_siteguard_script_hosts 
         -script_id="10"

F.20 get_siteguard_scripts

Obtains the Oracle Site Guard scripts associated with the specified system.

Format

emcli get_siteguard_scripts
         -system_name="system_name"
         -operation="operation_name"
         [-script_type="type_of_the_script"]
         [-role="role_of_the_system"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the name of the system.
-operation Specify the name of the operation. For example, switchover, failover, start, or stop.
-script_type Specify the type of the script. For example: mount, unmount, pre-script, post-script, failover, or switchover.
-role Optional parameter to filter the scripts based on the role associated with the system. For example: Primary or Standby.

Example F-20 Obtaining Site Guard Scripts

emcli get_siteguard_scripts
         -system_name="BISystem1"
         -operation="Switchover"
         -script_type="Pre-Script"

emcli get_siteguard_scripts
         -system_name="BISystem2"
         -operation="Switchover"
         -script_type="Pre-Script"
         -role="Primary"

F.21 get_siteguard_supported_targets

Get the list of all Oracle Site Guard supported targets of the system.

Format

emcli get_siteguard_supported_targets
       -system_name={system name} 
       [-target_type={target type}]

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the name of the system.
-target_type Specify the type of the target. This is an optional parameter.

Example F-21

emcli get_siteguard_supported_targets 
          -system_name="BISystem1"

emcli get_siteguard_supported_targets 
          -system_name="BISystem1" 
          -target_type="weblogic"

F.22 get_siteguard_aux_hosts

Get a list of all auxiliary hosts associated with the system.

Format

emcli get_siteguard_aux_hosts
       -system_name="system_name"
Parameter Description
-system_name Specify the system on which you are performing the operation.

Example F-22 Listing Auxiliary Targets

emcli get_siteguard_supported_targets 
       -system_name="austin-system"

F.23 run_prechecks

Submits the prechecks for any given operation plan.

Format

emcli run_prechecks
          -operation_plan="name_operation plan"
         [-database_lag_checks="true"|"false"]
Parameter Description
-operation_plan Specify the name of the operation plan.
-database_lag_checks Run database lag checks as part of prechecks for all dataguard configured databases. This parameter is optional.

Example F-23 Running Prechecks

emcli run_prechecks 
          -operation_plan="BISystem1-switchover"
          -database_lag_checks="true"

F.24 submit_operation_plan

Submits the specified operation plan for execution.

Format

emcli submit_operation_plan
         -name="name_operation plan"
         [-run_prechecks="true_or_false"]
         [-database_lag_checks="true"|"false"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-name Specify the name of the operation plan.
-run_prechecks Specify the run_prechecks value (true or false).

By default, the value of this parameter is true.

If you set the value to false, prechecks will not be executed.

-database_lag_checks Run database lag checks as part of prechecks for all dataguard configured databases. This parameter is optional.

The default value is true.


Example F-24 Submitting Operation Plan

emcli submit_operation_plan 
         -name="austin-switchover"
         -database_lag_checks="false"

F.25 update_operation_plan

Updates the Error Mode and Run Mode for any step in the given operation plan.

Format

emcli update_operation_plan
         -name="operation_plan_name"
         [-step_number="step_number"]
         [-target_host="host_name"]
         [-target_name={target name}]
         [error_mode="error_mode"]
         [enabled="true_or_false"]
         [-execution_mode="Serial_or_Parallel"]
         [-move="Up_or_Down"]
         [-delete={true|false}]  

Note:

[] indicates that the parameter is optional.
Parameter Description
-name Specify the name of the operation plan.
-step_number Specify the number of the step that should be updated.
-target_host Specify the name of the system. Specifying this will update all the steps related to this target host.
-error_mode The function of the operation. For example: stop or continue.
-enabled Enter true or false.
-execution_mode Specify the execution mode. For example: Serial or Parallel
-move Change the order by specifying Up or Down.
-delete Specify whether you want to delete steps. Specify true or false.

Example F-25 Updating an Operation Plan

emcli update_operation_plan
         -name="austin-switchover"
         -step_number="1"
         -error_mode="Continue"
         -enabled="true"
         -execution_mode="Serial" 

emcli update_operation_plan 
         -name="austin-switchover" 
         -step_number="5" 
         -move="Up" 

emcli update_operation_plan
         -name="austin-switchover"
         -target_host="myhost.domain.com"
         -error_mode="Continue"
         -enabled="true"

emcli update_operation_plan
         -name="austin-switchover"
         -target_name="/Farm1/MyDomain"
         -delete="true"

F.26 update_siteguard_configuration

Updates the Oracle Site Guard configuration to add additional standby systems. One primary system can be associated with one or more standby systems.

Format

emcli update_siteguard_configuration
         -primary_system_name="primary_system_name"
         -standby_system_name="standby_system_name"
Parameter Description
-primary_system_name Specify the name of the primary system.
-standby_system_name Specify the name of the standby system. This parameter can be specified more than once.

Example F-26 Updating Site Guard Configuration

emcli update_siteguard_configuartion 
         -primary_system_name="BISystem1"
         -standby_system_name="BISystem2"

Note:

If you update the site configuration, then you must update the operation plan, as described in update_operation_plan.

F.27 update_siteguard_credential_association

Updates the credential association.

Format

emcli update_siteguard_credential_association
         -system_name="name_of_the_system"
         [-target_name="name_of_the_target"]
         -credential_type="type_of_the_credential"
         [-credential_name="name_of_the_credential"]
         -credential_owner="credential_owner"
         [–use_preferred_credential="true_or_false"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-system_name Specify the name of the system.
-target_name Specify the name of the target. This parameter is optional.
-credential_type Specify the type of the credential. It can be HostNormal, HostPrivileged, WLSAdmin, or DatabaseSysdba.
-credential_name Specify the name of the credential.
-credential_owner Specify the owner of the credential.
–use_preferred_credential If you are using Preferred Credentials, then specify true. The default value is false. If you specify the default value, then you must specify the -credential_name parameter to use named credentials.

Example F-27 Updating Site Guard Credential Association

emcli update_siteguard_credential_association
         -system_name="austin-system"
         -credential_type="HostNormal"
         -credential_name="HOST-SGCRED"
         -credential_owner="sysman"

emcli update_siteguard_credential_association
         -system_name="austin-system"
         -target_name="austin-database-instance"
         -credential_type="HostNormal"
         -credential_name="HOST-DBCRED"
         -credential_owner="sysman"
         
emcli update_siteguard_credential_association
         -system_name="austin-system"
         -target_name="austin-database-instance"
         -credential_type="HostNormal"
         -credential_owner="sysman"
         –use_preferred_credential="true"

F.28 update_siteguard_script

Updates the path and the all_hosts flag associated with any script.

Format

emcli update_siteguard_script
         -script_id="ID_associated_with_the_script"
         [-path="path_of_the_script"]
         –credential_type="type"
         [-all_hosts="true_or_false"]
         [-run_on="flag_specifying_the_host"]

Note:

[] indicates that the parameter is optional.
Parameter Description
-script_id Specify the script ID.
-path Specify the path to the script.
–credential_type Specify HostNormal or HostPrivileged if you have the root privileges.
-all_hosts Optional flag to allow the script to run on all the hosts in the system. For example: true or false.
-run_on Specify whether the script needs to be executed on only one of the available hosts (enter any)or on all hosts (enter all).

This parameter is optional and default value is all.


Example F-28 Updating Site Guard Script

emcli update_siteguard_script -script_id="15"
          -credential_type="HostPrivileged"
          -path="/tmp/prescript"
          -all_hosts="true"
          -run_on="any"

F.29 update_siteguard_lag

Updates the values of Apply Lag and Transport Lag threshold for one or more Data Guard enabled databases of the system.

Format

emcli update_siteguard_lag
        -system_name="system_name"
        [-target_name="database_target_name"]
        -property_name="lag_type"
        -value="max_limit"
Parameter Description
-system_name Specify the system for which you want to configure the threshold limit.
-target_name Specify the database target name for which the threshold limit is configured. If this parameter is not specified, then the threshold value is applied to all databases of the system.
-property_name Specify the property name. Valid values are ApplyLag and TransportLag.
-value Specify the threshold value to be updated (in seconds).

Example F-29 Updating Values of Apply Lag and Transport Lag

emcli update_siteguard_lag 
       -system_name="austin-system"
       -property_name="ApplyLag"
       -value="1000"
 
emcli update_siteguard_lag 
       -system_name="austin-system"
       -target_name="OID_db"
       -property_name="TransportLag"
       -value="2500"