These are two options to choose from:
Option 1: License on the main server, while backup server is inactive (no license)
In your 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, Site Owner, Site Owner Plus or 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