How do rename a node in Websphere 6.1

Posted on 2011-05-09
Last Modified: 2012-05-11
We are running websphere 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

AdminTask.renameNode('[-nodeName ctgNode01 -newNodeName ctgNode03]')

and ran it using
./ -lang jython -f /root/scripts/

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?

Question by:fowlow

    Author Comment

    I have also deleted the temp, tranlog and wstemp folders to ensure I don't have a caching issue.
    LVL 41

    Accepted Solution

    I was able to find the following information from this documentation page:

    4. ...

    At this point, the renameNode command renames the managed node, but does not modify the deployment manager node configuration. Thus, the deployment manager does not restart.

    5. Modify the WAS_NODE variable in the profile_root /deployment_manager_name/bin/setupCmdLine file so that it references the new managed node name.

      Is this what you need?

    Assisted Solution

    Issue resolved by running the renameNode command which is found in the bin folder. I then restarted the IBM services and deleted the temp and tranlog folders.

    Author Comment

    Issue resolved

    Author Closing Comment

    Restart IBM Services is helpful.
    LVL 41

    Expert Comment

    Thanks for the grade & points.

    Good luck & have a great day.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    has22 challenge 11 55
    java continue statement 10 51
    Fibonacci challenge 11 61
    Understanding websocket example in spring 1 20
    -Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
    Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now