MATLAB: How to transition away from the Redundant Server (Triad) setup

I am interested in transitioning my Redundant (3) Server configuration to a Single (1) server setup. What steps do I need to perform on my client machines so that they see my new configuration?

Best Answer

The steps for transitioning your MATLAB client machines from a Redundant Server (3 servers) to a single server will depend on the method your client machines use to locate the license server:
Redundant Server to Single Server setup using environment variables
On your client machines, you will have an existing MLM_LICENSE_FILE (or LM_LICENSE_FILE) environment variable that follows this syntax:
MLM_LICENSE_FILE=port@hostname1,port@hostname2, port@hostname3
Change this value so that the environment variable only points to the single license server you have setup now. The syntax will look like this:
MLM_LICENSE_FILE=port@license_server_hostname
Redundant Server to Single Server setup using a network.lic file
On your client machines, locate the network.lic file that MATLAB is using. If you are unsure where to find this file on your computer, reference this article:
Where are the license files for MATLAB located?
Once you find the network.lic file, open it in a text editor. The syntax for the file will contain 3 SERVER lines. Delete the contents of this file and input the following syntax for your single license server instead:
SERVER {license_server_hostname} {license_server_HostID} 27000
USE_SERVER