X
5559 Rate this article:
3.0

[INTERNAL] How to move flexera and flexera-sv folders to a different directory than the default one on a license server

Berangere Casson

 

Starting with IDL 8.6/ENVI 5.4, the licensing system requires :

 

-     Read/Write/Execute permissions on the /harris/license/flexera and /harris/license/flexera-sv folders for each user of the software.

-     Read/Write permissions on the files contained in harris/license/flexera and /harris/license/flexera-sv folders for each user of the software.

-     Also, each time a user will check out a license, some files will be written in the /harris/license/flexera and/or /harris/license/flexera-sv folders

They are the requirements for all platforms  - Linux, Mac and Windows - and for all licensing modes  - i.e. node locked and floating -, and even for client machines of a license server. 

 

There could be some limitations due to those requirements:

-     Providing Read/Write/Execute permissions on the above installation folders in not always feasible

-     Some conflicts may occur when multiple users are accessing and writing in those folders at the same time, especially with client shared installation such as NFS installations.

 

One way to workaround such limitations is to move those flexera and flexera-sv folders to another directory and to create symbolic links to those new directories:

-     Flexera and flexera-sv folders will need to be located in a folder where it is easier to provide read/write/execute permissions

-     Also, for client shared installation such as NFS installations, those folders will need to be located in a folder which will be mounted locally on user systems (and not on the network mounted drive) to prevent conflicts.

 

Note: Read/write/execute permissions on the flexera and flexera-sv folders are mandatory to have the license system working, even if they are moved to a different directory.


 

In the example below the new flexera and flexera-sv folders are moved to the /tmp/harris folder. Of course this workaround can also be used to move the /tmp/harris folder to another directory if needed.

 

1. Procedure for Linux/Mac machines

 

     a.  Create new flexera and flexera-sv folders in a directory where read/write/execute permissions can be set for all software users

 

         mkdir /tmp/harris/License/flexera

         mkdir /tmp/harris/License/flexera-sv

     

    b. Provide read/write/execute permission to those folders for all users 

         chmod 777 /tmp/harris/License/flexera

         chmod 777 /tmp/harris/License/flexera-sv

 

    c. Delete or rename existing folders in the default installation directory

         cd /usr/local/harris/license

   mv flexera flexera.bak

         mv flexera-sv flexera-sv.bak

 

    d. Create symbolic links to the new folders

                        cd /usr/local/harris/license

         ln -s /tmp/harris/License/flexera flexera

         ln -s /tmp/harris/License/flexera-sv flexera-sv

 

 

2. Procedure for Windows machines

        a. Create new flexera and flexera-sv folders in a directory where read/write/execute permissions can be set for all software users 

   b. Provide read/write/execute permission to those folders for all users. Make sure that the properties of new folders are not "hidden" and not "read-only". 

       c. Delete or rename existing folders in the default installation directory: c:\program files\harris\license.

       d. Create symbolic links to the new folders. For example in DOS:

         mklink /d "C:\Program Files\Harris\License\flexera" "C:\ProgramData\Harris\License\flexera"

         mklink /d "C:\Program Files\Harris\License\flexera-sv" "C:\ProgramData\Harris\License\flexera-sv"


Note : Node-locked/local license configuration of a NFS-mounted Harris product installation shared by multiple computers is not supported. If you are in this configuration and cannot use a floating license and/or install the software locally on each user computer we recommend to contact Tech Support.

 

Note: On multiple users machines flexera and flexera-sv folders should be available for all users who access/use the same software installation: it is not possible to define one set of those folders per users for a given installation.

 

____________________________________________

HA created 10/24/2017 - Updated 4/11/2019  - by BC

HA reviewed by JU and DS on 10/30/2017 / Updated by CS (7/17/2020)