Modifying Self-Test Configuration - Red Hat CERTIFICATE SYSTEM 8.0 - ADMINISTRATION Admin Manual

Hide thumbs Also See for CERTIFICATE SYSTEM 8.0 - ADMINISTRATION:
Table of Contents

Advertisement

The implemented self-tests are automatically registered and configured when the instance was
installed. The self-tests that are registered and configured are those associated with the subsystem
type.
Self-tests are turned off or the criticality is changed by changing those setting in the CS.cfg file. To
turn a self-test off, remove is from the list of self-tests.

13.10.3. Modifying Self-Test Configuration

To modify the configuration settings for self-tests:
1. Stop the subsystem instance.
2. Open the CS.cfg file located in the instance's conf/ directory.
3. To edit the settings for the self-test log, edit the entries that begin with
selftests.container.logger. These include the following parameters:
• bufferSize — Specify the buffer size in kilobytes (KB) for the log. The default size is 512 KB.
For more information, see
reaches this size, the contents of the buffer are flushed out and copied to the log file.
• enable — Specify true to enable; false to disable. Only enabled logs actually record events.
• fileName — Specify the full path, including the filename, to the file to write messages. The
server must have read/write permission to the file.
• flushInterval — Specify the interval, in seconds, to flush the buffer to the file. The default
interval is 5 seconds. The flushInterval is the amount of time before the contents of the
buffer are flushed out and added to the log file.
• level — The default selection is 1; this log is not set up for any level beside 1.
• maxFileSize — Specify the file size in kilobytes (KB) for the error log. The default size is 100
KB. The maxFileSize determines how large a log file can become before it is rotated. Once
it reaches this size, the file is copied to a rotated file, and a new log file is started. For more
information, see
• register — If this variable is set to false (the default value), the self-test messages are
only logged to the log file specified by selftests.container.logger.fileName.
If this variable is set to true, then the self-test messages are written to both the log file
specified by selftests.container.logger.fileName and the log file specified by
log.instance.Transactions.fileName.
• rolloverInterval — Specify the frequency at which the server rotates the active error log file.
The choices are hourly, daily, weekly, monthly, and yearly. The default selection is monthly. For
more information, see
• type — Set to transaction; do not change this.
4. To edit the order in which the self-test are run, specify the order by listing any of the self-test as the
value of the following parameters separated by a comma and a space.
To mark a self-test critical, add a colon and the word critical to the name of the self-test in the list.
Section 15.1.3, "Buffered and Unbuffered
Section 15.1.4, "Log File
Section 15.1.4, "Log File
Modifying Self-Test Configuration
Rotation".
Rotation".
Logging". Once the buffer
325

Advertisement

Table of Contents
loading

Table of Contents