MONITORING OF REPLICATED DATA INSTANCES
First Claim
1. A computer-implemented method of monitoring replicated instances for a relational database instance 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;
assigning one of a plurality of monitoring components in the control environment to each of the plurality of workload partitions; and
for each replicated instance in a partition;
causing the assigned monitoring component to send a communication to a host manager for a primary instance replica of the replicated instance;
if data for the primary instance replica is synchronized with data for a secondary instance replica for the replicated instance, receiving to the assigned monitoring component a lease for the replicated instance, the lease specifying at least a lease period during which the assigned monitoring component will be able to monitor the replicated instance; and
in response to receiving the lease to the assigned monitoring component, monitoring at least a status of the replicated instance during the lease period using the assigned monitoring component.
1 Assignment
0 Petitions
Accused Products
Abstract
Replicated instances in a database environment provide for automatic failover and recovery. A monitoring component can obtain a lease enabling the component to periodically communicate with, and monitor, one or more data instances in the data environment, where the data instance can be a replicated instance including a primary and a secondary replica. For a large number of instances, the data environment can be partitioned such that each monitoring component can be assigned a partition of the workload. In the event of a failure of a monitoring component, the instances can be repartitioned and the remaining monitoring components can be assigned to the new partitions to substantially evenly distribute the workload.
207 Citations
27 Claims
-
1. A computer-implemented method of monitoring replicated instances for a relational database instance 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; assigning one of a plurality of monitoring components in the control environment to each of the plurality of workload partitions; and for each replicated instance in a partition; causing the assigned monitoring component to send a communication to a host manager for a primary instance replica of the replicated instance; if data for the primary instance replica is synchronized with data for a secondary instance replica for the replicated instance, receiving to the assigned monitoring component a lease for the replicated instance, the lease specifying at least a lease period during which the assigned monitoring component will be able to monitor the replicated instance; and in response to receiving the lease to the assigned monitoring component, monitoring at least a status of the replicated instance during the lease period using the assigned monitoring component. - View Dependent Claims (2, 3, 4)
-
5. A computer-implemented method of monitoring database instances in a database environment from a control environment, comprising:
under control of one or more computer systems configured with executable instructions, assigning a monitoring component in the control environment to a database instance in at least one of a different data zone or a different geographical location in the database environment, the database instance capable of being a replicated instance including at least a primary instance replica and a secondary instance replica, the assigned monitoring component being in at least one of a different data zone and a different geographical location from at least one of the primary instance replica and the secondary instance replica when the database instance is a replicated instance; causing the monitoring component to send a communication to the database instance, the communication being sent to at least the primary instance replica if the database instance is a replicated instance; and in response to receiving lease information from the database instance, monitoring at least a status of the database instance using the monitoring component during a lease period of the lease. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
17. A system for monitoring database instances in a database environment from a control environment, comprising:
-
a processor; and a memory device including instructions that, when executed by the processor, cause the processor to; assign a monitoring component in the control environment to a database instance in at least one of a different data zone or a different geographical location in the database environment, the database instance capable of being a replicated instance including at least a primary instance replica and a secondary instance replica, the assigned monitoring component being in at least one of a different data zone and a different geographical location from at least one of the primary instance replica and the secondary instance replica when the database instance is a replicated instance; cause the monitoring component to send a communication to the database instance, the communication being sent to at least the primary instance replica if the database instance is a replicated instance; and in response to receiving lease information from the database instance, monitor at least a status of the database instance using the monitoring component during a lease period of the lease. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
-
24. A computer-readable storage medium storing instructions for monitoring database instances in a database environment from a control environment, the instructions when executed by a processor causing the processor to:
-
assign a monitoring component in the control environment to a database instance in at least one of a different data zone or a different geographical location in the database environment, the database instance capable of being a replicated instance including at least a primary instance replica and a secondary instance replica, the assigned monitoring component being in at least one of a different data zone and a different geographical location from at least one of the primary instance replica and the secondary instance replica when the database instance is a replicated instance; cause the monitoring component to send a communication to the database instance, the communication being sent to at least the primary instance replica if the database instance is a replicated instance; and in response to receiving lease information from the database instance, monitor at least a status of the database instance using the monitoring component during a lease period of the lease. - View Dependent Claims (25, 26, 27)
-
Specification