beautypg.com

FUJITSU ServerView Suite V6.10 User Manual

Page 259

background image

rem ********************************************************

rem * Old Flashs (ready) detected CleanUp them

rem *******************************************************

rem

:old-ok

@echo.

@echo Flash States "ready"(without errors) for server %1 available

rem

:old-nok

@echo.

@echo Flash States "ready"(with errors) for server %1 available

goto cleanall

rem

:cleanall

@echo Who has started them ? Please check!

@echo After continue the old flashs are reseted

pause

@echo CleanUp flash states for server %1

gfcli -C -N %1 -L %2 -P %3 -F %1.txt

if %errorlevel%==1 goto nothtodo

if %errorlevel%==2 goto timeout

if %errorlevel%==3 goto statenok

if %errorlevel%==4 goto c-oldnok

if %errorlevel%==5 goto gfierror

if %errorlevel%==6 goto nologop

if %errorlevel%==7 goto noaccess

if %errorlevel%==10 goto parerror

if %errorlevel%==11 goto memerror

if %errorlevel%==0 goto c-oldok

@echo.

@echo Undefined returncode!

goto chkend

rem

:c-oldok

@echo.

@echo CleanUP - Jobs detected all ok

goto start1

rem

ServerView Update Management

259

7.1 GFCLI (Command-Line Interface)