HP XP P9000 Replication Manager Software 7.6.0-00 User Guide

set cmdRetVal=%errorlevel%
if not "%cmdRetVal%"=="0" (
rem an error occur
echo Error!!
exit /b 1
)
rem Confirming the result of pair operation task
call GetTasks.bat taskID=task-ID retryInterval=5 retryCount=12
set cmdRetVal=%errorlevel%
if not "%cmdRetVal%"=="104" (
rem an error occur
echo Error!!
exit /b 1
)
rem Normal termination
exit /b 0
Adjusting the interval for confirming status
If you need to consider the time to quiesce the application and minimize the execution time of the
task, you should adjust the retry interval time for confirming the task status (as defined in properties
files). The following table lists the recommended adjustments according to the copy pair operation
and processing time of the P9000 RAID Manager command.
NOTE:
In consideration of the load concerning the management server, HP recommends using the default
properties file values unless your copy pair operation matches the conditions set forth in the table.
Method of adjustmentP9000 RAID Manager command and duration
Set the hdvmagtif.PollingInterval property
of the agentif.properties file to 5-15
(seconds). (The default is 30.)
split: When the processing time of the pairsplit
command is approximately 100-120 seconds.
syncwait: When you intend to set the timeout to
approximately 100-120 seconds.
Set the base.taskscheck.interval property
of the base.properties file to 30-60 (seconds).
(The default is 120.)
resync: When the time from executing the pairresync
command to when the pair status is changed to PAIR is
less than 150 seconds.
restore:
If the copy type is local: When the time from executing
the pairresync -restore command to when the
pair status is changed to PAIR is less than 180 seconds.
If the copy type is remote: When the time executing the
pairresync -swapp command to when the pair status
is changed to PAIR is less than 180 seconds.
You must restart Replication Manager after changing property values. For details about editing the
property file and restarting Replication Manager, see the HP P9000 Replication Manager Configuration
Guide.
User Guide 453