ESP Workload Automation

 View Only
  • 1.  Is it possible to disable an SLA via CLI commands?

    Posted Jan 03, 2018 05:41 PM

    We have some SLAs that run only when requested.  We have a manual process to enable them and set the deadline.  The issue we are facing is that we need an automated process to disable the SLA until the next time it is requested.  An automated process would eliminate someone forgetting to manually disable them.   Does anyone know if this can be done via CLI commands, possibly from a batch job?



  • 2.  Re: Is it possible to disable an SLA via CLI commands?

    Broadcom Employee
    Posted Jan 04, 2018 06:31 AM

    Which SLA's does this questions refer to. Kindly expand how you are using SLA's?



  • 3.  Re: Is it possible to disable an SLA via CLI commands?

    Posted Jan 04, 2018 11:54 AM

    Answer has been provided.

     

    The last example on this page: https://docops.ca.com/ca-workload-automation-idash/12-0/en/administrating/maintain-ca-workload-automation-idash/manage-idash-objects-with-cli-commands/update-users-slas-and-other-objects-idupdate shows how to update properties of an SLA through a -f file argument that has all the required SLA properties listed in a file. This file can be created through the idlist command and an example would be: idlist -t sla -i CA7InstanceName -n SLAName and redirect the output to a file and then in that file set the property as “idash.sla.enabled=false” this will disable the SLA once the idupdate command as suggested in the document is run for the relevant SLA.