X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



5053 Rate this article:
No rating

License manager boot time setup script for IDL 7.1/ENVI 4.7 and before on SuSE Linux

Topic:
The IDL 7.1/ENVI 4.7 and later license manager installation script (lmgrd_install) includes configuation support for SuSE Linux. If the operating system is compatible, we recommend that you download and install the latest IDL license manager distribution.


The license manager boot time setup script (lmgrd_install) for IDL 7.0.x/ENVI 4.6.x and before for Linux is tailored for Linux distributions based on the Red Hat and Fedora Core system directory structure.

However, Linux distributions based on the SuSE Linux distribution have a different system boot script file directory configuration than that for Red Hat and Fedora Core.

In order to configure a SuSE Linux system to start the license manager at boot time, the following steps and provided custom setup script can be used. Root or sudo privileges will be required.Discussion:
  1. Create a UNIX formatted plain text shell script file named "mgrd_install_suse" (see script contents at bottom) and save it to the "bin" subdirectory of the main IDL directory of your IDL or ENVI installation. For example:

      /usr/local/itt/idl64/bin/lmgrd_install_suse

  2. Give the file read/execute permissions. For example:

      chmod 544 /usr/local/itt/idl64/bin/lmgrd_install_suse

  3. Cd to the location of this file and then run it with root privileges. For example:

      cd /usr/local/itt/idl64/bin
      sudo ./lmgrd_install_suse

Then assuming that the proper license file is in place, rebooting the machine should cause the license manager to automatically start.

Contents of file "lmgrd_install_suse":

#!/bin/sh
# This script is intended to be run by the administrator of a UNIX system
# who desires to start the FlexLM license server at system boot time.
# A detailed description of the actions performed by this script are
# contained in the sys5_idl_lmgrd script.
#
# Usage: This script must be run in the directory that contains
# the 'sys5_idl_lmgrd' script (/bin/).
#

if [ ! -f ./sys5_idl_lmgrd ] ; then
echo "Cannot find sys5_idl_lmgrd."
echo "Please run this script from the bin subdirectory of your IDL installation."
exit 1
fi

UNAME=`uname`
case $UNAME in

"Linux")
echo "(This script expects a SuSE Linux -based system.)"
echo "Setting up IDL license manager to start a boot time..."
echo
cp sys5_idl_lmgrd /etc/init.d/
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/init.d/rc2.d/S99sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/init.d/rc3.d/S99sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/init.d/rc4.d/S99sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/init.d/rc5.d/S99sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/init.d/rc0.d/K01sys5_idl_lmgrd
echo Done.
;;
      
*)
echo "$APPLICATION: Unable to recognize system architecture."
exit 1
;;

esac


Solution:
[Edit this field in the IDL-based Tech Tip Editor, v70]

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »