This is not officially supported, but it worked for me. First go get the “rpl” rpm, then use;

# Script to change the node name of the appgold server to the cloned host name.

# First lets change all the directory names

server=`hostname`

find /opt/WebSphere/AppServer -type d -name *old_node_name* -print | while read directory

do

newname=`echo $directory | sed ‘s/old_node_name/’$server’/g’`

mv $directory $newname

done

# Now lets change all the file contents using rpl

cd /opt/WebSphere/AppServer

/usr/local/bin/rpl -R old_node_name $server *

**NOTE ** You might have to run this twice to catch all the subdirectories.