Reputation: 1
As per document https://learn.microsoft.com/en-us/azure/postgresql/concepts-high-availability
for any failure/service down , automatically new service will deployed and re attach the storage to new server.
new service with same hostname/ip address or different.if it is different,how can we achieve same hostname because we can't change the connection string in application
Upvotes: -1
Views: 621
Reputation: 760
What you are asking for is answered in the document you linked.
Applications using the PostgreSQL databases need to be built in a way that they detect and retry dropped connections and failed transactions. When the application retries, the Gateway transparently redirects the connection to the newly created database server.
Upvotes: 1