Date Created: Fri 30-Nov-2007

Related Document Categories:



    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 "-------------------------"
    }

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

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

Oracle WebLogic Categories

JBoss Categories

Other Categories