User's Manual
52 Remote Services Operations
Using Job Control
Use this feature to do the following:
• Reporting all Jobs - Enumerate the
DCIM_ConcreteJob
class to report all
the jobs.
• Reporting scheduled Jobs - Enumerate the
DCIM_ConcreteJob
class with
a selection filter of JobStatus=Scheduled to generate a report of all the
scheduled jobs.
• Scheduling Jobs and Job Queues - You can 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.
For more information on job control, see the "Job Control Profile" on page 67.
Scheduling Separate Jobs for Multiple Actions
To schedule separate jobs for multiple actions (in the following example,
BIOS and NIC update and NIC configuration):
1
Invoke the
InstallFromURI()
method for the BIOS and NIC firmware
update packages.
The method downloads the BIOS and NIC updates and creates a job ID
for each device update job.
2
Set the NIC attributes for a NIC (for example, Embedded NIC 1) and
create a targeted job for this set. The method returns a job ID.
3
Take these job IDs and use the SetupJobQueue() method to schedule
these jobs so that they are executed in the order specified at the specified
start time.
RemoteServices1_4.book Page 52 Thursday, October 21, 2010 5:05 PM