fowlow
asked on
How do rename a node in Websphere 6.1
Hi,
We are running websphere 6.1.0.35 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('[-no deName ctgNode01 -newNodeName ctgNode03]')
and ran it using
./wsadmin.sh -lang jython -f /root/scripts/changeNodeNa me.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
C:\ibm\WebSphere\AppServer \profiles\ ctgAppSrv0 1\config\c ells\ctgCe ll01\nodes \ctgNode01 \servers
I have modified the WAS_NODE value in C:\ibm\WebSphere\AppServer \profiles\ ctgAppSrv0 1\setupCmd Line 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?
Thanks
Tim
We are running websphere 6.1.0.35 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('[-no
and ran it using
./wsadmin.sh -lang jython -f /root/scripts/changeNodeNa
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
C:\ibm\WebSphere\AppServer
I have modified the WAS_NODE value in C:\ibm\WebSphere\AppServer
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?
Thanks
Tim
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Issue resolved
ASKER
Restart IBM Services is helpful.
Thanks for the grade & points.
Good luck & have a great day.
Good luck & have a great day.
ASKER