The cleanupNode command cleans up a node configuration
from the cell repository.
Only use this command to clean up a node if you have a node defined
in the cell configuration, but the node no longer exists. For more
information about where to run this command, see the
Using command tools article.
Note: The cleanupNode command may not remove application
server information from clusters when the associated node has already
been removed. In these cases, you will need to manually remove entries
related to the server from WebSphere
® Application
Server configuration files (cluster.xml, security.xml, multi-broker.xml,
EAR deployment descriptors, for example).
Syntax
The command syntax is as follows:
cleanupNode <node name> [deploymgr host] [deploymgr port] [options]
where
the first argument is required.
If you do not specify a deployment
manager host value, the command uses the localhost value, by default.
Also, if you do not specify a deployment manager port value, the command
uses the default SOAP port, which is 8879 unless you previously changed
this port number.
Parameters
The following options are available
for the cleanupNode command:
- -quiet
- Suppresses the progress information that the cleanupNode command
prints in normal mode.
- -trace
- Generates trace information into a log file for debugging purposes.
- -profileName
- Specifies the deployment manager profile to run the command against.
This parameter must be specified if the default profile is not a deployment
manager profile.
Usage scenario
The
following examples demonstrate correct syntax:
cleanupNode myNode -profileName dmgr
cleanupNode myNode -trace -profileName mydmgr