Table of Contents

Search

  1. Preface
  2. Overview of the Server Manager Command Line Interface
  3. Usage Scenario: Using Server Manager CLI Commands to Run Replications
  4. Command Reference

Command Line Interface for the Server Manager

Command Line Interface for the Server Manager

redeploy config

redeploy config

Deploys changes to a replication configuration to a local or remote Server Manager Main server. The
redeploy config
command is equivalent to the
Partial
deployment type in the Data Replication Console.

Syntax

Enter the command with the required
configuration_name
and
path_to_deploy_properties_file
parameters and any of the optional parameters. The following command syntax includes all of the parameters:
redeploy config
configuration_name
path_to_deploy_properties_file
[
path_to_save_updated_deploy_properties_file
] [passwd=
password
] [-l] [-m] [-r] [-e] 
[-a]
[-f]

Parameters

The following table describes the command parameters:
Parameter
Description
configuration_name
The name of the replication configuration for which to deploy changes.
path_to_deploy_properties_file
An absolute path to the directory from which Data Replication uploads the deployment properties file that contains deployment information for the selected configuration, including the required prodSrcConnection and prodTgtConnection parameters. For more information, see Deployment Properties File.
path_to_save_updated_deploy_properties_file
An absolute path to the directory to which Data Replication writes a copy of the updated deployment properties file after deployment. The properties file name has the following format:
new_configuration_name
_deploy.properties
.
passwd
A valid password for the login user that is specified in the deployment settings file. Do not specify a password for local deployment. Optionally specify a password for remote deployment. If you do not specify a password in the command for remote deployment, the Server Manager CLI prompts you to enter the password in interactive mode. If you include the
deploy config
command name in a script, specify the password before deployment.
-l
Include this parameter to deploy configuration changes to a local Server Manager Main server. Omit this parameter for a remote deployment.
-m
Include this parameter to deploy only metadata changes. These changes include table and column mappings, DDL capture settings, file locations, audit log table settings, and rules for handling Applier errors.
-r
Include this parameter to deploy only changes to the runtime settings.
-e
Include this parameter to deploy only changes to the extract range specified in the deploy.properties file. The extract range settings identify the source database logs.
-a
Include this parameter to deploy all configuration changes.
Do not use the
-a
option together with the
-m
,
-r
, and
-e
options.
-f
Include this parameter to stop all running tasks for this configuration in the destination environment.
If you enter the command without any of the -l, -m, -r, -e, -a options, Data Replication deploys only metadata changes by default.

Example

The following example command deploys all changes in the ora2ora configuration to a remote Server Manager Main server by using the deployment properties in the ora2ora_deploy.properties file:
redeploy config ora2ora F:\IDR_deploy\ora2ora_deploy.properties F:\IDR_deploy\backup\ passwd=
idr_user_password
-a

0 COMMENTS

We’d like to hear from you!