VICIfast
Guides & tutorials

Why a VICIdial cluster needs a standby database

Every dialer and agent screen in a VICIdial cluster runs through one database. A standby is the live copy that takes over when that machine fails.

VICIfast Support
··3 min read
Why a VICIdial cluster needs a standby database

You've spread your floor across several dialers so no single machine can take it down. But there's still one machine every dialer depends on, and if it stops, the whole floor stops with it.

That machine is the database. The standby database exists for the day it fails.

The one machine everything runs through

In a cluster, the database holds every Lead (a contact record you dial), every Campaign (a set of leads and dialing rules) and every call record. In our layout the same machine also serves the agent screens and reports.

The dialers lean on it all day. They run Asterisk, the phone engine that places and answers the calls, and they query the database many times a second. VICIdial hands each answered call to a free agent through the database, and agents' browsers load their screens from it.

Compare what happens when each kind of machine fails:

  • A dialer fails. The calls on it drop, and the other dialers keep the floor working. That's why we never build a cluster with fewer than two.
  • The database machine fails. With no standby, nothing can hand out calls or load a screen until that machine is repaired or rebuilt and the data put back.

One failed server stopping the whole floor is exactly the problem a cluster is meant to remove. Two dialers remove it on the calling side. The standby removes it for the database.

What a standby actually is

A standby database is a second machine that replicates the database as it changes: a live copy, not last night's. If the database machine fails, the standby is promoted and takes over. That handover is called Failover.

flowchart TD
  D1[Dialer 1] --> DB[(Database)]
  D2[Dialer 2] --> DB
  DB -. replicates every change .-> SB[(Standby database)]
  DB --> X[Database machine fails]
  X --> PR[Standby promoted]
  PR --> N[Dialers use the standby]

We give it the same hardware as the database itself, a 16-core AMD Ryzen 9 7950X3D with 128 GB and mirrored NVMe disks. The moment it's promoted, it carries the whole floor's database load, so it can't be the smaller machine.

How long the switch takes on your cluster isn't something we'll promise in a blog post. Recovery times are written into your agreement.

Why it sits right next to the database

It's tempting to put the standby in another city, just in case. In a VICIdial cluster that backfires. Every machine sits in one datacenter on a private network, because the dialers query the database many times a second, and a round trip between Germany and Finland is over 20 ms. That's enough to stall VICIdial.

A far-away standby would look fine while it waits. The day it's promoted, every dialer would be talking to a database 20 ms away, and the floor you just rescued would stall. Spreading across regions is an Enterprise conversation, not a default layout.

A standby is not a backup

A standby copies every change, including the wrong ones. If someone deletes a list by mistake, the standby deletes it too.

So the standby sits alongside your backups, not instead of them. A backup strategy for a VICIdial server covers the other half.

If you're weighing whether one more machine is worth it, what dialer downtime actually costs you is a good place to start the math. The standby is already included in every cluster hardware total we publish.

Frequently asked

› Is a standby database the same as a backup?
No. A standby copies every change as it happens, mistakes included, so you still need separate backups.
› Can the standby sit in a different datacenter?
Not in our layout. A round trip between Germany and Finland is over 20 ms, enough to stall VICIdial once the standby is promoted.
› What happens if a dialer fails instead?
The calls on that dialer drop, and the other dialers keep the floor working.

For the rest of the layout, read our guide to VICIdial clusters or what each part of a cluster does. Still small enough for one box? Pick a plan and keep it simple. When you're ready for a cluster, book a sizing call and see today's prices.

About VICIfast

We run VICIdial servers for call centres, so you don’t have to. You get the dialer set up, secured and kept running — we handle the server, the updates and the backups. Bring your own phone carrier at no markup, or use VICIfast Voice, our own US calling and numbers, from $0.0085 a minute. From $49 a month per server.

Questions? Call +1 636 556 0022 and talk to someone who runs dialers.

Citing this article

VICIfast Engineering. “Why a VICIdial cluster needs a standby database”. VICIfast LLC, November 20, 2026. Retrieved from https://vicifast.com/blog/vicidial-cluster-standby-database

Have questions?

Related posts

You might be interested in

Comments

Comments are reviewed before they appear. We never publish your email.

No comments yet - be the first.