The removeNode command returns a node from a Network Deployment distributed administration cell to a standalone WebSphere Application Server profile. For more information about where to run this command, see the Using command tools article.
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 executed 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:
Depending on the size and location of the new node you remove from the cell, this command can take a few minutes to complete.
Syntax
The command syntax is as follows:
removeNode [options]All arguments are optional.
Parameters
The following options are available for the removeNode command:
Usage scenario
The following examples demonstrate correct syntax:
removeNode -quiet removeNode -profileName mynode removeNode -trace (produces the removeNode.log file)
Related reference
Best practices for adding nodes using command line tools
addNode command