The removeNode command returns a node from a Network Deployment distributed administration cell to a standalone WebSphere Application Server installation.
The removeNode command only removes the node-specific configuration from the cell. This command does not uninstall any applications that were installed as the result of executing an addNode command. Such applications can subsequently deploy on additional servers in the Network Deployment cell. As a consequence, an addNode command with the -includeapps option ran after a removeNode command does not move the applications into the cell because they already exist from the first addNode command. The resulting application servers added on the node do not contain any applications. To deal with this situation, add the node and use the deployment manager to manage the applications. Add the applications to the servers on the node after it is incorporated into the cell. The removeNode command does the following:
You must have the following privileges or authorities to use the removeNode command:
Depending on the size and location of the new node you remove from the cell, this command can take a few minutes to complete.
Note: An application server node that is built as part of a cell profile creation does not have an original configuration, therefore the removeNode command is not able to restore the node to a usable base configuration. If you use the removeNode command on a node that was created during cell profile creation, the command will indicate that the node removal utility is unable to remove the node and restore the node to a base configuration.
To successfully remove a node that was federated as part of a cell profile creation, use the manageprofiles command to delete the profile for the node. Once the profile for the node is deleted, use the cleanupNode command on Deployment Manager to remove the node configuration from the cell repository. A new profile can be created using the Profile Management Tool or the manageprofiles command.
removeNode [options]All arguments are optional.
The following options are available for the removeNode command:
The following examples demonstrate correct syntax:
removeNode -quiet
removeNode -profileName mynode removeNode -trace (produces the removeNode.log file)