HP P2000 G3 MSA System CLI Reference Guide
57
create schedule
Description
Schedules a task to run automatically.
When scheduling
ReplicateVolume
tasks, a best practice is to schedule no more than three
volumes to start replicating at the same time, and for those replications to recur no less than 60
minutes apart. If you schedule more replications to start at the same time, or schedule replications to
start more frequently, some scheduled replications may not have time to complete.
Syntax
create schedule
schedule-specification "
specification
"
task-name
task-name
schedule-name
Parameters
schedule-specification "
specification
"
Defines when the task will first run, and optionally when it will recur and expire. You can use a
comma to separate optional conditions. Dates cannot be in the past. For times, if neither
AM
nor
PM
is specified, a 24-hour clock is used.
•
start
yyyy-mm-dd
hh
:
mm
[AM|PM]
Specifies a date and a time in the future to be the first instance when the scheduled task will run,
and to be the starting point for any specified recurrence.
•
[
every
#
minutes|hours|days|weeks|months|years]
Specifies the interval at which the task will run.
For better performance when scheduling a
TakeSnapshot
task that will run under heavy I/O
conditions or on more than three volumes, the retention count and the schedule interval should
be set to similar values; for example if the retention count is 10 then the interval should be set to
10 minutes.
For a
ReplicateVolume
task, the default and minimum interval is 30 minutes.
•
[between
hh
:
mm
[AM|PM] and
hh
:
mm
[AM|PM]]
Constrains the time range during which the task is permitted to run. Ensure that the start time is
within the specified time range.
•
[only any|first|second|third|fourth|fifth|last|
#
st|
#
nd|
#
rd|
#
th
weekday|weekendday|Sunday|Monday|Tuesday|Wednesday|Thursday|Friday
|Saturday of year|month|January|February|March|April|May|June|July
|August|September|October |November|December]
Constrains the days or months when the task is permitted to run. Ensure that this constraint
includes the start date.
•
[count
#
]
Constrains the number of times the task is permitted to run.
•
[expires
yyyy-mm-dd
hh
:
mm
[AM|PM]]
Specifies when the schedule expires, after which the task will no longer run.
task-name
task-name
The task to run. The name is case sensitive.
schedule-name
A name for the new schedule. The name is case sensitive; cannot include a comma, double quote,
left angle bracket, or backslash; and can have a maximum of 32 bytes. A name that includes a
space must be enclosed in double quotes.
Example
Create schedule
Sched1
that runs
Task1
for the first time on March 1, 2012; runs daily between
midnight and 1:00 AM; and runs for the last time in the morning of January 1, 2013:
# create schedule schedule-specification "start 2012-03-01 00:01, every 1 days,
between 12:00 AM and 1:00 AM, expires 2013-01-01 1:00 AM" task-name Task1 Sched1
Success: Command completed successfully. (Sched1) - The schedule was created.
(2012-01-20 15:48:01)
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...