WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WebSphere level Hostname Change

    Posted Fri January 16, 2015 03:02 AM
    Dear All,

    We have WAS 7.0.0.27 running on RedHat Linux.

     We need to change hostname at websphere level.Please suggest.

    We have 2 dmgr profiles under which each dmgr holding a node agent and 2 Application servers.

    Appreciate your kind suggestions. 


  • 2.  WebSphere level Hostname Change

    Posted Sat January 17, 2015 01:45 AM
    Hi, 

    You can change the Hostname at WebSphere Level , all you have to do is visit the profile_home/properties and edit the host name in file named wsadmin.properties and once you update the information restart the appserver it will work.


  • 3.  WebSphere level Hostname Change

    Posted Mon February 02, 2015 05:29 PM
    The hostname is defined to each node. You need to change the hostname of each node. You can use these steps:

     Enter the command on the DMGR_PROFILE_HOME/bin
      >wsadmin -conntype none -lang jython
    AdminTask.changeHostName('-hostName NEW.test.com -nodeName node01')
    AdminConfig.save()      

    Restart the DMGR and then sync the node to the DMGR
    Run the syncNode cmd on the node's profile bin directory
          > ./syncNode.sh  -trace -username xxx -password yyyy