Support

How do I migrate my RStudio Server Pro license from one machine to another?

Follow

To move your license from one RStudio Server Pro installation to another, take the following steps:

Online license

  1. Install RStudio Server Pro on the new machine, and verify that it is functioning properly.
    1. If this machine has never had RStudio Server Pro on it before, you will have the standard 45-day trial period before a license is required.
    2. If you would like the new machine to have the same configuration as the old machine, you can copy the configuration files in the /etc/rstudio directory from the old server to the new.
    3. If you are using an authentication method with RStudio Server Pro, you will want to implement the same configuration on the new server that you have on the old.
  2. Deactivate the license on the old server:
    $ sudo rstudio-server license-manager deactivate
  3. Activate the license on the new server:  
    $ sudo rstudio-server license-manager activate <product-key>
    $ sudo rstudio-server restart
  4. Verify the status of the license on the new server:
    $ sudo rstudio-server license-manager status

Offline license

  1. Install RStudio Server Pro on the new machine, and verify that it is functioning properly.
    1. If this machine has never had RStudio Server Pro on it before, you will have the standard 45-day trial period before a license is required.
    2. If you would like the new machine to have the same configuration as the old machine, you can copy the configuration files in the /etc/rstudio directory from the old server to the new.
    3. If you are using an authentication method with RStudio Server Pro, you will want to implement the same configuration on the new server that you have on the old.
  2. Deactivate the license on the old server.  Note that this will make the old server unlicensed, so you will need to apply a new license if you wish to keep using it:
    $ sudo rstudio-server license-manager deactivate-offline
  3. Generate an offline activation request on the new server:  
    $ sudo rstudio-server license-manager activate-offline-request <product-key>
  4. Send the output from steps 2 and 3 to support@rstudio.com
  5. Support will reply with an activation file, which you can apply to the server with this command:
    $ sudo rstudio-server license-manager activate-offline <activation-file>
    $ sudo rstudio-server restart
  6. Verify the status of the license on the new server:
    $ sudo rstudio-server license-manager status-offline

For more information on license management, see this section of the RStudio Server administrator's guide.

Comments