Users Guide
7
Managing Jobs
Remote Services provides the following functionalities to manage Lifecycle Controller jobs:
• Creating Jobs — Create specific types of jobs to apply configurations.
• Scheduling Jobs and Job Queues — Run multiple jobs in a single reboot of the system using the
SetupJobQueue() method on the DCIM_JobService class. If you create a job using the
CreateTargetedConfigJob() method without setting the start time, use the SetupJobQueue() method to set the
schedule and order of execution. If the start time was set in the CreateTargetedConfigJob() method, it cannot be
bundled with the other jobs, and the job is setup for execution at the time that was specified.
• Deleting Jobs — Delete a specified existing job using the DeleteJobQueue() method on the
DCIM_JobService class.
• Reporting all Jobs — Enumerate the DCIM_LifecycleJob class to report all the jobs.
• Reporting scheduled Jobs — Enumerate the DCIM_LifecycleJob class with a selection filter of
JobStatus=Scheduled to generate a report of all the scheduled jobs.
For more information on job control, see the Job Control Profile.
Job Types
There are two types of jobs, system created jobs (implicit) and user created jobs (explicit):
• System created jobs are created when you run specific Remote Services tasks. For example, Remote Services
features such as export hardware inventory, export license, create persistent storage partition, and so on create
a job and return the job ID. Polling the job status determines the completion status of the task.
• User created jobs such as CreateTargetedConfigJob, CreateRebootJob, and InstallFromURI are used to apply
user configurations for RAID, NIC, BIOS, and so on. They can be scheduled to run immediately or at a scheduled
time.
System Created Jobs User Created Jobs
vFlash (Initialize) RAID configuration
vFlash (Create Partition) BIOS configuration
vFlash (Format Partition) NIC configuration
vFlash (Attach Partition) iDRAC configuration
vFlash (Detach Partition) System configuration
vFlash (Export Data from Partition) Software Update of (BIOS, NIC, RAID, and so on)
vFlash (Create Partition using Image) Reboot
Export Lifecycle log
Export Hardware Inventory
Export Factory Configuration
37