In some cases it is required to activate the floating license server on the computer which is disconnected from the Internet or when due to internal reason (firewall, for example) or activation server issues it is not possible to follow regular Floating license activation procedure.
This article describes the offline activation procedure for the license server and the process of starting the license server, after receiving valid license files from Agisoft support team:
- Floating license server offline activation procedure
- Starting the license server after receiving offline license files
- Configuration on the client's side
- Offline deactivation of the license server
Floating license server offline activation procedure
To perform the offline activation of the floating license server, please download additional utility (activate) and run it from the computer where the license server would be run using the following command parameters:
activate.exe 1111-2222-3333-4444 C:/Windows/Temp/request-fls.act --offline --product rlm_server
./activate 1111-2222-3333-4444 /var/tmp/request-fls.act --offline --product rlm_server
activate 1111-2222-3333-4444 ~/Desktop/request-fls.act --offline --product rlm_server
Instead of mock license key (1111-2222-3333-4444) please use your FLS activation key.
In case the license server should be run in the virtual environment, please generate additional request file for that purpose:
activate.exe 1111-2222-3333-4444 C:/Windows/Temp/request-vm.act --offline --product rlm_server_enable_vm --no-rehost
./activate 1111-2222-3333-4444 /var/tmp/request-vm.act --offline --product rlm_server_enable_vm --no-rehost
activate 1111-2222-3333-4444 ~/Desktop/request-vm.act --offline --product rlm_server_enable_vm --no-rehost
The links to activate utility are below (please do not distribute them without our confirmation):
The generated request files should be sent to us via email (to firstname.lastname@example.org) or via helpdesk ticket portal, also do not forget to specify the floating license key to be activated on the license server (first one or two sections of the key would be sufficient) and number of seats to be activated.
Agisoft support team will provide back the rlm_server and vm_enable license files and also the floating license file associated to the order.
Starting the license server after receiving offline license files
Once you have the license files for the floating license server (rlm_server.lic), VM-enable (vm-enable.lic) and floating license itself (floating.lic) you need to start the license server utility.
2.1. Download FLS archive using the link corresponding to the OS used on the computer that is intended to be used as a license server:
Linux 64bit: https://s3-eu-west-1.amazonaws.com/download.agisoft.com/agisoft-rlm-server_amd64.tar.gz
2.2. Unpack the rlm-server archive to the folder where from the license server will be started.
2.3. Put the license files received from Agisoft support to the directory where to rlm-server tools are unpacked.
2.4. Run rlm from the same directory.
2.5. Open web-interface on the Reprise License Server Administration panel in the Internet browser http://server_ip_address:5054
(for example: http://127.0.0.1:5054).
2.6. Press Status button in the left side menu of the loaded web-interface and get to the ISV servers table.
2.7. In the ISV Servers table click on "agisoft" button in the Server Status column to access the license pool status - it should display the number of licenses corresponding to the available license files.
On the client's side:
3.1. As for the client side for the floating licenses, on Windows usually licenses are broadcast automatically, alternatively you can put single-line license file to Metashape Professional installation folder.
the default installation folder is C:/Program Files/Agisoft/Metashape Pro/
you need to put this license file to the directory where MetashapePro is unpacked to.
you need to put the license file either to the MetashapePro application bundle contents: MetashapePro.app/Contents/MacOS/ (right click on MetashapePro.app and choose Show Package Contents option from the context menu), or to the following directory: /Library/Application Support/Agisoft/Metashape Pro/
The file should have .lic extension, like server.lic, for example, and should contain the following line:
HOST FLS_address any the_port_number
HOST 192.168.10.100 any 5053
FLS_address - could be computer name or IP address,
the port number - 5053 by default.
the bold words ("HOST" and "any") shouldn't be changed.
Alternatively to .lic file you can create agisoft_LICENSE environment variable and define it in port@address format, for example:
After setting up environment variable system reboot is required.
3.2. By default the communication with the license server is performed via two TCP ports: RLM-server port (5053 by default) and ISV-server port (not fixed by default and first free port is used).
3.3. For the client nodes running macOS it is required to create an additional auxiliary directory and give full access rights to it, in order to allow the use of the floating licenses. If the directory doesn't yet exist, please use the elevated privileges to create this directory and give the required access rights to it with the following two commands:
sudo mkdir "/Library/Application Support/Reprise"
sudo chmod 777 "/Library/Application Support/Reprise"
Offline deactivation of the license server
If the floating license server should be transferred to another machine or deactivated for any other reason (for example, due to planned hardware or system update), the offline deactivation request for the FLS key should be formed using the activate tool (see links in Floating license server offline activation procedure section).
activate.exe C:/Windows/Temp/deactivate-fls.act --offline --revoke --product rlm_server
./activate /var/tmp/deactivate-fls.act --offline --revoke --product rlm_server
activate ~/Desktop/deactivate-fls.act --offline --revoke --product rlm_server
Send the generated deactivation request file to email@example.com in order to complete the deactivation procedure. Then follow the license server activation procedure (in online or offline mode) when it is necessary to reactivate the license server.