Skip to content

Change the database host and port

When you want to change the database host and port on your WebSphere Application Server you have to edit all datasources through the ISC. Within IBM Connections that's about 20 times to change these values.

You can do this through wsadmin, then you can be sure that all datasources are changed (and when you make a typo the error appears in all datasources).

ibmcnx/config/ChgDBHost.py

Bash
./wsadmin.sh -lang jython -username wasadmin -password password -f ibmcnx/config/ChgDBHost.py

ChgDBHost