VICIfast
ENES
Guides & tutorials

What happens when the VICIdial database machine fails

When the database machine stops, every agent screen and every dialer loses the server it was asking. What stops, what carries on, and how a standby takes over.

VICIfast Support
··3 min read
What happens when the VICIdial database machine fails

If the database server dies mid-shift, how much of your floor stops? All of it, for a moment. What happens after that moment depends on whether a standby database is waiting beside it.

Every screen and every dialer asks it

In our layout one machine runs MariaDB, the database that holds every lead, campaign and call record. The same machine serves the admin pages, the agent screens and the reports, so agents' browsers load their screen from it. The dialers query it many times a second.

That traffic adds up fast. On one live floor we measured, 166 Concurrent calls (calls up at the same moment) and 17 agents produced 2,230 database queries a second. When the machine fails, all of those questions stop getting answers at once.

Our post on the database and web server covers this machine's job in detail, and the VICIdial cluster guide shows where it sits among the others.

The first minute after it stops

The dialers are still running. They just have nobody to ask. Here's what the floor sees:

  • Agent screens freeze. Each screen checks in with the server every second, and that server is the one that's gone.
  • Answered calls can't reach an agent. VICIdial hands each answered call to a free agent through the database, so the hand-off has nowhere to happen.
  • Dispositions can't save. The Disposition an agent picks when a call ends is written to the database, and there's no database to take it.
  • Calls already talking may keep their audio. The voice runs through Asterisk on the dialer, not through the database. But the agent can't see the lead, save the outcome or get the next call.
  • Reports and admin pages go dark. They live on the same machine.
flowchart TD
  F[Database machine fails] --> S1[Agent screens stop updating]
  F --> S2[Answered calls cannot reach agents]
  F --> S3[Dispositions cannot save]
  F --> Q{Standby database ready?}
  Q -- yes --> R[Standby promoted]
  R --> B[Floor works from the standby]
  Q -- no --> W[Floor waits for repair or restore]
A database failure often looks like a dialer problem. Agents say the dialer froze, and the dialers' own CPU and memory graphs look fine. Check the database machine first.

With a standby, the live copy takes over

A standby database is a second database machine that copies every change as it happens, so it holds a live copy of the floor. When the main machine fails, the standby is promoted and takes over its job. That switch is the database's Failover.

Because the copy runs all shift, the standby has today's leads, dispositions and call records, not last night's backup. How quickly the floor is back is written into your agreement, so you know the number before the day comes.

It only works when the standby sits in the same datacenter, on the same private network, as the machine it copies. We explain why in why a VICIdial cluster needs a standby database and why every server in a cluster must sit in one datacenter.

Without a standby, the floor waits

With one database and no standby, a failed database machine stops the whole floor until it's repaired or rebuilt. If it has to be rebuilt from a backup, everything since that backup is gone: the morning's dispositions, the leads loaded at lunch, the callbacks agents set an hour ago.

A single server is the same story in one box. The database, the web pages and the phones share one machine, so one failure is the whole floor, every time.

Frequently asked

› Does a standby database have the latest data?
It copies changes as they happen, so it's a live copy of the floor rather than last night's backup.
› Is a standby database the same as a backup?
No. It copies every change, mistakes included, so you still keep backups.
› How long does it take to switch to the standby?
That's written into your agreement, so you know the number before you need it.

Smaller floors can start on a plan with a tested backup. When an hour of waiting costs more than a second database machine, book a sizing call: every cluster we build has a standby database beside the main one.

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. “What happens when the VICIdial database machine fails”. VICIfast LLC, November 23, 2026. Retrieved from https://vicifast.com/blog/when-the-vicidial-database-fails

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.