Patent ID: 8676753

Claim:
A computer-implemented method of monitoring replicated database instances from a control environment, comprising: under control of one or more computer systems configured with executable instructions, assigning each of a plurality of replicated database instances in a database environment to one of a plurality of workload partitions, the plurality of workload partitions grouped according to one of a plurality of data zones or a plurality of geographical locations; assigning each of a plurality of monitoring components in the control environment to one of the plurality of workload partitions, each monitoring component being assigned to a workload partition that is grouped to one of a first data zone or a first geographic zone that is different from a second data zone or a second geographic zone of the workload partition to which at least one of a primary instance replica or a secondary instance replica of a replicated database instance is assigned; for each replicated database instance of the plurality of replicated database instances: causing an assigned monitoring component to send a communication to a host manager for the primary instance replica of the replicated database instance, the assigned monitoring component being assigned to the workload partition to which the replicated database instance is assigned; when data for the primary instance replica is synchronized with data for the secondary instance replica for the replicated database instance, receiving to the assigned monitoring component a lease for the replicated database instance, the lease specifying at least a lease period during which the assigned monitoring component will be able to monitor the replicated database instance, wherein, during the lease period, other monitoring components of the plurality of monitoring components are prohibited from initiating failover of the replicated database instance upon determination of failure of the replicated database instance; and in response to receiving the lease to the assigned monitoring component, monitoring at least a status of the replicated database instance during the lease period using the assigned monitoring component.