Changing IP address in Weblogic servers in Oracle SOA / IPM / AventX environments
It is a common practice to configure weblogic servers and their respective nodemangers to use IP addresses instead of hostnames.
While using IP addresses is common but always better to use hostnames on safe side.
There are instances when organizations decide to re-ip / change IP addresses of servers for some or the other project / business related decisions.
It is then a headache to change IP addresses in the respective configuration files.
Because if you end of changing the IP addresses on the hosts, weblogic server and nodemanager service will not start.
So how do we change IP address or rather configure hostnames in configuration files instead of IP address.
1) Changing IP address in nodemanager
- Go to "$MW_HOME/wlserver_10.3/common/nodemanager/nodemanager.properties"
- Backup the file
- Replace old IP with new IP (or instead replace it with hostname to avoid doing this again in future!)
- Login to weblogic console -> Machines -> machine_name -> Nodemanager
- Replace old IP with new IP (or instead replace it with hostname to avoid doing this again in future!)
- Restart node manager
2) Remove old IP references from config.xml file
- Go to "$DOMAIN_HOME/config/config.xml"
- Backup the file
- Replace old IP with new IP (or instead replace it with hostname to avoid doing this again in future!)
- Repeat this step for config.xml located in aserver and mserver in case you have split your admin server and managed servers into different directories aserver and mserver.
- Restart MT services including admin server
No comments:
Post a Comment