You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. Use the command and parameters in the NodeConfigCommands group to change the host name of a node.
Use the changeHostName command to change the host name of a node.
Target object
None
Required parameters
Examples
Batch mode example usage:
$AdminTask changeHostName {-hostName myHost -nodeName myNode -systemName mySystem}
AdminTask.changeHostName('[-hostName myHost -nodeName myNode -systemName mySystem]')
AdminTask.changeHostName(['-hostName', 'myHost', '-nodeName', 'myNode', '-systemName', 'mySystem'])
Interactive mode example usage:
$AdminTask changeHostName {-interactive}
AdminTask.changeHostName('-interactive')