HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 61
replication-mode new-snapshot|last-snapshot, new-snapshot, last-snapshot, VD1_V1, VD1_V1_S0001, Reset
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
replication-mode new-snapshot|last-snapshot Optional. Specifies whether to replicate a new snapshot of the volume to the remote system, or to replicate the last (most recent existing) snapshot of the volume to the remote system. • new-snapshot: Replicate a new snapshot. • last-snapshot: Replicate the most recent existing snapshot. If this parameter is omitted, a new snapshot is replicated. name A name for the new task. 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 task Snap that takes a snapshot of master volume VD1_V1 and retains only the latest four snapshots with the prefix VD1_V1 (e.g., VD1_V1_S0001): # create task type TakeSnapshot source-volume VD1_V1 snapshot-prefix VD1_V1 retention-count 4 Snap Success: Command completed successfully. (Snap) - The task was created. (2012-01-19 15:45:10) Create task Reset that resets snapshot VD1_V1_S0001: # create task type ResetSnapshot snapshot-volume VD1_V1_S0001 Reset Success: Command completed successfully. (Reset) - The task was created. (2012-01-19 15:46:21) Create task Copy that copies volume VD1_V1 to vdisk VD2 with name C_V0001: # create task type VolumeCopy source-volume VD1_V1 dest-vdisk VD2 dest-prefix C modified-snapshot yes Copy Success: Command completed successfully. (Copy) - The task was created. (2012-01-19 15:46:33) Create task Replicate that replicates primary volume VD1_V2: # create task type ReplicateVolume source-volume VD1_V2 snapshot-prefix VD1_V2 retention-count 4 Replicate Success: Command completed successfully. (Replicate) - The task was created. (2012-01-19 15:46:58) Create a task to enable or resume spin down for all disks: # create task type EnableDSD taskDSDresume Success: Command completed successfully. (taskDSDresume) - The task was created. (2012-01-19 15:47:04) Create a task to disable or suspend spin down for all disks: # create task type DisableDSD taskDSDsuspend Success: Command completed successfully. (taskDSDsuspend) - The task was created. (2012-01-19 15:47:15) See also • create schedule • delete task • set task • show task-details • show tasks • show volumes create task 61