HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Reference (OS 3.1 - Page 132
see CLI Help, sample_vv_set.HH.MMM, dbora, objectsets, exp 2h, snap_odbora_set
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 132 highlights
2h). The created snapshot will be named sample_vv_set.HH.MMM where HH and MM refer to the hour and minute that the snapshot was created (@vvname@.@H@.@M@): cli% createsched "createsv -ro -exp 2h @vvname@.@H@.@M@ vv" "0 * * * *" sv_task The following example creates a scheduled task which will create a consistent group snapshot. The read-only snapshots will be created from the volume set: dbora (see CLI Help -sub objectsets) that will expire in two hours (-exp 2h) and the snapshots will be named using the pattern @vvname@.@s@ (volume name specified in the set, with the epoch in seconds appended). The task will be named snap_odbora_set and run every hour on the hour during the working hours from 8am to 5pm ("0 8-17 * * *"): cli% createsched "createsv -ro -exp 2h @vvname@.@s@ set:dbora" "0 8-17 * * *" sv_dbora_task The following example creates a scheduled task which will create a consistent group snapshot for a single virtual volume: createsched "createsv -ro -exp 2h @vvname@.@s@ vvname" "0 * * * *" snap_large_tpvv_a Add a comment with spaces to createsv by surrounding the comment with escaped double quotes: createsched "createsv -ro -exp 2h -comment \"Comment with spaces\" @vvname@.@H@.@M@ vv" "0 * * * *" sv_task NOTES • The string has five fixed fields: minute, hour, day-of-month, month, day-of-week. • Fields are separated by spaces. The allowed values for the fields are: Field Minute Hour Day-of-Month Month Day-of-Week Allowed Values 0-59 * or 0-23 * or 1-31 * or 1-12 * or 0-6 (0 is Sunday) • Scheduling on February 29 is not supported. • Lists are allowed. A list is a set of numbers (or ranges) separated by commas. Examples: "1,2,5,9", "0-4,8-12". 132 Create Commands