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

Running a Scheduled Replication Job in Interactive Mode

Running a Scheduled Replication Job in Interactive Mode

Use this procedure to run data replication jobs from the Server Manager Command Line Interface in interactive mode.
Before you begin, create the replication configuration in the Data Replication Console. For more information, see the
Data Replication User Guide
.
  1. Start the idradmin application.
    For example, on Windows, run the following commands:
    cd
    DataReplication_installation
    idrcmd.bat
    The idrcmd application starts and displays the IDRCMD prompt.
  2. At the prompt, enter the ping command to ensure that the Server Manager Main server is available.
    For example, enter the following command:
    ping 192.168.1.11 8088 protocol=http
    The idrcmd application displays the status of the Main server.
  3. If the Server Manager Main server is available, enter the connect command to connect to it.
    For example, enter the following command:
    connect 192.168.1.11 8088 login=demo passwd=demo protocol=http
  4. To use a replication configuration that you previously created, perform one of the following actions:
    • If you created a .db configuration file and saved it to the SQLite database on the Server Manager Main server, enter the show configs command to verify that the configuration exists in the database.
    • If you created an .xml configuration file, use the import config command to import it for Server Manager use.
  5. If you did not previously create a schedule for the replication configuration, use the create schedule command to create the schedule.
    For example, enter the following command to create a continuous schedule:
    create schedule Ora2Ora_schedule continuous Ora2Ora_config owner=idradmin sd=01.04.2013 st=10:00:0 0 ed 01.04.2014 et=23:59:00 days=all lst=7
  6. To start the replication schedule, enter the start schedule command.
    For example, enter the following command:
    start schedule Ora2Ora_schedule
    To view the status of the replication tasks in the schedule, use the show schedule info command.
  7. To stop the replication schedule, enter the stop schedule command.
    For example, enter the following command:
    stop schedule Ora2Ora_schedule
  8. After the replication schedule stops, disconnect from the Server Manager Main server to close the session.
    Either enter the disconnect command or close the console.

0 COMMENTS

We’d like to hear from you!