-mlThis option makes it possible for dbremote to delete old mirror log files when either of the following two circumstances occur:

the offline mirror log is located in a different directory from the mirror transaction log

dbremote is run on a different machine from the remote database server

In a typical setup, the active mirror log and renamed mirror transaction logs are located in the same directory, and dbremote is run on the same machine as the remote database, so this option is not required and old mirror log files are automatically deleted. Transaction logs in this directory are only affected if the DELETE_OLD_LOGS database option is set to ON or DELAY.

–oAppend output to a log file. Default is to send output to the screen.

–osSpecifies the maximum file size for logging output messages. The allowed size can be specified as n (bytes), nK (Kb), or nM (Mb). By default there is no limit, and the minimum limit is 10000 bytes.

Before SQL Remote logs output messages to a file, it checks the current file size. If the log message will make the file size exceed the specified size, SQL Remote renames the output file to yymmddxx.dbr (for dbremote) and yymmddxx.ssr (for ssremote) where xx are sequential characters ranging from AA to ZZ, and yymmdd represents the current year, month, and date.

If the Message Agent us running in continuous mode for a long time, this option allows you to manually delete old log files and free up disk space.

–otTruncate the log file and then append output messages to it. Default is to send output to the screen.

–pProcess the messages without purging them.

–qFor Windowing operating systems only, starts the Message Agent with a minimized window.

–rReceive messages. If none of -r, -I, or -sis specified, the Message Agent executes all three phases. Otherwise, only the indicated phases are executed.

The Message Agent runs in continuous mode if called with -r. To have the Message Agent shut down after receiving messages, use the -boption in addition to -r.

–rd time By default, the Message Agent polls for incoming messages every minute. This option (rd stands for receive delay) allows the polling frequency to be configured, which is useful when polling is expensive.

You can use a suffix of s after the number to indicate seconds, which may be useful if you want frequent polling. For example:

298

Page 316
Image 316
Sybase DC38133-01-0902-01 manual