I have a DocumentDB cluster with exactly one replica instance ( db.r5.16xlarge ) and a primary instance ( db.r5.24xlarge ). If something happens to the primary instance and a failover occurs, the replica instance will act as the new primary instance. Once the previous primary instance becomes ready, will it again failover back to my initial db.r5.24xlarge primary instance?
How does DocumentDB failover happen if the the reader instance and writer instance have different instance types?
440 Views Asked by Mirna Daniel At
1
There are 1 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- "Access Denied" - User's Permissions to S3 Bucket
- Cohort analysis with Amazon Redshift / PostgreSQL
- Using Amazon KMS service on Heroku
- can't ssh in after cloning an EC2 instance on Amazon AWS
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- Cloudfront stream only part of the video
- s3cmd not working as cron-task when echos/dates are added
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- InstanceProfile is required for creating cluster - create python function to install module
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
Related Questions in FAILOVER
- How to start distributed Erlang app without starting dependencies at every node?
- Memcache cluster failover replication
- How to handle Activemq's max frame size exception with failover transport
- HaProxy - group tcp and http hosts dependent of each other
- DNS SRV failover not working in asterisk
- Couchbase - what happens if a node dies after writing data to disk but before it gets replicated
- how to understand read preferences in mongo
- How to make a custom server run in a cluster
- ActiveMQ fail-over of producer and consumer with a shared directory doesn't happen
- Error while duplicating Oracle database after failover, using 11.2.0.4
- MongoDB SDK Failover not working
- Best practise how to sync a SQL Server database
- Infinispan failover capability
- WSO2 indirect Endpoint inside Failover Group
- Why can't my PHP 5.4 webserver speak to my multi-subnet failover cluster using SQL Always On?
Related Questions in AWS-DOCUMENTDB
- Using a $match and/or reference fields in DocumentDB causes Aggregation not supported error
- cannot connect cluster in amazon documentdb
- Insert a nested Json into MySQL table
- New VPC not showing in selection list for new DocumentDB Cluster
- AWS DocumentDB with spring boot fails Error : No server chosen by com.mongodb.client.internal.MongoClientDelegate
- Try to configure AWS Documentdb but it's return Time out
- Getting previous page's results when using skip and limit while querying DocumentDB
- Enable change streams for Amazon DocumentDB
- Connecting MongoDB from localhost
- How to connect spring boot application to aws document db
- How to perform a string-to-ObjectId collection join in a DocumentDB aggregation
- AWS DocumentDB and Java: Query for records in a range
- Does AWS Glue have ability to poll document db records and write to a file in bucket
- celery fails to form the queue with aws document db (using ssl) as the broker
- How to optimize text indexing and searching in DocumentDB?
Related Questions in DOCUMENT-DATABASE
- Single Node CouchDB, Multi Doc Transaction
- Model one to many in RavenDb for better performance
- Map/reduce on multiple values from single type of document
- Document Database like MongoDB Design of an expense tracker application
- MongoDB Document DB Design Decision
- How to organise a many to many relationship in MongoDB
- Do any of the major document-oriented database systems compress keys within their JSON documents?
- Most efficient method for persisting complex types with variable schemas in SQL
- Sql Server XML columns substitute for Document DB?
- MongoDB document design for comments (and their reply comments)
- MongoDB: storage & when to use relationships
- RavenDb Constucting complex viewmodel using MultiMap?
- Can MongoDB MapReduce functions behave like CouchDB views?
- XML versus MongoDB
- How to query data from nested document in mongodb?
Related Questions in FAILOVERCLUSTER
- RedShift Node Failover
- For Windows Server Failover Cluster, How exactly does the system know when to failover to the standby node?
- Cannot run PowerShell cluster cmdlets from a standalone server
- How to set node priority in Windows server 2016 Failover cluster
- What is wrong with my array?
- .NET library for active/passive fail-over clustering
- How to make a Clustered Service send traffic on the Virtual IP
- Jboss Distributed Transaction Recovery
- Glassfish 3.1.1 cluster session replication
- Is tomcat clustering only way for session replication?
- Get the virtual name of cluster by using listener name
- Hadoop data node start failing
- Cannot create a linked server to between two instances of SQL server 2016 running in a 2 node multisubnet windows failover cluster (WFCI)
- How does DocumentDB failover happen if the the reader instance and writer instance have different instance types?
- ARP Response from Virtual / Cluster IP Address
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No, it will not failover again to promote the previous primary instance. You'll have to failover manually to promote the bigger instance.
Better control can be achieved with 3 instance using failover tiers. Each replica instance is associated with a failover tier (0–15), where a lower tier means the instance has higher priority to be chosen for election.
For example, a cluster with two db.r5.24xlarge set on tier-1 and one db.r5.16xlarge set on tier-2. If a primary db.r5.24xlarge becomes unavailable, then the other db.r5.24xlarge will be promoted because it has a higher priority.
Reference.