Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Article Number: 000022496


Dell EMC Unity: How to create a snapshot schedule with more than two rules. (User Correctable)

Summary: This article explains how to create a snapshot schedule with more than two rules via CLI which cannot be done via GUI

Article Content


Instructions

You may need to create a snapshot schedule with multiple rules, for example:
  1. An hourly checkpoint that we retain for 24 hours
  2. A nightly checkpoint that we retain for 7 days
  3. A weekly checkpoint that we retain for 4 weeks
However, you won't be able to perform that via GUI, which allows a maximum of two rules per schedule.
 
kA5j00000008VZiCAM_1_0

#> uemcli -no /sys/task/sched -id snapSch_19 show
1:    ID    = snapSch_19
      Name  = MySchedule
      Type  = User
      Rules = SchedRule_93, SchedRule_94


#> uemcli -no /sys/task/rule -id SchedRule_93 show
1:    ID                = SchedRule_93
      Type              = HoursInterval
      Frequency         = Every 1h
      Keep for          = 1d
      Allow auto-delete = no
      Access            = Checkpoint


#> uemcli -no /sys/task/rule -id SchedRule_94 show
1:    ID                = SchedRule_94
      Type              = WeekDaysList
      Frequency         = Every Mon, Tue, Wed, Thu, Fri, Sat, Sun at 00:00
      Keep for          = 7d
      Allow auto-delete = no
      Access            = Checkpoint

 
And a LUN can have a maximum of one schedule assigned for it, so you won't be able to satisfy the requirements.

However, you can meet the requirements via CLI, so in our example we have created the snapshot schedule (snapSch_19) with the first two rules via GUI, and then added the third rule to the schedule via CLI via the following command:
 
#> uemcli -no -u <username> -p <password> /sys/task/rule create -schedId snapSch_19 -type weekdayslist -days sat -at 12:00 -keepFor 31d -access ckpt

and the result would be as following, which meets our requirements:
 
#> uemcli -no /sys/task/sched -id snapSch_19 show
1:    ID    = snapSch_19
      Name  = MySchedule
      Type  = User
      Rules = SchedRule_93, SchedRule_94, SchedRule_95

#> uemcli -no /sys/task/rule -id SchedRule_93 show
1:    ID                = SchedRule_93
      Type              = HoursInterval
      Frequency         = Every 1h
      Keep for          = 1d
      Allow auto-delete = no
      Access            = Checkpoint

#> uemcli -no /sys/task/rule -id SchedRule_94 show
1:    ID                = SchedRule_94
      Type              = WeekDaysList
      Frequency         = Every Mon, Tue, Wed, Thu, Fri, Sat, Sun at 00:00
      Keep for          = 7d
      Allow auto-delete = no
      Access            = Checkpoint

#> uemcli -no /sys/task/rule -id SchedRule_95 show
1:    ID                = SchedRule_95
      Type              = WeekDaysList
      Frequency         = Every Sat at 12:00
      Keep for          = 31d
      Allow auto-delete = no
      Access            = Checkpoint

 
I have also been able to add even more and more rules to the same schedule, still the GUI can only show the initial two rules only!

Article Properties


Affected Product

Dell EMC Unity Family

Product
Dell Unity 300, Dell EMC Unity 300F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 600, Dell EMC Unity 600F, Unity All Flash, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family , Dell EMC Unity Hybrid, Unity Hybrid flash, UnityVSA, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
Last Published Date

20 Nov 2020

Version

2

Article Type

How To