Use non-interactive mode to use scripts to integrate Server Manager functionality with third-party software or to automate the execution of replication jobs in a distributed environment.
To use non-interactive mode, invoke the idrcmd application with a single Server Manager command as the application argument. Consider the following requirements for running the idrcmd application in non-interactive mode:
On Windows, to invoke the idrcmd application from a batch file, use the call statement.
On Linux and UNIX, to invoke the idrcmd application within the existing shell, use the source command.
After you enter the connect command to connect the Server Manager, the Server Manager CLI establishes a Server Manager session and stores the session state in the
DataReplication_installation
/state.dat file. All subsequent invocations of the idrcmd application are executed in the context of this session. After you disconnect from the Server Manager, the Server Manager CLI closes the session and removes information from the session state file.