Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: new color scheme; replace emoticons with text

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

...

Table of Contents
excludeContents
stylesquare

(warning) 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.

(info) The Charon-PAR/PA9-32 functionality of Charon-PAR emulates historic 32-bit HP9000 hardware. This section shows a sample installation of a 32-bit guest system.

HP-UX ISO Installation Medium 

...

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:


StepCommand
1Change 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.

(warning) Please note: HP-UX 9.07 allows a maximum root disk size of 2GB. The number of blocks should be a multiple of 512.

# dd if=/dev/zero of=ldev1.dsk bs=1K count=2091520

...

Perform the following steps to create a basic configuration file for a Charon-PAR emulated historic HP9000 (rp2400 example) system:


StepDescription
1Create a copy of the configuration file template.

Example: 

cd /data/Stromasys/host1/

cp /opt/charon/cfg/pa9-32.cfg host1.cfg

2Open the configuration file in a text editor.

vi host1.cfg

or

gedit host1.cfg

3Configure the system model.

model "720"

Configured model must be covered by your license.

4Configure the RAM for the emulated system (in MB).memory 64
5Configure the serial console for telnet via PuTTY.

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

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

6Configure disk 1 (system disk).

Change definition of DKA0 to:

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

7Add a definition for disk 2 (ISO file) or (if it already exists) modify the definition to point to your ISO installation file for the mini-system (the install disk).

load DKA100

DKA100.image="/data/Stromasys/host1/Data/Disk/HP-UX_9.07_Install_S700.iso"

8Configure a network card.

Change definition of the Ethernet interface configuration to the interface that is assigned to the emulated system (example: eth1) and disable the offload parameters for the interface:

system.lan0.card.iface="eth1"

system.lan0.card.initialize_command="export eth=eth1; ethtool -K $eth rx off ; ethtool -K $eth tx off ; ethtool -K $eth sg off ; ethtool -K $eth gso off ; ethtool -K $eth gro off ; ethtool -K $eth txvlan off ; ethtool -K $eth rxvlan off"

(info) Depending Please note: Depending on the capabilities of the Ethernet device, not all off-load parameters maybe be available. This will create a warning message.

9Save the configuration file.

...

This section shows how to start the emulator and install a HP-UX system.

(warning) Please note: The examples in this section assume that a graphical interface is used, on which a PuTTY session can be run. Should this not be possible, you can access the console of the emulated system by using, for example, a telnet client and pointing it to the TCP port on the Charon host defined for the serial console port in the configuration file. The default port is 30000 (sample command:  $ telnet <charon-host> 30000).

...

To start the emulated Charon-PAR/PA9-32 system, perform the following steps:


StepCommand
1Go to the directory where the configuration file has been stored.# cd /data/Stromasys/host1/
2Start the emulator instance.# /opt/charon/bin/charon-par -f host1.cfg

...

At the same time, a green PuTTY console window will open.

(info) Should Please note: Should there be an error from PuTTY about missing fonts, start PuTTY as the root user, load the PAR-Telnet-VT100 profile, set a font that is available on the host system, save the configuration.

...