Anchor |
---|
| TopConfigurationPage |
---|
| TopConfigurationPage |
---|
|
...
Note: the lines preceded by the comment sign "#" inside the configuration files will not be interpreted. You can use this sign to debug your configuration.
Back to Table of ContentsTopConfigurationPage
HP Alpha model specification
...
If you create the CHARON-AXP configuration file from scratch, it must be the very first uncommented line in the configuration file.
Back to Table of ContentsTopConfigurationPage
Configuration name
The next configuration statement is the "Configuration name" option.
...
You can optionally uncomment this line to differentiate this CHARON-AXP instance from all others in a multi-instances environment. The configuration name can be any label that is meaningful. It is reported in the log file and is used to set the log file name for rotating log (see further: Rotating log Rotatinglog(default) ).
Back to Table of ContentsTopConfigurationPage
Log file parameters
Execution of CHARON-AXP 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 either with the running CHARON-AXP 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, plus the license number, will be requested to begin problem resolution.
...
Here is an example of a field test CHARON-AXP log file:
2016112020180521:113009035210:INFO :0:000003A5:hexane.cxx(53125938): session is : loading built-in configuration "AlphaServer_ES40"... 2016112020180521:113009035210:INFO :0:000003A6:hexane.cxx(53365959): session has finished : ... done loading built-in configuration "AlphaServer_ES40". 2016112020180521:113009035210:INFO :0:000003AA:hexane.cxx(54255988): session is : loading configuration file "es40.cfg"... 2016112020180521:113009035210:INFO :0:000003AB:hexane.cxx(54556012): session has finished : ... done loading configuration file "es40.cfg".
20161120:113009 20180521:035210:INFO :0:000003F2:sesmgr.cxx(1410): session: default log file size limit is 4194304 bytes 20180521:035210:INFO :0:0000032B:hexane.cxx(25472698): Start request received. 2016112020180521:113010035211:INFO :0:000003AC:hexane.cxx(12871424): session's : process affinity is 000000000000000F, system affinity is 000000000000000F. 2016112020180521:113010035211:INFO :0:000003D1:hexane.cxx(15411686): session's : I/O domain affinity is 0000000000000001, CPU domain affinity is 000000000000000E 2016112020180521:113010035211:INFO :0:000003BA0000024D:ll_sentinelicenseman( 7251823): Looking for a Checking the available license key "1918154109"... 2016112020180521:113010035211:INFO :0:000003DC:ll_sentine( 820): ... found license key 1422726238.
20161120:1130100000024D:licenseman(1823): Found license key: "1918154109". 20180521:035211:INFO :0:0000024D:hexane.cxxlicenseman(26881823): STROMASYS SA, (C) 2009-2016
20161120:113010Checking product section 0. 20180521:035211:INFO :0:000003500000024D:hexane.cxxlicenseman(2734): CHARON-AXP (AlphaServer ES40), V 4.8 B 18302, Nov 11 2016 / 1823): License number: "000.msc.sanity.tests / 1422726238
20161120:113010test.center.nikolaev". 20180521:035211:INFO :0:000003360000024D:hexane.cxxlicenseman(27611823): 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
20161120:113010Product License number: "CHAXP/AXP". 20180521:035211:INFO :0:0000009D0000024D:hexane.cxxlicenseman(28381823): License info:
CHARON product code: "CHAXP-460xx490xx-WI-LI".
Licensed to: "MSC".
20161120:11301120180521:035211:INFO :0:0000024D:licenseman(1823): Unlimited license. 20180521:035211:INFO :0:000000970000024D:hexane.cxxlicenseman(28471823): OS Environment: Linux 3.19.8-100.fc20.x86_64 #1 SMP Tue May 12 17:08:50 UTC 2015 x86_64.
20161120:113011Feature 2 check interval 1 hour(s). 20180521:035211:INFO :0:000000980000024D:hexane.cxxlicenseman(28521823): 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
20161120:113011Concurrency info: 20180521:035211:INFO :0:000000990000024D:hexane.cxxlicenseman(28571823): Host Memory: 4096Mb
20161120:113011:WARN :1:00000354There are 10 instances allowed. 20180521:035211:INFO :0:0000024D:hexane.cxx(30052848): 4 host CPUs detected but 8 recommended, performance might be limited.
20161120:113011:WARN :1:00000353STROMASYS SA, (C) 2009-2018 20180521:035211:INFO :0:00000408:hexane.cxx(3023): The host system is below recommended specifications.
20161120:113013:ERROR:2:00000100:lnxpackpor( 753): (95) Operation not supported: EWA0: Failed to query for max frame size. Assume 1518.
20161120:113013:ERROR:2:00000101:lnxpackpor( 754): EWA0: Failed to query for link speed. Assume 10Mbps.
20161120:113013:INFO :0:0000034B:scsi_disk.( 566): PKA_0 is being set ONLINE
container = "/home/charon/Charon/test/performancecomparison-axp.vdisk"
20161120:113013:INFO :0:0000032C:hexane.cxx(2589): "AlphaServer_ES40" started.
20161120:113013:INFO :0:00000348:scsi_disk.( 554): PKA_0 is being set OFFLINE
20161120:113013:INFO :0:0000034B:scsi_disk.( 566): PKA_0 is being set ONLINE
container = "/home/charon/Charon/test/performancecomparison-axp.vdisk"
20161120:113014:INFO :0:00000348:scsi_disk.( 554): PKA_0 is being set OFFLINE
20161120:113014:INFO :0:0000034B:scsi_disk.( 566): PKA_0 is being set ONLINE
container = "/home/charon/Charon/test/performancecomparison-axp.vdisk"
20161120:113014:INFO :0:00000348:scsi_disk.( 554): PKA_0 is being set OFFLINE
20161120:113014:INFO :0:0000034B:scsi_disk.( 566): PKA_0 is being set ONLINE
container = "/home/charon/Charon/test/performancecomparison-axp.vdisk"
20161120:113028:INFO :0:000003D7:hexane.cxx(4928): All virtual CPUs of "AlphaServer_ES40" have been stopped by now.
20161120:113028:INFO :0:0000032D:hexane.cxx(2633): "AlphaServer ES40" stop request received.
20161120:113028:INFO :0:0000014C:lnxpackpor( 416): EWA0: Stopping network interface ... please wait.
20161120:113028:INFO :0:00000348:ataunit.cx(1738): ide0 is being set OFFLINE
20161120:113028:INFO :0:00000348:ataunit.cx(1738): ide1 is being set OFFLINE
20161120:113029:INFO :0:0000032E:hexane.cxx(2651): Stopped. 2892): CHARON-AXP (AlphaServer ES40), V 4.9 B 19401, May 10 2018 / 000.msc.test.center.nikolaev / 1918154109 20180521:035211:INFO :0:00000336:hexane.cxx(2924): The end user of this software has agreed to STROMASYS' Terms and Conditions for Software License and Limited Warranty, as described at: /pub/doc/30-17-033.pdf 20180521:035211:INFO :0:00000097:hexane.cxx(2999): OS Environment: Linux 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 13 10:46:25 EDT 2017 x86_64. 20180521:035211:INFO :0:00000098:hexane.cxx(3004): Host CPU: GenuineIntel, Family 6, Model 42, Stepping 1, Intel Xeon E312xx (Sandy Bridge), 1 Sockets, 1 Cores per Socket, 4 Threads per Core, at ~2593 MHz, 4 cpu's available 20180521:035211:INFO :0:00000099:hexane.cxx(3009): Host Memory: 3840Mb 20180521:035211:INFO :0:0000041F:hexane.cxx(3224): Configuration dump:: . session: . . configuration_name = "AlphaServer_ES40" . . log_method = "overwrite" . . hw_model = "AlphaServer_ES40" . . log_mode = "shared" . . log_locale = "english" . RAM: . . size = "256" . ACE: . . num_entries = "2139" . . num_translators = "0" . . cache_size = "1024" . . cache_base_size = "200" . . host_options = " --locked-size=16" . . enabled = "true" . . ext_compiler = "ml64.exe" . . ext_path = "" . . cpu_architecture = "EV67" . . locked_size = "16" . cpu_0: . . locked_size = "16" . . wtint_idle = "true" . cpu_1: . . locked_size = "16" . . wtint_idle = "true" . cpu_2: . . locked_size = "16" . . wtint_idle = "true" . cpu_3: . . locked_size = "16" . . wtint_idle = "true" . ROM: . . container = "clipper.bin" . . dsrdb[0] = "1820" . . dsrdb[1] = "50" . . dsrdb[4] = "50" . . dsrdb[11] = "1050" . . dsrdb[12] = "1050" . . system_name = "AlphaServer ES40 6/667" . ISA: . . clock_period = "10000" . TOY: . . container = "clipper.dat" . COM1: . . line = "OPA0" . . communication = "console" . COM2: . . line = "(void)" . . communication = "ascii" . OPA0: . . trace = "disabled" . . stop_on = "F6" . . tx_flush_delay = "0" . EWA: . . adapter_mode = "auto" . . interface = "EWA0" . . rx_fifo_delay_on_overload = "false" . EWA0: . . interface = "eth1" . . disabled_mode = "10BaseT-HD" . . port_show_driver_statistics = "false" . . port_enable_mac_addr_change = "true" . . port_snd_sock_buf_size_kb = "0" . PKA: . . scsi_id = "7" . . min_n_of_threads = "0" . . container[0] = "/home/charon/Charon/test/performancecomparison-axp.vdisk"
|
The next group of parameters defines the name of the CHARON-AXP log file and how CHARON-AXP will use it:
...
set session log_method = append
set session log = "/my_logs/my_es40.log"
|
Back to Table of ContentsTopConfigurationPage
CPU 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.
...
Note that the number of the specified host CPUs must correspond to the number of the emulated CPUs (one host CPU for one emulated CPU; this value is specific for each HP Alpha model) and number of CPUs needed for CHARON application itself ("n_of_io_cpus").
Back to Table of ContentsTopConfigurationPage
Number of host CPUs dedicated to CHARON I/O
...
Note that the number of the specified CPUs dedicated to CHARON I/O operations must correspond to the total number of available for CHARON CPUs (restricted by "affinity" parameter if needed) and the number of the virtual HP Alpha CPUs to be emulated.
Back to Table of ContentsTopConfigurationPage
Setting a specific HP Alpha model
...
The full description of the parameters, with other models that can be also configured, is available in the "Configuration details" chapter of this User's Guide.
Back to Table of ContentsTopConfigurationPage
Reducing number of emulated CPUs
If the CHARON host contains not enough CPUs to emulate full range of the CPUs provided by a certain HP Alpha model, it is possibe to direct CHARON-AXP to reduce the number of emulated Alpha CPUs in the configuration:
Back to Table of ContentsTopConfigurationPage
Setting system serial number
...
set rom system_serial_number = SN01234567
|
Back to Table of ContentsTopConfigurationPage
TOY and ROM containers
The next objects to be configured are TOY and ROM containers (their presence depends on the HP Alpha model). It is always recommended to enable them. If a container file of the given name does not exist, CHARON-AXP 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 guest.
...
set rom container="clipper.bin"
|
Back to Table of ContentsTopConfigurationPage
Emulated memory (RAM) size
...
Note that in some particular orders your license may restrict the maximum RAM amount of each HP Alpha model.
Back to Table of ContentsTopConfigurationPage
Console
Mapping to system resources
The next step is the specification of the HP Alpha console (OPA0) serial line.
Example:
...
#set COM1 alias = OPA0 line = "/dev/ttyN" #set COM1 alias = OPA0 port = 10003 #set COM1 alias = OPA0 port = 10003 application = "xterm -title OPA0 -e telnet 127.0.0.1 10003" #set COM1 alias = OPA0 port = 10003 application = "xterm -title OPA0 -e chterm -h 127.0.0.1:10003" set COM1 alias = OPA0 line = (console)
|
The goal of this configuration step is to tell CHARON-AXP what host device to use as the virtual system console. The following options are available:
Option | Description |
---|
physical_serial_line | Mapping to host serial line, both physical and virtual. Use the following mapping for different types of host serial lines: Mapping | Description |
---|
/dev/tty<N> | Virtual serial lines | /dev/ttyS<N> | Onboard serial lines | /dev/ttyUSB<N> | Modem or usb serial lines adaptersusb serial lines adapters | (console) | Mapping to the current TTY console |
Note |
---|
The specific account for running CHARON ("charon") does not allow the usage of physical consoles, "/dev/tty<N> ", as CHARON consoles. If you plan to map the CHARON console to "/dev/tty<N> ", use only the "root" account to run CHARON. |
|
virtual_serial_lineport | Mapping to an IP port of the CHARON-VAX host. Using this mapping it is possible to connect to the CHARON-VAX console and disconnect from it at any time. |
operator_console | Mapping to the current TTY console |
...
console and disconnect from it at any time. |
application | Starting some application (typically another xterm terminal) with its specific options and switches to communicate to CHARON using the IP port defined by the "port" parameter (see above) |
alias | Define some meaningful name for "COM1" and "COM2". Usually it is "OPA0" for "COM1" and "TTA0" for "COM2" (see below) |
The default setting for OPA0 is "line = (console)".
The second console line "TTA0" can be also optionally configured (for 1 CPU models such as HP AlphaServer 400, HP AlphaServer 800, HP AlphaServer 1000, HP AlphaServer 1000A, HP AlphaServer DS10, HP AlphaServer DS10L and HP AlphaServer DS15):
load physical_serial_line TTA0 line="/dev/tty7" set COM2 line=TTA0 #set COM2 alias = TTA0 line = "/dev/ttyN" #set COM2 alias = TTA0 port = 10000 set COM2 alias = TTA0 port = 10000 application = "xterm -title TTA0 -e telnet 127.0.0.1 10000" #set COM2 alias = TTA0 port = 10000 application = "xterm -title TTA0 -e chterm -h 127.0.0.1:10000"
|
Note there are a number of additional parameters for CHARON-AXP serial lines configuration. Follow this link for details.
...
This line provides CHARON-AXP the ability to exit by pressing the "F6" key.
Back to Table of ContentsTopConfigurationPage
Improve granularity of emulated timer
...
Do not uncomment this parameter unless there are some problems with system time or system clock intervals in guest OS.
Back to Table of ContentsTopConfigurationPage
ATAPI CD/DVD-ROM configuration
...
How to find proper "/dev/sg" device is explained in this section.
Back to Table of ContentsTopConfigurationPage
Networking
CHARON-AXP supports DE435, DE450, DE500AA, DE500BA, DE602 and DE602AA virtual network adapters.
...
Follow this link for more details of CHARON-AXP network controllers configuration.
Back to Table of ContentsTopConfigurationPage
Disk/tape subsystem
The next step is configuration of the disk/tape subsystem and mapping it to system resources using the samples given in the template configuration files.
...
Follow this link for details of KZPBA controllers configuration.
Back to Table of Contents
KGPSA-CA PCI FC disk controller
...
It can be configured in 2 modes:
Below is an example of KGPSA-CA controller loading:
...
Follow this link for details of KGPSA-CA controllers configuration.
Back to Table of Contents
KGPSA-CA mapping to the host resources
...
Numbers in the square brackets represent KGPSA-CA units. They can be in the range 0..32766, but no more than 255 units can be configured on a single controller.
Back to Table of Contents
KGPSA-CA pass through mode
...
Follow this link for detailed description of building and installation of an EMULEX LightPulse PCI/PCI-X/PCIe FC adapter driver.
Back to Table of Contents
Auto boot
CHARON-AXP can be configured to automatically boot an operating system at start up by specifying the default boot device and setting the 'auto_action' parameter to 'restart' from the console.
...
>>>set bootdef_dev dka0
>>>set auto_action restart
|
Back to Table of ContentsTopConfigurationPage