ClusPerf.cmd

Published Mar 15 2019 01:54 PM 139 Views
Microsoft
First published on MSDN on Oct 30, 2009

@if not defined debugbat echo off

: Turn on "delayed expansion" so we can manipulate variables properly in for loops.
setlocal ENABLEDELAYEDEXPANSION

: Defaults
set create=0
set start=0
set stop=0
set delete=0
set show=0
set name="WSFCCluster"
set out="c:WSFCCluster"
set filter="Cluster"

set hosts=

if "%1%" == "" goto Usage

:argloop

if "%1%" == "" goto endargloop

if "%1%" == "/?" goto Usage
if "%1%" == "-?" goto Usage

if "%1%" == "-create" (
set create=1
) else if "%1%" == "-c" (
set create=1
) else if "%1%" == "-start" (
set start=1
) else if "%1%" == "-stop" (
set stop=1
) else if "%1%" == "-delete" (
set delete=1
) else if "%1%" == "-d" (
set delete=1
) else if "%1%" == "-show" (
set show=1
) else if "%1%" == "-q" (
set show=1
) else if "%1%" == "-query" (
set show=1
) else if "%1%" == "-name" (
set name=%2%
shift
) else if "%1%" == "-n" (
set name=%2%
shift
) else if "%1%" == "-out" (
set out=%2%
shift
) else if "%1%" == "-o" (
set out=%2%
shift
) else if "%1%" == "-filter" (
set filter=%2%
shift
) else if "%1%" == "-flt" (
set filter=%2%
shift
) else if "%1%" == "-f" (
set filter=%2%
shift
) else (
set hosts=%hosts% %1%
)

shift
goto argloop

:endargloop

: Use either MYNLBNODES or NLBNODES
if "%hosts%" == "" set hosts=%myclusnodes%
if "%hosts%" == "" set hosts=%clusnodes%
if "%hosts%" == "" (
if "%create%" == "1" goto Usage
)
if DEFINED CLUSPERFNAME (
set name=%CLUSPERFNAME%
)
if DEFINED CLUSPERFPATH (
set out=%CLUSPERFPATH%
)

if "%create%" == "1" set delete=1
if "%delete%" == "1" set stop=1

if "%stop%" == "1" call :StopSession
if "%delete%" == "1" call :DeleteSession
if "%create%" == "1" call :CreateSession
if "%start%" == "1" call :StartSession
if "%show%" == "1" call :ShowSession

goto :end

:
:ShowSession
:

echo Showing Log Session: %name%

logman query %name%

dir %out%*.*

goto :eof

:
:CreateSession
:

echo Creating Log Session: %name% at %out% using filter %filter%
echo For nodes: %hosts%

if exist %temp%counters_tmp.txt (del %temp%counters_tmp.txt)

for %%h in ( %hosts% ) do (
echo Generating counters list for the host %%h
typeperf -s %%h -q | findstr %filter% >> %temp%counters_tmp.txt
)
echo Creating log session
logman create counter %name% -o %out% -cf %temp%counters_tmp.txt

if exist %temp%counters_tmp.txt (del %temp%counters_tmp.txt)

goto :eof

:
:StartSession
:

echo Starting Log Session: %name%

logman start %name%

goto :eof

:
:StopSession
:

echo Stopping Log Session: %name%

logman stop %name%

goto :eof

:
:DeleteSession
:

echo Deleting Log Session: %name%

logman delete %name%

goto :eof


:Usage

echo.
echo.%0 [-c] [-stop] [-start] [-d] [-show] [-q] [-n {session name}] [-o {path to the log files}] [-f {counters filter}] [{list of nodes}]
echo.
echo -c           - cerate new session.
echo                aliases: create.
echo -start       - starts session.
echo -stop        - stops session.
echo -d           - deletes session session.
echo                aliases: delete.
echo -show        - prints session details.
echo                aliases: q, query.
echo -q           - same as show.
echo                aliases: show, query.
echo -n {name}    - Session name.
echo                aliases: name.
echo                default: WSFCCluster.
echo -o {path}    - path to the trace files.
echo                aliases: out.
echo                default: c:WSFCCluster.
echo -f {str}     - filter for the counters we want to monitor.
echo                aliases: flt, filter.
echo                default: Cluster.
echo.
echo You can specify multiple commands and they will be executed in the following order
echo    1.stop
echo    2.dlete
echo    3.create
echo    4.start
echo    5.show
echo.
echo Note that if you specify create then it already implies stop and delete.
echo Note that if you specify delete then it already implies stop.
echo.
echo You can provide list of nodes using clusnodes or myclusnodes environment variables
echo.
goto :eof

:end
endlocal


%3CLINGO-SUB%20id%3D%22lingo-sub-371558%22%20slang%3D%22en-US%22%3EClusPerf.cmd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-371558%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Oct%2030%2C%202009%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3E%40if%20not%20defined%20debugbat%20echo%20off%3C%2FP%3E%0A%20%20%3CP%3E%3A%20Turn%20on%20%22delayed%20expansion%22%20so%20we%20can%20manipulate%20variables%20properly%20in%20for%20loops.%20%3CBR%20%2F%3E%20setlocal%20ENABLEDELAYEDEXPANSION%3C%2FP%3E%0A%20%20%3CP%3E%3A%20Defaults%20%3CBR%20%2F%3E%20set%20create%3D0%20%3CBR%20%2F%3E%20set%20start%3D0%20%3CBR%20%2F%3E%20set%20stop%3D0%20%3CBR%20%2F%3E%20set%20delete%3D0%20%3CBR%20%2F%3E%20set%20show%3D0%20%3CBR%20%2F%3E%20set%20name%3D%22WSFCCluster%22%20%3CBR%20%2F%3E%20set%20out%3D%22c%3AWSFCCluster%22%20%3CBR%20%2F%3E%20set%20filter%3D%22Cluster%22%3C%2FP%3E%0A%20%20%3CP%3Eset%20hosts%3D%3C%2FP%3E%0A%20%20%3CP%3Eif%20%22%251%25%22%20%3D%3D%20%22%22%20goto%20Usage%3C%2FP%3E%0A%20%20%3CP%3E%3Aargloop%3C%2FP%3E%0A%20%20%3CP%3Eif%20%22%251%25%22%20%3D%3D%20%22%22%20goto%20endargloop%3C%2FP%3E%0A%20%20%3CP%3Eif%20%22%251%25%22%20%3D%3D%20%22%2F%3F%22%20goto%20Usage%20%3CBR%20%2F%3E%20if%20%22%251%25%22%20%3D%3D%20%22-%3F%22%20goto%20Usage%3C%2FP%3E%0A%20%20%3CP%3Eif%20%22%251%25%22%20%3D%3D%20%22-create%22%20(%20%3CBR%20%2F%3E%20set%20create%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-c%22%20(%20%3CBR%20%2F%3E%20set%20create%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-start%22%20(%20%3CBR%20%2F%3E%20set%20start%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-stop%22%20(%20%3CBR%20%2F%3E%20set%20stop%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-delete%22%20(%20%3CBR%20%2F%3E%20set%20delete%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-d%22%20(%20%3CBR%20%2F%3E%20set%20delete%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-show%22%20(%20%3CBR%20%2F%3E%20set%20show%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-q%22%20(%20%3CBR%20%2F%3E%20set%20show%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-query%22%20(%20%3CBR%20%2F%3E%20set%20show%3D1%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-name%22%20(%20%3CBR%20%2F%3E%20set%20name%3D%252%25%20%3CBR%20%2F%3E%20shift%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-n%22%20(%20%3CBR%20%2F%3E%20set%20name%3D%252%25%20%3CBR%20%2F%3E%20shift%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-out%22%20(%20%3CBR%20%2F%3E%20set%20out%3D%252%25%20%3CBR%20%2F%3E%20shift%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-o%22%20(%20%3CBR%20%2F%3E%20set%20out%3D%252%25%20%3CBR%20%2F%3E%20shift%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-filter%22%20(%20%3CBR%20%2F%3E%20set%20filter%3D%252%25%20%3CBR%20%2F%3E%20shift%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-flt%22%20(%20%3CBR%20%2F%3E%20set%20filter%3D%252%25%20%3CBR%20%2F%3E%20shift%20%3CBR%20%2F%3E%20)%20else%20if%20%22%251%25%22%20%3D%3D%20%22-f%22%20(%20%3CBR%20%2F%3E%20set%20filter%3D%252%25%20%3CBR%20%2F%3E%20shift%20%3CBR%20%2F%3E%20)%20else%20(%20%3CBR%20%2F%3E%20set%20hosts%3D%25hosts%25%20%251%25%20%3CBR%20%2F%3E%20)%3C%2FP%3E%0A%20%20%3CP%3Eshift%20%3CBR%20%2F%3E%20goto%20argloop%3C%2FP%3E%0A%20%20%3CP%3E%3Aendargloop%3C%2FP%3E%0A%20%20%3CP%3E%3A%20Use%20either%20MYNLBNODES%20or%20NLBNODES%20%3CBR%20%2F%3E%20if%20%22%25hosts%25%22%20%3D%3D%20%22%22%20set%20hosts%3D%25myclusnodes%25%20%3CBR%20%2F%3E%20if%20%22%25hosts%25%22%20%3D%3D%20%22%22%20set%20hosts%3D%25clusnodes%25%20%3CBR%20%2F%3E%20if%20%22%25hosts%25%22%20%3D%3D%20%22%22%20(%20%3CBR%20%2F%3E%20if%20%22%25create%25%22%20%3D%3D%20%221%22%20goto%20Usage%20%3CBR%20%2F%3E%20)%20%3CBR%20%2F%3E%20if%20DEFINED%20CLUSPERFNAME%20(%20%3CBR%20%2F%3E%20set%20name%3D%25CLUSPERFNAME%25%20%3CBR%20%2F%3E%20)%20%3CBR%20%2F%3E%20if%20DEFINED%20CLUSPERFPATH%20(%20%3CBR%20%2F%3E%20set%20out%3D%25CLUSPERFPATH%25%20%3CBR%20%2F%3E%20)%3C%2FP%3E%0A%20%20%3CP%3Eif%20%22%25create%25%22%20%3D%3D%20%221%22%20set%20delete%3D1%20%3CBR%20%2F%3E%20if%20%22%25delete%25%22%20%3D%3D%20%221%22%20set%20stop%3D1%3C%2FP%3E%0A%20%20%3CP%3Eif%20%22%25stop%25%22%20%3D%3D%20%221%22%20call%20%3AStopSession%20%3CBR%20%2F%3E%20if%20%22%25delete%25%22%20%3D%3D%20%221%22%20call%20%3ADeleteSession%20%3CBR%20%2F%3E%20if%20%22%25create%25%22%20%3D%3D%20%221%22%20call%20%3ACreateSession%20%3CBR%20%2F%3E%20if%20%22%25start%25%22%20%3D%3D%20%221%22%20call%20%3AStartSession%20%3CBR%20%2F%3E%20if%20%22%25show%25%22%20%3D%3D%20%221%22%20call%20%3AShowSession%3C%2FP%3E%0A%20%20%3CP%3Egoto%20%3Aend%3C%2FP%3E%0A%20%20%3CP%3E%3A%20%3CBR%20%2F%3E%20%3AShowSession%20%3CBR%20%2F%3E%20%3A%3C%2FP%3E%0A%20%20%3CP%3Eecho%20Showing%20Log%20Session%3A%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Elogman%20query%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Edir%20%25out%25*.*%3C%2FP%3E%0A%20%20%3CP%3Egoto%20%3Aeof%3C%2FP%3E%0A%20%20%3CP%3E%3A%20%3CBR%20%2F%3E%20%3ACreateSession%20%3CBR%20%2F%3E%20%3A%3C%2FP%3E%0A%20%20%3CP%3Eecho%20Creating%20Log%20Session%3A%20%25name%25%20at%20%25out%25%20using%20filter%20%25filter%25%20%3CBR%20%2F%3E%20echo%20For%20nodes%3A%20%25hosts%25%3C%2FP%3E%0A%20%20%3CP%3Eif%20exist%20%25temp%25counters_tmp.txt%20(del%20%25temp%25counters_tmp.txt)%3C%2FP%3E%0A%20%20%3CP%3Efor%20%25%25h%20in%20(%20%25hosts%25%20)%20do%20(%20%3CBR%20%2F%3E%20echo%20Generating%20counters%20list%20for%20the%20host%20%25%25h%20%3CBR%20%2F%3E%20typeperf%20-s%20%25%25h%20-q%20%7C%20findstr%20%25filter%25%20%26gt%3B%26gt%3B%20%25temp%25counters_tmp.txt%20%3CBR%20%2F%3E%20)%20%3CBR%20%2F%3E%20echo%20Creating%20log%20session%20%3CBR%20%2F%3E%20logman%20create%20counter%20%25name%25%20-o%20%25out%25%20-cf%20%25temp%25counters_tmp.txt%3C%2FP%3E%0A%20%20%3CP%3Eif%20exist%20%25temp%25counters_tmp.txt%20(del%20%25temp%25counters_tmp.txt)%3C%2FP%3E%0A%20%20%3CP%3Egoto%20%3Aeof%3C%2FP%3E%0A%20%20%3CP%3E%3A%20%3CBR%20%2F%3E%20%3AStartSession%20%3CBR%20%2F%3E%20%3A%3C%2FP%3E%0A%20%20%3CP%3Eecho%20Starting%20Log%20Session%3A%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Elogman%20start%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Egoto%20%3Aeof%3C%2FP%3E%0A%20%20%3CP%3E%3A%20%3CBR%20%2F%3E%20%3AStopSession%20%3CBR%20%2F%3E%20%3A%3C%2FP%3E%0A%20%20%3CP%3Eecho%20Stopping%20Log%20Session%3A%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Elogman%20stop%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Egoto%20%3Aeof%3C%2FP%3E%0A%20%20%3CP%3E%3A%20%3CBR%20%2F%3E%20%3ADeleteSession%20%3CBR%20%2F%3E%20%3A%3C%2FP%3E%0A%20%20%3CP%3Eecho%20Deleting%20Log%20Session%3A%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Elogman%20delete%20%25name%25%3C%2FP%3E%0A%20%20%3CP%3Egoto%20%3Aeof%3C%2FP%3E%0A%20%20%3CP%3E%3CBR%20%2F%3E%20%3AUsage%3C%2FP%3E%0A%20%20%3CP%3Eecho.%20%3CBR%20%2F%3E%20echo.%250%20%5B-c%5D%20%5B-stop%5D%20%5B-start%5D%20%5B-d%5D%20%5B-show%5D%20%5B-q%5D%20%5B-n%20%7Bsession%20name%7D%5D%20%5B-o%20%7Bpath%20to%20the%20log%20files%7D%5D%20%5B-f%20%7Bcounters%20filter%7D%5D%20%5B%7Blist%20of%20nodes%7D%5D%20%3CBR%20%2F%3E%20echo.%20%3CBR%20%2F%3E%20echo%20-c%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20cerate%20new%20session.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20aliases%3A%20create.%20%3CBR%20%2F%3E%20echo%20-start%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20starts%20session.%20%3CBR%20%2F%3E%20echo%20-stop%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20stops%20session.%20%3CBR%20%2F%3E%20echo%20-d%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20deletes%20session%20session.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20aliases%3A%20delete.%20%3CBR%20%2F%3E%20echo%20-show%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20prints%20session%20details.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20aliases%3A%20q%2C%20query.%20%3CBR%20%2F%3E%20echo%20-q%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20same%20as%20show.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20aliases%3A%20show%2C%20query.%20%3CBR%20%2F%3E%20echo%20-n%20%7Bname%7D%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20Session%20name.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20aliases%3A%20name.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20default%3A%20WSFCCluster.%20%3CBR%20%2F%3E%20echo%20-o%20%7Bpath%7D%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20path%20to%20the%20trace%20files.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20aliases%3A%20out.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20default%3A%20c%3AWSFCCluster.%20%3CBR%20%2F%3E%20echo%20-f%20%7Bstr%7D%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20filter%20for%20the%20counters%20we%20want%20to%20monitor.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20aliases%3A%20flt%2C%20filter.%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20default%3A%20Cluster.%20%3CBR%20%2F%3E%20echo.%20%3CBR%20%2F%3E%20echo%20You%20can%20specify%20multiple%20commands%20and%20they%20will%20be%20executed%20in%20the%20following%20order%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%201.stop%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%202.dlete%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%203.create%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%204.start%20%3CBR%20%2F%3E%20echo%26nbsp%3B%26nbsp%3B%26nbsp%3B%205.show%20%3CBR%20%2F%3E%20echo.%20%3CBR%20%2F%3E%20echo%20Note%20that%20if%20you%20specify%20create%20then%20it%20already%20implies%20stop%20and%20delete.%20%3CBR%20%2F%3E%20echo%20Note%20that%20if%20you%20specify%20delete%20then%20it%20already%20implies%20stop.%20%3CBR%20%2F%3E%20echo.%20%3CBR%20%2F%3E%20echo%20You%20can%20provide%20list%20of%20nodes%20using%20clusnodes%20or%20myclusnodes%20environment%20variables%20%3CBR%20%2F%3E%20echo.%20%3CBR%20%2F%3E%20goto%20%3Aeof%3C%2FP%3E%0A%20%20%3CP%3E%3Aend%20%3CBR%20%2F%3E%20endlocal%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-371558%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Oct%2030%2C%202009%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%40if%20not%20defined%20debugbat%20echo%20off%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20Turn%20on%20%22delayed%20expansion%22%20so%20we%20can%20manipulate%20variables%20properly%20in%20for%20loops.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-371558%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPages%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Mar 15 2019 01:54 PM
Updated by: