How to reduce the fixed "minimum" one hour job schedule time

Article:TECH11290  |  Created: 2001-01-25  |  Updated: 2010-01-13  |  Article URL http://www.symantec.com/docs/TECH11290
Article Type
Technical Solution

Environment

Problem



How to reduce the fixed "minimum" one hour job schedule time

Solution



A replication job in VERITAS Storage Replicator (VSR) may require scheduling, for example, every 30 minutes. By creating a batch file for the SrTool utility and adding it to the Windows Task Scheduler, this can be achieved.

This can be achieved only if the initial synchronization has been completed. If the initial synchronization has not been completed the job will not stop until the initial synchronization has completed.

Currently in the VSR console, the minimum time a replication job can be scheduled is one hour (Figure 1).

Figure 1
 

Note:  This time cannot be changed using the SrTool "schedule" command.  Trying to do so may result in corrupting your VSR scheduler.

By following the steps explained in this Tech Note, the replication job schedule may be set to any desired time, for example, five minutes or two hours. The example below changes it to 30 minutes.

To change scheduler time, the DOS command tool "srtoolur.exe" has to be used. This file may be found in the following default installation path of VSR :

  • In VSR 2.0:  \Program Files\VERITAS Storage Replicator\srToolur.exe
· · · · In VSR 2.1: \Program Files\Common Files\VERITAS Shared\VSR\SrToolur.exe

The following example highlights "general" srtoolur.exe usage:

SrToolur.exe -domain NETWORKS -user ADMINISTRATOR -pass NOTHING -command STOP job "NameofJob" -command START job "NameofJob"

In order to reduce the schedule time, the following steps need to be taken:

1. Create a batch file for the SrTool utility. It should contain, for example, srtoolur.exe -domain <Domain Name> -command STOP job <"NameofJob"> -command START <"NameofJob"> (Figure 2)

Figure2
 


2. Add the batch file into Windows "Scheduled Tasks" and set the time for it. (Figure 3 illustrates how this is done in Windows 2000.)

Figure 3
Scheduled Task Wizard
 


3. Go to Start > Settings > Control Panel > Scheduled Tasks > Add Scheduled Task

4. Browse then add the "SrTool" batch file.

Figure 4
 

5. Select Options; set the start time + every day + start date

Figure 5
 

6. Enter authentication information

Figure 6
 

7. The next window shows the schedule job summary. Select the advanced properties check box (Figure 7).

Figure 7
 

8. Select Schedule > Advanced > Repeat Task > 30 minutes (Figure 8)

Figure 8
 

The schedule time for a replication job will now occur every 30 minutes.

NOTE
Full details on the usage of the SrTool utility and its switches can be found in the VSR Admin Guide.




Legacy ID



236961


Article URL http://www.symantec.com/docs/TECH11290


Terms of use for this information are found in Legal Notices