Stopping a node using wsadmin scripting

Use scripting to stop a node agent.

Before you begin

Before starting this task, the wsadmin tool must be running. See the topic about starting the wsadmin scripting client using wsadmin scripting article for more information.

About this task

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. Perform the following task to stop a node:

Procedure

  1. Identify the node that you want to stop and assign it to a variable:

    Using Jacl:

    set na [$AdminControl queryNames type=NodeAgent,node=mynode,*]

    Using Jython:

    na = AdminControl.queryNames('type=NodeAgent,node=mynode,*')
  2. Stop the node:

    Using Jacl:

    $AdminControl invoke $na stopNode 

    Using Jython:

    AdminControl.invoke(na, 'stopNode')

주제 유형을 표시하는 아이콘 태스크 주제



시간소인 아이콘 마지막 업데이트 날짜: July 9, 2016 6:14
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_nodestop
파일 이름:txml_nodestop.html