<p>We are repurposing an application server running WebSphere 6.0.2.23.  I would like to rename the various application server to better reflect its new role.  </p>

<p>How can you rename an application server? </p>

<p>It seems like wsadmin can do it, but I'm struggling with the object hierarchy.</p>

IBM Sample Scripts
download:
ConfigScripts.zip
from command line execute:
```
```
/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
```
```
source