Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Table of contents

Table of Contents
excludeTable of contents

Introduction

The CHARONCharon-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.

CHARON Charon installation consists of the following steps:

  • Host system checks (hardware and software) to ensure the host platform meets the minimum CHARONCharon-AXP installation requirements
  • Installation of any 3rd party material, for example, the utilities required for CHARONCharon-AXP
  • Extracting CHARONCharon-AXP RPM modules from the TAR.GZ archive and their individual installation
  • Installation of the CHARONCharon-AXP license (hardware dongle or software license)
  • Configuration of the CHARONCharon-AXP host system. It assumes creating a specific user, configuring the network, etc.

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

Hardware Requirements

Number of CPU cores

Each CHARONCharon-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 Charon I/O operations and host operating system needs. If several CHARON Charon instances run in parallel, the required number of CPU cores is cumulative.

...

The following table lists the minimum and recommended number of CPUs required for each virtual HP Alpha instance (note that each CHARON Charon instance is able to run on 2 CPU cores hosts, but this configuration does not support emulation of all the virtual CPUs):

CHARONCharon-AXP product

Minimum number of host CPU cores

Recommended number of host CPU cores

HP AlphaServer 400 - HP AlphaServer 4100

2

2

HP AlphaServer DS10/DS10L/DS15

2

2

HP AlphaServer DS20/DS25

4

4

HP AlphaServer ES40/ES45

6

8

HP AlphaServer GS80

10

16

HP AlphaServer GS160

18

32

HP AlphaServer GS320

34

48

When starting, the CHARONCharon-AXP software checks the available number of host CPU cores. This check is based on the maximum number of AXP CPUs that can be emulated if this number is not restricted by the "n_of_cpus" parameter. If the available number of host CPU cores is below this number, CHARONCharon-AXP will issue a warning message even if the requirements for the configured number of AXP CPUs are fulfilled. The CHARONCharon-AXP software will work despite this warning if the requirements for the configured number of AXP CPUs are fulfilled.

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 Charon utilizes LAHF instruction in CPU emulation please avoid usage of early AMD64 and Intel 64 CPUs in CHARON 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 CHARONCharon-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 CHARONCharon-AXP instance.


Disk storage

The total amount of disk space required for CHARONCharon-AXP can be calculated as a sum of all the disk/tape image sizes plus 50 MB for the CHARON 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

CHARONCharon-AXP networking requires dedicated host Ethernet adapters; their number must be equal to the emulated adapters to be configured in CHARONCharon-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 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 Charon and stop all the running CHARON Charon instances and services.

If a network-wide license (red dongle or software license) is going to be used, do the following:

...

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 CHARONCharon-AXP distribution, copy the TAR.GZ files there and change to this directory as shown in the following example:

    # mkdir /charonCharon_dist
    # cp /tmp/charonCharon-axp-4.11-20403.el74.tar.gz /charonCharon_dist
    # cd /charonCharon_dist

    .

  3. On RHEL 7.x and CentOS 7.x, the "libev" package is required. If it is reported as missing during CHARON 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


Warning
titleWARNING
  • If you plan to install CHARONCharon-VAX on the same server, both products, CHARONCharon-AXP and CHARONCharon-VAX, will have to be the same build number.
  • If you upgrade from a previous version of CHARONCharon-AXP, please stop all running CHARON Charon virtual machines and uninstall CHARON Charon products before proceeding with the installation steps described below.

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 charonCharon-axp-<VER>-<BN>.<ZZ>.tar.gz

    where:

     

    Description

    VER

    Version of CHARONCharon-AXP product, for example 4.11

    BN

    Build Number of CHARONCharon-AXP product, for example 20403

    ZZ

    CHARONCharon-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 charonCharon-axp-4.11-20403.el74.tar.gz 

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


    Div
    classpagebreak



  1. Switch to that directory:

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

    Example:

    # cd charonCharon-axp-4.11-20403.el74


  2. The distribution directory contains the following RPM files:

    File name

    Description

    charonCharon-axp-VER-BN.ZZ.x86_64.rpmCHARONCharon-AXP

    aksusbd-7.63-1.i386.rpm

    HASP Run-time

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

    CHARON Charon Libraries

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

    CHARON Charon Utilities

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

    Example:

    # ls
    aksusbd-7.63-1.i386.rpm
    charonCharon-axp-4.11-20403.el74.x86_64.rpm
    charonCharon-license-4.11-20403.el74.x86_64.rpm
    charonCharon-utils-4.11-20403.el74.x86_64.rpm
    charonCharon-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 Charon-axp x86_64 4.11-20403 /charonCharon-axp-4.11-20403.el74.x86_64 260 M
charon Charon-license
x86_64 4.11-20403 /charonCharon-license-4.11-20403.el74.x86_64 2.9 M
charon Charon-utils
x86_64 4.11-20403 /charonCharon-utils-4.11-20403.el74.x86_64 1.8 M
charonCharon-mtd 
x86_64 4.11-20403 /charonCharon-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 : charonCharon-utils-4.11-20403.x86_64 2/5
Installing : charonCharon-mtd-4.11-20403.x86_64 3/5 

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


Installed:
aksusbd.i386 0:7.63-1 charonCharon-axp.x86_64 0:4.11-20403
charon Charon-license.x86_64 0:4.11-20403 charonCharon-utils.x86_64 0:4.11-20403
charonCharon-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/charonCharon.sh

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

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


Info

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

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

During "charonCharon-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 Charon is installed in the "/opt/charonCharon" directory. It has the following subdirectories:

Directory

Description

/bin

Contains all the executable files

/cfg

Contains the configuration files templates

/doc

Contains the documentation

/log

Contains the log files

/disks

Contains the disk containers

/drivers

Contains the CHARON Charon drivers

The most important directory at this stage is the "/cfg" directory since it contains template configuration files with examples of typical configuration parameters and comments. We will focus our attention on this subject in the next chapter.

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

Specific user account creation

Create a specific user account named "charonCharon" for running CHARONCharon:

# useradd -G disk,tape,cdrom,dialout,lock -c "Charon User" -m charon Charon
# passwd charon Charon

Any existing user can also be used to run CHARONCharon. In this case issue the following command to include this existing user into these specific groups:

...

Note

The specific account created above does not allow the use of physical consoles "/dev/tty<N>" as CHARON Charon consoles. If you plan to map CHARON Charon console to "/dev/tty<N>" use only the "root" account for running CHARONCharon.

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

Div
classpagebreak


License installation

Regular HASP USB dongle

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

Note

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

Network HASP USB dongle

If the CHARON 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.

...

  • Copy the aksusbd-7.63-1.i386.rpm and charonCharon-license-4.9-<build>.<OS identifier>.x86_64.rpm files (see above) to the server, for example to "/tmp".
  • Login as "root" on the server.
  • Switch to that directory.
  • Install the copied files using "yum".
    Example:

    # cd /tmp
    # yum install aksusbd* charonCharon-license-*


  • Connect the network HASP dongle to one of the server USB ports.

...

Info

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


Div
classpagebreak


Software license

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

  1. Run the hasp_srm_view utility in the following way to get the host fingerprint file ("my_host.c2v" in this example):

    # hasp_srm_view -fgp my_host.c2v


  2. Send the resulting file to STROMASYSStromasys. In return STROMASYS Stromasys will provide you with a ".v2c" file, for example "your_license.v2c".
  3. Copy the received file to any folder on the CHARON Charon host, invoke the system default web browser and enter the URL http://localhost:1947 to display the "Sentinel Admin Control Center" (ACC) web interface. This interface allows you to view and manage the CHARON Charon licenses.
  4. In the ACC perform the following steps: select Update/Attach from the menu on the left pane then use the Browse button to select the received file and click on the Apply File button to install the license.
  5. Ensure that the software license is now visible in the "Sentinel Keys" section of the ACC.

...

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

License validity verification

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

  • Text of the license is displayed correctly by the hasp_srm_view utility, no error messages are shown.
  • The content of the license looks correct. For example: license number, major and minor versions, minimum and maximum build numbers, CHARONCharon-AXP products and allowed hardware (CHARONCharon-AXP models) should be checked. More details on the license content can be found in the CHARONCharon-AXP Licensing chapter of this Guide.

...

# hasp_srm_view 

License Manager running at host: dlao.msc.masq
License Manager IP address: 192.168.1.129

HASP Net key detected

The Physical KeyId: 1422726238
License Type: License Dongle (Network Capable)
CHARON Charon Sentinel HASP License key section
Reading 4032 bytes

The License Number: 000.msc.sanity.tests
The License KeyId: 1422726238
The Master KeyId: 827774524
Release date: 10-MAR-2020 
Release time: 15:15:15
Update number: 1
End User name: MSC
Purchasing Customer name: STROMASYSStromasys
... 


Div
classpagebreak



Note

If multiple licenses are available, it is possible to check them using the "-all" parameter with the hasp_srm_view utility in the following way:

# hasp_srm_view -all

(info) It it also possible to display the license content for one specific key using the "-key" parameter and specifying the Key Id (see "# hasp_srm_view -h" for more)


Note

Reminder: If the CHARON 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 Charon as a daemon (service). This procedure will be described later.

Troubleshooting

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

  1. Invoke the system default web browser and enter the URL http://localhost:1947 to display the "Sentinel Admin Control Center" (ACC) web interface.
  2. Click on "Sentinel Keys" link to open the corresponding page.
  3. Make sure that one and only one CHARON Charon HASP or SL license is present.
ProblemAction
No license is displayedMake sure that all the recommendations above about remote access to the host are fulfilled (if remote access takes place), that the HASP USB key is not broken and its LED indicator is lit (meaning that it is used by the host).
Only one License key / SL is seen and its content is incorrectContact STROMASYS Stromasys to request a new license update.
Several License keys / SLs are displayedRemove all of them except the one provided by STROMASYS Stromasys for the just installed version of CHARONCharon.

Removing licenses can be done by physical disconnection of the corresponding USB HASP keys from the CHARON Charon host and physical disconnection of the network HASP keys from all hosts on the local network (or by disabling remote access to network licenses from the CHARON Charon host - see detailed explanations below).

...

Info

It is also possible to leave several licenses available to CHARONCharon-AXP at the same time but in this case they have to be specified in the configuration file.

Example:

set session license_key_id=1877752571

It is also possible to have one "main" and one "backup" license in case the main license becomes unavailable:

set session license_key_id="1877752571,354850588"

CHARONCharon-AXP checks its licenses from time to time starting with the main license. If it becomes unavailable, it attempts to access the backup license.

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

Network configuration

In most cases CHARON Charon will use a network. In this case CHARON 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:

# ncu
CHARON Charon Network Configuration Utility, Version 1.6. Copyright (C) 2014-2019 STROMASYS Stromasys SA.

Interfaces Dedicated to State
---------- ------------ ------------
eth0         host         connected to host
eth1         host         disconnected from host
lo           host         unmanaged by host
virbr0-nic   bridge       unmanaged by bridge

==================================================================
bridge name bridge id          STP enabled   interfaces
==================================================================
virbr0     8000.5254004608c0  yes            virbr0-nic

==================================================================

select action:
1 - Dedicate to CHARONCharon
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Add VLAN
6 - Remove VLAN
7 - Print status
8 - Exit
:> 1

The utility lists the available network interfaces (both physical and virtual) and indicates whether they are dedicated to the host or to CHARON Charon and whether they are currently in use by the host operating system.

...

"ncu" offers several options:

  • Dedicate interface to CHARON Charon (option "1")
  • Release interface to host (option "2")
  • Create a bridge between a chosen physical network interface and the Linux virtual network and create a number of virtual network interfaces (option "3")
  • Remove the Linux virtual network and all the created virtual network interfaces (option "4")
  • Add VLAN (option "5")
  • Remove VLAN (option "6")
  • Print status (option "7") - use it to display status of network interfaces and the menu shown above
  • Exit (option "8")

...

Let's dedicate the interface "eth1" to CHARONCharon-AXP.

Enter "1" then "eth1":

Specify the interface to dedicate to CHARONCharon:eth1
Turning off offloading for eth1.. Please wait

select action:
1 - Dedicate to CHARONCharon
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Add VLAN
6 - Remove VLAN
7 - Print status
8 - Exit

:> 7

Now the interface "eth1" is dedicated to CHARONCharon-AXP:

Interfaces Dedicated to State
---------- ------------ ------------
eth0         host         connected to host
eth1         CHARON        Charon       disconnected from host
lo           host         unmanaged by host
virbr0-nic   bridge       unmanaged by bridge

==================================================================
bridge name bridge id          STP enabled   interfaces
==================================================================
virbr0     8000.5254004608c0  yes            virbr0-nic

==================================================================

select action:
1 - Dedicate to CHARONCharon
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Add VLAN
6 - Remove VLAN
7 - Print status
8 - Exit

:>

...

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

Div
classpagebreak


Manual Configuration

Choosing a network interface

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

...

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

Designation of network interface to

...

Charon

To designate the chosen interface to CHARON Charon open up the file "/etc/sysconfig/network-scripts/ifcfg-ethN" (where N is the number of the interface to be used for CHARONCharon, 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 Charon using the following command:

...

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

Final steps

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

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

Upgrade to new version

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

  1. Ensure your license allows you to upgrade to that version. If not, please generate a C2V file and send it to STROMASYS Stromasys for update. See CHARONCharon-AXP for Linux utilities - 'hasp_srm_view' utility
  2. Prepare the new kit RPM files as it is described in "Before installation" and "Distribution preparation" sections.
  3. Stop all running CHARONCharon-AXP instances.
  4. Make sure that no template files (i.e. "es40.cfg.template") have been used for your specific configuration otherwise copy those files to a dedicated folder.
  5. Login as "root" user.
  6. Remove the old CHARONCharon-AXP version as described in the "CHARONCharon-AXP for Linux deinstallation" chapter.
  7. Proceed with the instructions on the new kit installation as described in the "695402677Charon-AXP for Linux installation#Installation" section.
  8. Install the license for the new CHARONCharon-AXP as described in the "License installation" section.

  9. Start all the CHARONCharon-AXP services stopped at step #3.

...