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
Expand all | Collapse all

renaming server2 to server1 on Websphere Application server ND

  • 1.  renaming server2 to server1 on Websphere Application server ND

    Posted 10/22/13 08:46 AM
    Hi

    i am having two servers ( server1 and server2), i want to delete server1 and rename server2 to server1. how can i do that. server2 is having applications on it.

    i tried this and failed:
    /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/ws_ant.sh \
    -profileName AppSrv01 \
    -buildfile exportImport.xml \
    -logfile rename.log \
    -DoldServerName=server1 \
    -DnewServerName=server2 \
    -DnodeName=yourNode01 changeServerName

    all the serversname are on same node


  • 2.  renaming server2 to server1 on Websphere Application server ND

    Posted 10/22/13 11:17 AM
    check the scripts available here
    www.ibm.com/developerworks/websphere/lib...

    under, Scripts for WebSphere Application Server configuration changes