Example: Migrating - Stopping a node
The WAS V4.0 wscp tool 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 V6.x, stop the node agent.
Tip: If you bring down the server to which the wsadmin process is connected, one cannot issue any more commands against that server.
- wscp V4.0
Node stop /Node:mynode/- wsadmin V6.x
set na [$AdminControl queryNames type=NodeAgent,node=mynode,*] $AdminControl invoke $na stopNodena = AdminControl.queryNames('type=NodeAgent,node=mynode,*') AdminControl.invoke(na, 'stopNode')Stopping 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.
See Also
Commands for the AdminControl object