Jump to content
We've recently updated our Privacy Statement, available here ×

Change Hostname in JDBC Datasource Programaticly


AThompson_1

Recommended Posts

Hello,

   Is it possible to update the hostname in the JDBC string of a saved datasource?  Our DWH has a failover node.  But it does not failover sessions and has a different IP.  Given I have the IP, can I update the datasource definition directly in the Postgres repository? Or some config file in the web app?  Essentially, pointing to the new active node WITHOUT going thru the UI.  If possible, would the app have to be restarted?  Or, would it just use the new connection string on the next access of that datasource?

TIA,

Andrew

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...