Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Layout reviewed for PDF export

...

The following table describes all available "session" parameters, their meaning and examples of their usage:

hw_model

Parameter

hw_model

Type

Text string

Value

Virtual VAX/PDP11 system hardware model to be emulated.

Use a default configuration template for each particular model as a starting point for a custom configuration. This would ensure that the parameter is set correctly.

Example:

set session hw_model="VAX_6610"

Available models are:

  • PDP_1193

  • PDP_1194
  • MicroVAX_3100_Model_96
  • MicroVAX_3100_Model_98
  • MicroVAX_3600
  • MicroVAX_3900
  • MicroVAX_II
  • VAXserver_3600
  • VAXserver_3600
  • VAXserver_3600_128
  • VAXserver_3600_512
  • VAXserver_3900
  • VAXserver_3900_128
  • VAXserver_3900_512
  • VAX_4000_Model_106
  • VAX_4000_Model_108
  • VAX_4000_Model_700
  • VAX_4000_Model_705
  • VAX_6000_Model_310
  • VAXstation_4000_Model_90
  • VAX_6610
  • VAX_6620
  • VAX_6630
  • VAX_6640
  • VAX_6650
  • VAX_6660

configuration_name

Parameter

configuration_name

Type

Text string

Value

Name of the CHARON-VAX / CHARON-PDP instance (ir must be unique):

set session configuration_name="MSCDV1"

The value of this parameter is used as a prefix to the event log file name. (see below).

From the example above, the CHARON-VAX / CHARON-PDP log file will have the following name:

MSCDV1-YYYY-MM-DD-hh-mm-ss-xxxxxxxxx.log

xxxxxxxxx is an increasing decimal number starting from 000000000 to separate log files with the same time of creation (in case the log is being written faster than one log file per second).

(warning) It is strictly recommended to use the "configuration_name" parameter if more than one CHARON instance runs on the same server.

Div
classpagebreak

 

log

Parameterlog
TypeText string
Value

The log file or directory name is where the log file for each CHARON-VAX / CHARON-PDP execution session is stored. If an existing directory is specified, CHARON-VAX / CHARON-PDP automatically creates individual log files for each CHARON-VAX / CHARON-PDP execution session. If the log parameter is omitted CHARON-VAX / CHARON-PDP creates a log file for each CHARON-VAX / CHARON-PDP execution session in the directory where the emulator was started.

It is possible to overwrite the existing log file or extend it using the "log_method" parameter. See below for details. Note: that the "log_method" parameter is effective only in the case when a single log file is specified, not a directory.

Examples:

set session log="log.txt"
set session log="C:\Charon\Logs"

If only a directory name is specified in the "log" parameter and the "configuration_name" parameter of the session is specified, the log file name is composed as follows:

<configuration_name>-YYYY-MM-DD-hh-mm-ss-xxxxxxxxx.log

If only a directory name is specified in the "log" parameter and the "configuration_name" parameter is omitted, the log file name will have the following format:

<hw_model>-YYYY-MM-DD-hh-mm-ss-xxxxxxxxx.log

xxxxxxxxx is an increasing decimal integer, starting from 000000000 to separate log files with the same time of creation (in case the log is being created faster than one log file per second).

Note

Only existing directory can be used as a value of the "log" parameter.

...

Parameterlog_rotation_period
TypeText string
Value
  • "default" - default value, 7 days. This value is used even if the "log_rotation_period" is not specified.
  • "daily" or "1"
  • "weekly" or "7"
  • "never" or "0"
  • <N> - in N days

If the rotation log mode is enabled this parameter controls switching to next log file based on period of time passed. If enabled the switching to next log file appears at midnight.

Examples:

set session log_rotation_period="weekly"

set

session

log_rotation_period=14

log_repeat_filter

Parameterlog_repeat_filter
TypeText string
Value

Specifies if repeated messages should be filtered or not. Possible values are "on" (default) and "off".

If the value is "on", immediately following messages with the same identifier and system error code are not listed in the log, but they are counted. When a different log message is generated, the repeat count of the earlier log message is reported with "The previous message has been repeated N times.", and the counter is cleared.

Example:

set session log_repeat_filter="on"

...

Parameterlicense_key_lookup_retry
TypeText String
Value

In case the CHARON-VAX / CHARON-PDP license connection is not present when the guest starts up, this parameter specifies how many times CHARON-VAX / CHARON-PDP will try to establish the connection and, optionally, a period of time between retries.

Syntax:

set

session

license_key_lookup_retry

=

"N

[,

T]"

Options:

  • N - Number of retries to look for license keys.
  • T - Time between retries in seconds. If not specified 60 seconds are used

Example 1:

set

session

license_key_lookup_retry

=

1

If license key is not found during initial scan, do only one more attempt after 60 seconds.

Example 2:

set

session

license_key_lookup_retry

=

"1,30"

Same as above but retry in 30 seconds.

Example 3:

set session license_key_lookup_retry = "3,10"

If license key is not found during initial scan, do 3 more attempts waiting 10 seconds between them.

Example 4:

set

session

license_key_lookup_retry

=

"5"

If license key is not found during the initial scan, do 5 more attempts waiting 60 seconds between them.

...