If you are running a federated environment, update the deployment manager (DMGR) host
name.
Procedure
-
Stop the WebSphere Application Server deployment manager profile (DMGR), node agents, and
WebSphere Commerce servers for all virtual machine images.
-
Open a command prompt.
-
Go to the WC_profiledir/bin directory
-
Stop the servers:
-
Change the host name for DMGR:
For example:
./wsadmin.sh -c "$AdminTask changeHostName {-nodeName myDmgr -hostName hostname}"
-conntype NONE
Where
- myDmgr is the node name for the DMGR profile
- hostname is a new host name
-
Start the
deployment manager profile.
- Optional:
Change the DMGR node name:
-
Go to the dmgr_profiledir/bin directory.
-
Run a command to change the node name.
For
example:
./wsadmin.sh -c "$AdminTask renameNode {-nodeName myDmgr -newNodeName newDmgr}"
-
Update the setupCmdLine script to set the WAS_NODE
value to your new node name.
For example:
WAS_NODE=newDmgr
Note: The script is in the dmgr_profiledir/bin/
directory.