Move Client to New Dedicated Server

Created by Ezra Weinstein, Modified on Tue, 27 Sep 2022 at 04:03 PM by Hannah Harris

Setup and Test

- build new server, including creating new database
- Dump client using Client Dump, for the test load

- Make sure clientload.php is set to public access
- move clientdump.txt to /documents on new server
- start load with following commands:
- cd /var/www/html;vi clientload.php;my</backups/corewareinc16db.sql;truncate -s 0 /var/log/debug.log;php clientload.php &
- Track progress with:
- tail -f /var/log/debug.log
- Fix any errors that happen in load. Since the client is still active, some errors can be expected since, for instance, contacts are dumped before users, so users might be in the dump without contacts


Final Conversion and Go Live


- On the old live server, copy maintenance.html to client_inactive.html
- Set client inactive on live server
- Dump client using Client Dump
- tar clientdump.txt into clientdump.tgz
- transfer clientdump.tgz to /documents on new server and untar
- start load using aforementioned commands
- While load is running, move SSL to Load Balancer
- monitor progress
- Make sure NO errors occurred in the load. If any do fix and rerun as necessary
- change DNS of client domain names to point to load balancer
- change DNS of coreware management domain names
- update client and make active
- uncomment lines in crontab so that background processes are started

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article