Patent attributes
Embodiments include a method, system, and computer program product for maintaining continuous availability. An embodiment of the present invention includes receiving a unit of work data. The unit of work data is distributed among the plurality of workloads using either an active/standby configuration, an active/query configuration, an active/partitioned configuration, or an active/active configuration. A primary workload is selected from a plurality of workloads to process the unit of work data based on a workload distribution rule. It is determined if the primary workload is capable of processing the unit of work data based on user configurable settings. If the primary site is capable of processing the unit of work data then the unit of work data is transmitted to the primary workload. Otherwise the unit of work data is transmitted to a secondary workload. The unit of work data is replicated between the primary workload and the secondary workload.