Using Jython to Change WebSphere Cell Names , Node Names Interactive mode running from the dmgr profile of the cell you wish to change: 1. From the /profiles/dmgr/bin dir ./wsadmin.sh -lang jython …
Source: Using Jython to Change WebSphere Cell Names , Node Names & Host Name | websphere4u
This helped me a lot. (But don’t forget the last line of the article!)