beautypg.com

Example execution and explanation of script files, Error in executing report configuration tool – HP XP7 Storage User Manual

Page 100

background image

%REPORTFOLDER%\Report_%REPORT_NAME%_3.tgz
)
IF EXIST %REPORTFOLDER%\Report_%REPORT_NAME%_1.tgz (
COPY %REPORTFOLDER%\Report_%REPORT_NAME%_1.tgz ^
%REPORTFOLDER%\Report_%REPORT_NAME%_2.tgz
)
IF EXIST %TARGETFOLDER%\Report_%REPORT_NAME%.tgz (
COPY %TARGETFOLDER%\Report_%REPORT_NAME%.tgz ^
%REPORTFOLDER%\Report_%REPORT_NAME%_1.tgz
DEL %TARGETFOLDER%\Report_%REPORT_NAME%.tgz
)
)
GOTO :END
EXIT /B

:SLEEP
REM ####################################### SLEEP with %TIMEOUT%
ping 127.0.0.1 -n %TIMEOUT% > NUL
EXIT /B

:ABEND
REM ####################################### ABEND
ECHO "Download Report Script was ABEND"

:END
REM ####################################### Logout
%RAIDINF_PATH%\raidinf -logout -servername %SERVER%

Example execution and explanation of script files

The first time you execute the script files to create a configuration report and download a
configuration file, the Report_DailyConfigurationReport_1.tgz file is created in the
C:\Reports

folder.

On the second day:

Report_DailyConfigurationReport_1.tgz

is renamed

Report_DailyConfigurationReport_2.tgz

, and

Report_DailyConfigurationReport_1.tgz

is newly created.

From the third day on:

Report_DailyConfigurationReport_1.tgz

and

Report_DailyConfigurationReport_2.tgz

are renamed

Report_DailyConfigurationReport_2.tgz

and

Report_DailyConfigurationReport_3.tgz

, and

Report_DailyConfigurationReport_1.tgz

are newly created. Because

Report_DailyConfigurationReport_3.tgz

is overwritten, the reports for three days

are always accumulated in the C:\Reports folder.

C:\Reports
CreateReport.bat
DownloadReport.bat
Report_DailyConfigurationReport_1.tgz <-Generated today
Report_DailyConfigurationReport_2.tgz <-Generated yesterday
Report_DailyConfigurationReport_3.tgz <-Generated two days ago

Error in executing Report Configuration Tool

When using the Report Configuration Tool, you may see Remote Web Console error codes and
other error codes that are unique to the Report Configuration Tool. For Remote Web Console error

100 Viewing and managing the storage system

This manual is related to the following products: