Link to home
Start Free TrialLog in
Avatar of fowlow
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('[-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
C:\ibm\WebSphere\AppServer\profiles\ctgAppSrv01\config\cells\ctgCell01\nodes\ctgNode01\servers

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?

Thanks
Tim
Avatar of fowlow
fowlow

ASKER

I have also deleted the temp, tranlog and wstemp folders to ensure I don't have a caching issue.
ASKER CERTIFIED SOLUTION
Avatar of HonorGod
HonorGod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fowlow

ASKER

Issue resolved
Avatar of fowlow

ASKER

Restart IBM Services is helpful.
Thanks for the grade & points.

Good luck & have a great day.