Date Created: Fri 30-Nov-2007

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/



JACL Script to Stop Nodes

stopnode.jacl

##################################################################
#
# edited and commented by Steve Robinson - November 2007
#
##################################################################

#puts [$AdminControl queryNames WebSphere:type=Server,* ]
#puts [$AdminControl queryNames WebSphere:process=nodeagent,* ]
puts [$AdminControl queryNames WebSphere:type=NodeSync,* ]


set nodelist [$AdminConfig list Node]

foreach node $nodelist {
puts "-------------------------"
puts "Info Node ID:- $node"
set NodeName [$AdminConfig showAttribute $node name]
puts "Info Node Name:- $NodeName"
set nodeTostop [$AdminControl queryNames type=NodeSync,node=$NodeName,*]
puts "Stopping Node :- $nodeTostop"
## $AdminControl invoke $nodeTostop stopNode
puts "-------------------------"
}

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories