
NAME
      snapshot_consistency_group -snapshot_consistency_group management commands
	
SYNOPSIS
      create snapshot_consistency_group general name=? source_lun_consistency_group_id_list=? [ snapshot_consistency_group_id=? ] [ description=? ]
      delete snapshot_consistency_group snapshot_consistency_group_id_list=?
      show snapshot_consistency_group general [ source_lun_consistency_group_id=? | snapshot_consistency_group_id=? | snapshot_consistency_group_name=? ]
      show snapshot_consistency_group snapshot snapshot_consistency_group_id=?
      change snapshot_consistency_group general snapshot_consistency_group_id=? [ name=? ] [ restore_speed=? ] [ description=? ]
      create snapshot_consistency_group duplicate source_snapshot_consistency_group_id=? name=? [ description=? ]
      create snapshot_consistency_group duplicate source_cdp_consistency_group_id=? name=? [ description=? ]
      change snapshot_consistency_group restore snapshot_consistency_group_id=? [ restore_speed=? ]
      change snapshot_consistency_group cancel_restore snapshot_consistency_group_id=?
      change snapshot_consistency_group reactivate snapshot_consistency_group_id=? cdp_consistency_group_id=?
      show snapshot_consistency_group universal [ protect_group_id=? | snapshot_consistency_group_id=? | snapshot_consistency_group_name=? ]
      create snapshot_consistency_group universal name=? protect_group_id_list=? [ snapshot_consistency_group_id=? ] [ description=? ]
      change snapshot_consistency_group deactivate snapshot_consistency_group_id=?
      change snapshot_consistency_group activate snapshot_consistency_group_id=? [ cdp_consistency_group_id=? ]
      add snapshot_consistency_group snapshot snapshot_consistency_group_id=? snapshot_id_list=?
      remove snapshot_consistency_group snapshot snapshot_consistency_group_id=? snapshot_id_list=?
	

OPTIONS
      name=?
              Name of a snapshot consistency group.
              -
		
      source_lun_consistency_group_id_list=?
              ID of the LUN consistency group for which a snapshot consistency group needs to be created.
              To obtain the LUN consistency group ID list, run "show lun_consistency_group general". If you want to create snapshot consistency groups for multiple LUN consistency groups concurrently:
              1:Separate multiple LUN consistency group IDs by commas (,). For example, "lun_id_list=1,2,3,4,5".
              2:Specify a LUN consistency group ID range using a hyphen (-). For example, "lun_id_list=1-5,7,9-11".
		
      snapshot_consistency_group_id
              ID of a snapshot consistency group.
              The value is an integer ranging from 0 to 16383.
              If this parameter is not specified, the system automatically allocates an ID for a new snapshot consistency group.
		
      description=?
              Description of a snapshot consistency group.
              -
		
      snapshot_consistency_group_id_list=?
              ID of the snapshot consistency group to be deleted.
              To obtain the value, run "show snapshot_consistency_group general".
		
      source_lun_consistency_group_id=?
              ID of the source LUN consistency group to be queried.
              To obtain the value, run the "show lun_consistency_group general" command.
		
      snapshot_consistency_group_id=?
              ID of the snapshot consistency group to be queried.
              To obtain the value, run the "show snapshot_consistency_group general" command.
		
      snapshot_consistency_group_name=?
              Name of the snapshot consistency group to be queried.
              To obtain the value, run the "show snapshot_consistency_group general" command.
		
      restore_speed=?
              Rollback speed of a snapshot consistency group.
              -
		
      source_snapshot_consistency_group_id
              ID of the snapshot consistency group to duplicate.
              To obtain the value, run "show snapshot_consistency_group general".
		
      source_cdp_consistency_group_id
              ID of the HyperCDP consistency group to duplicate.
              1:The value is an integer ranging from 0 to 99999.
              2:To obtain the value, run "show hyper_cdp_consistency_group general".
		
      name
              Name of a duplicate.
              -
		
      description
              Description of a duplicate.
              -
		
      restore_speed
              Restoration speed of a snapshot consistency group.
              -
		
      cdp_consistency_group_id
              ID of the HyperCDP consistency group.
              1:The value is an integer from 0 to 99999.
              2:To obtain the value, run "show hyper_cdp_consistency_group general".
		
      protect_group_id=?
              ID of the source LUN protection group to be queried.
              To obtain the value, run the "show protect_group general" command.
		
      protect_group_id_list=?
              ID of the LUN protection group for which a snapshot consistency group needs to be created.
              To obtain the LUN protection group ID list, run "show protect_group general". If you want to create snapshot consistency groups for multiple LUN protection groups concurrently:
              1:Separate multiple LUN protection group IDs by commas (,). For example, "protect_group_id_list=1,2,3,4,5".
              2:Specify a LUN protection group ID range using a hyphen (-). For example, "protect_group_id_list=1-5,7,9-11".

      snapshot_id_list
              ID list of the snapshots to be added.
              To obtain the value, run "show snapshot general". If you want to concurrently add multiple snapshots to a snapshot consistency group:
              1:Separate multiple snapshot IDs by commas (,). For example, "snapshot_id_list=1,2,3,4,5".
              2:Specify a snapshot ID range using a hyphen (-). For example, "snapshot_id_list=1-5,7,9-11".
		
COMMANDS
      create snapshot_consistency_group general name=? source_lun_consistency_group_id_list=? [ snapshot_consistency_group_id=? ] [ description=? ]
              The create snapshot_consistency_group general command is used to create a snapshot consistency group for a specified LUN consistency group.
              In the current version, you are advised to run the "create snapshot_consistency_group universal" command rather than the "create snapshot_consistency_group general" command to create a snapshot consistency group for a specified LUN consistency group.
		
      delete snapshot_consistency_group snapshot_consistency_group_id_list=?
              The delete snapshot_consistency_group command is used to delete a snapshot consistency group.
              After a snapshot consistency group is deleted, its member snapshots are also deleted. Data once protected at this point in time will no longer be protected.
		
      show snapshot_consistency_group general [ source_lun_consistency_group_id=? | snapshot_consistency_group_id=? | snapshot_consistency_group_name=? ]
              The show snapshot_consistency_group general command is used to query basic information about snapshot consistency groups.
              In the current version, you are advised to run the "show snapshot_consistency_group universal" command rather than the "show snapshot_consistency_group general" command to query the basic information about a snapshot consistency group.
		
      show snapshot_consistency_group snapshot snapshot_consistency_group_id=?
              The show snapshot_consistency_group snapshot command is used to query information about member snapshots in a specified snapshot consistency group.
              
		
      change snapshot_consistency_group general snapshot_consistency_group_id=? [ name=? ] [ restore_speed=? ] [ description=? ]
              The change snapshot_consistency_group general command is used to modify the properties of a snapshot consistency group.
              Only the name, rollback speed, and description of the snapshot consistency group can be modified.
		
      create snapshot_consistency_group duplicate source_snapshot_consistency_group_id=? name=? [ description=? ]
              The create snapshot_consistency_group duplicate command is used to create a duplicate for a specified snapshot consistency group or HyperCDP consistency group.
              
		
      create snapshot_consistency_group duplicate source_cdp_consistency_group_id=? name=? [ description=? ]
              The create snapshot_consistency_group duplicate command is used to create a duplicate for a specified snapshot consistency group or HyperCDP consistency group.
              
		
      change snapshot_consistency_group restore snapshot_consistency_group_id=? [ restore_speed=? ]
              The change snapshot_consistency_group restore command is used to start restoration from a snapshot consistency group.
              
		
      change snapshot_consistency_group cancel_restore snapshot_consistency_group_id=?
              The change snapshot_consistency_group cancel_restore command is used to cancel restoration from a snapshot consistency group.
              
		
      change snapshot_consistency_group reactivate snapshot_consistency_group_id=? cdp_consistency_group_id=?
              The change snapshot_consistency_group reactivate command is used to reactivate a snapshot consistency group.
              
		
      show snapshot_consistency_group universal [ protect_group_id=? | snapshot_consistency_group_id=? | snapshot_consistency_group_name=? ]
              The show snapshot_consistency_group universal command is used to query basic universal about snapshot consistency groups.
              
		
      create snapshot_consistency_group universal name=? protect_group_id_list=? [ snapshot_consistency_group_id=? ] [ description=? ]
              The create snapshot_consistency_group universal command is used to create a snapshot consistency group for a specified LUN protection group.
              
		
      change snapshot_consistency_group deactivate snapshot_consistency_group_id=?
              The change snapshot_consistency_group deactivate command is used to deactivate a snapshot consistency group.
              
		
      change snapshot_consistency_group activate snapshot_consistency_group_id=? [ cdp_consistency_group_id=? ]
              The change snapshot_consistency_group activate command is used to activate a snapshot consistency group.

      
      add snapshot_consistency_group snapshot snapshot_consistency_group_id=? snapshot_id_list=?
              The add snapshot_consistency_group snapshot command is used to add snapshots to a specified snapshot consistency group.
              
	
      remove snapshot_consistency_group snapshot snapshot_consistency_group_id=? snapshot_id_list=?
              The remove snapshot_consistency_group snapshot command is used to remove snapshots from a specified snapshot consistency group.        
              
	
EXAMPLES
      Create a snapshot consistency group.
              admin:/>create snapshot_consistency_group general name=scg1 lun_consistency_group_id_list=1
              Create snapshot consistency group 1 successfully.
		
      Delete snapshot consistency group "2".
              admin:/>delete snapshot_consistency_group snapshot_consistency_group_id_list=2
              WARNING: You are about to delete the snapshot consistency group , which is an irreversible operation. If you delete a consistency group, all snapshots and data in the consistency group will be deleted.
              Suggestion: Before performing this operation, ensure that the selected snapshot consistency group is correct and you do not need data in the snapshot.
              Have you read warning message carefully?(y/n)y
              Are you sure you really want to perform the operation?(y/n)y
              Delete snapshot consistency group 2 successfully.
		
      Query all snapshot consistency groups of a specified source LUN consistency group.
              admin:/>show snapshot_consistency_group general source_lun_consistency_group_id=2
                ID    Name                  Source Lun Consistency Group ID  Source Lun Consistency Group Name       Running Status    Time Stamp                       Restore Speed              
                ----  --------------------  -------------------------------  ------------------------------      -------------     --------------                   ----------------       
                1251  YvPlaR_445h853330000  1249                             Ky_443W543240001                    Activated           2018-04-26/08:39:43 UTC+08:00  Middle
		
      Query snapshot consistency group "2".
              admin:/>show snapshot_consistency_group general snapshot_consistency_group_id=2
               
                ID                                   : 2
                Name                                 : snapConsistencyGroup1
                Source Lun Consistency Group ID      : 1249
                Source Lun Consistency Group Name    : lunConsistencyGroup1
                Running Status                       : Activated
                Time Stamp                           : 2018-04-26/08:39:43 UTC+08:00
                Restore Speed                        : --
                Description                          : --
		
      Query information about member snapshots in snapshot consistency group "2".
              admin:/>show snapshot_consistency_group snapshot snapshot_consistency_group_id=2
                ID    Name                  Source LUN ID  Source LUN Name       Health Status  Running Status  WWN                               Time Stamp                    
                ----  --------------------  -------------  --------------------  -------------  --------------  --------------------------------  -----------------------------
                2  YvPlaR_445h853330000  1249           Ky_443W543240001      Normal         Activated       694049c100d95366002fbcf2000004e3  2018-04-26/08:39:43 UTC+08:00
		
      Change the name of a snapshot consistency group.
              admin:/>change snapshot_consistency_group general snapshot_consistency_group_id=1 name=snapshotCg1
              Command executed successfully.
		
      Change the rollback speed of a snapshot consistency group.
              admin:/>change snapshot_consistency_group general snapshot_consistency_group_id=24 restore_speed=High
              WARNING: You are about to change the rollback rate of the snapshot consistency group . This operation may cause heavy service load and decrease the read/write performance of the host.
              Suggestion: Select the medium speed. If you select the high or highest speed, perform this operation during off-peak hours.
              Have you read warning message carefully?(y/n)y
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Create a duplicate for a specified snapshot consistency group.
              admin:/>create snapshot_consistency_group duplicate source_snapshot_consistency_group_id=1 name=d1
              Command executed successfully.
		
      Create a duplicate for a specified HyperCDP consistency group.
              admin:/>create snapshot_consistency_group duplicate source_cdp_consistency_group_id=2 name=d2
              Command executed successfully.
		
      Start restoration from snapshot consistency group "1".
              change snapshot_consistency_group restore snapshot_consistency_group_id=1
              WARNING: You are about to roll back data using the snapshot consistency group. This operation will use snapshot data in snapshot consistency group to overwrite data on LUNs in protection group. This operation may cause heavy service load and decrease the read/write performance of the host. Before performing this operation, ensure that LUNs in the protection group are not read or written by the host, no data is stored in the host cache, and snapshots in the snapshot consistency group are not written by the host.
              Suggestion: 
              1. Before performing this operation, back up data of the protection group.
              2. Ensure that the free capacity of the storage pool is greater than the actual capacity occupied by LUNs in the protection group.
              3. Select the medium speed. If you select the high or highest speed, perform this operation during off-peak hours.
              Have you read warning message carefully?(y/n)y
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Cancel restoration from snapshot consistency group "1".
              change snapshot_consistency_group cancel_restore snapshot_consistency_group_id=1
              DANGER: You are about to stop rolling back snapshot data in snapshot consistency group to LUNs in protection group. This operation will cause data on LUNs in the protection group to be unavailable.
              Suggestion: Before performing this operation, ensure that data on LUNs in the protection group is no longer needed.
              Have you read danger alert message carefully?(y/n)y
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Reactivate snapshot consistency group "1" for HyperCDP consistency group "0".
              admin:/>change snapshot_consistency_group reactivate snapshot_consistency_group_id=1 cdp_consistency_group_id=0
              DANGER: You are about to reactivate the snapshot consistency group, which is an irreversible operation. This operation will overwrite the data protected by the snapshot in the snapshot consistency group. 
              Suggestion: Before performing this operation, ensure that the selected snapshot consistency group is correct and you do not need the data protected by snapshots in the snapshot consistency group.
              Have you read danger alert message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Reactivate snapshot consistency group "1".
              admin:/>change snapshot_consistency_group reactivate snapshot_consistency_group_id=1
              DANGER: You are about to reactivate the snapshot consistency group, which is an irreversible operation. This operation will overwrite the data protected by the snapshot in the snapshot consistency group. 
              Suggestion: Before performing this operation, ensure that the selected snapshot consistency group is correct and you do not need the data protected by snapshots in the snapshot consistency group.
              Have you read danger alert message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Query all snapshot consistency groups of a specified source LUN protection group.
              admin:/>show snapshot_consistency_group universal protect_group_id=0             
                ID  Name  Source Group ID  Source Group Name  Source Group Type  Running Status  Time Stamp                     Restore Speed  
                --  ----  ---------------  -----------------  -----------------  --------------  -----------------------------  -------------  
                0   s0    0                p0                 Protect group      Activated       2019-06-06/09:51:55 UTC+08:00  Middle         
              admin:/>
		
      Deactivate snapshot consistency group "1".
              admin:/>change snapshot_consistency_group deactivate snapshot_consistency_group_id=1
              DANGER: You are about to deactivate snapshot consistency group.This operation will delete the snapshot data.
              Suggestion: Before performing this operation, ensure that the snapshot consistency group is correctly selected and the snapshots does not contain the data to be used.
              Have you read danger alert message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Activate snapshot consistency group "1" for HyperCDP consistency group "0".
              admin:/>change snapshot_consistency_group activate snapshot_consistency_group_id=1 cdp_consistency_group_id=0
              DANGER: You are about to activate snapshot consistency group.
              Suggestion: Before performing this operation, ensure that the storage pool capacity is sufficient.
              Have you read danger alert message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Activate snapshot consistency group "1".
              admin:/>change snapshot_consistency_group activate snapshot_consistency_group_id=1
              DANGER: You are about to activate snapshot consistency group. 
              Suggestion: Before performing this operation, ensure that the storage pool capacity is sufficient.
              Have you read danger alert message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Command executed successfully.
		
      Add the snapshot whose ID is "2" to the snapshot consistency group whose ID is "1".
              admin:/>add snapshot_consistency_group snapshot snapshot_consistency_group_id=1 snapshot_id_list=2
              Add Snapshot 2 to Snapshot consistency group successfully.
		
      Remove the snapshots whose IDs are "2" and "3" from the snapshot consistency group whose ID is "1".
              admin:/>remove snapshot_consistency_group snapshot snapshot_consistency_group_id=1 snapshot_id_list=2,3
              WARNING: You are about to remove snapshot  from snapshot consistency group. After the removal, the snapshot is not protected by the snapshot consistency group.
              Suggestion: Before performing this operation, ensure that the snapshot does not need snapshot consistency group protection.
              Have you read warning message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Remove Snapshot 2 from Snapshot consistency group successfully.
              Remove Snapshot 3 from Snapshot consistency group successfully.
		