Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
Table of Contents | ||||
---|---|---|---|---|
|
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-PA9 functionality of Charon-PAR emulates the historic HP9000 hardware.
HP-UX ISO Installation Medium
...
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 |
...
Step | Description (configuration file settings are examples only!) | |
---|---|---|
1 | Create a copy of the configuration file template. | Example:
|
2 | Open the configuration file in a text editor. |
or
|
3 | Configure the system model. | model "rp2400-1-650" |
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:
|
6 | Configure disk 1 (system disk). | Change definition of DKA0 to:
|
7 | Add a definition for disk 2 (ISO file) or (if it already exists) modify the definition to point to your ISO file. |
|
8 | Configure a tape devices. | Change definition of MKAx to:
|
9 | Configure a network card. | Change definition of EWA0 to the interface that is assigned to the emulated HP system (example: eth1) and disable the offload parameters for the interface:
Depending on the capabilities of the Ethernet device, not all off-load parameters maybe be available. This will create a warning message. |
10 | Save the configuration file. |
Div | ||
---|---|---|
| ||
Starting the Emulated Charon-PA9 System and Installing the Guest System
This section shows how to start the emulator and install a HP-UX system.
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
).
Starting the Emulator
To start the emulated Charon-PA9 system, perform the following steps:
Step | Command | |
---|---|---|
1 | Go to the directory where the configuration file has been stored. | # cd /data/Stromasys/host1/ |
2 | Start the emulator instance. | # /opt/charon/bin/hppa charon-par -f host1.cfg |
If everything works, you will see log output in the current terminal window ending an a hp3k> or an hp9k> a pa9-64> or pa9-32> prompt (depending on the configured model). This is the Charon-PAR emulator console. It displays log information, allows to set configuration parameters and to stop the emulator.
Should there be an error from PuTTY about missing fonts, start PuTTY as the root user, load the PAR-Telnet-VT100 profile (starting with the letters HPA), set a font that is available on the host system, save the configuration.
...
- Emulator started in interactive mode (Charon-PAR console is available): Enter the exit command at the hp9kpa9-64> or pa9-32> prompt and hit Enter (if running HP-UX on a PA3 model, the prompt will be hp3k pa3>). This will cause the emulator to close the disk images of the emulated system and to exit.
- Emulator started as daemon or as a service (Charon-PAR console is not available): In the current version, the emulator process is not stopped automatically after the guest system has been shut down. This means it must be stopped manually using the kill command from the root user on the Charon host system. This behavior may change in future versions of the software. Perform the following steps to stop the Charon-PAR process:
- Find the PID (process id) of the process:
# ps -ef | grep -i hppacharon-par
- Stop the process:
# kill <hppa<charon-par-pid>
- Find the PID (process id) of the process:
Include Page | ||||
---|---|---|---|---|
|