Use the renameNodeInDeploymentEnvDef command to rename a node across all roles an existing deployment environment definition.
This command renames a node across all roles in an existing deployment environment definition. You would typically perform this task after importing a topology from another deployment environment.
>>-wsadmin-- --renameNodeInDeploymentEnvDef---------------------> >-- —topologyName-- --topologyName-- ---------------------------> >-- —oldName-- --oldName-- -- —newName-- --newName-------------><
wsadmin>$AdminTask renameNodeInDeploymentEnvDef { -topologyName MyDepEnv -oldName TheOldNodeName -newName TheNewNodeName }