Skip to main content

vserver consistency-group snapshot start

Contributors
Suggest changes

Start a 2 phase Snapshot copy for a consistency group

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver consistency-group snapshot start command starts a 2-phase Snapshot copy of a specified consistency group.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the Vserver that contains the consistency group where the Snapshot copy is to be started.

-consistency-group <text> - Consistency Group Name

This parameter specifies the consistency group where a Snapshot copy is to be started.

-snapshot <snapshot name> - Snapshot Copy Name

This parameter specifies the name of the Snapshot copy that is to be started.

[-parent-consistency-group <text>] - Parent Consistency Group Name

This parameter specifies the parent consistency group where a Snapshot copy is to be started for a child consistency group.

[-consistency-type {crash|application}] - Consistency Type

This parameter optionally specifies the consistency level of a Snapshot copy. The default value is crash .

[-comment <text>] - Comment

This parameter optionally specifies the comment associated with a Snapshot copy.

[-snapmirror-label <text>] - Snapmirror Label

This parameter optionally specifies the label associated with a Snapshot copy.

[-start-timeout <integer>] - Timeout for 2-phase snapshot

This parameter optionally specifies the timeout limit for the Snapshot copy to be started. The default value is 7 seconds.

[-write-fence {true|false}] - Take write fence

This parameter specifies if a write fence is taken on the volumes in the consistency group while creating a Snapshot copy.

Examples

+ The following example starts a 2-phase Snapshot copy named snap1 on a consistency group named cg1 on a Vserver named vs0. The Snapshot copy has start-timeout set to "60", a comment "2-phase", a Snapmirror label "Label" and is crash-consistent.
cluster1::> vserver consistency-group snapshot start -vserver vs0 -consistency-group cg1 -parent-consistency-group "-" -snapshot snap1 -start-timeout 60 -comment "2-phase" -snapmirror-label "Label" -consistency-type crash
          (vserver consistency-group snapshot start)
+ The following example starts a 2-phase Snapshot copy named snap2 on a child consistency group named childCg in parent consistency group parentCg on a Vserver named vs0. The Snapshot copy has start-timeout set to "90".
cluster1::> vserver consistency-group snapshot start -vserver vs0 -consistency-group childCg -parent-consistency-group parentCg -snapshot snap2 -start-timeout 90
          (vserver consistency-group snapshot start)