Charon-PAR/PA9-64 Guest - Basic Configuration and Installation

Charon-PAR/PA9-64 Guest - Basic Configuration and Installation

Contents

Please note: All Linux and HP-UX sample commands in this section are performed as the root user (prompt = #). This may not be necessary for all commands in all environments depending on the local permission settings. The commands can be executed on the Charon host graphical console or via a non-graphical login (e.g., SSH). However, for accessing the running emulator, the use of PuTTY is strongly recommended because it works best with the emulator environment.

The Charon-PAR/PA9-64 functionality of Charon-PAR emulates historic 64-bit PA-RISC hardware. This section shows a sample installation of a 64-bit guest system.

HP-UX ISO Installation Medium 

To install a basic HP-UX system running as a guest system in an emulator instance, you need to provide an HP-UX ISO installation medium.

Example:



Step

Command



Step

Command

1

Change to the directory where you store your virtual disks.

# cd /data/Stromasys/host1/Data/Disk/

2

Unpack an ISO file contained in a compressed tar archive into this directory (example only: the actual command will vary depending on the location and archive format of your ISO file).

# tar -xzf /path-to-file/HPUX_11v1_Sept2005_FOE.tgz

If the compressed tar archive of the ISO file is no longer needed for other purposes, it can be removed.

Creating a Virtual Disk Container for the System Disk

The emulated system requires a disk on which the HP-UX system will be installed. Create a system disk as shown in the following example:



Step

Command



Step

Command

1

Change to the directory where you store your virtual disks.

# cd /data/Stromasys/host1/Data/Disk/

2

Create an empty disk container. Note that the actual size of the disk will depend on the requirements of your emulated system. The disk name shown is just an example.

Example virtual disk creation (20GB):

With dd:
# dd if=/dev/zero of=ldev1-v11.dsk bs=1G count=20

With fallocate (very fast alternative):

# fallocate --length 21474836480 ldev1-v11.dsk


Adapting the Configuration File Template

The configuration file template must be adapted to the customer environment and the required guest system characteristics. This section describes the minimum number of changes required to configure a Charon-PAR/PA9-64 emulator instance. Please refer to Configuration File Reference for a detailed description of the configuration file options.

Perform the following steps to create a basic configuration file for a Charon-PAR emulated historic 64-bit PA-RISC system for HP-UX (rp2400 sample):



Step

Description (configuration file settings are examples only!)



Step

Description (configuration file settings are examples only!)

1

Create a copy of the configuration file template.

Example: 

cd /data/Stromasys/host1/

cp /opt/charon/cfg/rp2400.cfg host1.cfg

2

Open the configuration file in a text editor.

vi host1.cfg

or

gedit host1.cfg

3

Configure the system model.

model "rp2400-1-650"
Configured model must be covered by your license.

4

Configure the RAM for the emulated system.

memory 2G

5

Configure the serial console for telnet via PuTTY.

Use the method 2 section in the configuration file and make sure the definition of the serial.uart0.device is:

serial.uart0.device.command="putty -load PAR-Telnet-VT100"

6

Configure disk 1 (system disk).

Change definition of DKA0 to:

DKA0.image="/data/Stromasys/host1/Data/Disk/ldev1-v11.dsk"

7

Add a definition for  disk 2 (ISO file) or (if it already exists) modify the definition to point to your ISO file.

load DKA100

DKA100.image="/data/Stromasys/host1/Data/Disk/HP-UX_11v1_Sept2005_FOE.iso"

8

Configure a tape devices.

Change definition of MKAx to:

MKA600.image="/data/Stromasys/host1/Data/Tape/ldev7.img"

MKA500.image="/opt/Stromasys/host1/Data/Tape/ldev8.img"

9

Configure a network card based on a physical host NIC. This NIC is dedicated to the guest operating system and cannot be used for network communication by the host system. To share an interface, a virtual bridge would have to be used (see Ethernet configuration sections in this document).

In the configuration file template, comment out the dummy interface and the tap interface configuration. Then uncomment the interface configuration of the physical interface example. Change the definition of EWA0 to the interface that is assigned to the emulated system (example: eth1) and disable the offload parameters for the interface:

EWA0.mapping_mode="RAW"

EWA0.iface="eth1"

EWA0.initialize_command="ethtool -K $IFACE rx off ; ethtool -K $IFACE tx off ; ethtool -K $IFACE sg off ; ethtool -K $IFACE gso off ; ethtool -K $IFACE gro off ; ethtool -K $IFACE txvlan off ; ethtool -K $IFACE rxvlan off"

Depending on the capabilities of the Ethernet device, not all off-load parameters maybe be available. This will create a warning message. The variable IFACE is set by the system before executing the initialize command.

10

Save the configuration file.





© Stromasys, 1999-2025  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described. 
Need fast, reliable migration? We have done it countless times. Talk to an expert