How to move a license to another server and upgrade to a new version at the same time
Scenario
You have an old server with FOP2 installed, and want to upgrade hardware and software. So you prepare a new and better server and install Asterisk and FOP2 latest version on it.
Now you need to transfer the license from the old server to the new one. This guide will explain the proper steps to do that.
Prerequisites
Annual Software Maintenance
If your license is older than a year, you will have to buy and apply the Annual Software Maintenance upgrade code ($20, you can purchase it from our online shop).
If your license is not renewed after one year or purchase, you won’t be able to activate the newer version on the new server.
Alternative Option: You still have the option to install the same FOP2 version you have in the old server into the new one. In this case you do not need to purchase the Annual Software Maintenance.
Activation Code Requirements
You also need to know your original activation code. Without it you won’t be able to perform revoke or register actions, which are key steps for moving your license.
If you do not remember your activation code, contact us with information about your purchase to see if we can retrieve it for you. Otherwise you will need to buy a new license.
License Validity
Also, you must have a valid license in the old/original server. If that server lost its license, then you won’t be able to upgrade it. In that case you will have to open a ticket requesting your activation code to be manually revoked.
Moving the License - Step by Step
Step 1: Apply Annual Maintenance Upgrade (if needed)
After getting the annual maintenance upgrade code via email, you must apply it on the old/original server. Run this command on the old and licensed server:
/usr/local/fop2/fop2_server --upgrade
Remember that you can only upgrade if you do have a valid license on that server.
Step 2: Upgrade FOP2 on Old Server
Once the upgrade is applied, you should download the latest FOP2 version (on the same old/original server), extract it and run make to upgrade it and match the same version you will use on the new server.
Step 3: Revoke License from Old Server
Now that you have the license and the new version upgraded, it is time to revoke the license so you can transfer it later to the new server. You will be prompted for the activation code. Use this command to do the revocation:
/usr/local/fop2/fop2_server --revoke
Step 4: Activate License on New Server
After successful revocation, on the new server you will be able to activate by using this command:
/usr/local/fop2/fop2_server --register
Step 5: Restart FOP2 Service
Finally restart FOP2 on the new server with the command:
service fop2 restart
Your license has now been successfully transferred to the new server with the upgraded version!