The recommended steps to upgrade your Compute Server (and Cluster Manager, if applicable) are:
- Stop Gurobi Remote Services
grb_rs
on each server. If you are running Remote Services as a service, you can stop it withgrb_rs stop
. - Stop the Cluster Manager
grb_rsm
, if applicable. - Download and install the new version of Gurobi Remote Services on each server (and the Cluster Manager, if applicable). When upgrading to a major version, set up the new license file on each server.
- Configure the new installation:
- Locate the existing configuration file(s) for your Compute Server(s) (and Cluster Manager, if applicable). The Compute Server configuration file can be found in the old Remote Services installation directory at
./bin/grb_rs.cnf
. The Cluster Manager configuration file can be found at./bin/grb_rsm.cnf
. - Verify that the settings listed in the configuration file(s) are correct.
- Copy the configuration file(s) to the appropriate location(s) in the new installation directory of Gurobi Remote Services.
- Locate the existing configuration file(s) for your Compute Server(s) (and Cluster Manager, if applicable). The Compute Server configuration file can be found in the old Remote Services installation directory at
- Update the appropriate environment variables on each server, so they point to the new installation directory.
- Remove all deprecated installation directories (e.g.
/opt/gurobi_server951/
) from each server. - Start the Gurobi Cluster Manager
grb_rsm
, if applicable. - Start Gurobi Remote Services
grb_rs
on each server. To start Remote Services as a service, usegrb_rs start
.
Note 1: In case you are not using the Cluster Manager but running a pure Compute Server environment, you can skip the steps related to the Cluster Manager.
Note 2: If you are running the new Compute Server(s) on the same machine(s) with the same settings before, it should not be necessary to update the client license files.
Upgrading client machines
After upgrading the Compute Server, all clients can also upgrade their Gurobi Optimizer version.
We highly recommend upgrading all clients to the latest version of our products once the Compute Server is upgraded. However, an upgrade from the client-side is optional, because backward compatibility is ensured for all minor and technical releases up to the previous major Gurobi release. The exact list of supported versions by your current Compute Server installation corresponds to the runtimes of your Compute Server, which can be found in the directory <installdir>/bin/data/runtimes
, where <installdir>
refers to your Remote Services installation directory.
If some clients choose not to upgrade, the only implication is that they will not be able to use the latest Gurobi version.