3CX v20 Failover config questions

EscondidoAdmin

Premier Customer
Basic Certified
Joined
Apr 9, 2024
Messages
91
Reaction score
19
3CX v20u4 (Build 487) Ent - Lab instance, on-prem, 4sc

We’re setting up a lab 3CX instance to test failover and have some questions:
  • Is there a keep-alive script somewhere that we can view (not edit)? Looking at a pcap, it appears the passive server tries to register a SIP device as part of the health check.
  • In the configuration document “Configuring Failover with 3CX,” for Step 2 “Configuring the Passive Server (#2),” shows a place to specify a script to launch BEFORE 3CX services are started and also a AFTER started. Do these scripts run on the Active or Pasive server?
  • There are several example Linux scripts, some of which seem to have a subset of other scripts. Example: StopsAndKill3CXServices.sh contains the combined equivalent of Stop3CXServices.sh and Kill3CXServices.sh. Is there a reason we’d want to only stop or kill, or why wouldn’t we both stop and kill?
  • I don’t see anything about failing back once the Primary server is functional again. Is this a manual process?
  • Any additional tips beyond the 3CX documentation?
Thanks,
 
  • Is there a keep-alive script somewhere that we can view (not edit)? Looking at a pcap, it appears the passive server tries to register a SIP device as part of the health check. keep what alive? if your active has failed, your passive kicks in based on whatever you've set to be monitored.
  • In the configuration document “Configuring Failover with 3CX,” for Step 2 “Configuring the Passive Server (#2),” shows a place to specify a script to launch BEFORE 3CX services are started and also a AFTER started. Do these scripts run on the Active or Pasive server? you'll see that the menu only becomes available when selecting passive
  • There are several example Linux scripts, some of which seem to have a subset of other scripts. Example: StopsAndKill3CXServices.sh contains the combined equivalent of Stop3CXServices.sh and Kill3CXServices.sh. Is there a reason we’d want to only stop or kill, or why wouldn’t we both stop and kill? no reason to have scripts running unless you've got requirements to.
  • I don’t see anything about failing back once the Primary server is functional again. Is this a manual process? yes manual
  • Any additional tips beyond the 3CX documentation? what do you want to know? Id suggest simulating a failover to see what happens.
 
Hello, I have a question.
So basically Server 2 only has data of the Primary from the sync data say 12midnight.
if for example, primary 1 goes down @ around 3pm, the only data secondary has is the data from yesterday, right? it won't have the data from past 12mn to 3pm of the same day?
 
Hello, I have a question.
So basically Server 2 only has data of the Primary from the sync data say 12midnight.
if for example, primary 1 goes down @ around 3pm, the only data secondary has is the data from yesterday, right? it won't have the data from past 12mn to 3pm of the same day?
 
Hi Nicholas,

thank you for the clarification.
 
  • Like
Reactions: NicholasP_3CX

Latest Posts

Forum statistics

Threads
111,963
Messages
589,998
Members
164,868
Latest member
swegner