Skip to main content

High availability

A ThreatVIS Unified Security Operations Platform HA pair keeps the service available when one server fails. This page explains how the pair works, what happens when something fails, and how the console behaves on an HA deployment. To compare HA with the other models, see Deployment models.

The three hosts​

HostInstaller profileWhat it does
Processing node AHA Processing NodeRuns the full ThreatVIS USOP service when it is the active node.
Processing node BHA Processing NodeIdentical to node A. Holds a synchronous copy of all data while passive.
WitnessHA WitnessCasts a quorum vote. Runs no ThreatVIS USOP service and stores no data.

The two processing nodes are equal: either can be active. The node that runs the service is the active node. The other node is the passive node, also shown as the standby.

How it works​

The floating service address points to the ThreatVIS USOP service on the active node, which writes to replicated state. Each write is copied to the replicated state on the passive node before it is acknowledged, so the passive node holds a current copy. A witness gives a quorum vote to both nodes.The floating service address points to the ThreatVIS USOP service on the active node, which writes to replicated state. Each write is copied to the replicated state on the passive node before it is acknowledged, so the passive node holds a current copy. A witness gives a quorum vote to both nodes.
  • One writer. Only the active node uses the data, runs the service and answers on the floating service address. Every safeguard in the pair exists to make sure two nodes never write at the same time. When that cannot be proven, the pair stops the service rather than risk two writers.
  • All state is replicated. Events, Cases and their attachments, settings, detection content, the audit trail, report output and SOAR data are all replicated. Each node keeps its own identity, licence, release files and logs, which are never copied to the other node.
  • Synchronous and encrypted. A write is acknowledged only once both nodes hold it. Replication is encrypted, and each node accepts it only from the other node.
  • The floating service address moves last. On a switchover or failover, the new active node starts the service and checks that it is ready before it takes the floating address.
  • The witness decides, but does not fence. If the two nodes lose contact, the witness gives its vote to one side, and the side without a majority stops. A vote alone cannot prove that the other node has stopped writing, which is why fencing exists.

Failover modes​

The pair runs in one of two modes. You choose the mode, and you can change it.

Manual failoverAutomatic failover
Planned switchoverAn operator command; the service moves in an orderly wayThe same
When the active node failsThe passive node does not take over by itself. The service stays stopped until an operator confirms the failed node is down and starts recoveryThe passive node takes over by itself once fencing has made the failed node safe
Fencing methodNot required. The operator's confirmation replaces itRequired, and commissioned on your platform
FailbackNot applicableNever automatic. Move the service back with a planned switchover
Best forEvery deployment at first; platforms without a supported fencing method; metro deployments without an independent fencing pathDeployments that need the service back without waiting for an operator

Every HA pair is established in manual failover mode. You turn on automatic failover afterwards, once its checks pass. See Choose manual or automatic failover.

Fencing​

Fencing proves that a failed active node can no longer write before the other node takes over. Without it, a node that is frozen rather than stopped could wake up and write to data that the other node now owns.

MethodHow it fencesTypical platform
Hardware watchdogA node that loses its majority, or whose HA services stop answering, is restarted by the hardwareBare-metal servers
Hypervisor-backed watchdogThe same, with a watchdog device that the hypervisor provides and enforcesVirtual machines
Power controlThe surviving side asks an authority outside the failed node to power it off, and waits for confirmationVMware vCenter; IPMI or Redfish out-of-band management
Operator confirmationAn operator confirms that the failed node is powered off before recovery startsManual failover on any platform

A software-only watchdog inside the guest is not accepted for automatic failover, because it cannot act while a virtual machine is paused. See Plan an HA deployment.

What happens when something fails​

FailureWhat the pair doesEffect on the service
The passive node fails or restartsThe active node keeps serving. The passive node rejoins as passive and catches up on what it missed.None. Until it catches up, there is no standby.
The witness failsBoth nodes keep their majority (two votes of three).None, but one more failure stops the service. Restore the witness promptly.
The active node fails, manual failoverThe passive node stays passive.Down until an operator confirms the failed node is off and recovers on the passive node.
The active node fails, automatic failoverThe passive node and the witness keep the majority, fence the failed node, then start the service.A short outage while the failure is detected, the failed node is fenced and the service starts.
The nodes lose contact but both reach the witnessThe witness gives its vote to one side. The other side stops.In manual failover, the service continues if the active side kept the vote. Otherwise it stops until an operator acts. Never two writers.
The active node is cut off from both the passive node and the witnessThe active node loses its majority and stops itself.In manual failover, down until an operator confirms and recovers. In automatic failover, the passive node takes over after fencing.
The witness and one node fail togetherNo side has a majority.The service stops. It returns when either host returns.
The fencing method is unavailableAutomatic takeover cannot happen.None while the active node is healthy. If it then fails, recovery is manual.
A failed node returnsIt rejoins as passive and copies what changed. It never takes the service back by itself.None

Events during a switchover or failover​

Data that ThreatVIS USOP had stored before the move is kept. While the service moves, nobody answers on the floating address for a short time:

  • UDP syslog and NetFlow: anything sent while nobody listens is lost, unless the sender buffers it.
  • TCP and TLS syslog: a sender reconnects to the new active node. What it wrote into the old connection as the move happened can be lost, unless the sender queues and resends.
  • Pulled sources (databases, files and vendor APIs): collection resumes from where it stopped. A pull that was in progress can be repeated.

The console on an HA deployment​

You use the console at the floating service address. The passive node serves no console.

Some Settings pages change the host rather than the data. On an HA pair, these pages show a note titled with the node that is serving the console, and say where the change takes effect:

PageOn an HA pair
SSL SettingsThe certificate is stored with the replicated configuration, so the console serves it from whichever node is active.
Interfaces & Proxy, proxyThe outbound proxy is stored with the replicated configuration and applied on both nodes. A proxy user name and password cannot be used.
Interfaces & Proxy, interfacesA change applies only to the node serving the console. Interfaces that carry the traffic between the hosts of the pair, or the floating service address, cannot be changed here.
DNSApplied on the active node, then on the other node within about a minute.
System ClockThe timezone and NTP servers are applied on both nodes. NTP cannot be turned off.

For the DNS, clock, proxy and interface pages, the note also shows whether each node has applied the current host settings.

In this section​

PageWhat it covers
Plan an HA deploymentHosts, disks, network, ports, time, fencing and the deployment profile.
Install an HA pairInstall the witness and both nodes, establish the pair and verify it.
Operate an HA pairCheck status, switch over for maintenance, recover from a failure, replace a node.
Choose manual or automatic failoverHow to choose, commission fencing, and turn automatic failover on or off.
Upgrade an HA pairThe coordinated, one-node-at-a-time upgrade.
HA and Cluster problemsSymptoms and what to do.