Policy for Balancing Capacity
Creating a Schedule
12-28 CLI Storage-Management Guide
bstnA6k(gbl)# schedule hourly
bstnA6k(gbl-schedule[hourly])# every 1 hours
bstnA6k(gbl-schedule[hourly])# ...
Setting the Duration (optional)
The next step in creating a schedule is to set a duration. The duration is the amount of
time that a rule can run. The duration is applied every time the schedule fires: if you
set a 5-minute duration for the schedule, each rule that uses the schedule has 5
minutes to run every time it runs.
At the end of the duration, a rule with this schedule stops any of its volume scans
and/or migrations. If a client changes a file so that it should migrate according to the
rule, the policy engine caches the migration request. All migrations resume the next
time the rule runs. On the other hand, the rule continues to direct new files and
directories to their configured target shares; no migrations are necessary, so this is not
controlled by the schedule or its duration.
From gbl-schedule mode, use the
duration command to set the duration:
duration time-interval
where time-interval determines the duration of each scheduled event. Express the
time-interval in hh:mm:ss format; for example, duration 00:15:00 for 15
minutes, or duration 06:00:00 for six hours.
For example, the following command sequence configures the “hourly” schedule to
run for 5 minutes each time it fires:
bstnA6k(gbl)# schedule hourly
bstnA6k(gbl-schedule[hourly])# duration 00:05:00
bstnA6k(gbl-schedule[hourly])# ...
Removing the Duration
The default is no limit on the duration of a rule execution. To remove the duration and
return to this default, use
no duration:
no duration
Kommentare zu diesen Handbüchern