Scheduling the episodic replication
You use the Replication> episodic schedule commands to create a schedule for replicating files from the source to the destination cluster.
Access Appliance episodic replication supports periodic replications, where the data gets replicated from the source to the destination cluster at regular intervals as defined by the schedule. Access Appliance episodic replication uses the following parameters to schedule the episodic replication jobs: minute, hour, day-of-the-month, month, and day-of-the-week.
Make sure that you already set up the file systems you want to replicate.
See Setting up the file systems to replicate .
To create an episodic replication schedule
- To create an episodic replication schedule, enter the following:
Replication> episodic schedule create schedule_name minute [hour] [day_of_the_month] [month] [day_of_the_week]
schedule_name
Specify the name of the schedule to be created.
minute
Enter a numeric value between 0-59, or an asterisk (*), which represents every minute. This variable is not optional.
hour
Enter a numeric value between 0-23, or an asterisk (*), which represents every hour.
day_of_the_month
Schedule the day of the month you want to run the replication. Enter a numeric value between 1-31, or an asterisk (*), which represents every day of the month.
month
Schedule the month you want to run the replication. Enter a numeric value between 1-12, or an asterisk (*), which represents every month. You can also use the names of the month. Enter the first three letters of the month (not case sensitive).
day_of_the_week
Schedule the day of the week you want to run the replication. Enter a numeric value between 0-6, or an asterisk (*), which represents every day of the week. Sunday is interpreted as 0. You can also enter the first three letters of the week (you must use lower case letters).
You can enter an interval (two numbers separated by a hyphen) for the minute, hour, day-of-month, month, and day-of-week. If you want to run the schedule between 1:00 a.m. and 4:00 a.m., you can enter a value of 1-4 for the hour variable. The range is inclusive.
The parameters also accept a set of numbers separated by a comma. For example, 1,3,5,7 or 1-4,5-10.
To display the list of schedules
- To display the schedule you have set up for episodic replication, enter the following:
Replication> episodic schedule show
You can also use the Replication> episodic schedule modify and Replication> episodic schedule delete to manage your episodic replication schedules.
Note:
The Replication> episodic schedule modify and Replication> episodic schedule delete operations are not allowed for the schedules that are included in any job definition.
You next need to define what is replicated.