Wiki
 

Notes:

  • This instruction applies to both LSWS and LSLB. For LSLB, replace with “lslb” where “lsws” is used, and “lslbd” where “lshttpd” is used.
  • Please make sure http://license.litespeedtech.com is reachable from your server.

The difference between license transfer and release

  • You can freely TRANSFER LiteSpeed license from one server to another server under you account. The transfer will give you 3 day overlapping time, so this will give you a smooth migration from old server to new server.
  • In case you have no access to the old server, such as in case of hardware failure, you need to enable the license on the new server, you can use RELEASE license option. Do NOT “Release” your license if it is still actively used, this will immediately terminate the license and LSWS will stop running.

How to Release Existing License

If you do not need to keep LSWS running on the old server, or the old server is no longer accessible such as in case of hardware failure, you can release your license.

BE CAREFUL , this will immediately terminate the license and LSWS will stop running.

  1. login to your account from online store - client area.
  2. go to my products - product detail page, click “Release License” link.
  3. Then you can use the serial number to register a new license key. Follow instructions at activate_license

How to Transfer Existing License

The License is tied with the server hardware signature and will NOT be affected by your IP or domain name change. If you switch your server, you have to migrate your license; if you upgrade your hardware, you may or may not need to migrate your license.

To migrate your current license:

  1. back up your current serial.no and license.key under lsws/conf.
  2. Verify your current license on the old server. You can use it to check whether you need to migrate your license after your hardware upgrade.
    old_server:lsws/bin/lshttpd -V 
  3. Migrate the license from your old server.
    old_server:lsws/bin/lshttpd -m
  4. Verify your migrated license in your old server, you should have 3 days overlap for a smooth transition. LSWS process on your old server will automatically shut down after 3 days, so make sure you are ready to register for the new license when you ready to migrate.
    old_server:lsws/bin/lshttpd -V
  5. In your new server, or the same server after hardware upgrade, register a new license. Assume you already copied over the same directory over.
    • When you run “-r” option, make sure there is no other license related files in the lsws/ and lsws/conf directory except “serial.no”. Back up and remove all the “trial.key”, “license.key”.
      new_server:lsws/bin/lshttpd -r

      A new file license.key should be saved in the same directory as serial.no (either under lsws/conf or lsws/).

    • If your new license key is not in the lsws/conf, move the new license.key and serial.no to lsws/conf.
      new_server:mv lsws/license.key conf/

      Usually this step is not necessary.

  6. Verify the license in your new server.
    new_server:lsws/bin/lshttpd -V
  7. If everything is ok, do a graceful restart.
    new_server:lsws/bin/lswsctrl restart
  8. Now your old and new copy will parallel run for 3 days, make sure your DNS will be refreshed by then.
  9. In emergency situation, if you cannot make your production server online, you can temporarily apply a trial license and create a ticket with license department from client area. You can use “Release License” option as well.
  • If you changed your mind or plan after you did migration on the old server and haven't registered on the new server, you can continue to use the old server by registering a new key. After migration, your backed up license.key will no longer work. So just register a new one, because it has been migrated and allowed to register on any server including your old server.
    old_server:lsws/bin/lshttpd -r
  • When you run “-r” option, make sure there is no other license related files in the lsws/ and lsws/conf directory except “serial.no”. Back up and remove all the “trial.key”, “license.key”.

Can I get longer than 3 day parallel running time for my server migration

You can apply a trial key first and test everything on your new server, when you ready, do the migration step which give you extra 3 days.

Can I transfer my license to another customer?

For yearly leased and owned license, you can sell and transfer to another person if you no longer need it. Since this requires manually move your license to another account, you or your counter party will need to pay a small transaction fee for the transfer. Please create a ticket with license department from client area. You cannot use regular “transfer” or “release” steps, as you will still receive invoices on your account.

 
litespeed_wiki/license/transfer_release_license.txt · Last modified: 2011/08/03 18:26 (external edit)