CHARON-AXP for Linux installation


Product Documentation and Knowledge Base - Home 


Charon-VAXCharon-AXPCharon-PDPCharon-SSPCharon-PAR

CHARON-AXP for Linux installation

Table of contents

Introduction

CHARON-AXP products are 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 RPMs if they are not needed.


CHARON installation consists of the following steps:

  • Host system checks (hardware and software) to ensure the host platform meets minimum CHARON-AXP installation requirements

  • Installation of any 3rd party material, for example, utilities required for CHARON-AXP

  • Extracting CHARON-AXP  RPM modules from the TAR.GZ archive, and their individual installation

  • Installation of CHARON-AXP license (hardware dongle or software license)

  • CHARON-AXP host system configuration. It assumes creating a specific user, network configuration etc.

Let's go through CHARON-AXP installation sequence step by step.

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 summarized.

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

CHARON-AXP product

Minimal number of host CPU cores

Recommended number of host CPU cores

CHARON-AXP product

Minimal number of host CPU cores

Recommended number of host CPU cores

CHARON-AXP/4100

2

2

CHARON-AXP/DS10

2

2

CHARON-AXP/DS20

4

4

CHARON-AXP/ES40

6

8

CHARON-AXP/GS80

10

16

CHARON-AXP/GS160

18

32

CHARON-AXP/GS320

34

48

When starting, the CHARON-AXP software checks the available number of host CPU cores. Currently, this check is based on the maximum number of AXP CPUs that can be emulated, not on the number of the actually configured AXP CPUs. Therefore the number of host CPU cores recommended for the maximum number of emulated CPUs - as shown in the right column of the table above - must be available. If the available number of host CPU cores is below this number, CHARON-AXP will issue a warning message even if the requirements for the configured number of AXP CPUs are fulfilled. The CHARON-AXP software will work despite this warning if the requirements for the configured number of AXP CPUs are fulfilled.

Hyperthreading must be switched off completely. Disable hyperthreading 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 Hyperthreaded Core Sharing mode to None.

CPU type and speed

Since CHARON-AXP utilizes LAHF instruction in HP Alpha 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 while Intel introduced the instruction with the Pentium 4 G1 stepping in December 2005.

Concerning CPU speed the general recommendation is that higher CPU frequency is better since it allows better emulated HP Alpha performance. The minimal 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 run on one host.
The minimum host memory 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

When installed, CHARON-AXP takes approximately 50 MB of disk space for its files, not counting any virtual HP Alpha disks/tapes (which appear as standard files).
When virtual HP Alpha disks/tapes are used to represent HP Alpha disk drives / magnetic tapes, the disk/tape image files have the same size as the equivalent HP Alpha diskhardware, regardless of their degree of utilization. So the total amount of a disk space required for CHARON-AXP can be calculated as a sum of the disk/tape images sizes plus 50 MB plus space required for the normal host system.

Ethernet adapters

CHARON-AXP networking assumes 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 etc. It is also possible to use virtual network interfaces, but in consideration of performance, it is recommended to use physical ones only.

In case of VMware-based CHARON host it is mandatory to use "E1000" virtual network adapter. Please avoid usage of "E1000E" adapter since it may lead to problems with some TCP/IP services!

Software Requirements

  • Fedora Core Linux version 20

  • Red Hat Enterprise Linux version 6.2-6.5, 7 (excluding 'ncu' utility)

Host system preparation

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

  • On server side (where network license will reside): open port 1947 for both TCP and UDP

  • On clients side: open UDP ports 30000-65535

  • Both on server and client sides: setup default gateway

Please consult with your Linux User's Guide on details.

If stricter firewall rules are required, it is possible to open the ports 30000-65535 and 1947 only for the "/usr/sbin/hasplmd" daemon.

Make sure that CHARON host has all the recent updates. In case if it is impossible install at least "tunctl" library (Red Hat Linux 6.x only) from distribution media ("Packages" folder) in the following way:

Consult with your Linux User's Guide for more details.

 

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:

          

  2. Create a special directory for the CHARON-AXP distribution and copy the TAR.GZ files there. Set this directory as the default with a "cd" command as shown in the following example:

    Back to Table of Contents

Distribution preparation

  1. Extract the content of the distribution TAR.GZ files to the current directory:

    where:

    Example (The "PRODUCT" field is absent):

    As result, a new directory "charon-axp-<PRODUCT>-<VER>-<BN>.<VC>.<ZZ>" will be created.
     

  2. Switch to the directory, created by "tar" on the previous step:

    Example:

         

  3. The "main" RPM files of CHARON-AXP products are:

        
    The distribution directory also contains the following RPM files with additional material, libraries and utilities:

    Example:

    Back to Table of Contents

Installation

Issue the following command to install all the RPMs in the directory:

# yum install *.rpm

Network Configuration Utility ("ncu") package cannot be installed on Red Hat Linux 7.

To install all CHARON-AXP packages except the "ncu" one issue:

Enter "y" to agree to install all the listed packages.

Example:

Dependencies Resolved
================================================================================ 
Package Arch Version Repository Size 
================================================================================ 
Installing:
aksusbd i386 2.4-1 /aksusbd-2.4-1.i386 3.0 M
charon-base x86_64 4.6-16803 /charon-base-4.6-16803.68704.fc20.x86_64 15 M
charon-hasp x86_64 4.6-16803 /charon-hasp-4.6-16803.68704.fc20.x86_64 3.3 M
charon-axp-es40
x86_64 4.6-16803 /charon-axp-es40-4.6-16803.68704.fc20.x86_64 17 M
charon-ncu x86_64 4.6-16803 /charon-ncu-4.6-16803.68704.fc20.x86_64 15 M 
Transaction Summary
 ================================================================================
Install 5 Packages 
Total size: 39 M
Installed size: 39 M
Is this ok [y/N]: y

Check that the installation process has completed successfully.

Example:

Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : aksusbd-2.4-1.i386 1/5 
Starting aksusbd (via systemctl): [ OK ]
Installing : charon-base-4.6-16803.x86_64 2/5 
Installing : charon-hasp-4.6-16803.x86_64 3/5 
Installing : charon-axp-es40-4.6-16803.x86_64 4/5
Installing : charon-ncu-4.6-16803.x86_64 5/5 
Verifying : charon-base-4.6-16803.x86_64 1/5 
Verifying : charon-hasp-4.6-16803.x86_64 2/5 
Verifying : aksusbd-2.4-1.i386 3/5 
Verifying : charon-axp-es40-4.6-16803.x86_64 4/5
Verifying : charon-ncu-4.6-16803.x86_64 5/5  
Installed:
aksusbd.i386 0:2.4-1 charon-base.x86_64 0:4.6-16803 
charon-hasp.x86_64 0:4.6-16803 charon-axp-es40.x86_64 0:4.6-16803
charon-ncu-4.6-16803

Complete!

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

# . /etc/profile.d/charon_*

Note that Network Configuration Utility ("ncu") package has the following dependencies:

  • ethtool

  • bridge-utils

  • tunctl

  • net-tools

  • NetworkManager

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

CHARON-AXP home directory

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

Directory

Description

/bin

Contains all executables

/cfg

Contains templates of configuration files

/lib

Contains product libraries

/doc

Contains documentation

/log

Contains log files

/disks

Contains disk containers

/drivers

Contains CHARON drivers

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

Specific user account creation

Create a specific account "charon" for running CHARON:

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

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

# usermod -G disk,tape,cdrom,dialout,lock -g <user name> <user name>

Example:

# usermod -G disk,tape,cdrom,dialout,lock -g tommy tommy

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

License installation

Regular HASP USB dongle

If CHARON license represents a regular USB dongle just connect it to the host USB port.

If CHARON host is accessed remotely please note that regular HASP licenses cannot be displayed and used in this case. As workaround it is possible to install CHARON as daemon. This procedure will be described later.

Network HASP USB dongle

If 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 providing it to other hosts on local network in the same time) or to install it on some local network "server" for remote access from this particular host.

In case of remote usage:

  • Copy aksusbd-2.4-1.i386.rpm and charon-hasp-4.6-<build>.68704.<OS identifier>.x86_64.rpm files (see above) to the server to some directory, for example "/temp"

  • Login as "root" to the server

  • Switch to that directory

  • Install the copied file using "yum"
    Example:

  • Connect the network HASP dongle to the server USB port.

 

Network HASP (red dongles) licenses have no restrictions with remote access

Software license

If CHARON license is a software license (SL) it is required to install it on the host using the following procedure:

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

  2. Send the resulting file to STROMASYS. In return STROMASYS will provide you with a "*.v2c" file, for example "your_license.v2c"

  3. Copy the received "your_license.v2c" file to CHARON host to any folder then invoke the system default web browser and enter URL http://localhost:1947 to display "Sentinel Admin Control Center" (ACC) web interface. This interface allows you to view and manage CHARON licenses.

  4. In the ACC use the following menu items: first "Browse" for the "your_license.v2c" file and then secondly "Apply File"

  5. Ensure that the software license appears now in the "Sentinel Keys" menu of the ACC.

 

Alternatively it is also possible to use "hasp_update" utility for applying ".v2c" file.

 Network-wide software licenses have no restrictions with remote access, whereas regular software licenses cannot be displayed and used in this case

So called "Provisional" (demo) license does not require collecting fingerprint. For its installation proceed right with the action (4) of the sequence above

License validity verification

Check available CHARON license validity. To do that invoke the hasp_srm_view utility to make sure that CHARON license is visible and looks Ok:

  • Text of the license is displayed correctly by the hasp_srm_view utility, no error messages are shown

  • Content of the license looks correct. For example license number, major and minor versions, minimum and maximum build numbers, CHARON-AXP products and allowed hardware (CHARON-AXP models) should be checked. More details on the license content can be found in the CHARON-AXP Licensing chapter of this Guide.

Example:

# hasp_srm_view 

License Manager running at host: XEON4WAYW7
License Manager IP address: 192.168.1.22 

HASP Net key detected 

The Physical KeyId: 354850588
CHARON Sentinel HASP License key section
Reading 4032 bytes 

License Manager running at host: XEON4WAYW7
License Manager IP address: 192.168.1.22 

The License Number: nes
The License KeyId: 354850588
The Master KeyId: 1712849125
Release date: 16-JAN-2014
Release time: 17:53:41
Update number: 8
End User name: Net-Time 
... 

Reminder: If CHARON host is accessed remotely please note that regular HASP licenses cannot be displayed and used in this case. As workaround it is possible to install CHARON as daemon. This procedure will be described later.

Troubleshooting

If CHARON license content cannot be displayed by 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 URL http://localhost:1947 to display "Sentinel Admin Control Center" (ACC) web interface.

  2. Click on "Sentinel Keys" link to open up "Sentinel Keys Section" page

  3. Make sure that one and only one CHARON HASP or SL license is present.

Problem

Action

Problem

Action

No license is displayed

Make sure that all the recommendations above about remote access to the host are fulfilled (if remote access takes place), 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 incorrect

Contact STROMASYS as soon as possible.

Several License keys / SLs are displayed

Remove all of them and leave only the one provided by STROMASYS for just installed version of CHARON.

Removing licenses can be done by physical disconnection of the corresponding USB HASP keys from CHARON host and physical disconnection of the network HASP keys from all hosts on local network (or by disabling remote access to network licenses from CHARON host - see detailed explanations below). Software licenses can also be uninstalled with hasp_srm_view utility "-tfr" option in the following way:

# hasp_srm_view -tfr <Key ID>

Example:

# hasp_srm_view -tfr 12345678

It is also possible to disable access to network licenses if just a local license must be used: Click on "Configuration" link to open up "Configuration for Sentinel Manager" page. Uncheck "Allow Access to Remote Licenses" and "Broadcast Search for Remote Licenses" checkboxes from the "Access to Remote License Managers" tab, then press "Submit" button to apply changes.

It is also possible to leave several licenses available to CHARON-AXP at the same time, but in this case you have to specify in CHARON-AXP configuration file what license must be used.

Example:

It is also possible to have one "main" and one "backup" licence in case if the main license becomes not accessible:

CHARON-AXP checks its licences from time to time starting from main license and if it is not accessible it tries to access backup license

Network configuration

In most cases it is assumed that CHARON will use network. In this case some important steps must be performed, since CHARON requires a dedicated network interface cleared from any other protocols including TCP/IP.

Two ways of network configuration are possible:

The second way is a way simplier, so use manual approach only in absence of "ncu" utility or impossibility to use it.

Configuration with NCU utility

Login as root. Type "ncu" and press Enter. The following menu will appear:

# ncu
CHARON Network Configuration Utility, STROMASYS (c) 2015 Version 1.4 

Interfaces Dedicated to State
---------- ------------ ------------
eth0       host         connected to host
eth1       host         connected from host
lo         host         unmanaged from host

==================================================================
bridge name bridge id STP enabled interfaces

select action:
1 - Dedicate to CHARON
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Print status
6 - Exit
:> 1

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

"ncu" offers several options:

  • Dedicate interface to CHARON (press "1")

  • Release interface to host (press "2")

  • Create a bridge between a chosen physical network interface and the Linux virtual network and create a number of virtual network interfaces (press "3")

  • Remove the Linux virtual network and all the created virtual network interfaces (press "4")

  • Print status (press "5") - use it to display status of network interfaces and the menu shown above

  • Exit (press "6")

In the example above we see 2 network interfaces - "eth0" and "eth1", both of them are dedicated to host, but host uses only the interface "eth0".

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

Enter "1", then type "eth1" and press Enter:

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

select action:
1 - Dedicate to CHARON
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Print status
6 - Exit
:> 5

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

Interfaces Dedicated to State
---------- ------------ ------------
eth0       host         connected to host
eth1       CHARON       disconnected from host
lo         host         unmanaged from host

==================================================================
bridge name bridge id STP enabled interfaces

select action:
1 - Dedicate to CHARON
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Print status
6 - Exit

Enter "6" to return to console prompt.

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

Manual Configuration

Choosing network interface

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

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:52:0A:A9:1E
... 
eth1 Link encap:Ethernet HWaddr 00:C0:26:60:FB:15 
...
eth2 Link encap:Ethernet HWaddr 00:1A:92:E1:3F:7F

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



© Stromasys, 1999-2025  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described. 
Need fast, reliable migration? We have done it countless times. Talk to an expert