![edit bin license file edit bin license file](https://i.ytimg.com/vi/4hJiHiBw694/maxresdefault.jpg)
Package Manager will release its lease immediately if shut down normally. The lease length controls how frequently the Package Manager instances need to contact the licensing server to renew their license leases.Ī shorter lease length will increase tolerance to failures on Package Manager instances by making leases available for reuse more quickly. In this case, you can use the Package Manager License Server. This configuration can be useful if Package Manager is ephemeral. Floating licensing allows you to run a standalone licensing server and then have each Package Manager instance communicate with this licensing server to lease a license. If you start and stop Package Manager frequently, for instance because you are running inside a virtual machine or docker container, it is preferable to use floating licensing. Traditionally, an admin must activate a license on each Package Manager instance by running the activate and deactivate commands. Then, activate your license on the new system by following the steps directly above in the Offline Local Activation section. Copy and paste the entirety of this request into the offline self-service application, or send it to Posit Support. Terminal $ sudo /opt/rstudio-pm/bin/license-manager deactivate-offlineĮxecuting this command prints an offline deactivation request to the terminal. If you do need to specify a proxy server explicitly, you can do so using the -proxy command line parameter. This may not be necessary if either the http_proxy or all_proxy environment variable is defined (these are read and used by the license manager when available). If your server is behind an internet proxy, you may need to add an additional command line flag indicating the address and credentials required to communicate through the proxy. If the server's clock is sufficiently incorrect, licensing verification fails. If your server is behind an internet proxy or not connected to the internet at all, the sections below describe what's required to successfully activate.Īdditionally, your server should have a synchronized system clock, using ntp or some other clock syncing service. More information on specific networking access is available on this Posit documentation Licensing page. To activate or deactivate Package Manager, internet connectivity is required for communicating with the licensing server. More information about activating log regions is in the configuration appendix. Server log messages related to this component can be shown by enabling the licensing region. See the Appendix - Reloadable Properties section to learn which settings may be reloaded via HUP.* If you have commented out a setting instead of changing the setting value, restart the Package Manager service instead of using the HUP signal. Commenting out a setting will not affect the configuration when using the HUP signal. Perform a full restart of Package Manager when changing other properties.Ī HUP signal only reloads configuration settings that have explicitly changed. Use a HUP signal when your configuration changes are limited to properties marked as reloadable. Changing the Lease Expiration and Renewal Default.Changing the Package Manager License Server Defaults (Optional).Configure Package Manager to use the License Server.