The server has an initial ip and hostname of 192.168.100.100, alias and alias.us.ibm.com.
1. Put in a entry into /etc/host with
192.168.100.100 alias.us.ibm.com alias
2. Install all IBM products against "alias" hostname3. When you need to change the hostname, expand the alias entry to /etc/hosts. Your /etc/hosts should look like this
18.104.22.168 newhostname.us.ibm.com newhostname alias
The IBM software should resolve always to "alias" while the external connectivity would be tied to "newhostname" and "newhostname.us.ibm.com". Works with WebSphere Application Server, DB2 Workgroup Server and WebSphere MQ Server.