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
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.
Charon-PA9-32 currently only supports HP-UX 9.07. For this version of HP-UX, two ISO files are required:
- HP-UX 9.07 install ISO (mini-system installation)
- HP-UX 9.07 Core_OS ISO (operating system filesets)
Copy the ISO files to the directory you prepared for the disk containers of your emulated instance.
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 | |
---|---|---|
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. 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 |
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 PA9-32 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 HP9000 (rp2400 example) system:
Step | Description | |
---|---|---|
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 "720" Configured model must be covered by your license. |
4 | Configure the RAM for the emulated system (in MB). | memory 64 |
5 | Configure 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:
|
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 installation file for the mini-system (the install disk). |
|
8 | Configure 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:
Depending on the capabilities of the Ethernet device, not all off-load parameters maybe be available. This will create a warning message. |
9 | Save the configuration file. |
Starting the Emulated 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/charon-par -f host1.cfg |
If everything works, you will see log output in the current terminal window ending an a pa9-32> prompt. This is the Charon-PAR emulator console. It displays log information, allows to set configuration parameters and to stop the emulator.
At the same time, a green PuTTY console window will open.
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.
Booting from the Install ISO File
In green PuTTY console window perform the following steps to boot the installation ISO file (containing a very basic system):
- Press the Enter key.
- This should produce the prompt Main Menu: Enter command or menu >.
- Enter the command
boot 2/0/1.1.0
to boot from the ISO and confirm by pressing the Enter key. - At the prompt Interact with IPL (Y or N)?> answer N.
- At the next prompt, select VT100 as the terminal.
HP-UX 9.07 Installation Phase 1: Installing the Basic System
During this phase, a basic system is installed to the root disk that will enable the installation of the rest of the operating system.
After booting the install ISO file as described above, you will eventually see an overview of the installation steps:
After you've read the information, press any key to continue with the next step: the root disk selection.
The following image shows a sample:
In the above sample, select the offered disk by entering its number and press Return.
Before the installation starts, you have to select if the root disk should support long file names:
You will be offered additional installation options as shown in the sample below:
Then you are asked to configure the swap space for the system:
And eventually, you have to confirm that the installation should be performed:
After the confirmation, the basic system with the essential operating system components will be installed and the system is automatically shut down.
You will be returned to the console prompt.
Type exit at the pa9-32> prompt to stop the emulator.
HP-UX 9.07 Installation Phase 2: Installing the Operating System Filesets
During this step, the basic system will be used to install the other components of the operating system.
The first step is to replace the install ISO file in the emulator configuration with the Core_OS ISO file.
<tbd>