Installation Guide HRS10 6
Installation Guide HRS10 6
Contents
HRS 10.6 SUPPORTED PLATFORMS ..................................................................................................... 4
LINUX Platform...................................................................................................................................... 5
Software Installation ............................................................................................................................ 5
Installation Log .............................................................................................................................. 6
Software Configuration ................................................................................................................ 7
Default Data Location ................................................................................................................... 7
License File ............................................................................................................................................ 7
Using Flexlm to Read the License File.......................................................................................... 9
First Installation of the License – Starting the License Manager Daemon................................ 9
Upgrading the License Server in Linux....................................................................................... 10
Using the License Server Utility lmutil ....................................................................................... 11
Client Machine License Set-up for Linux ................................................................................... 11
WINDOWS Platform ........................................................................................................................... 14
Software Installation .......................................................................................................................... 14
License File .......................................................................................................................................... 14
Setting-up and Starting the Flexlm License Server ................................................................... 16
Configuring the License Server Manager as a Windows Service ............................................. 18
Starting the License Server ......................................................................................................... 23
Upgrading the License Server in Windows................................................................................ 24
Restart the license daemon........................................................................................................ 25
Client Machine License Set-up for Windows ............................................................................ 27
DONGLES ............................................................................................................................................. 30
Installing the Dongle Driver on RedHat Linux ................................................................................... 30
Installing the Dongle Driver on Windows 64 bit ............................................................................... 31
Inserting and Testing the Dongle ....................................................................................................... 32
Setting-up and Starting the Flexlm License Server for the Dongle ................................................. 32
Dongle License .................................................................................................................................... 33
Managing Multiple HRS License Files on One System...................................................................... 33
TECHNICAL SUPPORT & ASSISTANCE ................................................................................................ 34
APPENDIX A: Linux Installation Example .......................................................................................... 35
APPENDIX B: Installation Log Example ............................................................................................. 42
APPENDIX C: General Troubleshooting Hints on License Installation ............................................. 44
Anti-Virus Issues .......................................................................................................................... 44
Updated for HRS 10.6 2 Last Updated: September 2020
HRS 10 Software & License Installation Guide
LINUX
• CentOS 6.6+
• CentOS 7
• RedHat Enterprise 6.6+
• RedHat Enterprise 7
• Debian 7
WINDOWS
• Windows 7
• Windows 8
• Windows 10
LINUX Platform
Software Installation
1. Make sure you have downloaded or obtained the latest HRS 10 .tar file.
2. Using the mkdir command create an installation directory.
e.g. mkdir/apps/HRS_Installation_Directory
3. Save the HRS 10 .tar file to the directory created above.
4. Using tar commands, extract the software from the .tar file.
e.g. tar –xvf linux.tar
5. Using the change directory command, navigate to the SETUP.sh file.
e g. cd /apps/HRS_Installation_Directory/linux_cd.
6. List the contents of the directory using the ls command
e.g. ls gives result ( . .. SDK SETUP.SH Unix)
The Unix directory contains all of the files necessary for the installation of Hampson-Russell
software.
The SETUP.SH file is the executable that installs the software from the directory to the installation
directory created in steps above.
The SDK directory contains additional plug-in/development software that allows the user to build
plug-ins in HRS 10. Documentation outlining the steps for building customized plug-ins and
system requirements can be found in Appendix C.
7. Run the setup script to install the software.
e.g. setup.sh
8. The script will guide you through the installation process.
For context sensitive help, type “help” at any prompt.
To customize the installation, use command line arguments.
To see a list of command line options, type “setup.sh – i”.
To access the README file, type “setup.sh -R”.
When the script starts, it displays a table showing the amount of disk space required by the
program to install the software. This includes the space needed to install the common elements
of the software (including demo data).
You should confirm that there is enough disk space available to install the software before
proceeding.
To continue the installation, type "C" to continue.
The installation prompts for the location of the directory for the software files.
The installation then asks if a new license file was received and if so, prompts for the location of
that file.
Then a menu lists all of the modules that are available to install. To select one or more of these
options, type the corresponding numbers, with spaces between multiple entries and press the
Return key. To select all the options, type the wildcard “ * ” symbol and press the Return key.
For a more detailed installation example, see Appendix A.
Installation Log
When the SETUP.SH script runs, the program creates a log of the installation process. The file
install.log will be written in the installation directory created in the previous steps. This file
records which Hampson-Russell software has been installed. We recommend that you keep the
file in this location for later reference.
For a more detailed installation log example, see Appendix B.
Software Configuration
You can configure the software using the script configure_programs, which is in the installation
directory.
Run the script with the command: ./configure_programs to prompt for the location of
the installation directory and then search for existing Hampson-Russell software in that
directory.
You are then presented with a menu of programs and may select one or all to reconfigure.
If you add a new program or license file and need to re-configure, run the script with the following
commands:
./configure_programs –p (installation directory location) –e (environ file location) -l (full path
and name of the license file).
License File
You should have received an HRS 10 license file specific to your designated Unix/Linux host. If
you have lost or misplaced your license file, please contact your regional Hampson-Russell
representative to retrieve it. Make sure to create a copy of your license file for back-up.
The last major version of HamspsonRussell Geoview was HRS 10.4 and the HRS 10.4 license
enables features in HRS 10.5 and HRS 10.6, both minor versions of HRS 10.4.
A typical HRS 10 license file for the Unix/Linux platform will look similar to this:
SERVER hostname a1b2c3d4e5f6
USE_SERVER
DAEMON Hamp-Russ Hamp-Russ.exe
INCREMENT HRS-avo_hist Hamp-Russ 10.4 21-sep-2019 3 2D9C635303C8 \
SUPERSEDE vendor_info=HRS-AVO dist_info="CGG GeoSoftware" \
ISSUED=21-Jan-2018 ck=111 SN=C15LQJTEST01 START=21-Jan-2018 \
SIGN=98DCBA5CC7AA
INCREMENT HRS-emerge_hist Hamp-Russ 10.4 21-sep-2019 2 8F5B29DE54D4 \
SUPERSEDE vendor_info=HRS-Emerge dist_info="CGG GeoSoftware" \
ISSUED=21-Jan-2018 ck=169 SN=C15LQJTEST01 START=21-Jan-2018 \
SIGN=0779135A18D4
The SERVER line defines the only valid host this license can be installed on. You can manually edit
the server name without invalidating the license file. You cannot change the host ID though – in
this case a1b2c3d4e5f6. The customer may choose to manually include a port number on the
SERVER line.
The USE_SERVER line makes it possible to use this license file to point a client machine to the
license server defined on the SERVER line. If the host ID of the current machine does not match
the host ID defined on the SERVER line, the software will go into ‘client’ mode and try to contact
the license server specified on the SERVER line.
The customer may choose to manually include a port number on the SERVER line. For example,
SERVER hostname a1b2c3d4e5f6 21987
Here, 21987 will be the TCP/IP port number used by the license server manager.
A valid number is any unused port number in the range 1 to 65535. If you specify a port number
greater than 65535, the client fails to establish a connection with the license server manager. If
no port number is specified, one of the default ports in the range 27000 to 27009 is used.
You must specify a port number when the SERVER line defines license servers configured for
three-server redundancy.
The DAEMON line indicates this is a Hamson-Russell license file. The daemon executable, Hamp-
Russ.exe, must be found by the FLEXnet server process for this license to function properly. The
customer may edit the path to the daemon executable or insert a path the options file. That will
not invalidate the license file.
The INCREMENT lines enable the licensed features. The SUPERSEDE and ISSUED fields work
together to make sure the INCREMENT line supersedes all other INCREMENT lines for the same
feature with previous issue dates.
Updated for HRS 10.6 8 Last Updated: September 2020
HRS 10 Software & License Installation Guide
The SN field contains the license request # and allows us to link the license file to a particular
customer contract in Navision.
The vendor_info field contains the feature description and dist_info contains our company name.
The START field indicates the first day the license can be used on.
The license file should have proper file permissions for each user and/or machine that will be
operating the software.
Follow these steps to set up the license file:
1. Place the license file in a location that the users machine can access the file.
2. Make the license manager (Flexlm) aware of your new license.
3. Configure Hampson-Russell to use the new license.
where prepending debug_log_path with the + character appends logging entries. For
example,
./lmgrd –c /apps/flexlm/license.txt –l /apps/flexlm/license.log
We recommend you start lmgrd by a user other than root since processes started by root can
introduce security risks.
Make sure you always use the lmgrd executable and the license daemons included in the latest
CGG GeoSoftware distribution. Using outdated versions of these executables will result in a slow
software response time.
Updated for HRS 10.6 9 Last Updated: September 2020
HRS 10 Software & License Installation Guide
Hampson-Russell software sets 20 minutes that the license server will wait for a heartbeat before
checking in all licenses issued to a client project, so this time period will be enough not to disrupt
any work being performed with the software. Stop the current license daemon by following
steps:
1. Change the directory to the Installation directory created in HRS10.6.x or earlier installation:
e.g. cd /apps/HRS10.x_Installation_Directory/lmgr
2. Stop the license daemon. The command lmdown is used to gracefully shutdown all license
daemons. This will shut down the Hamp-Russ daemon listed in the license file:
e.g. ./lmutil lmdown -c /apps/flexlm/license.txt -vendor Hamp-Russ
As a last resort, use the linux/unix commands to stop the license daemon if the command
lmdown is not able to stop the license daemon.
MAKE SURE TO STOP AND RESTART THE LICENSE DAEMON WITHIN 20 MINUTES
Using the License Server Utility lmutil
Installed at the lmgr directory, lmutil is as a wrapper that runs the individual command as lmutil
command.
e.g. ./lmutil lmstat
Note, ./lmutil –help will display usage information and exits.
Running the script will make your new license available to all Linux client machines.
Note, if you have multiple valid HRS license servers running on different machines, you can use
the license search path to make all your licenses available to HRS applications on your client
machine. The license search path is set on your machine using the HAMP-RUSS_LICENSE_FILE or
LM_LICENSE_FILE environment variable. HRS will try each license server on the license search
path in order until it succeeds or get to the end of list, so the order of license servers listed in the
license seach path does matter. The license search path entries are separated by colons ‘:’, and
can consist of the license file full path and setting port@hostname or @hostname.
For example, there are three HRS license servers with hostname – global-server (port=1234),
denver-local, calgary-local. And the license features in the license server denver-local/calgary-
local are only allow to be accessed for the users in Denver/Calgary. For the machines in Denver,
the path should be @denver-local:1234@global-server. For the machines in Calgary, the path is
@calgary-local:1234@global-server. For the machines in other location, the path is
1234@global-server.
One of following options can be used to set the license search path using environment variable
HAMP-RUSS_LICENSE_FILE or LM_LICENSE_FILE:
1. In file $HOME/.flexlmrc, set HAMP-RUSS_LICENSE_FILE e.g.:
HAMP-RUSS_LICENSE_FILE=/app/HRS/evaluation-license.txt:@denver-
local:1234@global-server
WINDOWS Platform
Software Installation
1. Make sure you have downloaded or obtained the latest HRS 10 .zip file.
2. Unzip the file.
3. Click setup.exe in the unzipped folder.
4. Run through the InstallShieldWizard prompts.
License File
You should have received an HRS 10 license file specific to your designated Windows host. If you
have lost or misplaced your license file, please contact your regional Hampson-Russell
representative to retrieve it. Make sure to create a copy of your license file for back-up.
The last major version of HamspsonRussell Geoview was HRS 10.4 and the HRS 10.4 license
enables features in HRS 10.5 and HRS 10.6, both minor versions of HRS 10.4.
A typical HRS 10 license file for the Windows platform will look similar to this:
License file locked to a Ethenet Address:
SERVER hostname 0024d7c8c0c8
USE_SERVER
DAEMON Hamp-Russ Hamp-Russ.exe
INCREMENT HRS-avo_hist Hamp-Russ 10.4 21-sep-2019 3 2D9C635303C8 \
SUPERSEDE vendor_info=HRS-AVO dist_info="CGG GeoSoftware" \
ISSUED=21-Jan-2018 ck=111 SN=C15LQJTEST01 START=21-Jan-2018 \
SIGN=98DCBA5CC7AA
INCREMENT HRS-emerge_hist Hamp-Russ 10.4 21-sep-2019 2 8F5B29DE54D4 \
SUPERSEDE vendor_info=HRS-Emerge dist_info="CGG GeoSoftware" \
ISSUED=21-Jan-2018 ck=169 SN=C15LQJTEST01 START=21-Jan-2018 \
SIGN=0779135A18D4
Display the FLEXlm LMTOOLS window by navigating to Start > All Programs > HRS
Applications > HRS 10.X.X > License Manager (on Windows 7) or click Start and search for
HampsonRussell 10.6>License Manager (on Windows 8/10).
The license server information is configured from the resulting LMTOOLS by Flexera window.
When setting up the server, select the Configuration using Services option:
2. Specify the path to the License manager executable (lmgrd.exe) file. This file is usually
located in the unzipped Hampson-Russell > license_manager folder:
4. Specify the full path to the debug log file as that log file provides useful debugging
information. You can either enter a fully qualified path, or browse to the debug file that
this license server writes.
Note: To append logging entries, prepend the debug log file name with “+”, for example,
+C:\Flexlm\license.log
5. Click the Save Service button. When you install licenses in this manner, you can use the
services control toggle boxes to control the starting or stopping behavior of the license
server:
If you check the Use Services box, you make this license server manager a Windows
service, so the license manager will look for license information as a service. We
recommend this. Then you can check the Start Server at Power Up box, you set the license
server to run when the PC is rebooted (note: you must first select Use Services):
If the Flexlm license server has been set-up correctly, you will see a Server Start Successful
message at the bottom of the window:
If you have a HRS10.3.x or earlier license running on the license server, you must stop the current
license daemon and start the latest license daemon included in the latest CGG GeoSoftware
distribution.
The LMTOOLS version (or license daemon) to use with HRS 10.6 is v11.15.1.0. To check the
version number in the LMTOOLS window, click Help>About.
Hampson-Russell sets 20 minutes that the license server will wait for a heartbeat before checking
in all licenses issued to a client project, so this time period will be enough not to disrupt any work
being performed with the software.
Under the “Start/Stop/Reread” tab, check the “Force Server Shutdown” box and click “Stop
Server” to stop the highlighted service:
Note, if you have multiple valid HRS licenses, the license search path entries are separated
by semicolons ‘;’.
Start HRS 10 software by navigating to Start > All Programs > HRS Applications > Geoview or
click Start and search for HampsonRussell 10.6>Geoview:
If Flexnet License Finder prompts, select the Specify the License Server System option, click Next,
enter the name of the license server in the next dialog box, and click Next again to start up the
main Geoview program:
DONGLES
To run a dongle license, the user needs to install a proper FlexNet ID dongle driver on the license
server if it is not already installed.
2. If you have installed a dongle driver earlier, at a command prompt from the directory
“lmgr” of the installation, enter the appropriate command to :
rpm –e aksusbd
3. For the first time installation, decompress the file aksusbd-redhat-suse-7.6.tar.gz. The
directory “Sentinel_LDK_RedHat_and_SuSE_RPM_Run-time_Installer” contained the
dongle driver will be created.
3. If you have installed a dongle driver earlier, open a command (DOS) window, navigate to
the license_manager folder of the installation, run the following command:
FLEXID_Dongle_Driver_Installer.exe /remove
4. In a command (DOS) window, navigate to the license_manager \
FLEXID9_Windows_v7_60_x64 folder of the installation, enter the following:
haspdinst.exe -i
5. After the installation, do one of the following:
• Define the FlexNet environment variable FLEXID_LIBRARY_PATH to point to the
location (folder "license manager" of the installation) of the dongle shared object,
haspsrm_win64.dll.
• Manually copy haspsrm_win64.dll to %windir%/System32.
Insert the dongle device into the USB port on the license server. A light will appear in the
dongle when a successful connection has been made.
To verify that the dongle is working properly, open a command (DOS) window, navigate
to the license_manager folder and type the command ./lmutil lmhostid –flexid.
If the dongle works properly, the command should return an output that looks similar to
the following: The FLEXnet host ID of this machine is “FLEXID=9-41091e3d”:
Setting-up and Starting the Flexlm License Server for the Dongle
Please follow the same procedure as outlined starting on page 9 of this manual (for a Linux
license) or page 14 (for a Windows license). Note, before starting the Linux license server for the
Updated for HRS 10.6 32 Last Updated: September 2020
HRS 10 Software & License Installation Guide
dongle, define the FlexNet environment variable FLEXID_LIBRARY_PATH to point to the location
(the folder “lmgr” of the installation) of the dongle shared object libhasp_linux_x86_64.so.
Dongle License
A dongle license contains a hostname and a FLEXID number. A typical dongle license looks similar
to this:
It is important that the hostname in the license file matches the hostname of the machine exactly.
If the hostname does not match, you can edit the hostname in the license file with a text editor.
The FLEXID number cannot be edited.
APPENDIX A:
Linux Installation Example
======================================================================
HAMPSON RUSSELL SOFTWARE SERVICES LTD. CALGARY, ALBERTA, CANADA
======================================================================
Welcome to Hampson-Russell's CD install script; this script can install
AFI, AVO, EMERGE, ISMap, STRATA and PRO4D for the operating
systems listed in the table below, which also summarises the required
disc space for each program.
Please make sure you have space on the disc you want to install to for the
things you want to install and make sure you have write permission.
Linux
----------------------------------
mandatory 1065 MB
GEOVIEW 450 MB
AFI 60 MB
ISMap 90 MB
PRO4D 135 MB
-------------------------------------------
Full Install 1.8+ GB
o See the file readme.txt on the CD for full details about this script
o Houston, U.S.A.
Tel: +1 800 561-5479
E-Mail: [email protected]
o Calgary, Canada
Tel: +1 800 561-5479
E-Mail: [email protected]
o Villahermosa, Mexico
Tel: +52 (993) 310 4670 Ext 7010
E-Mail: [email protected]
o Rio de Janeiro, Brazil
Tel: +55 21 2126 7392
E-Mail: [email protected]
Updated for HRS 10.6 35 Last Updated: September 2020
HRS 10 Software & License Installation Guide
Have you received a new licence file from Hampson-Russell (yes/no) ? YES
Enter full path & filename of new licence file (ENTER to cancel):
apps/flexlm/license.txt
Your choice(s): *
Your choice(s): I
installing configuration scripts ...
installing common directories ...
bin ...
tar: Read 9216 bytes from -
NOTE: INSTALLATION WILL CONTINUE UNTIL
ALL FILES ARE EXTRACTED.
tar: Read 1024 bytes from -lmgr ..
tar: Read 7680 bytes from - lib ...
tar: Read 6144 bytes from -
Installation finished
1 -- set up GEOVIEW
software in: /apps/HRS_Installation_Directory
license in: /apps/flexlm/license.txt
2 -- set up AFI
software in: /apps/HRS_Installation_Directory
license in: /apps/flexlm/license.txt
3 -- set up ISMAP
software in: /apps/HRS_Installation_Directory
license in: /apps/flexlm/license.txt
4 -- set up PRO4D
software in: /apps/HRS_Installation_Directory
license in: /apps/flexlm/license.txt
5 -- set up PROMC
software in: /apps/HRS_Installation_Directory
license in: /apps/flexlm/license.txt
At this point you can choose END and the software will ask you for the location of
Acrobate Reader. Specify the location and continue to run configure programs.
If you wish to configure select programs instead of confiduring all the programs
you can do so by following the information below.
Note: You will not be able to launch the AFI program from
GEOVIEW if your answer is none. The AFI button will
be inactive in GEOVIEW.
Where did you install the license for the AFI software?
If you have not installed the license file somewhere else, you
can simply use the default. Otherwise, specify the complete
path to the license file.
Note: You will not be able to launch the ISMAP program from
GEOVIEW if your answer is none. The ISMAP button will
be inactive in GEOVIEW.
Where did you install the license for the ISMAP software?
If you have not installed the license file somewhere else, you
can simply use the default. Otherwise, specify the complete
path to the license file.
NOTE:
The Adobe Acrobat Reader is not provided with this installation.
Most of our programs do not use this reader to show the on-line
help, but it is used by our software to display the guide and theory
notes. The GLI3D program does use the Adobe Acrobat Reader to show
the on-line help. None of our software depends upon having the
reader to run correctly.
NOTE: You do not have permission to write to /usr/bin, so you cannot link
GEOVIEW to be in your path. If you would like to make
the links later, login as a user with permission to write in
/usr/bin and run this script again
APPENDIX B:
Installation Log Example
e.g. /apps/HRS_Installation_Directory/install.log
(22787) BEGIN: ********** 22787 **********
(22787) Mon Mar 1 11:05:33 CST 2010
(22787) user_john_smith
(22787) Linux Machine 2.6.25.16-SIrevC #1 SMP Thu Oct 30 15:34:26
CDT 2008 x86_64 x86_64 x86_64 GNU/Linux
(22787) /apps/HRS_Installation_Directory/linux_cd
(22787) installing l64_ from l64_
(22787) installing from/apps/HRS_Installation_Directory/linux_cd/
to /apps/HRS_Installation_Directory/
(22787) version SETUP.SH 1.12 10/10/10
(22787) command ./SETUP.SH
(22787) root
(22787) afi
(22787) autocal
(22787) avo
(22787) emerge
(22787) ismap
(22787) geoview
(22787) strata
(22787) elog
(22787) pro4d
(22787) promc
(22787) wlexchange
(22787) configure_programs init: 0
(22787) END: ********** 22787 **********
Line # Explanation:
APPENDIX C:
General Troubleshooting Hints on License Installation
This list provides some general debugging information:
• When you start the license server be sure that you direct the output into a local log file
where you can examine it. The log file often contains useful information. Examine it when
you have a problem, and be prepared to answer questions about it when you talk to a
support person.
• When you talk to a support person, be prepared with answers to the following questions:
• What kind of system is your license server running on?
• What version of the operating system?
• What system and operating system is HRS 10 Geoview running on?
• What version of HRS 10 geoview?
• What error or warning messages appear in the log file?
• Did the server start correctly? Look for a message such as:
server xyz started for: feature1 feature2
• Are you running other FlexEnabled products?
Anti-Virus Issues
If you are experiencing issues with the HRS application, please have your IT group review the anti-
virus logs and add an exception as needed to the local client or the company AV policies for the
HRS application installation.
APPENDIX D:
Using your own version of the QT libraries with Geoview