
7Command-LineInterface
rem
rem *******************************************************
rem * WaitServerlistinitialisation
rem * (WaitServerList:temporary subsetof Serverlist)
rem ********************************************************
rem
if exist svwaitls.txtdel svwaitls.txt
if exist oklist.txt deloklist.txt
rem
rem ********************************************************
rem * Checkactual states of all server of the ServerList andStartFlash
rem * Only State "No Flashstates" expected - other states willbe
cleaned
rem * or aborted first
rem * Only forservers with "No flashstates" "StartFlash" is executed
rem * Theaseservers were addedto WaitServerlist(WaitForDone-cycle)
rem * StartFlash is executed with Pathof FirmwareTree contained
rem * in filefwpath.txt
rem * Batch-File cli-init.bat is called for eachserver with the param-
eters
rem * of the fields in ServerList
rem *****************************************************
rem
for /F "eol=;tokens=1-3 delims=, " %%i in (serverls.txt)do call cli-
init %%i %%j%%k
rem
rem ***************************************************
rem * WaitForDone cycle
rem * The flashs are running
rem * Now is timeto WaitForDone (status ready- hopefully withoutany
error)
rem * All servers in flashingmode arelisted in svwaitls.txt
rem * Each server, returnswith timeout is setin svtmpls and WaitForDone
rem * is started again
rem * Each server, whichreturns without errors, is set to oklist.txt
rem * (AfterCleanUp)
rem * Each server, whichfinished with errorswill left be in error state
rem * all information inthe speziell result-file
rem * Batch-File cli-work.bat is called for eachserver with the
246 ServerViewUpdate Management