Provisioning and managing replicated data instances
First Claim
1. A computer-implemented method of provisioning a replicated relational database in a database environment using one or more self-service Web services of a control environment, comprising:
- under control of one or more computer systems configured with executable instructions,providing a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to a control environment, the Web service request including at least a request to create a replicated relational database for the user in a database environment;
in response to receiving the request to create the replicated relational database for the user to the control environment through a first API of the plurality of APIs, instantiating a workflow including tasks for;
provisioning a primary instance replica in a first data zone in the database environment;
installing a database engine in the primary instance replica;
provisioning a secondary instance replica in a second data zone in the database environment using one or more snapshots of the primary instance replica; and
connecting a block level replication mechanism to each of the primary instance replica and secondary instance replica, the block level replication mechanism configured to intercept any read or write for the primary instance replica and cause any data updated for the primary instance replica to be synchronously updated to the secondary instance replica; and
providing the user with an alias name enabling the user to interact with the database engine installed in the primary instance replica, the interacting through the alias name causing the block level replication mechanism to update the data to the secondary instance replica, the alias name automatically updated to be associated with the secondary instance replica upon a failure of the primary instance replica.
1 Assignment
0 Petitions
Accused Products
Abstract
A replicated database instance can be provisioned that provides primary and secondary replicas that can be provisioned in different data zones or geographical locations. The database can be installed on the primary replica, and both the primary and secondary replica can have installed a block level replication mechanism that allows any I/O operation to be replicated by between the primary and secondary replicas. Any failure or outage of the primary replica can be addressed by performing a failover operation to the secondary replica. A DNS name or other such approach can be used such that the name can be aliased to the secondary replica during a failover, such that there is no action needed on the part of the customer to utilize the “new” primary replica. The creation of the database and provisioning of the replicated instance can be initiated using a Web service call to a control environment.
-
Citations
25 Claims
-
1. A computer-implemented method of provisioning a replicated relational database in a database environment using one or more self-service Web services of a control environment, comprising:
-
under control of one or more computer systems configured with executable instructions, providing a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to a control environment, the Web service request including at least a request to create a replicated relational database for the user in a database environment; in response to receiving the request to create the replicated relational database for the user to the control environment through a first API of the plurality of APIs, instantiating a workflow including tasks for; provisioning a primary instance replica in a first data zone in the database environment; installing a database engine in the primary instance replica; provisioning a secondary instance replica in a second data zone in the database environment using one or more snapshots of the primary instance replica; and connecting a block level replication mechanism to each of the primary instance replica and secondary instance replica, the block level replication mechanism configured to intercept any read or write for the primary instance replica and cause any data updated for the primary instance replica to be synchronously updated to the secondary instance replica; and providing the user with an alias name enabling the user to interact with the database engine installed in the primary instance replica, the interacting through the alias name causing the block level replication mechanism to update the data to the secondary instance replica, the alias name automatically updated to be associated with the secondary instance replica upon a failure of the primary instance replica. - View Dependent Claims (2, 3)
-
-
4. A computer-implemented method of enabling a user to create a replicated database in a database environment using a control environment, comprising:
-
under control of one or more computer systems configured with executable instructions, providing a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to a control environment, each API corresponding to a desired action to be performed with respect to a database for the user in a database environment; in response to receiving the Web service request to create a replicated database from the user to the control environment through one of the plurality of APIs, causing a primary instance replica and a secondary instance replica for the replicated database to be provisioned in the database environment, causing a block-level replication mechanism to be established, the block-level replication mechanism configured to intercept any write operation for the replicated database at the primary instance replica and synchronously replicate changes for the write operation to the secondary instance replica; and associating an alias with the primary instance replica, the alias enabling the user to access the replicated database via the primary instance replica, the alias being updated to be associated with the secondary instance replica in an event of failure of the primary instance replica. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A system for enabling a user to create a replicated database in a database environment using a control environment, comprising:
-
a processor; and a memory device including instructions that, when executed by the processor, cause the processor to; provide a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to a control environment, each API corresponding to a desired action to be performed with respect to a database for the user in a database environment; in response to receiving the Web service request to create a replicated database from the user to the control environment through one of the plurality of APIs, cause a primary instance replica and a secondary instance replica for the replicated database to be provisioned in the database environment, cause a block-level replication mechanism to be established, the block-level replication mechanism configured to intercept any write operation for the replicated database at the primary instance replica and synchronously replicate changes for the write operation to the secondary instance replica; and associate an alias with the primary instance replica, the alias enabling the user to access the replicated database via the primary instance replica, the alias being updated to be associated with the secondary instance replica in an event of failure of the primary instance replica. - View Dependent Claims (19, 20, 21)
-
-
22. A non-transitory computer-readable storage medium storing instructions for enabling a user to create a replicated database in a database environment using a control environment, the instructions when executed by a processor causing the processor to:
-
provide a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to a control environment, each API corresponding to a desired action to be performed with respect to a database for the user in a database environment; in response to receiving the Web service request to create a replicated database from the user to the control environment through one of the plurality of APIs, cause a primary instance replica and a secondary instance replica for the replicated database to be provisioned in the database environment, cause a block-level replication mechanism to be established, the block-level replication mechanism configured to intercept any write operation for the replicated database at the primary instance replica and synchronously replicate changes for the write operation to the secondary instance replica; and associate an alias with the primary instance replica, the alias enabling the user to access the replicated database via the primary instance replica, the alias being updated to be associated with the secondary instance replica in an event of failure of the primary instance replica. - View Dependent Claims (23, 24, 25)
-
Specification