Manage IS Scheduled Task Using CCE

Prerequisites:

  • Knowledge on how to manage scheduled tasks from IS admin UI.
  • IS, SPM, and CCE should be up and running.
  • Should have hands-on creating composite templates.

Managing Scheduled Task In CCE:

This paper explains about managing IS Scheduled Tasks from Command Central.

Starting from 10.5 command central supports to manage scheduled tasks in following two ways,

  1. Manage IS Scheduled Task using CCE UI:
    1. Create a new scheduled task.
      • Login to CCE.
      • Click on IS Instance name present under instances tab.
      • Click on Integration Server link present on LHS.
      • Click on configuration tab.
      • Select Scheduler from drop down.
      • Click on “+” symbol and provide the details.
      •  
      •  
      • Save it. You should see the scheduled task is listed.
      • Same can be verified in IS admin page.
    2. View all existing scheduled tasks.
      • Login to CCE.
      • Click on IS Instance name present under instances tab.
      • Click on Integration Server link present on LHS.
      • Click on configuration tab.
      • Select Scheduler from drop down.
      • You should see all scheduled tasks listed, also verify same tasks from IS admin UI.
    3. Update existing scheduled task.
      • Login to CCE.
      • Click on IS Instance name present under instances tab.
      • Click on Integration Server link present on LHS.
      • Click on configuration tab.
      • Select Scheduler from drop down.
      • Click on service name you want to update.
      • Click on Edit button, update details and click on Save.
      •  
      •  
      •  
      • This change can also be verified from IS admin UI.
    4. Delete existing scheduled task.
      • Login to CCE.
      • Click on IS Instance name present under instances tab.
      • Click on Integration Server link present on LHS.
      • Click on configuration tab.
      • Select Scheduler from drop down.
      • Select ID/Service you want to delete.
      • Click on “-“ symbol present on top RHS and click “OK”.
      •  
      •  
      • This deleted task should not be displayed in IS admin UI.
    5. Pause/Resume scheduler.
      • Login to CCE.
      • Click on IS Instance name present under instances tab.
      • Click on Integration Server link present on LHS.
      • Click on configuration tab.
      • Select Scheduler from drop down.
      • Click on service name you want to update.
      • Click on Edit button, update details, you can either select Active or Suspend radio button and Save it.
      •  
      •  
      • The same should reflect in IS admin UI.
    6. Filtering services based on full/part of service name.
      • Login to CCE.
      • Click on IS Instance name present under instances tab.
      • Click on Integration Server link present on LHS.
      • Click on configuration tab.
      • Select Scheduler from drop down.
      • In search box search for full/part of service name, it should filter respective scheduled task.
      •  
      •  
  2. Manage IS Scheduled Task using a composite template:
    1. Create a new scheduled task.
      • Either you can write your own yaml code to create a new scheduled task or create a new task in CCE UI, export the code and copy it to a template.
      • Below is the sample exported, parameterized yaml code to create new simple scheduled task in IS:
 

integrationServer-${is.instance.name}:

              IS-SCHEDULED-TASKS:

                IS-SCHEDULED-TASKS-66b87bb0-10db-11ea-af00-000000000000:

                  ServiceInfo:

                    Description: ${description}

                    Service: ${IS service name}

                    User: ${User}

                    TargetNode: ${target node}

                  OverdueTask:

                    OverdueOptions: '0'

                    delay: '0'

                  ScheduleType:

                    ScheduleTypeOptions: repeat

                    Repeating:

                      StartDate: ${start date}

                      StartTime: ${start time}

                      DonotOverlap: 'true'

                      Interval: ${timeinsec}

                  StatusOptionType: ${active/suspend}

                  ID:

                  ParentID: 'False'

                  LastError: N/A

                  QueueName: N/A

                  NextRun: '540.4'

                  Status: active

                  Interval: ${timeinsec}

 

  1. Update the existing scheduled task.
    • Export existing scheduled task from CCE UI and copy it to a template, update details and execute the template.
    • Please Note, it is better to avoid updating scheduled tasks using composite templates. It is time consuming, if you have fewer tasks then directly update from CCE UI. If your template already contains all the scheduled tasks (if count is more) and you want to update multiple tasks at a time, then use this method.

Export scheduled task in yaml format from CCE UI:

  1. From Scheduler view in CCE, click on the scheduled task you want to export.
  2. Click on Export button, you will see the popup which contains yaml configuration of scheduled task.
  3. Copy the code to your composite template and execute it.