A schedule is a group of rules that specify recurring points in time at which certain actions are determined to occur. You can use schedules to automate the creation of snapshots and mirrors; after you create a schedule, it appears as a choice in the scheduling menu when you are editing the properties of a task that can be scheduled:
- To apply a schedule to snapshots, see Scheduling a Snapshot.
- To apply a schedule to volume mirroring, see Creating a Volume.
Schedules require the M5 license. The following sections provide information about the actions you can perform on schedules:
- To create a schedule, see Creating a Schedule
- To view a list of schedules, see Viewing a List of Schedules
- To modify a schedule, see Modifying a Schedule
- To remove a schedule, see Removing a Schedule
Creating a Schedule
You can create a schedule using the schedule create command, or use the following procedure to create a schedule using the MapR Control System.
To create a schedule using the MapR Control System:
- In the Navigation pane, expand the MapR-FS group and click the Schedules view.
- Click New Schedule.
- Type a name for the new schedule in the Schedule Name field.
- Define one or more schedule rules in the Schedule Rules section:
- From the first dropdown menu, select a frequency (Once, Yearly, Monthly, etc.))
- From the next dropdown menu, select a time point within the specified frequency. For example: if you selected Monthly in the first dropdown menu, select the day of the month in the second dropdown menu.
- Continue with each dropdown menu, proceeding to the right, to specify the time at which the scheduled action is to occur.
- Use the Retain For field to specify how long the data is to be preserved. For example: if the schedule is attached to a volume for creating snapshots, the Retain For field specifies how far after creation the snapshot expiration date is set.
- Click [ + Add Rule ] to specify additional schedule rules, as desired.
- Click Save Schedule to create the schedule.
Viewing a List of Schedules
You can view a list of schedules using the schedule list command, or use the following procedure to view a list of schedules using the MapR Control System.
To view a list of schedules using the MapR Control System:
- In the Navigation pane, expand the MapR-FS group and click the Schedules view.
Modifying a Schedule
When you modify a schedule, the new set of rules replaces any existing rules for the schedule.
You can modify a schedule using the schedule modify command, or use the following procedure to modify a schedule using the MapR Control System.
To modify a schedule using the MapR Control System:
- In the Navigation pane, expand the MapR-FS group and click the Schedules view.
- Click the name of the schedule to modify.
- Modify the schedule as desired:
- Change the schedule name in the Schedule Name field.
- Add, remove, or modify rules in the Schedule Rules section.
- Click Save Schedule to save changes to the schedule.
For more information, see Creating a Schedule.
Removing a Schedule
You can remove a schedule using the schedule remove command, or use the following procedure to remove a schedule using the MapR Control System.
To remove a schedule using the MapR Control System:
- In the Navigation pane, expand the MapR-FS group and click the Schedules view.
- Click the name of the schedule to remove.
- Click Remove Schedule to display the Remove Schedule dialog.
- Click Yes to remove the schedule.