I have 2 servers running postgresql database as Master-slave. Application connects to master normally and when the switchover occurs, we need to change IP in application to connect to slave. In one of our use cases, we require that in switchover the IP of slave should be changed to the IP of master node. Is there anything which can help me in this case?
Possibility of changing IP of a node after failover/switchover
403 views Asked by makhshif afiniti At
1
There are 1 answers
Related Questions in POSTGRESQL
- Only the first SQL script gets executed inside Docker Postgres container
- Compare fields in two tables
- Hibernate ClobJdbcType bindings: what are the diferences?
- Postgres && statement Error in Mybatis Mapper?
- Can this query be optimized? (Choosing a random row to insert, that excludes previously inserted Rows)
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- How to copy data from SQLite to postgreSQL?
- PGAdmin4 configured behind a reverse proxy but unable to connect to Postgresql server
- Updates to pgsodium encrypted values don't use specified key_id
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
- Django Arrayfield migration to cloud sql (Postgresql) not creating the column
- Get list of matching keywords for each post
- docker-compose can't reset postgresql database
Related Questions in DATABASE-ADMINISTRATION
- Moving LOB size more than actual size
- import dump in oracle database
- SQL Server Replication - Transactional
- Create a one computer/one user relationship to permissions on a database
- Grant Alter to Only to All Functions on SQL Server
- Oracle database Undo size not clearing after the dml operation
- How to create specific user security for schemas?
- How to change the password for all Oracle database users?
- OS User on Oracle DBA History views
- How Oracle calculates the db block changes segment metric?
- Is there a way to update 2 values each time calculating data on each row?
- Views Creation Permissions without table Creation Permissions in POSTGRESQL
- Can i set -I ( Quoted Identifier ON ) for all scripts while running through Batch File?
- Cassandra dynamic snitch and dynamic_snitch_reset_interval_in_ms parameter
- Reading system_health*.xel files efficiently
Related Questions in SYSTEM-ADMINISTRATION
- Ansible: using role dependencies
- How to launch an application using a command to run a batch file that starts the application?
- Application Dependency Mapping
- accessing to file after upload by fabric
- How can i get the publisher of a module before installation?
- iDRAC 9: RACADM how to view pdisks in a vdisk
- Duo 2 Factor Authentication - Admin API Retrieve Secret Key
- doing system administration with a Makefile approach
- How to create a NAS for the office using proxmox and docker container
- Unique Volume ID path of a volume seemingly corrupted while tryig to create a new junction with New-Item; How to fix, bypass or work around?
- Installing software in Windows OS without admin rights and dealing with PATH environment variable
- Environment problem when administering macos with saltstack tools
- Setting up Microsoft Entra and Office 365 with AWS domain Hosting, redirection problems when loging in
- Pgpool Server Failover
- Psexec doesnt execute .bat
Related Questions in DATABASE-CLUSTER
- Combining Mariadb Galera Cluster with a stand-alone database
- TimescaleDB multinode cluster & replication factor
- ERROR: [dn3]: SSL connection has been closed unexpectedly
- Multi-Node in TimeScaleDB
- Unioned table costs more to query in BigQuery than individual tables?
- How to use master & slave nodes in Laravel
- MySQL Cluster Replication
- How to setup and connect my database to NodeJS application on digital ocean
- Assigning virtual IP in repmgr
- Automatic failover not happening in repmgr
- Possibility of changing IP of a node after failover/switchover
- GridDB Bad Connection Exception
- BigQuery – Is there a limited number of rows a clustered field can scan through when applying WHERE shop IN (select shop from X)?
- PostgreSQL 9.3.5 'Active-Active' mode for Windows Server 2012 R2
- What's a good balance to decide when to partition a table in BigQuery?
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?
Popular Tags
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)
You typically use a virtual IP address for that; the details depend on your operating system.
PostgreSQL always listens on the virtual IP address, and on failover you move the address to the other machine.