Creating a Schedule

Explains how to create a schedule using the Control System or the CLI.

Creating a Schedule Using the Control System

About this task

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. To create a new schedule:

Procedure

  1. Log in to the Control System and go to the Schedules tab in the Data > Volumes page.
    NOTE
    The Volumes page is under the Volumes menu in the Kubernetes version of the Control System.
  2. Click Create Schedule.
    The Create Schedule dialog displays.
  3. Enter a name for the schedule in the Schedule Name text field.
  4. Specify the schedule rules with the following components:
    Frequency Specify frequency (Once, Yearly, Monthly, Weekly, Daily, Hourly, Every X minutes).
    Time Specify the point of time within the specified frequency to perform the scheduled action. For example, if you selected Monthly from the first drop-down menu, select the day of the month from the second drop-down menu. Continue with each drop-down menu, proceeding to the right, to specify the time at which the scheduled action is to occur.
    NOTE
    This is available only if the selected frequency is Once, Yearly, Monthly, Weekly, or Daily.
    Retain for Specify how long the data should be preserved. For example, if the schedule is attached to a volume for creating snapshots, the Retain for specifies how far after creation the snapshot expiration date is set.
    If necessary, click Add Another to add another rule to the schedule or to remove a rule.
  5. Click Create Schedule to create the schedule.
    After the schedule is created, it appears as a choice in the scheduling menu when you are creating a new volume or editing a volume.

Creating a Schedule Using the CLI or REST API

About this task

The basic command to create a schedule is:

maprcli schedule create -schedule <JSON>

For complete reference information, see schedule create.