How to change cell and node names in a standalone HCL DX environment
Applies to
HCL Digital Experience 8.5 and higher
Introduction
When you install HCL Digital Experience (DX), a wp_profile is created with a cell name and a node name by default. In some scenarios, it is required to change the cell name and node name after installation. This article provides instructions on how to change these names.
Instructions
Refer to the following steps to change the cell name and node name in a standalone DX environment:
-
Open the command line window and go to the
<WAS_HOME>/profiles/<profile_name>/bindirectory. -
Run the
wsadmincommand in non-connected mode, as shown in the following example. Make sure to replace<wsadmin>and<waspassword>with the correct values../wsadmin.sh -lang jython -user <wasadmin> -password <waspassword> -CONNTYPE none -
Change the cell or node name by using the following commands in
wsadminprompt:-
To change the cell name, run:
AdminTask.renameCell('[-newCellName <newName>]')Make sure to replace
<newName>with new cell name value. -
To change the node name, run:
AdminTask.renameNode('[-nodeName <oldname> -newNodeName <newname>]')Make sure to replace
<oldname>with old node name value and<newname>with new node name value.
-
-
Save the changes by using the following command:
AdminConfig.save() -
Exit the
wsadminprompt by using the command:exit -
Create a backup copy of
setupCmdLine.shlocated inWAS_HOME/profiles/<profile_name>/bin. -
Edit
setupCmdLine.shfile and change theWAS_NODEvalue to the new node name. Make sure that theWAS_CELLvalue is updated with new cell name. -
Restart the WebSphere_Portal server.