We are running websphere 18.104.22.168 on windows server 2008 sp2.
I would like to rename the node from ctgNode01 to ctgNode03 so that the name is not duplicated when I create our cluster.
I created a script called changeNodeName.py
AdminTask.renameNode('[-nodeName ctgNode01 -newNodeName ctgNode03]')
and ran it using
./wsadmin.sh -lang jython -f /root/scripts/changeNodeName.py
This seemed to partially work in that I now have a ctgNode03, however whenever I restart edthe deployment manager and node agent services then both give me a file not found error when looking for the folder
I have modified the WAS_NODE value in C:\ibm\WebSphere\AppServer\profiles\ctgAppSrv01\setupCmdLine to ctgNode03
What else do I need to do to get the services to start correctly? Why would the still be trying to open a file under the ctgNode01 folder.
Do I need to delete and recreate the two services? If so how do I find out the command to recreate the deployment manager service?