settings that need to be the same.

Maximum message length The maximum message length for

SQL Remote messages has a default value of 50K. This is configurable, using the Message Agent -loption. However, the maximum message length must be the same for each Message Agent in the installation, and may be restricted by operating system memory allocation limits.

Received messages that are longer than the limit are deleted as corrupt messages.

For details of this setting, see “The Message Agent” on page 292 .

The Message Agent and replication security

Messages sent by the SQL Remote Message Agent have a very simple encryption that protects against casual snooping. However, the encryption scheme is not intended to provide full protection against determined efforts to decipher them.

Troubleshooting errors at remote sites

There are obvious obstacles for an administrator who has access only to the consolidated site to troubleshoot errors that occur at remote sites. To assist with this task, you can set up SQL Remote so that portions of the output log from remote sites are delivered to the consolidated site and written to a file. This one file contains logging information from some or all sites in the system.

To set up SQL Remote to collect log information, you must configure both the remote and the consolidated sites.

To configure a remote database to send log information to the consolidated database

1.Set a link option to send log information when an error is encountered. Execute the following command against the remote database:

SET REMOTE link-name OPTION

PUBLIC.OUTPUT_LOG_SEND_ON_ERROR = ’YES’

With this option set, any message that starts with the error indicator ‘E’ causes SQL Remote to send log information to the consolidated site.

For more information, see “SET REMOTE OPTION statement [SQL Remote]” [ASA SQL Reference, page 617].

2.Set a link option to limit the amount of information sent to the consolidated site. This step is optional.

226

Page 244
Image 244
Sybase DC38133-01-0902-01 manual Message Agent and replication security, Troubleshooting errors at remote sites