Practices Guide

Lifecycle Controller IntegrationBest Practices Specification
115
[LC1.5.x and prior] Running this command also restarts remote services.
Applies to: LC1.3.0
Prerequisites for script: none
Script: DeleteAllJobs.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 all jobs from the job store by setting JobID="JID_CLEARALL"
C) [LC1.5.x and prior] The The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.
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+