
NAME
      hyper_cdp_schedule -hyper_cdp_schedule management commands
	
SYNOPSIS
      create hyper_cdp_schedule general name=? period=? day_of_week=? week_start_time=? week_reserved_num=? frequency_time_unit=? frequency_time=? frequency_reserved_num=? hour_of_day=? minute_of_hour=? day_reserved_num=? day_of_month=? month_start_time=? month_reserved_num=? [ schedule_id_list=? ] [ description=? ]
      show hyper_cdp_schedule general [schedule_id=?]
      show hyper_cdp_schedule lun schedule_id=?
      delete hyper_cdp_schedule schedule_id_list=?
      change hyper_cdp_schedule general schedule_id=? { name=? period=? } * [ day_of_week=? ] [ week_start_time=? ] [ week_reserved_num=? ] [ frequency_time_unit=? ] [ frequency_time=? ] [ frequency_reserved_num=? ] [ hour_of_day=? ] [ minute_of_hour=? ] [ day_reserved_num=? ] [ day_of_month=? ] [ month_start_time=? ] [ month_reserved_num=? ] [ description=? ]
      add hyper_cdp_schedule lun schedule_id=? lun_id_list=?
      remove hyper_cdp_schedule lun schedule_id=? lun_id_list=?
      remove hyper_cdp_schedule lun_consistency_group schedule_id=? lun_consistency_group_id_list=?
      change hyper_cdp_schedule enabled schedule_id_list=? enabled=?
      show hyper_cdp_schedule lun_consistency_group schedule_id=?
      add hyper_cdp_schedule lun_consistency_group schedule_id=? lun_consistency_group_id_list=?
      show hyper_cdp_schedule protect_group schedule_id=?
      add hyper_cdp_schedule protect_group schedule_id=? protect_group_id_list=?
      remove hyper_cdp_schedule protect_group schedule_id=? protect_group_id_list=?
	

OPTIONS
      name=?
              HyperCDP schedule name.
              1:The value contains 1 to 31 ASCII characters, including letters, digits, periods (.), underscores (_), and hyphens (-).
              2:When you batch create HyperCDP schedules (by specifying "schedule_id_list=?"), the system automatically numbers the schedule names by adding a four-digit suffix to each name. The suffix starts from 0000. For example, if you specify the name to "auto", the newly created HyperCDP schedules are automatically names as "auto0000", "auto0001", and so on. [NOTE: When you batch create HyperCDP schedules, the value of "name=?" cannot exceed 27 characters.]
		
      period=?
              Policy type of a HyperCDP schedule.
              The value can be "weekly", "frequency", "daily", or "monthly", where:
              1:"weekly": creates HyperCDP objects weekly. 
              2:"frequency": creates HyperCDP objects at fixed intervals. 
              3:"daily": creates HyperCDP objects daily.
              4:"monthly": creates HyperCDP objects monthly. 
              You can specify multiple types of schedules separated by commas (,), such as: "period=frequency,weekly".
		
      day_of_week=?
              Day in a week when HyperCDP objects is created.
              1:The value can be "mon", "tue", "wed", "thu", "fri", "sat", or "sun". For example, "day_of_week=mon".
              2:You can specify multiple days separated by commas (,), such as: "day_of_week=mon,tue".
		
      week_start_time=?
              Time in a week when HyperCDP objects are created.
              The value is in the format of "HH:MM". It is a point in time between "00:00-23:59".
		
      week_reserved_num=?
              Reserved number of HyperCDP objects created weekly.
              The value is an integer from 1 to 256.
		
      frequency_time_unit=?
              Unit of the fixed interval.
              The value can be:
              1:"hour": indicates hours.
              2:"minute": indicates minutes.
              3:"second": indicates seconds.
		
      frequency_time=?
              Fixed interval.
              1:If the value of "frequency_time_unit" is set to "hour", "frequency_time" ranges from 1 to 24.
              2:If the value of "frequency_time_unit" is set to "minute", "frequency_time" ranges from 1 to 1440.
              3:If the value of "frequency_time_unit" is set to "second", "frequency_time" ranges from 3 to 59.
		
      frequency_reserved_num=?
              Reserved number of HyperCDP objects created at fixed intervals.
              The value is an integer from 1 to 60000.
		
      hour_of_day=?
              Hour of a day when HyperCDP objects are created.
              The value is an integer from 0 to 23 (unit: hour).
              If multiple values are selected, separate them with commas (,). For example, "hour_of_day=1,2,3".
		
      minute_of_hour=?
              Minute in a day when HyperCDP objects are created.
              The value is an integer from 0 to 59.
		
      day_reserved_num=?
              Reserved number of HyperCDP objects created daily.
              The value is an integer from 1 to 256.
		
      day_of_month=?
              Day in a month when HyperCDP objects are created.
              The value is an integer from 1 to 31 or "lastday". If multiple values are selected, separate them with commas (,). For example, "day_of_month=1,21,lastday". [NOTE: The value "lastday" indicates the last day of a month.]
		
      month_start_time=?
              Time in a month when HyperCDP objects are created.
              The value is in the format of "HH:MM". It is a point in time between "00:00-23:59".
		
      month_reserved_num=?
              Reserved number of HyperCDP objects created monthly.
              The value is an integer from 1 to 256.
		
      schedule_id_list=?
              ID list of HyperCDP schedules.
              1:The value is an integer from 1 to 512.
              2:You can create multiple schedule IDs separated by commas (,) or an ID range using hyphens (-), such as: 1,5-8.
		
      description=?
              Description.
              -
		
      schedule_id=?
              HyperCDP schedule ID.
              To obtain the value, run "show hyper_cdp_schedule general". The value is an integer from 1 to 512.
		
      lun_id_list=?
              ID list of the LUNs to be added.
              1:To obtain the value, run "show lun general".
              2:You can specify multiple LUN IDs separated by commas (,) or an ID range using hyphens (-), such as: 0,5-8.
		
      lun_consistency_group_id_list=?
              ID list of the LUN consistency groups to be removed.
              1:To obtain the value, run "show lun_consistency_group general".
              2:You can specify multiple LUN consistency group IDs separated by commas (,) or an ID range separated by hyphens (-), such as: 1,5-8.
		
      enabled=?
              Whether to enable or disable a HyperCDP schedule.
              The value can be:
              1:"yes": enables a HyperCDP schedule.
              2:"no": disables a HyperCDP schedule.
		
      protect_group_id_list=?
              ID list of the protection groups to be added.
              1:To obtain the value, run "show protect_group general".
              2:You can specify multiple protection group IDs separated by commas (,) or an ID range using hyphens (-), such as: 1,5-8.
		
COMMANDS
      create hyper_cdp_schedule general name=? period=? day_of_week=? week_start_time=? week_reserved_num=? frequency_time_unit=? frequency_time=? frequency_reserved_num=? hour_of_day=? minute_of_hour=? day_reserved_num=? day_of_month=? month_start_time=? month_reserved_num=? [ schedule_id_list=? ] [ description=? ]
              The create hyper_cdp_schedule general command is used to create a HyperCDP schedule.
              1:Before performing this operation, confirm that the ID of the schedule to be set is correct.
              2:Before performing this operation, confirm that the ID of the schedule to be set exists.
              3:Before performing this operation, confirm that the name of the schedule to be set exists.
              4:When "period=weekly" is set, parameters "day_of_week" and "week_start_time" are mandatory.
              5:When "period=frequency" is set, parameter "frequency_time" is mandatory.
              6:When "period=daily" is set, parameters "hour_of_day" and "minute_of_hour" are mandatory.
              7:When "period=monthly" is set, parameters "day_of_month" and "month_start_time" are mandatory.
		
      show hyper_cdp_schedule general [schedule_id=?]
              The show hyper_cdp_schedule general command is used to query information about a HyperCDP schedule.
              1:Before performing the operation, confirm that the schedule ID is correct and exists. 
              2:The command with a schedule ID queries information about a schedule. The command without a schedule ID queries information about all schedules.
		
      show hyper_cdp_schedule lun schedule_id=?
              The show hyper_cdp_schedule lun command is used to query information about LUNs in a HyperCDP schedule.
              Before performing the operation, confirm that the schedule ID is correct and exits.
		
      delete hyper_cdp_schedule schedule_id_list=?
              The delete hyper_cdp_schedule command is used to delete HyperCDP schedules.
              Before performing the operation, confirm that the schedule ID is correct and exits.
		
      change hyper_cdp_schedule general schedule_id=? { name=? period=? } * [ day_of_week=? ] [ week_start_time=? ] [ week_reserved_num=? ] [ frequency_time_unit=? ] [ frequency_time=? ] [ frequency_reserved_num=? ] [ hour_of_day=? ] [ minute_of_hour=? ] [ day_reserved_num=? ] [ day_of_month=? ] [ month_start_time=? ] [ month_reserved_num=? ] [ description=? ]
              The change hyper_cdp_schedule general command is used to modify information about a HyperCDP schedule, including the name, schedule policy type, and time.
              1:Before performing this operation, confirm that the schedule ID is correct.
              2:Before performing the operation, confirm that the name of the schedule to be modified is correct and exits.
              3:If period=weekly is set, parameters day_of_week, week_start_time, and week_reserved_num are optional. 
              4:If period=frequency is set, parameters frequency_time and frequency_reserved_num are optional.
              5:If period=daily is set, parameters hour_of_day and minute_of_hour are optional.
              6:If period=monthly is set, parameters day_of_month and month_start_time are optional.
		
      add hyper_cdp_schedule lun schedule_id=? lun_id_list=?
              The add hyper_cdp_schedule lun command is used to add LUNs to a HyperCDP schedule.
              After you add LUNs to a timing HyperCDP schedule, the schedule will be effective for the added LUNs.
		
      remove hyper_cdp_schedule lun schedule_id=? lun_id_list=?
              The remove hyper_cdp_schedule lun command is used to remove LUNs from a HyperCDP schedule.
              1:Before performing the operation, confirm that the schedule ID is correct and exists. 
              2:Before performing the operation, confirm that the LUN ID is correct and exists.
		
      remove hyper_cdp_schedule lun_consistency_group schedule_id=? lun_consistency_group_id_list=?
              The remove hyper_cdp_schedule lun_consistency_group command is used to remove LUN consistency groups from a HyperCDP schedule.
              1:Before performing the operation, confirm that the schedule ID is correct and exists. 
              2:Before performing the operation, confirm that the LUN consistency group is correct and exists.
		
      change hyper_cdp_schedule enabled schedule_id_list=? enabled=?
              The change hyper_cdp_schedule enabled command is used to enable or disable a HyperCDP schedule.
              Before performing the operation, confirm that the schedule ID is correct and exits.
		
      show hyper_cdp_schedule lun_consistency_group schedule_id=?
              The show hyper_cdp_schedule lun_consistency_group command is used to query information about LUN consistency groups in a HyperCDP schedule.
              Before performing the operation, confirm that the schedule ID is correct and exits.
		
      add hyper_cdp_schedule lun_consistency_group schedule_id=? lun_consistency_group_id_list=?
              The add hyper_cdp_schedule lun_consistency_group command is used to add LUN consistency groups to a HyperCDP schedule.
              After you add LUN consistency groups to a HyperCDP schedule, the schedule will be effective for the added LUN consistency groups.
		
      show hyper_cdp_schedule protect_group schedule_id=?
              The show hyper_cdp_schedule protect_group command is used to query information about protection groups in a HyperCDP schedule.
              Before performing the operation, confirm that the schedule ID is correct and exists.
		
      add hyper_cdp_schedule protect_group schedule_id=? protect_group_id_list=?
              The add hyper_cdp_schedule protect_group command is used to add protection groups to a HyperCDP schedule.
              After you add protection groups to a HyperCDP schedule, the schedule will be effective for the added protection groups.
		
      remove hyper_cdp_schedule protect_group schedule_id=? protect_group_id_list=?
              The remove hyper_cdp_schedule protect_group command is used to remove protection groups from a HyperCDP schedule.
              1:Before performing the operation, confirm that the schedule ID is correct and exists. 
              2:Before performing the operation, confirm that the protection group is correct and exists.
		
EXAMPLES
      Create HyperCDP schedule "1".
              admin:/>create hyper_cdp_schedule general name=auto period=weekly,frequency day_of_week=sun week_start_time=00:00 week_reserved_num=10 frequency_time_unit=second frequency_time=30 frequency_reserved_num=10 schedule_id_list=1
              Create HyperCDP schedule auto0000 successfully.
		
      Create HyperCDP schedules "1" and "2".
              admin:/>create hyper_cdp_schedule general name=auto period=daily,monthly hour_of_day=12,20 minute_of_hour=40 day_reserved_num=2 day_of_month=1,2 month_start_time=12:12 month_reserved_num=3 schedule_id_list=1-2
              Create HyperCDP schedule auto0000 successfully.
              Create HyperCDP schedule auto0001 successfully.
		
      Query information about HyperCDP schedule "1".
              admin:/>show hyper_cdp_schedule general schedule_id=1
                ID                     : 1                                 
                Name                   : schedule001                   
                Health Status          : Normal                            
                Running Status         : Enabled                           
                Week Days              : --                                
                Week Start Time        : --                                
                Week Reserved Num      : --                                
                Frequency Time         : 0 hour(s),0 minute(s),30 second(s) 
                Frequency Reserved Num : 1 
                Hours                  : --                                
                Start Minute           : --   
                Day Reserved Num       : --
                Month Days             : --                                
                Month Start Time       : --                                
                Month Reserved Num     : --
                Last Execution Time    : 2018-07-22/10:29:00 UTC+08:00     
                Last Execution Result  : Success
                Description            :
		
      Query information about all HyperCDP schedules.
              admin:/>show hyper_cdp_schedule general              
                ID  Name             Health Status  Running Status  Last Execution Time            Last Execution Result  
                --  ---------------  -------------  --------------  -----------------------------  ---------------------  
                1   schedule001  Normal         Enabled         2018-07-22/10:30:00 UTC+08:00  Success                
                2   schedule002  Normal         Enabled         2018-07-22/10:30:00 UTC+08:00  Success
		
      Query information about LUNs in HyperCDP schedule "1".
              admin:/>show hyper_cdp_schedule lun schedule_id=1
               
                ID  Name         Pool ID  Capacity    Health Status   Running Status  Type   WWN
                --  -----------  -------  ----------  -------------   --------------  -----  --------------------------------
                0   testlun0000  0        2.000GB     Normal          Online          Thin   6010203100040506000b780900000000
		
      Delete HyperCDP schedules "1", "5", and "6".
              admin:/>delete hyper_cdp_schedule schedule_id_list=1,5-6
              WARNING: You are about to delete the HyperCDP schedule. This operation will remove information about the HyperCDP schedule from the system. 
              Suggestion: Before performing this operation, ensure that the HyperCDP schedule can be deleted.
              Have you read warning message carefully?(y/n)y
               
              Are you sure really want to perform the operation?(y/n)y
              Delete HyperCDP schedule 1 successfully.
              Delete HyperCDP schedule 5 successfully.
              Delete HyperCDP schedule 6 successfully.
		
      Modify the properties of HyperCDP schedule "1".
              admin:/> change hyper_cdp_schedule general schedule_id=1 name=auto1 period=weekly,frequency day_of_week=mon week_start_time=12:45 week_reserved_num=2 frequency_time_unit=minute frequency_time=2 frequency_reserved_num=3
              Command executed successfully.
		
      Add LUNs "0", "5", and "6" to HyperCDP schedule "1".
              admin:/> add hyper_cdp_schedule lun schedule_id=1 lun_id_list=0,5-6
              Add HyperCDP schedule lun  0 successfully.
              Add HyperCDP schedule lun  5 successfully.
              Add HyperCDP schedule lun  6 successfully.
		
      Remove LUN "2" from HyperCDP schedule "2".
              admin:/>remove hyper_cdp_schedule lun schedule_id=2 lun_id_list=2
              WARNING: You are about to remove LUN or protection group from HyperCDP schedule, which cannot be undone. This operation will delete the relationship between the LUN or protection group and the HyperCDP schedule. 
              Suggestion: Before performing this operation, ensure that you have correctly selected the LUN or protection group to be removed.
              Have you read warning message carefully?(y/n)y
              Are you sure you really want to perform the operation?(y/n)y
              Remove HyperCDP schedule lun 2 successfully.
		
      Remove LUN consistency group "2" from HyperCDP schedule "2".
              admin:/>remove hyper_cdp_schedule lun_consistency_group schedule_id=2 lun_consistency_group_id_list=2
              WARNING: You are about to remove LUN/LUN consistency group from HyperCDP schedule. Removal is irreversible. This operation will delete the relationship between the LUN/LUN consistency group and the HyperCDP schedule. 
              Suggestion: Before performing this operation, ensure that you have selected the LUN/LUN consistency group to be removed.
              Have you read warning message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Remove HyperCDP schedule lun_consistency_group 2 successfully.
		
      Enable HyperCDP schedule "3".
              admin:/>change hyper_cdp_schedule enabled schedule_id_list=3 enabled=yes
              Change HyperCDP schedule enabled 3 successfully.
		
      Disable HyperCDP schedule "1".
              admin:/>change hyper_cdp_schedule enabled schedule_id_list=1 enabled=no
              WARNING: You are about to disable HyperCDP schedule. After this operation, HyperCDP objects will no longer be created based on the schedule. 
              Suggestion: Before performing this operation, ensure that you do not need to create HyperCDP objects anymore.
              Have you read warning message carefully?(y/n)y
               
              Are you sure you really want to perform the operation?(y/n)y
              Change HyperCDP schedule disabled 1 successfully.
		
      Query information about LUN consistency groups in HyperCDP schedule "1".
              admin:/>show hyper_cdp_schedule lun_consistency_group schedule_id=1
               
                ID  Name         ScheduleId   
                --  -----------  -------  
                1   lunCG1       1
		
      Add LUN consistency groups "1", "5", and "6" to HyperCDP schedule "1".
              admin:/> add hyper_cdp_schedule lun_consistency_group schedule_id=1 lun_consistency_group_id_list=1,5-6
              Add HyperCDP schedule lun_consistency_group  1 successfully.
              Add HyperCDP schedule lun_consistency_group  5 successfully.
              Add HyperCDP schedule lun_consistency_group  6 successfully.
		
      Query information about protection groups in HyperCDP schedule "1".
              admin:/>show hyper_cdp_schedule protect_group schedule_id=1
               
                ID  Name    Schedule ID   
                --  ------  -----------  
                1   lunCG1  1
		
      Add protection groups "1", "5", and "6" to HyperCDP schedule "1".
              admin:/> add hyper_cdp_schedule protect_group schedule_id=1 protect_group_id_list=1,5-6
              Add HyperCDP schedule protection group 1 successfully.
              Add HyperCDP schedule protection group 5 successfully.
              Add HyperCDP schedule protection group 6 successfully.
		
      Remove protection group "2" from HyperCDP schedule "2".
              admin:/>remove hyper_cdp_schedule protect_group schedule_id=2 protect_group_id_list=2
              WARNING: You are about to remove LUN or protection group from HyperCDP schedule, which cannot be undone. This operation will delete the relationship between the LUN or protection group and the HyperCDP schedule.
              Suggestion: Before performing this operation, ensure that you have correctly selected the LUN or protection group to be removed.
              Have you read warning message carefully?(y/n)y
              Are you sure you really want to perform the operation?(y/n)y
              Remove HyperCDP schedule protect_group 2 successfully.
		