Example: Migrating - Stopping a node
The WebSphere Application Server V4.0 wscp requires the name of the node. In V4.0, if you stop a node, you bring down the administrative server on that node. To take the equivalent action in V5.0, stop the node agent.
Note: If you bring down the server to which the wsadmin process is connected, you are not able to issue any further commands against that server.
- wscp V4.0
Node stop /Node:mynode/- wsadmin V5.0
set na [$AdminControl queryNames type=NodeAgent,node=mynode,*] $AdminControl invoke $na stopNodeStopping the node agent on a remote machine process is an asynchronous action where the stop is initiated, and then control returns to the command line.