Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Administer nodes and resources > Work with dmgrs - centralized cell management > Configure dmgrs


Renaming dmgr nodes

This topic describes how to rename a dmgr node by modifying the setupCmdLine file for the node. Make sure that you create a backup of the dmgr configuration including its node configurations. For more information, see the documentation about the backupConfig command. We can use the renameNode command to modify managed nodes. However, the rename command does not modify the node name information within the dmgr configuration. If you use the renameNode command to modify a dmgr node, the dmgr does not restart. This task resolves the problem by modifying the setupCmdLine file so that it references the new node name.


Procedure

  1. Start the dmgr.

  2. Start the wsadmin scripting tool within the dmgr profile. See the documentation about starting the wsadmin scripting client.

  3. Use the renameNode command in the interactive mode to rename the managed node.

      ### Jacl

      $AdminTask renameNode {-interactive}
      

    • Jython string:
      AdminTask.renameNode ('[-interactive]')
      

    • Use Jython list:
      AdminTask.renameNode (['-interactive'])
      

  4. Save the configuration changes. For more information, see the documentation about saving configuration changes with the wsadmin tool.

    At this point, the renameNode command renames the managed node, but does not modify the dmgr node configuration. Thus, the dmgr 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.


Results

After you save the setupCmdLine file, the dmgr starts successfully.
Managed and unmanaged nodes
Node groups
Get started with wsadmin scripting
Start the wsadmin scripting client using wsadmin.sh


Related


Node collection
Add managed node settings
Node installation properties
backupConfig command
renameNode command
Saving configuration changes with wsadmin.sh

+

Search Tips   |   Advanced Search