Dell Lifecycle Controller 2 Version 1.3.0 Guía de usuario Pagina 100

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 315
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 99
100 Dell Lifecycle Controller Web Services Interface Guide for Windows
ReturnValue = null
10.2.2 Delete Job Queue
The DeleteJobQueue() method takes in a jobID and then deletes it from the job store.
Note: When clearing all jobs and pending data using the keyword JID_CLEARALL, as shown in example 2
below, the remote services instrumention is restarted to clear the cache [LC 1.x ONLY]. Users should
allow two minutes for this process to complete.
Invoke DeleteJobQueue() with the following parameters and syntax:
[JobID]: The jobID of a particular job instance to be deleted from a jobqueue
EXAMPLE 1:
winrm invoke DeleteJobQueue cimv2/root/dcim/DCIM_JobService
?CreationClassName=DCIM_JobService +Name=JobService+SystemName=Idrac
+SystemCreationClassName=DCIM_ComputerSystem @{JobID=”[jobID]” }-u:[USER] -
p:[PASSWORD]
-r:https://[IPADDRESS]/wsman:443 -auth:basic -encoding:utf-8
The example below uses JID_CLEARALL for the jobID, which is a predefined value that represents
“deleting all jobs in the jobstore”.
EXAMPLE 2:
winrm invoke DeleteJobQueue cimv2/root/dcim/DCIM_JobService
?CreationClassName=DCIM_JobService+Name=JobService +SystemName=Idrac
+SystemCreationClassName=DCIM_ComputerSystem @{JobID="JID_CLEARALL" }
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman:443 -auth:basic -encoding:utf-8 -SkipCACheck
SkipCNCheck
OUTPUT:
Return 0 for success or non-zero for error with messageID and message description.
DeleteJobQueue_OUTPUT
Message = The specified job was deleted
MessageID = SUP020
ReturnValue = null
Vista de pagina 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 314 315

Comentarios a estos manuales

Sin comentarios