Backup Server, license setup options

These are your two options to choose from:

Option 1: License on the main server, while backup server is inactive (no license)

In you or your hosting provider's failover script, you must migrate your license and register it on your backup server.

Here are the relevant commands:
Migrate the license from your main server.

main_server:
```
lsws/bin/lshttpd -m
```

In your backup server, register your existing license.

backup_server:
```
lsws/bin/lshttpd -r
```

Note: When you run the “-r” option, make sure there is no other license related files in the lsws/ and lsws/conf/ directories except “serial.no”. Backup and remove all “trial.key”, “license.key” files.

In this case, you could keep a copy of the same serial key on both servers, with only 1 active.


Option 2: License both servers by purchasing an additional lower cost license for your backup server

Depending on the backup server's RAM , you can order a Free Starter license or a cheaper VPS, Ultra-VPS, Site Owner, Site Owner Plus or 1-CPU/Web Host Essential license. Then, when your main server fails, you can run a variation of the commands above to migrate and switch the licenses for both servers, registering the pre-existing license to your backup server which should now be expecting your usual traffic.

The benefit of choosing this option is that you can regularly check your backup server to see if everything is syncing/working properly.

  • Backup, Server, Migrate
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How often does LSWS check its license against the license server?

LSWS updates the local license key once per day against the license server.When LSWS restarts it...

If LiteSpeed license server is down, will it affect my server?

LiteSpeed products store a local license key on your local hard drive, and will periodically...

How do I migrate/release my license?

If you want to use a new server, you must migrate the license. If you don't, it will remain...