Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted to CHARON instead of Charon, takes too long to do manually. No automatic option for case sensitive replacement

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

Table of contents

Table of Contents
excludeTable of contents

Introduction

The CHARON-AXP product is distributed in form of archive TAR.GZ files that contain RPM modules for different components. Generally it is recommended to install all the RPM modules but it is possible to omit some RPM files if they are not needed.

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Hardware Requirements

Number of CPU cores

Each CHARON-AXP emulated CPU requires a corresponding physical core. So the total number of the host CPUs must exceed the number of emulated CPUs since some of the host CPUs must be dedicated to serving CHARON I/O operations and host operating system needs. If several CHARON instances run in parallel, the required number of CPU cores is cumulative.

...

Note

Hyper-threading must be switched off completely. Disable hyper-threading in the BIOS settings of the physical host or, for a VMware virtual machine, edit the virtual machine properties, select the Resources tab then select Advanced CPU. Set the Hyper-threaded Core Sharing mode to None.

CPU type and speed

Since CHARON utilizes LAHF instruction in CPU emulation please avoid usage of early AMD64 and Intel 64 CPUs in CHARON host system since they lack it. AMD introduced the instruction with their Athlon 64, Opteron and Turion 64 revision D processors in March 2005 and Intel introduced it with the Pentium 4 G1 stepping in December 2005.

Concerning CPU speed, the general recommendation is that higher the CPU frequency is, better the emulated HP Alpha performances will be. The minimum recommendation is at least 3 GHz.

Operative memory

The minimum host memory size:

  • depends on the amount of HP Alpha memory to be emulated and on the number of CHARON-AXP instances to be executed on one host.
  • is calculated according to the following formula:

    The minimum host memory = (2Gb +  the amount of HP Alpha memory emulated) per CHARON-AXP instance.


Disk storage

The total amount of disk space required for CHARON-AXP can be calculated as a sum of all the disk/tape image sizes plus 50 MB for the CHARON software plus the space required for the host operating system. Temporary disk storage is often needed when setting up a new virtual machine (for source disks backups storage, software installation kits, etc...).

When virtual disks/tapes are used to represent physical disk drives / magnetic tapes, the disk/tape image files have the same size as their hardware equivalent, regardless of their degree of utilization.

Div
classpagebreak


Ethernet adapters

CHARON-AXP networking requires dedicated host Ethernet adapters; their number must be equal to the emulated adapters to be configured in CHARON-AXP. One adapter (optionally) can be left to the host for TCP/IP networking, management interface, etc.

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Software Requirements

  • Red Hat Enterprise Linux 7.x, 64bit
  • Red Hat Enterprise Linux 6.5 - 6.10, 64bit
  • Linux Centos 7.x, 64bit
  • VMware ESXi 5.5 and 6.x up to 6.7 (requires a supported Linux operating system on top of a ESXi virtual machine)

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Host system preparation

Info

The automatic installation of updates must be disabled.  Updates to the CHARON host must be done only in specific service maintenance periods established by the system administrator. Before applying new updates one must shutdown the operating system running on CHARON and stop all the running CHARON instances and services.

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Div
classpagebreak


Before installation

  1. Login as the superuser ("root") on the host system. Because Sentinel HASP runtime relies on 32-bit compatibility libraries to run on Linux, the 32-bit compatibility libraries must be installed before continuing. If the emulator host has access to a package repository, either local or remote, use the following command:

    # yum install glibc.i686

    (info) Sometimes it is not possible to use an online repository for the installation of 32-bit glibc package. In this case the procedure described in the appendixes has to be used: glibc.i686 installation without Internet connection

    .

  2. Create a directory for the CHARON-AXP distribution, copy the TAR.GZ files there and change to this directory as shown in the following example:

    # mkdir /ccharon_dist
    # cp /tmp/charonccharon-axp-4.11-20403.el74.tar.gz /charonccharon_dist
    # cd /charonccharon_dist

    .

  3. On RHEL 7.x and CentOS 7.x, the "libev" package is required. If it is reported as missing during CHARON installation on RHEL 7.x check that the repository "extras" is included and enabled, if not, include and enable it. Please refer to your Linux distribution administrator's guide. Example for RHEL 7.x:

    yum-config-manager --enable rhel-7-server-extras-rpms


...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Distribution preparation

  • Extract the contents of the distribution TAR.GZ files to the current directory:

    # tar -xvzf charonccharon-axp-<VER>-<BN>.<ZZ>.tar.gz

    where:

     

    Description

    VER

    Version of CHARON-AXP product, for example 4.11

    BN

    Build Number of CHARON-AXP product, for example 20403

    ZZ

    CHARON-AXP target operating system identifier.

    For CentOS 7.x 'ZZ' value is 'el74'
    For Red Hat Enterprise Linux 7.x 'ZZ' value is 'el74'.
    For Red Hat Enterprise Linux 6.5 to 6.10 'ZZ' value is 'el65'.

    Example:

    # tar -xvzf charonccharon-axp-4.11-20403.el74.tar.gz 

    As a result, the new directory "ccharon-axp-<VER>-<BN>.<ZZ>" will be created.


    Div
    classpagebreak



  1. Switch to that directory:

    # cd charonccharon-axp-<VER>-<BN>.<ZZ>

    Example:

    # cd charonccharon-axp-4.11-20403.el74


  2. The distribution directory contains the following RPM files:

    File name

    Description

    charonccharon-axp-VER-BN.ZZ.x86_64.rpmCHARON-AXP

    aksusbd-7.63-1.i386.rpm

    HASP Run-time

    charonccharon-license-VER-BN.ZZ.x86_64.rpm

    CHARON Libraries

    charonccharon-utils-VER-BN.ZZ.x86_64.rpm

    CHARON Utilities

    charonccharon-mtd-VER-BN.ZZ.x86_64.rpmMTD utility

    Example:

    # ls
    aksusbd-7.63-1.i386.rpm
    charonccharon-axp-4.11-20403.el74.x86_64.rpm
    charonccharon-license-4.11-20403.el74.x86_64.rpm
    charonccharon-utils-4.11-20403.el74.x86_64.rpm
    charon-mtd-4.11-20403.el74.x86_64.rpm 

    Include Page
    KBCOMMON:DOC-GoToToc
    KBCOMMON:DOC-GoToToc

Div
classpagebreak


Installation

Issue the following command to install all the RPM files present in the directory:

...

Dependencies Resolved  

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
aksusbd i386 7.63-1 /aksusbd-7.63-1.i386 2.9 M
charon ccharon-axp x86_64 4.11-20403 /charonccharon-axp-4.11-20403.el74.x86_64 260 M
charon-license
x86_64 4.11-20403 /charonccharon-license-4.11-20403.el74.x86_64 2.9 M
charon ccharon-utils
x86_64 4.11-20403 /charonccharon-utils-4.11-20403.el74.x86_64 1.8 M
charonccharon-mtd 
x86_64 4.11-20403 /charonccharon-mtd-4.11-20403.68704.el74.x86_64 1.2 M 


Transaction Summary
================================================================================
Install 4 Packages

Total size: 267 M
Installed size: 267 M
Is this ok [y/d/N]: y

...

Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Installing : aksusbd-7.63-1.i386 1/4
Starting aksusbd (via systemctl): [ OK ]
Installing : charonccharon-utils-4.11-20403.x86_64 2/5
Installing : charonccharon-mtd-4.11-20403.x86_64 3/5 

Installing : charonccharon-license-4.11-20403.x86_64 4/5 
Installing : charonccharon-axp-4.11-20403.x86_64 5/5
Verifying : aksusbd-7.63-1.i386 1/5 
Verifying : charonccharon-license-4.11-20403.x86_64 2/5 
Verifying : charonccharon-axp-4.11-20403.x86_64 3/5 
Verifying : charonccharon-utils-4.11-20403.x86_64 4/5
Verifying : charonccharon-mtd-4.11-20403.x86_64 4/5 


Installed:
aksusbd.i386 0:7.63-1 charonccharon-axp.x86_64 0:4.11-20403
charonccharon-license.x86_64 0:4.11-20403 charonccharon-utils.x86_64 0:4.11-20403
charonccharon-mtd.x86_64 0:4.11-20403


Complete!

...

Re-login (as "root") to apply the PATH settings or execute the following command:

# . /etc/profile.d/charonccharon.sh

If "putty" terrminl terminal emulator is going to be used as an additional option copy the following file to your home directory:

# cp /opt/charonccharon/putty/sessions/CHTERM-VT100 $HOME/.config/putty/sessions


Info

Note that the "charonccharon-utils" package has the following dependencies:

  • ethtool
  • bridge-utils
  • net-tools
  • iproute
  • NetworkManager

During "charonccharon-utils" installation using "yum", these packages will be installed automatically if some of them are absent on the host system.

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

CHARON-AXP home directory

By default CHARON is installed in the "/opt/charonccharon" directory. It has the following subdirectories:

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Specific user account creation

Create a specific user account named "charon" for running CHARON:

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Div
classpagebreak


License installation

Regular HASP USB dongle

If the CHARON license is located on a regular USB dongle, just connect it to the host USB port.

Note

If the CHARON host is accessed remotely, please note that regular HASP licenses cannot be displayed and used to start a CHARON virtual machine. As a workaround it is possible to install CHARON as a daemon (service). This procedure will be described later.

Network HASP USB dongle

If the CHARON license is a network license (red USB dongle), it is possible either to connect it to the host USB port (to use it locally and provide it to other hosts on the local network at the same time) or to install it on a local network "license server" for remote access from this particular host.

...

Info

The network HASP (red dongles) licenses have no restrictions with respect to remote access.


Div
classpagebreak


Software license

If the CHARON license is a software license (SL), it is installed on the host using the following procedure:

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

License validity verification

To check the CHARON license validity, invoke the hasp_srm_view utility to make sure that the CHARON license is visible and is correct:

...

Note

Reminder: If the CHARON host is accessed over a remote connection, please note that regular HASP licenses cannot be displayed and used in this case. As a workaround it is possible to install CHARON as a daemon (service). This procedure will be described later.

Troubleshooting

If the CHARON license content cannot be displayed by the hasp_srm_view utility or it is incorrect, check the license is available and correctly used:

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Network configuration

In most cases CHARON will use a network. In this case CHARON requires one or more dedicated network interfaces with any other protocols including TCP/IP removed at the host level.

...

The first way is recommended. Use the manual approach only in absence of the "ncu" utility or if it impossible to use it.

Div
classpagebreak


Configuration with NCU utility

Login as root and enter "ncu". The following menu will appear:

...

Now "eth1" can be used by CHARON-AXP.

Div
classpagebreak


Manual Configuration

Choosing a network interface

To choose an interface to be used for CHARON networking, do the following:

...

Choose an interface to be used by CHARON, for example "eth1"

Designation of network interface to CHARON

To designate the chosen interface to CHARON open up the file "/etc/sysconfig/network-scripts/ifcfg-ethN" (where N is the number of the interface to be used for CHARON, in this case it is "1") and make sure that all the IP-setup related parameters are removed. The file must look like this:

DEVICE="eth1"
HWADDR="00:06:2B:00:6A:87"
NM_CONTROLLED="no"
ONBOOT="no"

Switching off the offload parameters

Determine what additional parameters are currently set to "on" on the host network adapter to be used by CHARON using the following command:

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Final steps

  • Reboot the host system
  • Login as user "charon"
  • Verify the offload parameters are effective

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Upgrade to new version

To upgrade an already installed CHARON-AXP kit to a more recent one:

...