HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations HP Archive Backup System for OpenVMS Guide to Operations

h71000.www7.hp.com
from h71000.www7.hp.com More from this publisher
06.11.2014 Views

Saving and Restoring Data 3.7 Schedules 3.7 Schedules 3.7.1 After Schedule ABS supports very flexible options for scheduling save and restore requests, both using the internal MDMS scheduling options and using a third part scheduler. The scheduling options can be divided into three main categories: • Standard - ABS provides a list of standard options that you can specify, and the scheduling information is applied to the schedule object automatically. Standard options are supported by both internal MDMS scheduling and an external scheduler product. Standard options are all those that are neither custom or explicit. • Custom - This option allows you to customize the schedule for the request if the standard options are not sufficient. For example, if you want to run the request every second Sunday in January, April, July and October, then the custom option can do this. You specify CUS- TOM as the frequency, then modify the schedule object for the request directly. This option is applicable to internal MDMS scheduling only. • Explicit - This option also allows you to customize your schedule, but this time with an external scheduler product. You specify EXPLICIT as a frequency, then enter a string into the EXPLICIT INTERVAL attribute. This attribute is a string that can be understood by the external scheduler product specifying the desired frequency. Alternatively, you can use the user interface of the external scheduler product to specify the frequency of the request. This option is applicable only to external scheduling options. This section discusses the second option, custom schedules, which are only applicable to internal MDMS scheduling. To use a custom schedule, specify CUSTOM as the frequency on the save and restore request, then modify the attributes of the associated schedule object. The schedule object always has the name of the save and restore request, followed by “_SAVE_SCHED” or “REST_SCHED” respectively. With ABS custom scheduling, you can actually define one schedule to execute after another schedule has completed. For example, if you want SAVE2 to execute immediately after SAVE1 completes, you can modify SAVE2’s schedule object and setting its AFTER SCHEDULE attribute to SAVE1’s schedule object. In this case: SAVE2_SAVE_SCHED: After Schedule: SAVE1_SAVE_SCHED If you specify an after schedule and only want the associated request to execute after the after schedule (and not at any other time), then do not specify any other date or time attributes in the schedule. If on the other hand you want the associated request to execute at regular times AND after the specified after schedule, then you can associate date and time attributes to the schedule. With after schedule, you can also define conditions upon which the schedule will run after the other schedule. The conditions are stored in an attribute called after schedule when. Select from one of the following: • ALL - Always run the schedule after the dependent schedule completion • SUCCESS - Run the schedule if the dependent save or restore completed with a successful status • WARNING - Run the schedule if the dependent save or restore completed with a Warning, Error or Fatal status • ERROR - Run the schedule if the dependent save or restore completed with an Error or Fatal Status 3-32 Saving and Restoring Data

3.7.2 Command 3.7.3 Restriction Saving and Restoring Data 3.7 Schedules • FATAL - Run the schedule if the dependent save or restore completed with a fatal status • NONE - Never run the schedule (can be used as a temporary placeholder) If an after schedule name is defined, but no conditions are specified, the default condition is ALL. To remove the after schedule dependency, specify no after schedule. For ABS save and restore commands, the command to run a schedule and execute the associated save and restore request is: MDMS RUN SCHEDULE schedule_name You should not modify this command line, unless you know how to activate an ABS request in some other way. For non-ABS save or restore requests, this command line can be any command that can be submitted to the OpenVMS CLI. There is a restriction with using the /AFTER_SCHEDULE qualifier. Only those schedules (created automatically by MDMS) that have an associated save can be assigned to the /AFTER_SCHEDULE qualifier. Schedules that do NOT have an associated save cannot be assigned to the /AFTER_SCHEDULE qualifier. Hence, any schedule (one with an associated save, or one which executes DCL commands) can have a dependency on a schedule with an associated save, but not on a schedule which executes DCL commands. This is a current MDMS design limitation. 3.7.4 Dates, Days and Months ABS supplies three attributes in the schedule object by which you can specify on what days you want the schedule to be regularly executed. These are: • Dates - The dates of the month you want the schedule to execute • Days - The days of the week you want the schedule to execute • Months - The months of the year you want the schedule to execute You can specify the actual dates in the month that you want the schedule to run by number. Here are some examples: If you don’t specify a date attribute, the default is every day of the month. Table 3–6 Date Specifications Dates Explanation 1 First day of month 1-7 First week of month 1-7, 15-21 First and third week of month 1-31 Every day of month (default) Saving and Restoring Data 3–33

3.7.2 Command<br />

3.7.3 Restriction<br />

Saving and Res<strong>to</strong>ring Data<br />

3.7 Schedules<br />

• FATAL - Run the schedule if the dependent save or res<strong>to</strong>re completed with a fatal status<br />

• NONE - Never run the schedule (can be used as a temporary placeholder)<br />

If an after schedule name is defined, but no conditions are specified, the default condition is<br />

ALL. To remove the after schedule dependency, specify no after schedule.<br />

For ABS save and res<strong>to</strong>re commands, the command <strong>to</strong> run a schedule and execute the associated<br />

save and res<strong>to</strong>re request is:<br />

MDMS RUN SCHEDULE schedule_name<br />

You should not modify this command line, unless you know how <strong>to</strong> activate an ABS request in<br />

some other way.<br />

For non-ABS save or res<strong>to</strong>re requests, this command line can be any command that can be submitted<br />

<strong>to</strong> the <strong>OpenVMS</strong> CLI.<br />

There is a restriction with using the /AFTER_SCHEDULE qualifier. Only those schedules (created<br />

au<strong>to</strong>matically by MDMS) that have an associated save can be assigned <strong>to</strong> the<br />

/AFTER_SCHEDULE qualifier. Schedules that do NOT have an associated save cannot be<br />

assigned <strong>to</strong> the /AFTER_SCHEDULE qualifier. Hence, any schedule (one with an associated<br />

save, or one which executes DCL commands) can have a dependency on a schedule with an<br />

associated save, but not on a schedule which executes DCL commands. This is a current MDMS<br />

design limitation.<br />

3.7.4 Dates, Days and Months<br />

ABS supplies three attributes in the schedule object by which you can specify on what days you<br />

want the schedule <strong>to</strong> be regularly executed. These are:<br />

• Dates - The dates of the month you want the schedule <strong>to</strong> execute<br />

• Days - The days of the week you want the schedule <strong>to</strong> execute<br />

• Months - The months of the year you want the schedule <strong>to</strong> execute<br />

You can specify the actual dates in the month that you want the schedule <strong>to</strong> run by number. Here<br />

are some examples:<br />

If you don’t specify a date attribute, the default is every day of the month.<br />

Table 3–6 Date Specifications<br />

Dates<br />

Explanation<br />

1 First day of month<br />

1-7 First week of month<br />

1-7, 15-21 First and third week of month<br />

1-31 Every day of month (default)<br />

Saving and Res<strong>to</strong>ring Data 3–33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!