or as a service:
> grb_rs install
> grb_rs start
While these options are similar, there are some important differences to consider.
License file location
If the license file is not in one of the default locations, the service
grb_rs might not be able to read the environment variable
GRB_LICENSE_FILE. This is due to different environment settings for services.
We recommend placing the license file in the default location for your platform:
Log file location
It is not possible to specify a custom path for log file creation when running
grb_rs as a service; please refer to the documentation for further information. For information about rotating log files, see How does log rotation work with Gurobi Compute Server?
The log file for a
systemd service can be accessed through the system service manager. E.g.:
> journalctl -u grb_rs.service
The log file of the Windows service is
Other environment settings
When installing Remote Services as a service (using either
grb_rs start or
install), the path to
grb_rs is embedded into the service configuration. Thus, the usual concerns about setting the
GUROBI_SERVER_HOME environment variable do not apply.
This is especially relevant when running two versions of Gurobi Compute Server on the same machine. This can occur when switching Gurobi versions, where it is desirable for both services to start automatically during the changeover period.