Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
TopConfigurationPage
TopConfigurationPage
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

...

Here is an example of a field test CHARON-VAX log file:

2015082420150922:153356083215:INFO :0:0000024D000003A5:hexane.cxx(27135312): STROMASYS SA, (C) 2009-2015
20150824:153356session is loading built-in configuration "VAX_6610"...
20150922:083215:INFO :0:00000350000003A6:hexane.cxx(27595336): CHARON-VAX (VAX 6000 Model 610), V 4.6 B 16803, Aug 24 2015 / nes / 354850588
20150824:153356session has finished loading built-in configuration "VAX_6610".
20150922:083215:INFO :0:00000336000003AA:hexane.cxx(2786): The end user of this software has agreed to STROMASYS' Terms and Conditions for Software License and Limited Warranty, as described at: http://www.stromasys.com/pub/doc/30-17-033.pdf
20150824:153356:WARN :1:0000009C5425): session is loading configuration file "vx6k610.cfg"...
20150922:083215:INFO :0:000003AB:hexane.cxx(2839): Field Test release, support contracts do not apply. Do not use for production tasks.
20150824:1533565455): session has finished loading configuration file "vx6k610.cfg".
20150922:083215:INFO :0:0000009D000003F2:hexanesesmgr.cxx(28631394): License info:
CHARON product code: "CHVAX-430xx-WI".
Licensed to: "Net-Time".20150824:153356session: default log file size limit is 4194304 bytes
20150922:083215:INFO :0:0000032B:hexane.cxx(2547): Start request received.
20150922:083216:INFO :0:00000097000003AC:hexane.cxx(2872): OS Environment: Linux 3.13.10-200.fc20.x86_64 #1 SMP Mon Apr 14 20:34:16 UTC 2014 x86_64.
20150824:1533561287): session's process affinity is 000000000000000F, system affinity is 000000000000000F.
20150922:083216:INFO :0:00000098000003D1:hexane.cxx(28771541): Host CPU: GenuineIntel, Family 6, Model 42, Stepping 7, Intel(R) Xeon(R) CPU E31275 @ 3.40GHz, 1 Cores per Chip, 1 Threads per Core, at ~3392 MHz, 4 cpu's available
20150824:153356session's I/O domain affinity is 0000000000000001, CPU domain affinity is 000000000000000E
20150922:083216:INFO :0:000003BA:ll_sentine( 725): Looking for a license key ...
20150922:083217:INFO :0:00000099:hexane.cxx(2882): Host Memory: 16128Mb
20150824:153356000003DC:ll_sentine( 820): ... found license key 1422726238.
20150922:083217:INFO :0:000003480000024D:mscpdiskhexane.ccxx( 3332688): PUA0 is being set OFFLINE
20150824:153356STROMASYS SA, (C) 2009-2015
20150922:083217:INFO :0:0000000100000350: tpoolhexane.cxx(1369): cpu: The ACE option is omitted; enable ACE as license default.
20150824:153358:ERROR:2:00000352:xmitoy.cxx(1015): toy: Unable to read container file "charon.dat". It is out-of-date, not readable or not valid for the specified hardware model and is being re-initialized accordingly. Check settings of console environment and/or system date and time.
20150824:153358:INFO :0:00000133: tpool.cxx(1572): Advanced CPU Emulation (ACE) enabled.
20150824:153358:INFO :0:0000032C:hexane.cxx(2614): "VAX_6610" started.
20150824:153442:INFO :0:00000347:mscpdisk.c(3561): PUA0 is being set ONLINE
container = "/home/charon/Charon/test/performancecomparison-66x0.vdisk"
media_type = ""
geometry = ""
use_io_file_buffering = false

The next group of parameters defines the name of CHARON-VAX log file and how CHARON-VAX will use it:

#set 2734): CHARON-VAX (VAX 6000 Model 610), V 4.7 B 17101, Sep 22 2015 / 000.msc.sanity.tests / 1422726238
20150922:083217:INFO :0:00000336:hexane.cxx(2761): The end user of this software has agreed to STROMASYS' Terms and Conditions for Software License and Limited Warranty, as described at: http://www.stromasys.com/pub/doc/30-17-033.pdf
20150922:083217:INFO :0:0000009D:hexane.cxx(2838): License info:
CHARON product code: "CHVAX-460xx-WI".
Licensed to: "MSC".

20150922:083217:INFO :0:00000097:hexane.cxx(2847): OS Environment: Linux 3.19.8-100.fc20.x86_64 #1 SMP Tue May 12 17:08:50 UTC 2015 x86_64.
20150922:083217:INFO :0:00000098:hexane.cxx(2852): Host CPU: GenuineIntel, Family 6, Model 42, Stepping 1, Intel Xeon E312xx (Sandy Bridge), 1 Cores per Chip, 1 Threads per Core, at ~2593 MHz, 4 cpu's available
20150922:083217:INFO :0:00000099:hexane.cxx(2857): Host Memory: 4096Mb
20150922:083217:INFO :0:00000348:mscpdisk.c( 333): PUA0 is being set OFFLINE
20150922:083217:INFO :0:00000001: tpool.cxx(1370): cpu: The ACE option is omitted; enable ACE as license default.
20150922:083218:INFO :0:00000133: tpool.cxx(1602): Advanced CPU Emulation (ACE) enabled.
20150922:083218:INFO :0:0000032C:hexane.cxx(2589): "VAX_6610" started.
20150922:083300:INFO :0:00000347:mscpdisk.c(3656): PUA0 is being set ONLINE
container = "/home/charon/Charon/test/performancecomparison-66x0.vdisk"
media_type = ""
geometry = ""
use_io_file_buffering = false

The next group of parameters defines the name of CHARON-VAX log file and how CHARON-VAX will use it:

#set session log_method = append
#set session log_method = overwrite
#set session log = "MicroVAX_3600.log"

...

By default CHARON-VAX utilizes a so called "rotating log". This means that a new default log file is always created each time CHARON starts and can switch to another log file in some situations. This if the size of the log file exceeds 64Kb (This behavior can be changed with "set session log_file_size" and "set session log_rotation_period" commands; see more details in "General Settings" chapter of this guide). This mode is turned on if all the log parameters above are disabled (commented out) or the "session_log" parameter is pointing to a directory rather than to a file. If a directory is specified, the log files will be created in that directory.

...

Back to Table of Contents

Div
classpagebreak

 

Emulated memory (RAM) size

The next parameter defines the amount of host memory the chosen CHARON-VAX model  reserves for the emulation:

...

:

set ram size=64

The amount of RAM is specified in MB. It cannot exceed or be lower than certain values specific for each VAX model. It is very important to keep the listed predefined increment between possible memory values.

The following table shows all the parameters:

...

Hardware Model

...

RAM size (in MB)

...

 

...

Min

...

Max

...

Default

...

Increment

...

MicroVAX_II

...

1

...

16

...

16

...

1,8,16

...

MicroVAX_3600

...

16

...

64

...

16

...

16

...

MicroVAX_3900

...

16

...

64

...

16

...

16

...

VAXserver_3600

...

16

...

64

...

16

...

16

...

VAXserver_3900

...

16

...

64

...

16

...

16

...

VAXserver_3600_128

...

32

...

Hardware Model

RAM size (in MB)

 

Min

Max

Default

Increment

MicroVAX_II

1

16

16

1,8,16

MicroVAX_3600

16

64

16

16

MicroVAX_3900

16

64

16

16

VAXserver_3600

16

64

16

16

VAXserver_3900

16

64

16

16

VAXserver_3600_128

32

128

32

32

VAXserver_3900_128

32

128

32

32

MicroVAX_3100_Model_96

16

128

16

16

VAXstation_4000_Model_90

16

128

16

16

VAX_4000_Model_106

16

128

16

16

VAX_6000_Model_310

32

512

32

32

VAXserver_3600_512

32

512

32

32

VAXserver_3900_128512

32

128512

32

32

MicroVAX_3100_Model_9698

16

128512

16

16

VAXstationVAX_4000_Model_90108

16

128512

16

16

VAX_4000_Model_106700

1664

128512

166416

64

VAX_60004000_Model_310705

3264

512

326432

64

VAXserver_3600_512

32

512

32

32

VAXserver_3900_512

32

512

32

32

MicroVAX_3100_Model_98

16

512

16

16

VAX_4000_Model_108

16

512

16

16

VAX_4000_Model_700

64

512

64

64

VAX_4000_Model_705

64

512

64

64

VAX_6610

128

3584

128

128

VAX_6620

128

3584

128

128

VAX_6630

128

3584

128

128

VAX_6640

128

3584

128

128

VAX_6650

128

3584

128

128

VAX_6660

128

3584

128

128

It is possible to leave the RAM line commented out. In this case the model's default RAM amount is used.

Back to Table of Contents

Console

Mapping to system resources

The next step is the specification of VAX console (OPA0) serial line:

#load physical_serial_line OPA0 line="/dev/ttyNVAX_6610

128

3584

128

128

VAX_6620

128

3584

128

128

VAX_6630

128

3584

128

128

VAX_6640

128

3584

128

128

VAX_6650

128

3584

128

128

VAX_6660

128

3584

128

128

It is possible to leave the RAM line commented out. In this case the model's default RAM amount is used.

Back to Table of Contents

Div
classpagebreak

 

Console

Mapping to system resources

The next step is the specification of VAX console (OPA0) serial line:

#load physical_serial_line OPA0 line="/dev/ttyN"
#load virtual_serial_line OPA0 port=10003

load operator_console OPA0

The goal of this configuration step is to tell CHARON-VAX what host device to use as the virtual system console. The following options are available:

OptionDescription
physical_serial_line

Mapping to host serial line, both physical and virtual. Use the following mapping for different types of host serial lines:

  • /dev/tty<N> - virtual serial lines

  • /dev/ttyS<N> - onboard serial lines

  • /dev/ttyUSB<N> - modem or usb serial lines adapters

virtual_serial_line

Mapping to an IP port of CHARON-VAX host.
Using this mapping it is possible to connect to CHARON-VAX console and disconnect from it at any time.

operator_consoleMapping to the current TTY console

The default setting is "operator_console".

Note that the VAX 4000 and MicroVAX 3100 models have a 4-line QUART adapter onboard, so their configuration for the console line looks a bit different:

OptionDescription

#load physical_serial_line/chserial TTA0 line="/dev/tty<N>"
#load virtual_serial_line/chserial TTA0 port=10000
#set quart line[0]=TTA0 
... 

#load physical_serial_line/chserial TTA2 line="/dev/tty<N>"
#load virtual_serial_line OPA0 port=10003
load operator_console OPA0

The goal of this configuration step is to tell CHARON-VAX what host device to use as the virtual system console. The following options are available:

...

In case of VAX 4000 and MicroVAX 3100 models it is possible to configure up to 4 independent console lines: OPA0, TT0, TT1 and TT2. The main one is OPA0.

Note there are a number of additional parameters for CHARON-VAX serial line configuration. Follow this link for details.

Exit on pressing F6 button

The next parameter in the template configuration file relevant to the console is the specification of a hot key to trigger an exit from CHARON-VAX:

set OPA0 stop_on = F6

It is strongly recommended to uncomment this line to provide CHARON-VAX the ability to exit by pressing the "F6" button.

Back to Table of Contents

Disk subsystem

The next step is configuration of the disk subsystem and mapping it to system resources using the samples given in the template configuration files.

CHARON-VAX supports MSCP, DSSI, CI and SCSI disk controllers. The examples below are for MSCP and SCSI controllers only. DSSI controllers are discussed in details in the following section, CI controllers - in this section.

MSCP disk controllers (RQDX3, KDB50, KDM70)

Below is a typical configuration sample for MSCP disk controller RQDX3:

load RQDX3 DUA

#set DUA container[0]="<file-name>.vdisk"
#set DUA container[1]="/dev/sdN"
#set DUA container[2]="/dev/srN"
#set DUA container[3]="<file-name>.iso"

#load RQDX3 DUB address=...
#load RQDX3 DUC address=...

The first line ("load RQDX3 DUA") loads disk controller RQDX3 with name DUA, followed by 4 lines showing different ways of mapping to the host resources:

Type of mappingDescription
"<file-name>.vdisk"

Mapping to files representing physical disks of the VAX system (disk images). 
These files can be created from scratch with "mkdskcmd" utility. Data and OS disk backups are transferred from the original system via tapes or network and restored into these container files. 
Mapping may also include the full path, for example: "/my_disks/my_boot_disk.vdisk" 

"/dev/sd<L>"

/chserial TTA2 port=10002
#set quart line[2]=TTA2

#load physical_serial_line

Mapping to host serial line, both physical and virtual. Use the following mapping for different types of host serial lines:

OPA0 line="/dev/tty<N>

-

"
#load virtual

serial lines
  • /dev/ttyS<N> - onboard serial lines

  • /dev/ttyUSB<N> - modem or usb serial lines adapters

  • virtual_serial_line

    Mapping to an IP port of CHARON-VAX host.
    Using this mapping it is possible to connect to CHARON-VAX console and disconnect from it at any time.

    operator_consoleMapping to the current TTY console

    The default setting is "operator_console".

    Note that the VAX 4000 and MicroVAX 3100 models have a 4-line QUART adapter onboard, so their configuration for the console line looks a bit different:

    #load physical_serial_line/chserial TTA0 line="/dev/tty<N>"
    #load virtual_serial_line/chserial TTA0 port=10000
    #set quart line[0]=TTA0 
    ... 

    #load physical_serial_line/chserial TTA2 line="/dev/tty<N>"
    #load virtual_serial_line/chserial TTA2 port=10002
    #set quart line[2]=TTA2

    Mapping to physical disks. "L" is letter here. Be _serial_line OPA0 port=10003

    load operator_console OPA0
    set quart line[3]=OPA0

    In case of VAX 4000 and MicroVAX 3100 models it is possible to configure up to 4 independent console lines: OPA0, TT0, TT1 and TT2. The main one is OPA0.

    Note there are a number of additional parameters for CHARON-VAX serial line configuration. Follow this link for details.

    Exit on pressing F6 button

    The next parameter in the template configuration file relevant to the console is the specification of a hot key to trigger an exit from CHARON-VAX:

    set OPA0 stop_on = F6

    It is strongly recommended to uncomment this line to provide CHARON-VAX the ability to exit by pressing the "F6" button.

    Back to Table of Contents

    Disk subsystem

    The next step is configuration of the disk subsystem and mapping it to system resources using the samples given in the template configuration files.

    CHARON-VAX supports MSCP, DSSI, CI and SCSI disk controllers. The examples below are for MSCP and SCSI controllers only. DSSI controllers are discussed in details in the following section, CI controllers - in this section.

    MSCP disk controllers (RQDX3, KDB50, KDM70)

    Below is a typical configuration sample for MSCP disk controller RQDX3:

    load RQDX3 DUA

    #set DUA container[0]="<file-name>.vdisk"
    #set DUA container[1]="/dev/sdN"
    #set DUA container[2]="/dev/srN"
    #set DUA container[3]="<file-name>.iso"

    #load RQDX3 DUB address=...
    #load RQDX3 DUC address=...

    The first line ("load RQDX3 DUA") loads disk controller RQDX3 with name DUA, followed by 4 lines showing different ways of mapping to the host resources:

    ! can OS.(info) It is also possible to use not a whole disk, but previously created partitions on it. In this case the syntax is the following: "/dev/sd<L><N>" where N is the number of partition to be used. 
    Type of mappingDescription
    "<file-name>.vdisk"

    Mapping to files representing physical disks of the VAX system (disk images). 
    These files can be created from scratch with "mkdskcmd" utility. Data and OS disk backups are transferred from the original system via tapes or network and restored into these container files. 
    Mapping may also include the full path, for example: "/my_disks/my_boot_disk.vdisk" 

    "/dev/sd<L>"

    Mapping to physical disks. "L" is letter here. Be careful not to destroy all the information from the disk dedicated to CHARON-VAX by mistake! These disks can not be formatted by the host OS.

    (info) It is also possible to use not a whole disk, but previously created partitions on it. In this case the syntax is the following: "/dev/sd<L><N>" where N is the number of partition to be used. 

    Note

    Since "/dev/sd<L>" addressing is not persistent, so it is strongly recommended to use "/dev/disk/by-id/wwn-*" syntax instead to refer the disk by its WWID - especially in the enviroments utilizing FC and SAN storages (see below).

    "/dev/dm-<N>"
    "/dev/mapper/mpath<N>"
    "/dev/mapper/disk<N>"
    Mapping to multipath disk. (warning) Be careful not to destroy all the information from the disk dedicated to CHARON-VAX by mistake.  

    These disks must not be formatted by the host OS.

    "/dev/disk/by-*"

    Mapping to physical disk.

    • by-id (addressing by the disk ID, for example "/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D01QJ4")
    • by-label (addressing by the disk label, for example "/dev/disk/by-label/MyStorage")
    • by-uuid (addressing by the disk UUID, for example "/dev/disk/by-uuid/0e808a2f-cdd3-4944-a245-f729ffd73882")

    (warning) Be careful not to destroy all the information from the disk dedicated to CHARON-VAX by mistake

    .

     These disks

    must not be formatted by the host

    OS.

    "/dev/sr<N>"Mapping to CD-ROMs. There are some variants of this mapping: "/dev/cdrom<N>" or "/dev/cdrom"
    "<file-name>.iso"Mapping to an ISO file for reading distribution CD-ROM images.

    ...

    Follow this link for details of (T)MSCP controllers configuration.

    Back to Table of Contents

    SCSI controller NCR53C94

    The VAX 4000 and MicroVAX 3100 have an NCR53C94 SCSI controller onboard for support of different types of SCSI devices including disks and tapes. Optionally a second controller can be added.

    ...

    # Mapping to disk image
    load virtual_scsi_disk pka_0 scsi_bus=pka scsi_id=0

    set pka_0 container="<file-name>.vdisk"

    # Mapping to physical disk
    load virtual_scsi_disk pka_1 scsi_bus=pka scsi_id=1

    set pka_1 container="/dev/sd<L>"

    # Mapping to some SCSI device connected to the host
    load physical_scsi_device pka_2 scsi_bus=pka scsi_id=2

    set pka_2 container="/dev/sg<N>"

    # Mapping to host CD-ROM or DVD-ROM
    load virtual_scsi_cdrom pka_3 scsi_bus = pka scsi_id = 3
    set pka_3 container = "/dev/cdrom<N>"
    #set pka_3 "
    #set pka_3 container = "/dev/sr<N>"

    # Mapping to *.ISO image
    load virtual_scsi_cdrom pka_4 scsi_bus=pka scsi_id=4

    set pka_4 container="<file-name>.iso"

    # Mapping to tape drive
    load physical_scsi_device pka_5 scsi_bus=pka scsi_id=5

    set pka_5 container="/dev/sr<N>sg<N>"

    # Mapping to *.ISO tape image
    load virtual_scsi_cdrom tape pka_4 6 scsi_bus=pka scsi_id=46

    set pka_4 6 container="<file-name>.iso"vtape"

    # Include this line to get access to "PKB" adapter
    include kzdda.cfg

    # Mapping to tape host floppy drive
    load physicalvirtual_scsi_device pkadisk pkb_5 6 scsi_bus=pka pkb scsi_id=56
    set pkapkb_5 6 container="/dev/sg<N>fd<N>"

    # Mapping to tape image
    load virtual_scsi_tape pka_6 scsi_bus=pka scsi_id=6

    set pka_6 container="<file-name>.vtape"

    # Include this line to get access to "PKB" adapter
    include kzdda.cfg

    # Mapping to host floppy drive
    load virtual_scsi_disk pkb_6 scsi_bus=pkb scsi_id=6
    set pkb_6 container="/dev/fd<N>" 

    Note that NCR53C94 SCSI controller mapping to system resources is done via specific auxiliary objects:

    Mapping ObjectDescription
    virtual_scsi_disk

    Mapping to a file representing VAX disk (disk image) on the host physical disk:

  • "<file-name>.vdisk"
    These files can be created from scratch with "mkdskcmd" utility. Data and OS disk backups are transferred from the original system via tapes or network and restored into these container files. Mapping may also include the full path, for example: "/my_disks/my_boot_disk.vdisk"
  • "/dev/sd<L>" - name of a physical disk. "L" is letter here.
  • "/dev/dm-<N>", "/dev/mapper/mpath<N>", "/dev/mapper/disk<N>" - for multipath disks. N is 0,1,2...

     


    Note that NCR53C94 SCSI controller mapping to system resources is done via specific auxiliary objects:

    Mapping ObjectDescription
    virtual_scsi_disk

    Mapping to a file representing VAX disk (disk image) on the host physical disk:

    • "<file-name>.vdisk"
      These files can be created from scratch with "mkdskcmd" utility. Data and OS disk backups are transferred from the original system via tapes or network and restored into these container files. Mapping may also include the full path, for example: "/my_disks/my_boot_disk.vdisk"
    • "/dev/sd<L>" - name of a physical disk. "L" is letter here.
    • "/dev/dm-<N>", "/dev/mapper/mpath<N>", "/dev/mapper/disk<N>" - for multipath disks. N is 0,1,2...
    • "/dev/disk/by-id/..." - addressing by the disk ID, for example "/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D01QJ4"
    • "/dev/disk/by-label/..." - addressing by the disk label, for example "/dev/disk/by-label/MyStorage"
    • "/dev/disk/by-uuid/..." - addressing by the disk UUID, for example "/dev/disk/by-uuid/0e808a2f-cdd3-4944-a245-f729ffd73882"
    • "/dev/df<N>" - name of host CD-ROM drive. N is 0,1,2... This parameter can be omitted.

    Be careful not to destroy all the information from the disk dedicated to CHARON-VAX by mistake! These disks can not be formatted by the host OS.

    Note

    Since "/dev/sd<L>" addressing is not persistent, so it is strongly recommended to use "/dev/disk/by-id/wwn-*" syntax instead to refer the disk by its WWID - especially in the enviroments utilizing FC and SAN storages.

    (info) It is also possible to use not a whole disk, but previously created partitions on it. In this case the syntax is the following: "/dev/sd<L><N>" where N is the number of partition to be used.  

    physical_scsi_device

    Mapping to a host SCSI device:

    • "/dev/sg<N>" - name of the SCSI device for direct mapping, for example, a SCSI disk or tape reader.
    virtual_scsi_cdrom

    Mapping to a host CD-ROM (not only SCSI) or to ISO image:

    • "/dev/sr<N>", "/dev/cdrom", "/dev/cdrom<N>" - name of host CD-ROM drive
    • "<file-name>.iso" - name of ISO image. It may contain the full path, for example: "/my_disks/vms_distributive.iso"
    virtual_scsi_tapeMapping to a file representing tape (tape image). It may contain a path, for example: "/my_tapes/backup.vtape"

     

    Let's look at the syntax of the mapping objects. All of them have several important parameters:

    ...

    Host load balance for SMP systems

    VAX 6620 through VAX6660 VAX 6660 models emulate 2-6 CPUs respectively. In this situation, loading of the host system can be tuned with the following configuration file settings:

    SettingDescriptionExample
    affinity

    This setting binds the running instance of the emulator CPUs to particular host CPUs. This should be used for soft partitioning host CPU resources or for isolating multiple CHARON instances on the same host from each other.

    By default the emulator instance allocates as many host CPUs as possible. 

    “Affinity” overrides the default and allows explicit specification of which host CPUs will be used by the instance. Affinity does not reserve the CPU for exclusive use.

    Section
    Column
    width320px

    set session affinity = ”0"0, 2, 4, 6”6"

    n_of_io_cpus

    Reserves host CPUs (of those specified by “affinity” parameter, if any) for use by the emulator for I/O handling.

    By default the emulator instance reserves one third of available host CPUs for I/O processing (round down, at least one).

    The “n_of_io_cpus” overrides the default by specifying the number of I/O host CPUs explicitly.

    Section
    Column
    width320px

    set session n_of_io_cpus = 2

    ...