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

Sample Script for Starting the idrcmd Application in Non-Interactive Mode

Sample Script for Starting the idrcmd Application in Non-Interactive Mode

Use this sample script as a basis for starting the idrcmd application in non-interactive mode.
Copy and customize the sample script for your Server Manager instance. Replace variables with the values that reflect your environment.
Create a text file that contains the Server Manager CLI commands that you want to run and name the text file using the following format:
file_name
.txt. The following example text file includes Server Manager CLI commands that edit several configuration schedules:
connect
host
port
login=
user_name
passwd= edit schedule
schedule_name1
enable=y et=
end_time
edit schedule
schedule_name2
enable=y et=
end_time
edit schedule
schedule_name3
enable=y et=
end_time
edit schedule
schedule_name4
enable=y et=
end_time
disconnect exit
Use the following command to start the idrcmd application using the idrcmd.sh utility and to run the Server Manager CLI commands in the text file:
./idrcmd.sh <
file_name
.txt

0 COMMENTS

We’d like to hear from you!