
NAME
      clone_consistency_group -clone_consistency_group management commands
	
SYNOPSIS
      create clone_consistency_group name=? source_protect_group_id_list=? [ copy_speed=? ] [ description=? ] [ start_synchronize_after_create=? ] [ is_create_dst_lun=? ]
      show clone_consistency_group general [ clone_consistency_group_id=? ]
      delete clone_consistency_group clone_consistency_group_id_list=? [ is_delete_dst_lun=? ]
      show clone_consistency_group clone clone_consistency_group_id=?
      change clone_consistency_group general clone_consistency_group_id=? [ copy_speed=? ] [ name=? ] [ description=? ]
      add clone_consistency_group clone clone_consistency_group_id=? clone_id_list=?
      remove clone_consistency_group clone clone_consistency_group_id=? clone_id_list=?
      change clone_consistency_group synchronize clone_consistency_group_id_list=? action=?
      change clone_consistency_group restore clone_consistency_group_id_list=? action=? restore_type=?
	

OPTIONS
      name
              Name of a clone consistency group.
              The value contains 1 to 31 ASCII characters, including digits, letters, underscores (_), hyphens (-), and periods (.).
		
      source_protect_group_id_list
              ID of the protection group for which a clone consistency group needs to be created.
              To obtain the LUN protection group ID list, run "show protect_group general". If you want to create clone consistency groups for multiple LUN protection groups concurrently:
              1:Separate multiple LUN protection group IDs by commas (,). For example, "source_protect_group_id_list=1,2,3,4,5".
              2:Specify a LUN protection group ID range using a hyphen (-). For example, "source_protect_group_id_list=1-5,7,9-11".
		
      copy_speed
              Copy speed.
              The value can be "low", "middle", "high", or "highest", where:
              1:"low": indicates the low speed.
              2:"middle": indicates the medium speed.
              3:"high": indicates the high speed.
              4:"highest": indicates the highest speed.
              The default value is "middle".
		
      description
              Description of a clone consistency group.
              -
		
      start_synchronize_after_create
              Whether to start synchronization after a clone consistency group is created.
              The value can be "yes" or "no", where:
              1:"yes": starts synchronization after a clone consistency group is created.
              2:"no": does not start synchronization after a clone consistency group is created.
		
      is_create_dst_lun
              Whether to create a target LUN.
              The value can be "yes" or "no", where:
              1:"yes": creates a target LUN.
              2:"no": does not create a target LUN.
		
      clone_consistency_group_id
              Clone consistency group ID.
              The value is an integer ranging from 0 to 16383.
		
      clone_consistency_group_id_list
              Clone consistency group ID list.
              To obtain the value, run "show clone_consistency_group general".
		
      is_delete_dst_lun
              Whether to delete the target LUNs.
              The value can be "yes" or "no", where:
              1:"yes": deletes the target LUNs.
              2:"no": does not delete the target LUNs.
		
      is_recycle_dst_lun_data
              Whether to reclaim the target LUNs' data.
              The value can be "yes" or "no", where:
              1:"yes": reclaims the target LUNs' data.
              2:"no": does not reclaim the target LUNs' data.
		
      clone_id_list
              ID list of the clone pairs to be added to a clone consistency group.
              To obtain the value, run "show clone general". If you want to concurrently add multiple clone pairs to a clone consistency group:
              1:Separate multiple clone pair IDs by commas (,). For example, "clone_id_list=1,2,3,4,5".
              2:Specify a clone pair ID range using a hyphen (-). For example, "clone_id_list=1-5,7,9-11".
		
      action
              Synchronization action.
              The value can be "start", "pause", "stop", or "continue", where:
              1:"start": starts reverse synchronization.
              2:"pause": pauses reverse synchronization.
              3:"stop": stops reverse synchronization.
              4:"continue": continues reverse synchronization.
		
      restore_type
              Reverse synchronization type.
              The value can be "fullcopy" or "diffcopy", where:
              1:"fullcopy": full copy.
              2:"diffcopy": differential copy.
		
COMMANDS
      create clone_consistency_group name=? source_protect_group_id_list=? [ copy_speed=? ] [ description=? ] [ start_synchronize_after_create=? ] [ is_create_dst_lun=? ]
              The create clone_consistency_group command is used to create a clone consistency group.
              
		
      show clone_consistency_group general [ clone_consistency_group_id=? ]
              The show clone_consistency_group general command is used to query the basic information about a clone consistency group.
              
		
      delete clone_consistency_group clone_consistency_group_id_list=? [ is_delete_dst_lun=? ]
              The delete clone_consistency_group command is used to delete a clone consistency group.
              
		
      show clone_consistency_group clone clone_consistency_group_id=?
              The show clone_consistency_group clone command is used to query information about members in a clone consistency group.
              
		
      change clone_consistency_group general clone_consistency_group_id=? [ copy_speed=? ] [ name=? ] [ description=? ]
              The change clone_consistency_group general command is used to modify clone consistency group settings.
              
		
      add clone_consistency_group clone clone_consistency_group_id=? clone_id_list=?
              The add clone_consistency_group clone command is used to add clone pairs to a specified clone consistency group. Use this command if consistency management is required for clone pairs.
              
		
      remove clone_consistency_group clone clone_consistency_group_id=? clone_id_list=?
              The remove clone_consistency_group clone command is used to remove clone pairs from a specified clone consistency group. Use this command if consistency management is not required for clone pairs.
              
		
      change clone_consistency_group synchronize clone_consistency_group_id_list=? action=?
              The change clone_consistency_group synchronize command is used to start, pause, continue, and stop member synchronization of a clone consistency group.
              
		
      change clone_consistency_group restore clone_consistency_group_id_list=? action=? restore_type=?
              The change clone_consistency_group restore command is used to set reverse synchronization parameters of a clone consistency group.
              
		
EXAMPLES
      Create a clone consistency group named "clone_cg".
              admin:/>create clone_consistency_group name=clone_cg source_protect_group_id_list=0
              Create clone consistency group successfully.
		
      Query information about all clone consistency groups in the storage system.
              admin:/>show clone_consistency_group general
                ID  Name   Health Status  Running Status  Copy Speed  Sync Start Time  Sync End Time
                --  -----  -------------  --------------  ----------  ---------------  -------------
                2   a0000  Normal         Unsynchronized    Middle      --               --
		
      Query information about clone consistency group "2".
              admin:/>show clone_consistency_group general clone_consistency_group_id=2
                ID                 : 2                
                Name               : a0000               
                Health Status      : Normal           
                Running Status     : Unsynchronized                    
                Copy Speed         : Middle                   
                Sync Start Time    : --               
                Sync End Time      : --               
                Restore Start Time : --               
                Restore End Time   : --
                Description        : --
		
      Delete clone consistency group "7".
              admin:/>delete clone_consistency_group clone_consistency_group_id_list=7
              WARNING: You are about to delete clone consistency group, which cannot be undone. Deleting the clone consistency group will disconnect the source LUNs from target LUNs. 
              Suggestion: Before performing this operation, ensure that the clone consistency group is correctly selected and confirm that you need to disconnect the source LUNs from target LUNs.
              Have you read warning message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Delete clone consistency group 7 successfully.
		
      Delete clone consistency group "7" and delete the target LUNs.
              admin:/>delete clone_consistency_group clone_consistency_group_id_list=7 is_delete_dst_lun=yes
              WARNING: You are about to delete clone consistency group, which cannot be undone. Deleting the clone consistency group will disconnect the source LUNs from target LUNs and will delete the target LUNs. 
              Suggestion: Before performing this operation, ensure that the clone consistency group is correctly selected and confirm that you need to disconnect the source LUNs from target LUNs and delete the target LUNs.
              Have you read warning message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Delete clone consistency group 7 successfully.
		
      Delete clone consistency group "7" and reclaim the target LUNs' data.
              admin:/>delete clone_consistency_group clone_consistency_group_id_list=7 is_recycle_dst_lun_data=yes
              WARNING: You are about to delete clone consistency group, which cannot be undone. Deleting the clone consistency group will disconnect the source LUNs from target LUNs and reclaim the target LUNs' data. 
              Suggestion: Before performing this operation, ensure that the clone consistency group is correctly selected and confirm that you need to disconnect the source LUNs from target LUNs and reclaim the target LUNs' data.
              Have you read warning message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Delete clone consistency group 7 successfully.
		
      Query information about members in clone consistency group "1".
              admin:/>show clone_consistency_group clone clone_consistency_group_id=1
               ID   Name  Source ID  Source Type   Target ID  Health Status  Running Status  Copy Speed     Clone Cg ID     Sync Start Time  Sync End Time 
               ---  ----  ---------  -----------   ---------  -------------  --------------   ----------  ----------------  ---------------  -------------
                2    cl       0          LUN           2         Normal      Unsynchronized        Middle        1              --               --
                4    cl1      1          LUN           4         Normal      Unsynchronized        Middle        1              --               --
		
      Change the copy speed of clone consistency group "3" to "high".
              admin:/>change clone_consistency_group general clone_consistency_group_id=3 copy_speed=high
              Command executed successfully.
		
      Add clone pair "2" to clone consistency group "1".
              admin:/>add clone_consistency_group clone clone_consistency_group_id=1 clone_id_list=2
              Add clone 2 to clone consistency group successfully.
		
      Remove clone pairs "2" and "3" from clone consistency group "1".
              admin:/>remove clone_consistency_group clone clone_consistency_group_id=1 clone_id_list=2,3
              WARNING: You are about to remove the clone pair from the clone consistency group. After the removal, the clone pair is not protected by the clone consistency group.
              Suggestion: Before performing this operation, ensure that clone pair does not need clone 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 clone 2 from clone consistency group successfully.
              Remove clone 3 from clone consistency group successfully.
		
      Start synchronizing clone consistency group "7".
              admin:/>change clone_consistency_group synchronize clone_consistency_group_id_list=7 action=start
              WARNING: You are about to synchronize the clone consistency group. This operation will use data of source objects in clone pairs to overwrite data of target objects. Before performing this operation, ensure that target objects in clone pairs are not being read or written by the host and no data is stored in the host cache.
              Suggestion: 
              1. To retain data of target objects, back it up first.
              2. Ensure that the free capacity of the storage pool is greater than the actual capacity of the source objects.
              Have you read warning message carefully?(y/n)y
              Are you sure you really want to perform the operation?(y/n)y
              Change clone consistency group synchronize 7 successfully.
		
      Stop synchronizing clone consistency group "7".
              admin:/>change clone_consistency_group synchronize clone_consistency_group_id_list=7 action=stop
              DANGER: You are about to stop synchronizing data from source objects to target objects in the clone consistency group. This operation will cause data of target objects in clone pairs to be unavailable.
              Suggestion: Before performing this operation, ensure that data of target objects in clone pairs 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
              Change clone consistency group synchronize 7 successfully.
		
      For clone consistency group "3", set its reverse synchronization action to "start" and its synchronization type to "fullcopy".
              admin:/>change clone_consistency_group restore clone_consistency_group_id_list=3 action=start restore_type=fullcopy
              WARNING: You are about to reverse synchronize the clone consistency group. This operation will use data of target objects in clone pairs to overwrite data of source objects. Before performing this operation, ensure that source objects in clone pairs are not being read or written by the host and no data is stored in the host cache.
              Suggestion: 
              1. To retain data of source objects, back it up first.
              2. Ensure that the free capacity of the storage pool is greater than the actual capacity of the target objects.
              Have you read warning message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Change clone consistency group restore 3 successfully.
		
      For clone consistency group "3", set its reverse synchronization action to "stop".
              admin:/>change clone_consistency_group restore clone_consistency_group_id_list=3 action=stop                       
              DANGER: You are about to stop reverse synchronizing data of target objects to source objects in the clone consistency group. This operation will cause data of source objects in clone pairs to be unavailable.
              Suggestion: Before performing this operation, ensure that data of source objects in clone pairs 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
              Change clone consistency group restore 3 successfully.
		