主权项 |
1. A method for executing a preempt by a standby database appliance in a high-availability active/active appliance cluster,
wherein the appliance cluster comprises two standby redundant groups, wherein the two standby redundant groups comprise a transaction processing standby group and a persistent storing standby group, wherein the transaction processing standby group comprises a primary active appliance and at least a standby appliance, wherein the primary active appliance comprises a self-balancing module for balancing a load of the appliances in the cluster, wherein the persistent storing standby group is a subset of the transaction processing standby group and comprises a primary database (DB) appliance and a standby database appliance, and wherein the method comprises: receiving, by one or more processors, a Hello message from the primary DB appliance; examining, by one or more processors, a priority field in the Hello message, wherein said examining determines a priority of the standby database appliance according to the persistent state to thereby determine whether the standby database appliance requests a preempt, wherein the persistent state comprises a state of an application and a database of the primary DB appliance; and implementing, by one or more processors, failover in response to the preempt request to thereby take over a duty of the primary DB appliance. |