Anchor | ||||
---|---|---|---|---|
|
...
Creation of CHARON VM configuration
Once you have created When a CHARON Virtual Machine (VM) in CHARON Virtual Machine Manager using some template you should update this sample template is created from a template using the CHARON Virtual Machines Manager, it has to be updated to meet the desired configuration of your HP Alpha.
This configuration is represented as a text file ("configuration file") containing some specific keywords to define the HP Alpha main settings such as amount of memory, number of CPUs, peripheral devices as well as specifics of CHARON VM executions such as name of VM log file, number of host CPUs used for emulation, etc.
To change the configuration file, run open the CHARON Virtual Machine Machines Manager from its shortcut on Desktop / Start menu or from the tray menu item, select the target CHARON VM and either press the "Change VMEdit Configuration" button or select the "VM Configuration" tab:
In the appearing dialog press the "Edit Configuration file" button:
Edit the CHARON VM configuration using the default text editor:
...
Div | ||
---|---|---|
| ||
Notepad will be used to edit the configuration file:
VAX/PDP11 model specification
...
You must leave this line untouched.
If you create the CHARON -VAX / CHARON-PDP VM configuration file from scratch, it must be the very first uncommented line in the configuration file.
Div | ||
---|---|---|
| ||
Configuration name
The next configuration statement is the "Configuration name" option:
...
You can optionally uncomment this line to differentiate this CHARON -VAX / CHARON-PDP VM instance from all others in a multi-instance environment. The configuration name can be any label that is meaningful.
It is possible to specify a configuration name containing spaces, in this case use quotation marks:
set session configuration_name = "My VAX" |
The configuration name is reported in the log file and is used to set the log file name for rotating log (see further: Rotating log (default) ).See example below with configuration name set to: MicroVAX_3100_Model_98
Div | ||
---|---|---|
| ||
Log file parameters
Execution The execution of CHARON-VAX / CHARON-PDP a CHARON VM creates one log file or a set of log files reflecting the progress of its start-up and ongoing operation - : start and end time of execution, system information, license and configuration details, warnings, reports on problems that may occur, etc. In case of possible problems with either with the running CHARON -VAX / CHARON-PDP VM or the emulated system configuration (such as the absence or malfunction of certain devices), the log file (s) is the primary source to be analyzed for troubleshooting.
If it becomes necessary to contact Stromasys for support, the configuration and log files will be requested to begin the problem resolution.
Here is an example of a CHARON -VAX / CHARON-PDP VM log file:
2015102720161120:112735 142250:INFO :0:00000249:ethane.cxx(9611 8343): Logging started.20151027 20161120:112735 142250:INFO :0:000003A5:ethane.cxx(781 9414): sessionis : loading built-in configuration "MicroVAX_3100_3600 Model_96"...20151027 20161120:112735 142250:INFO :0:000003A6:ethane.cxx(814 9446):session has finished loading session: ... done loading built-in configuration "MicroVAX_3100_Model_3600 96". 20151027 20161120:112735 142250:INFO :0:000003AA 000003A7:ethane.cxx(1305 9604): sessionis : loading service configurationfile "mv3k6.cfg "My_MV3100_96"...20151027 20161120:112735 142250:INFO :0:000003AB 000003A8:ethane.cxx(1347 9639):session has finished loading configuration file "mv3k6.cfg". 20151027:112735:INFO :0:000003F2:sesmgr.cxx(1394): session: default log file size limit is 4194304 bytes 20151027:112735:INFO :0: session: ... done loading service configuration "My_MV3100_96"2520 2581): Start request received.20151027 20161120:112735 142250:INFO :0:000003AC:ethane.cxx(695 739): session's : process affinity is 00000000000000FF, system affinity is 00000000000000FF. 20151027 20161120:112735 142250:INFO :0:000003D1:ethane.cxx(1343 1397): session's : I/O domain affinity is 0000000000000003, CPU domain affinity is 00000000000000FC20151027 20161120:112735 142250:INFO :0:000003BA:ll_sentine(725 730): Looking for a license key ...20151027 20161120:112735 142250:INFO :0:000003DC:ll_sentine(820 825): ... found license key 1422726238.20151027 20161120:112735 142250:INFO :0:0000024D:ethane.cxx(2651 2712): STROMASYS SA, (C) 2009-2015 201620151027 20161120:112735 142250:INFO :0:00000350 00000408:ethane.cxx(2697 2754): CHARON-VAX (MicroVAX3600 3100 Model 96), V 4.7 B 17101, Sep 18 2015 / 000.msc.sanity.tests / 1422726238 20151027:112735:INFO 8 B 18302, Nov 11 2016 / 000.MSC.TEST.CENTER.KIRILL / 14227262382724 2795): 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.pdf20151027 20161120:112735 142250:INFO :0:0000009D:ethane.cxx(2801 2859): License info:460xx 480xx-WI-LI".17 18.0.1.48248 55505.20151027 20161120:112735 142250:INFO :0:00000097:ethane.cxx(2810 2868): OS Environment: Microsoft Windows 7 Professional, 64-bit, Service Pack 1 (Build 7601).20151027 20161120:112735 142250:INFO :0:00000098:ethane.cxx(2815 2873): Host CPU: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz x8.20151027 20161120:112735 142250:INFO :0:00000099:ethane.cxx(2820): Host Memory: 24320Mb 20151027:112735:INFO :0:00000001: tpool.cxx(1370): cpu: The ACE option is omitted; enable ACE as license default. 20151027:112735:INFO :0:00000133: tpool.cxx(1602): Advanced CPU Emulation (ACE) enabled. 20151027:112735:INFO :0:0000032C:ethane.cxx(2556): "MicroVAX_3600" started. 20151027:112749:INFO :0:0000032D:ethane.cxx(2602): "MicroVAX 3600" stop request received. 20151027:112749:INFO :0:0000032E:ethane.cxx(2620): Stopped. 20151027:112749:INFO :0:0000024A:ethane.cxx( 365): Logging stopped. .cxx(2878): Host Memory: 24320Mb |
Div | ||
---|---|---|
| ||
The next group of parameters defines the name of the CHARON -VAX / CHARON-PDP VM log file and how CHARON-VAX / CHARON-PDP the CHARON VM will use it:
|
Rotating log (default)
By default CHARON-VAX / CHARON-PDP utilizes default the CHARON utilizes a so-called "rotating log" method. This means that a new default log file is always created each time the CHARON VM starts and can switch to another log file if the size of the log file exceeds 64Kbexceeds 64Kb (previous log files are kept).
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.
Names The names of the rotating log files are composed as follows:
...
Note that "xxxxxxxxx" is an increasing decimal number starting from "000000000" to separate log files with the same time of creation.
The "log" parameter, if specified, must correspond to an existing folder.
If the path is not specified, the log file is created in the "Home directory" mentioned in the VM Configuration tab of the CHARON Virtual Machine Manager.
Single log
Alternatively it is possible to use just a single log file. Uncomment the "set session log" line and specify the desired CHARON-VAX / CHARON-PDP log file name. Optionally, a path can be added to the log file name.
If the path is not specified, the log file is created in the directory from where the guest (emulated machine) is started"Home directory" mentioned in the VM Configuration tab of the CHARON Virtual Machine Manager.
The log file can be extended (specifying "log_method = append" (*recommended for reporting issues*) or overwritten (, specifying "log_method = overwrite") by CHARON-VAX / CHARON-PDP.
Below is a specification of a CHARON -VAX / CHARON-PDP VM log file located in the "?C:\My logs
" directory which will be overwritten appended each time CHARON-VAX / CHARON-PDP the CHARON VM starts:
|
...
TOY, ROM and EEPROM containers
The next objects to be configured are TOY, ROM and EEPROM containers (their have to be configured. Their presence depends on the VAX/PDP11 model). It is always recommended to enable them. If a container file of the given name does not exist, CHARON-VAX / CHARON-PDP will create it. It is recommended to specify the path for each file so that time and console parameters will be kept whatever the current directory is when starting the gueststarting the CHARON VM will create it.
TOY means "Time of Year"; its . Its container records time, date and some console parameters while CHARON-VAX / CHARON-PDP is not running. To enable, uncomment the following linethe CHARON VM is not running. It is highly recommended to define and activate this container:
|
The ROM container stores an intermediate state of the Flash ROM and some console parameters. So its container It is also highly recommended to keep uncommenteddefine and activate this container:
|
EEPROM stores the NVRAM content, so its container is also recommended to keep uncommented. It is highly recommended to define and activate this container:
|
...
|
Just uncomment Uncomment the line corresponding to the frequency used in the RSX11/RT11 systems to be migrated if needed.
...
The next setting indicates whether CHARON-VAX / CHARON-PDP the CHARON VM will use the Advanced CPU Emulation (ACE) mode:
|
Note Note that ACE significantly speeds up CHARON execution.
Uncomment the desired mode. ACE uses a significant amount of host memory for its normal operation. Check the host resources before enabling.
If the The "ace_mode" parameter is commented out, CHARON will set ACE mode according to your license settings. mode is license dependent, the "Charon-xx/Plus" products have ACE mode enabled by default.
...
The next parameter defines the amount of host memory the chosen CHARON-VAX / CHARON-PDP model CHARON VM reserves for the emulation:
...
The goal of this configuration step is to tell CHARON-VAX / CHARON-PDP the CHARON VM what host device to use as the virtual system console. The following options are available:
Option | Description | |||||||
---|---|---|---|---|---|---|---|---|
physical_serial_line | Mapping to host "\\.\COM<n>" physical serial line. | |||||||
virtual_serial_line | Mapping to an IP port of CHARON -VAX / CHARON-PDP VM host.
Example:
In the example above, CHARON-VAX / CHARON-PDP use the CHARON VM uses the IP port "10003" for the VAX/PDP11 console and starts the "Putty" terminal emulator (included in each the CHARON distributiveinstallation kit) with the "OPA0" saved session directing it to connect to the IP port "10003". If the terminal emulator is closed, it is always possible to reopen it with the "Show Console" command from the CHARON system tray icon: feature from the CHARON Virtual Machines Manager. |
The default setting is:
load virtual_serial_line/chserial OPA0 port=10003 application="putty.exe -load OPA0" |
...
#load physical_serial_line/chserial TTA0 line="\\.\COM1" #load virtual_serial_line/chserial TTA0 port=10000 #load virtual_serial_line/chserial TTA0 port=10000 application="putty.exe -load TTA0" #set quart line[0]=TTA0 #load physical_serial_line/chserial TTA1 line="\\.\COM2" #load virtual_serial_line/chserial TTA1 port=10001 #load virtual_serial_line/chserial TTA1 port=10001 application="putty.exe -load TTA1"
... #load physical_serial_line/chserial OPA0 line="\\.\COM4" #load virtual_serial_line/chserial OPA0 port=10003 load virtual_serial_line/chserial OPA0 port=10003 application="putty.exe -load OPA0"
|
In case of When using the VAX 4000 and MicroVAX 3100 models, it is possible to configure up to 4 independent console lines: OPA0, TTA0, TTA1 and TTA2. The main one is OPA0.
Note there are a number of that additional parameters for CHARON-VAX / CHARON-PDP the CHARON VM serial lines configuration can be added. Follow this link for details.
Exit on pressing F6 button
It is also recommended to set a hot key to stop the guest VM from the console in addition to the system tray icon(when the console is accessed remotely for example):
set OPA0 stop_on = F6 |
This line provides CHARON-VAX / CHARON-PDP the ability to exit by allows the CHARON VM to be stopped by pressing the "F6" buttonkey.
Disk subsystem
The next step is configuration of the disk subsystem and the mapping it to the system resources can be done using the samples given in the template configuration files.
CHARON-VAX / CHARON -PDP supports MSCP, DSSI, CI and SCSI disk controllers.
...
Below is a typical configuration sample for the MSCP disk controller RQDX3:
...
- Mapping to the file representing a physical disk of the VAX/PDP11 system (disk image).
"<file-name>.vdisk"
These files can be created from scratch with "MkDisk" utility. Data and OS disks backups are transferred from the original system via tapes or network and restored into these container files.Mapping may also include the full path (recommended), for example: "C:\My disks\my_boot_disk.vdisk"
Example:
set DUA container[0]="my_bootable_disk.vdisk".vdisk"
.
Warning Using compressed folders to store virtual disks and tapes is not supported
.
- Mapping to physical disk.
"\\.\PhysicalDrive<N>"
Be careful not to destroy all the information from the disk dedicated to CHARON -VAX / CHARON-PDP VM by mistake. These disks must not be formatted by the host OS.
Example:set DUA container[1]="\\.\PhysicalDrive1"
.
- Mapping to physical disk by its WWID.
- "\\.\PhysicalDrive(DevID = <XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX>)"
Be careful not to destroy all the information from the disk dedicated to CHARON -VAX / CHARON-PDP VM by mistake. These disks must not be formatted by the host OS.DevID addresses the target physical disk by its WWID (hexadecimal 128-bit identifier assigned to the disk drive by its manufacturer/originator).
Example:
Div class small set DUA container[2]="\\.\PhysicalDrive(DevID= 6008-05F3-0005-2950-BF8E-0B86-A0C7-0001)"
.
- "\\.\PhysicalDrive(DevID = <XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX>)"
Mapping to iSCSI disks.
"\\.\PhysicalDrive(iScsiTarget = <iSCSI target>, LUN = <LUN number>)"
iScsiTarget addresses the disk by its iSCSI target name. LUN specifies LUN on connected iSCSI disk.Example:
Div class small set DUA container[3]="\\.\PhysicalDrive(iScsiTarget= iqn.2008-04:iscsi.charon-target-test1, LUN= 1)"
Div class pagebreak
Mapping to CD-ROM device.
"\\.\CdRom<N>"
Example:
set DUA container[4]="\\.\CdRom0"
.
- Mapping to an ISO file for reading distribution CD-ROM image.
"<file-name>.iso"
Mapping may also include the full path (recommended), for example: "C:\My disks\vms_distributive.iso"
Example:
set DUA container[5]="vms_distributive.iso"
.
- Mapping to Floppy drive.
"\\.\A:"
Example:
set DUA container[6]="\\.\A:"
.
- Mapping to some other type of drive, for example magneto-optical drive.
"\\.\<N>:"
Example:
set DUA container[6]="\\.\H:"
.
Numbers The numbers in the square brackets represent the unit numbers associated with each container of the MSCP controller. For example, the 3rd "set DUA" line of the configuration sample above creates disk "DUA2". The maximum unit number allowed is 9999, significantly more than the original hardware provided.
It is possible to load several RQDX3 controllers DUB, DUC, etc. (see lines 6-7, above) by configuring specific addresses for them on the Qbus. Use the "CONFIGURE" utility available on the VAX console to determine the addresses. Please refer to specific HP documentation for further information.
Please also refer to the HP documentation for information on placement of additional KDM70 controllers on an XMI bus (VAX 6000 models) and additional KDB50 controllers on a BI bus (VAX 6310).
...
Follow this link for details of (T)MSCP controllers configuration.
Back to Table of Contents
Div | ||
---|---|---|
| ||
SCSI controller NCR53C94
The VAX 4000 and MicroVAX 3100 models have an NCR53C94 SCSI controller onboard on board for the support of different types of SCSI devices including disks and tapes. Optionally a second controller can be added.
...
Mapping Object | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
virtual_scsi_disk | Mapping to a file representing VAX/PDP11 disk (disk image) on the host physical disk:
| ||||||||||
physical_scsi_device | Mapping to a host SCSI device:
| ||||||||||
virtual_scsi_cdrom | Mapping to a host CD-ROM (not only SCSI) or to ISO image:
| ||||||||||
virtual_scsi_tape | Mapping to a file representing tape (tape image). It may contain a path, for example: "C:\M y tapes\backup.vtape " | ||||||||||
floppy_scsi_device | Mapping to a host floppy drive:
|
...
|
In the example above the "pkb_0" virtual SCSI device uses "PKB" controller by specifying a parameter "scsi_bus=pkb"
...
Some MSCP and SCSI controllers support tape devices. CHARON -VAX / CHARON-PDP also emulates specific MSCP tape devices such as TQK50 and TUK50.
Follow this link for more details of (T)MSCP controllers configuration.
Warning |
---|
Using compressed folders to store virtual disks and tapes is not supported |
TQK50 controller
Example statements to configure a TQK50 controller are shown below:
|
The first line ("load TQK50 MUA
") loads a tape controller TQK50 with a name of and names it MUA. The following 2 lines demonstrate different ways of mapping to host resources:
Type of mapping | Description |
---|---|
"<file-name>.vtape" | Mapping to the file representing the tape (tape image). These files are created automatically. Mapping may also include a full path (recommended), for example: " C:\My tapes\backup.vtape " |
"\\.\TapeN" | Mapping to a host tape device. |
Numbers in the square brackets represent unit numbers associated with each container of the TQK50 controller. For example, the 2nd "set MUA" line of the configuration sample above creates tape drive the "MUA1" tape drive. The maximum unit number allowed is 9999, significantly more than the original hardware provided
...
The first line loads a UNIBUS BI adapter "DWBUA". Then configure Configure then the "TUK50" tape controller the same way as the TQK50.
Serial Lines
CHARON -VAX / CHARON-PDP supports the following serial lines controllers: CXA16, CXB16, CXY08, DHQ11, DHV11, DZV11, DZQ11, DL11, DLV11, DZ11, DHW42-AA, DHW42-BA and DHW42-CA.
...
#load DHV11/DHV11 TXA load DHQ11/DHV11 TXA #load CXY08/DHV11 TXA #load CXA16/DHV11 TXA #load CXB16/DHV11 TXA #load physical_serial_line/chserial TXA0 line="\\.\COMn" #load virtual_serial_line/chserial TXA0 port=10010 #set TXA line[0]=TXA0 #load physical_serial_line/chserial TXA1 line="\\.\COMn" #load virtual_serial_line/chserial TXA1 port=10011 #set TXA line[1]=TXA1 ... #load DHV11/DHV11 TXB address=... #load DHQ11/DHV11 TXB address=... #load CXY08/DHV11 TXB address=... #load CXA16/DHV11 TXB address=... #load CXB16/DHV11 TXB address=... |
The first 5 lines of the example above demonstrate above are example given for loading serial line controllers of different types. The name of the controller (in this example) will be "TXA".
Div | ||
---|---|---|
| ||
Once the controller is loaded it can be mapped to system resources (lines 6-11). The following options are available:
Option | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
physical_serial_line | Mapping to host "\\.\COM<N>" serial line | |||||||||
virtual_serial_line | Mapping to an IP port of CHARON-VAX / CHARON-PDP.
Example:
In the example above, CHARON-VAX / CHARON-PDP the CHARON VM uses the IP port "10011" for the VAX/PDP11 serial line and starts the "Putty" terminal emulator (included in each the CHARON distributiveinstallation kit) with a "TXA0" saved session directing it to connect to the IP port "10011".
|
Look at the line "set TXA line[0]=TXA0
" in the example. This one and the following lines of similar syntax map the loaded virtual controller ("TXA") to instances of the host serial lines ("TXA<N>").
The number of possible serial lines possible for each controller depends on its type and corresponds to the HP specification on for a given controller.
It is possible to load several CXA16, CXB16, CXY08, DHQ11, DHV11, DZV11, DZQ11, DL11, DLV11 and DZ11 controllers (see the lines 12-16) by configuring specific addresses for them on the Qbus. Use the "CONFIGURE" utility available on the VAX/PDP11 console to determine the addresses. Please refer to specific HP documentation for further information.
The VAX 4000 and MicroVAX3100 models support DHW42-AA, DHW42-BA and DHW42-CA serial lines adapters:
...
Note that additional parameters exist for CHARON -VAX / CHARON-PDP VM serial lines configuration , follow can be added. Follow this link for details.
...
Div | ||
---|---|---|
| ||
Networking
...
CHARON supports DEQNA, DESQA, DELQA, DEUNA, DELUA, DEMNA, DEBNI and PMADAA virtual network adapters.
...
In the example above the first line loads DELQA virtual adapter with a name "XQA"; the following 2 lines map it to host network interface having a name "Charon" ("connection" is a key word). Note that the
The mapping is performed in 2 steps:
- A mapping object "packet_port" with a name "XQA0" is loaded and connected to host interface having a name "Charon" , so CHARON-VAX / CHARON-PDP the CHARON VM will use this interface for its networking
- The loaded DELQA virtual adapter "XQA" is connected to the "packet_port" object "XQA0"
...
Some network adapters available in CHARON-VAX / CHARON-PDP the CHARON VM are preloaded (for example, the SGEC controller for the MicroVAX 3100 with the predefined name "EZA"), so their configuration is even more simple:
...
After few seconds the chosen interface will be assigned to CHARON:
Follow this link for more details of CHARON -VAX / CHARON-PDP VM network controllers configuration.
Auto boot
CHARON -VAX / CHARON-PDP can be configured to automatically boot an operating system at start up.
The MicroVAX 3100, VAX/PDP11 6310 and VAX/PDP11 4000 models boot automatically if the correct boot flags are set with at the VAX/PDP11 console level:
>>> set halt reboot |
Please check that the TOY, EEPROM and ROM containers (see above) are enabled so console command changes the updated parameters are saved between rebootsupon reboot.
The ROM of certain VAXes VAX models (MicroVAX II, MicroVAX 3600, MicroVAX 3900, VAXserver 3600 and VAXserver 3900) does not allow the SRM console to accept the commands to enable auto booting. In this case, some parameters a specific parameter can be defined in the configuration file can be used insteadas a workaround:
set bdr boot=auto |
Div | ||
---|---|---|
| ||
The CHARON-VAX 6000 models have a similar configuration setting:
set xmi boot=auto |
The CHARON-PDP models have the following setting:
...
These configuration lines are typically specified in the template configuration files ( in commented out form). In case of absence please add the corresponding line according to the examples above.
...
Host load balance for SMP systems
The VAX 6620 through VAX6660 models emulate 2-6 CPUs respectively. In this situation, loading of the host system can be tuned with the following configuration file settings:
Setting | Description | Example |
---|---|---|
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. |
The “affinity” parameter overrides the default and allows explicit specification of which host CPUs will be used by the instance. |
The affinity does not reserve the CPU for exclusive use. |
| ||||||||
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” parameter overrides the default by specifying the number of I/O host CPUs explicitly. |
|