Differences between active-active and active-passive cluster
Differences between active-active and active-passive cluster
Active-active
Setup: Two active Servers are configured as companion servers,
each with independent workloads. These companions run on the
primary and secondary nodes, respectively, as individual servers
until one fails over.
Failover:
When fail over occurs, the secondary companion takes
over the devices, client connections, and so on from the primary
companion. The secondary companion services the failed-over
clients, as well as any new clients, until the primary companion
fails back and resumes its activities.
Failback:
Failback is a planned event during which the primary
companion takes back its devices and client connections from the
secondary companion to resume its services.
Client connection failover: During failover, clients connect to
the secondary companion to resubmit their uncommitted
transactions. During failback, clients connect to the primary
companion to resubmit their transactions. Clients with the
failover property reestablish their connections automatically.
Active-passive
Setup: A single active Server runs either on the primary node or
on the secondary node. The active Server runs on the primary
node before a fail over and the secondary node after fail over.
Failover: When a system fails over, the active Server and its
associated resources are relocated to, and restarted on, the
secondary node.
Failback: Failback is a planned fail over or relocation of the
active Server and its resources to the primary node. Failback is
not required, but can be done for administrative purposes.
Client connection failover: During failover and failback,
clients connect to the same active Server to resubmit
uncommitted transactions. Clients with the failover property
reestablish their connections automatically.