Reinstall 3CX on Debian Failover Server Without Triggering DNS Change

Status
Not open for further replies.

Wendelspanswick

Joined
Jan 11, 2016
Messages
178
Reaction score
10
We have our main server with UKFast and the failover server on AWS Lightsail, the problem is that I used PBX Express to install 3CX for the failover server and it used a different HTTPS port, 443 instead of 5001.
I need to do a manual reinstall on the failover server, how do I do this without triggering a DNS change as I don't want to have to restart the services on the main server as it will reset the wallboards, drop queue calls and ring backs.

Plan is to take a back up the failover server with Licence and FQDN - Best location for back up???

apt-get remove 3cxpbx
apt-get remove --purge 3cxpbx

Then

wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -

echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | tee /etc/apt/sources.list.d/3cxpbx.list

apt-get update

apt-get install 3cxpbx

apt-get install net-tools

Restore from backup.
My guess is that the failover server will start with all services running and it will trigger a DNS change from the main server, which will mean I have to edit the licence on the main server then restart the services.
 
Hello @Wendelspanswick

Since the failover server will be installed after the main server the DNS change cannot be avoided as the failover server will need to contact the activation server during setup and therefore trigger the change. After the server is installed you can trigger another change to point the DNS to the original server by restarting the system service of the PBX.

Plan is to take a back up the failover server with Licence and FQDN - Best location for back up???
You can use Google drive to store the backup or you can download it after it is complete to your machine.
 
  • Like
Reactions: Wendelspanswick
Thank you, I was hoping to do it during working hours but it look's like a late night for me!
 
Status
Not open for further replies.

Forum statistics

Threads
111,911
Messages
589,702
Members
164,780
Latest member
JoeMiller