Practices Guide
LC Integration Best Practices Specification
111
D) [LC1.5.x and prior] The remote service will get reset upon invoking the delete job queue
command. The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be
used depending on the version of the LC Management registered profile to determine when
the remote service is ready.
The GetRSStatus() method must first poll for ‘reloading’ then poll for ‘ready’, while the
GetRemoteServicesAPIStatus() can just poll for ‘ready.’
20.5 Delete one job from job store
This workflow deletes one job from the job store (job queue). The user must specify which job
ID or reboot ID to be deleted.
Applies to: LC1.3.0
Prerequisites for script: Specify job ID to be deleted by editing script
Script: DeleteOneJob.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.
B) DeleteJobQueue(): Delete specified job from the job store by setting JobID equal to the
job ID (JID_01234) or reboot ID (RID_01234).
C) GetLifecycleJobs(): List all remaining jobs in job store
21 Memory Profile Use Cases
21.1 Discovery of Memory profile support
Use the following procedure below to confirm the existence of memory profile support.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: GetMemoryProfile.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.
B) GetLCRegisteredProfiles(): ENUMERATE the DCIM_LCRegisteredProfile class to view all
registered profiles. See section 2.2 for a definition of ENUMERATE .
C) Search for “RegisteredName=Memory” and note its instanceID to use in step D)
D) GetLCRegisteredProfile(): GET the DCIM_LCRegisteredProfile instance using the
InstanceID from C). See Section 2.3 for a definition of GET.