Step-by-Step Tutorial on Installing and Configuring Your License Server

Step-by-Step Tutorial on Installing and Configuring Your License Server

Timothy Lv8

Step-by-Step Tutorial on Installing and Configuring Your License Server

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

Configuring the License Server

To use an Advanced Installer floating license you first need to install and configure the License Server. A running License Server is required when registering your copy of Advanced Installer.

https://techidaily.com

1. Install the license server

The license server is part of Advanced Installer. You must download and install the entire application on your server machine. Just copying the license server files over is not enough.

2. Launch the configuration wizard

Launch advinstlicenseserver.exe from the /bin/x86 subfolder of the Advanced Installer install directory.

NoteThe license server configuration process requires Administrator privileges.

3. Set a port number

The first setting is the license server port number. It will be used by client Advanced Installer instances to connect to the server.

Set an unused port number in the appropriate field and press [Next ] button.

License Server Configuration Wizard

The License Server Wizard will automatically check if the specified port is open. It will also configure the Windows Firewall to allow access to this port. If the port is blocked by an external firewall, an error message will be shown.

https://techidaily.com

4. Specify your license key

If your server machine has an active Internet connection, you can enter your_License Key_ and press [Next ]. The wizard will automatically download the license file and finish the configuration.

If no Internet connection is available, you can use the “I would like to register by email” option. We will require your Computer ID along with the License Key to generate and return you a license file.

Register License Server

https://techidaily.com

5. Configuring the License Server from Command Line

The License Server could be also configured using Command Line, by calling our tooladvinstlicenseservercli.exe from the /bin/x86 subfolder of the Advanced Installer install directory.

Importantadvinstlicenseservercli.exe requires Administrator privileges so it must be run from an Administrator Command Prompt

https://techidaily.com

5.1 The syntax for configuring the License Server is:

      advinstlicenseservercli.exe   /ConfigureLicenseServer   <floating_license_id>  <license_server_tcp_port>
      

Copy

Parameters:

  • <floating_license_id> - The License key
  • <license_server_tcp_port> - The License Server port number

5.2 The syntax for restarting the License Server is:

      advinstlicenseservercli.exe   /RestartLicenseServer  [-stoppreviousservice]
      

Copy

Parameters:

  • -stoppreviousservice - Use this parameter if you have a License Server of an older version of Advanced Installer running on your machine. This will stop the service associated with the old version of the License Server and will start the new version.

5.3 The Syntax for uninstalling the License Server is:

      advinstlicenseservercli.exe  /UninstallLicenseServer
      

Copy

6. Configure the license server page

Access the license server page by going tohttp://[servername]:[port]/admin in your web browser.

Check the available registered licenses, add the computers that use them, and set the priority level of each computer.

Check “Log license incidents” to enable logging the license server. The log is created in %ALLUSERSPROFILE%\Caphyon\License Server\licenseincidents.json on your license server computer.

Register License Page

ImportantIf one of your computers is a Build Server, or you just want to give priority to a certain computer in case of a simultaneous request to use the license. you could set itsPriority Level to Build Server.

https://techidaily.com

7. Limit access to the license server page

Limiting access to the license server page can be done by following these steps:

1. Create an empty JSON file in C:\ProgramData\Caphyon\License Server and name it accesslist.json.

2. Copy and paste the code below into the new JSON.

“FormatVersion”: 1,
“AccessList”: [

 "Path": ["/admin", "/admin.html", "/getlicense"],
 "Deny": [],
 "Allow":[]

]

Copy

3. Add the IPs of the computers that are allowed access to the license server page; if left empty anyone from your network can access the page.

“Allow”:[“11.0.0.1” , “11.0.0.2”]

Copy

ImportantTo deny access to a few specific computers, add their IPs to Deny and leave Allow empty.

ImportantFQDN (fully qualified domain name) is supported in Allow and Deny list. To obtain the FQDN of a computer use ping -a command line.

Caution!Using FQDN can delay license acquiring from the server even when the access list is not used. The FQDN resolve can be disabled from Admin panel (http://[servername]:[port]/admin) by uncheking Resolve IP to fully qualified domain name (FQDN) option.

https://techidaily.com

8. Register using the license server

With a running license server, you can now register any Advanced Installer instance. Start Advanced Installer, access the “Help > Register” menu inside the application and select the “by using a license server” option.

Register Advanced Installer

https://techidaily.com

After specifying the license server host name and port number, you can click[Next ] to finish the registration. Your current Advanced Installer instance will use one of the available license slots.

License Server Address

TipOnce an Advanced Installer copy is registered with a license server, it stays permanently registered. You don’t need to re-register every time you edit a project.

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Step-by-Step Tutorial on Installing and Configuring Your License Server
  • Author: Timothy
  • Created at : 2024-10-09 23:53:06
  • Updated at : 2024-10-10 21:54:57
  • Link: https://fox-within.techidaily.com/step-by-step-tutorial-on-installing-and-configuring-your-license-server/
  • License: This work is licensed under CC BY-NC-SA 4.0.