Starting Gurobi Remote Services

Starting Gurobi Remote Services

Important note: you only need to start Gurobi Remote Services if you are setting up a Compute Server or a distributed worker (for use in distributed algorihms). If you are not sure whether you need to start Gurobi Remote Services, you can examine the contents of your gurobi.lic file. If it contains the line CSENABLED=1, then you need Gurobi Remote Services. If it contains a line that begins with DISTRIBUTED=, and if you plan to run distributed algorithms, then you also need Gurobi Remote Services.

Gurobi Remote Services is a Linux service that allows one or more machines to perform Gurobi computations on behalf of other client machines. The set of services a server can provide will depend on your license. If you are setting up a machine as a distributed worker, no license is required. In this case, the only service provided by the server is to act as a worker in a distributed algorithm. If you have a Compute Server license, then servers running Gurobi Remote Services can provide a variety of services, including offloading computation from a set of clients, balancing computational load among the servers, and providing failover capabilities, in addition to acting as a distributed worker. In this case, be sure that your license key file has been installed before starting Gurobi Remote Services.

You'll find instructions for installing, starting, and stopping Gurobi Remote Services in the Cluster Setup and Administration section of the Gurobi Remote Services Reference Manual.

Note that Gurobi Remote Services is distributed as a separate installer (named gurobi_server8.0.0_linux64.tar.gz on the Linux platform). You'll need to download that file separately from our download page.

Next steps

Once you've set up Gurobi Remote Services, you should test the state of the server. Type this command on your server (assuming you have configured your Compute Server to use port 61000):

gurobi_cl --server=localhost:61000
If the output includes the following line:
Capacity available on 'localhost:61000' - connecting...
then Remote Services is ready for use.

Client programs will need to know how to reach your server. If you are using Gurobi Compute Server, this is typically done with a client license file. You should set that up now.