Service Operations Insight

 View Only
  • 1.  Service Tree Deletion Automation

    Posted May 19, 2020 02:43 AM
    Hi Team,

    Is there a way were i can automate the service tree deletion once the Maintenance window has surpassed.

    Thanks
    Ankur

    ------------------------------
    Thanks And Regards
    Ankur Mishra
    ------------------------------


  • 2.  RE: Service Tree Deletion Automation

    Posted May 19, 2020 02:56 AM
    Hi Ankur,
    can you please describe the scenario a little bit more in detail:
    - How is the service tree created and what does it represent?
    - Why do you want to "delete" the tree following Maintenance?
    - How do you define Maintenance Windows?

    Michael

    ------------------------------
    Customer Success Architect
    CA Deutschland GmbH (a Broadcom company)
    ------------------------------



  • 3.  RE: Service Tree Deletion Automation

    Posted May 19, 2020 03:21 AM
    Hi Michael,

    Thanks for coming up on this.
    Actually in my environment, i use Service Trees to put the servers in maintenance mode. I create a tree in service tab and put the server inside and deploy a maintenance window on tree .Now it is a manual tasks to delete all the service trees along with the maintenance schedule after the window is surpassed. I would like to automate this deletion of Service Trees when the maintenance window has surpassed.

    Do we have any kind of commands to perform the same or if we can get it through RestApi method ?

    Thanks
    Ankur


  • 4.  RE: Service Tree Deletion Automation
    Best Answer

    Posted May 19, 2020 03:37 AM
    Hi Ankur,

    have a look here:
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/service-operations-insight/4-2/web-services/ca-soi-rest-web-services/available-ca-soi-rest-web-services.html#concept.dita_5c600b9772f161a4bfd10c21d40aed130dfcc036_ServiceRESTWebServices
    REST Interface can be used to delete services.
    You can also delete schedules:
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/service-operations-insight/4-2/web-services/ca-soi-rest-web-services/available-ca-soi-rest-web-services.html#concept.dita_5c600b9772f161a4bfd10c21d40aed130dfcc036_ScheduleRESTWebServices

    Michael

    ------------------------------
    Customer Success Architect
    CA Deutschland GmbH (a Broadcom company)
    ------------------------------