VMware Aria

 View Only
  • 1.  A way to "wait" after a deployment for an action

    Posted Dec 04, 2024 04:05 PM

    Good evening!

         Wondering if anyone has anything easy to have a wait when kicking off actions post provision of a new VM.   We are using Rubrik as our backup solution, and one of the subscriptions/actions we run is to subscribe the vm to an SLA  in rubrik, to have it get backed up.  The problem is Rubrik connects to Vcenter, to sync the VM's every half hour.  They have a script to kick it off on demand, but it's kind of pointless as the sync typically takes between 10 and 30 minutes.  So with actions having a timeout period of 900 seconds, it's leaving us with an inconsistent ability to add the vm to a backup sla using automation.  I was wondering if anyone has done something where it fires off an action 30-45 minutes after the deployment.  Any direction is much appreciated!

    Jay



  • 2.  RE: A way to "wait" after a deployment for an action

    Posted Dec 05, 2024 12:55 AM

    Hi, 
    If you base your backups/SLA assigment on vSphere TAGs, you shouldn't have this issue.
    https://www.rubrik.com/blog/products-solutions/19/8/rubrik-protection-vsphere-tags




  • 3.  RE: A way to "wait" after a deployment for an action

    Posted Dec 05, 2024 09:03 AM

    Well now!   I remember reading about this a while back before they required us to move to rsc.. and kind of dismissing it .. I don't remember why because re-reading this just makes a lot of sense.  Thank you for the suggestion!

    Jay




  • 4.  RE: A way to "wait" after a deployment for an action

    Posted Dec 05, 2024 10:06 AM

    If I understand it well, I can see here a few possibilities:

    1) Check if Rubrik has API to run sync. If yes (I assume it has), use Aria Orchestrator workflow and REST:Host method to run syn using API.

    2) You can use Aria Orchestrator workflow and subscription in Aria Automation. vRO Workflow will start and pause for ~30 minutes. Remember that the subscription must be "blockable" and have a timeout higher than workflow takes.

    You can use that Extended Sleep to schedule a workflow and wait 30 minutes.

    https://blanketvm.com/2021/04/07/vro-sleep-or-pause/

    I hope this will help.



    ------------------------------
    -------------------------
    www.blanketvm.com
    -------------------------
    VCP-VCF, VCP-DCV, VCP-CMA, VCAP-DCV, VCAP-CMA, vROPS|vSAN|VCF Deployment Specialist
    -------------------------
    ------------------------------



  • 5.  RE: A way to "wait" after a deployment for an action

    Posted Dec 10, 2024 09:41 AM

    I would image there is a way via the Rubrik API to check whether the sync is finished? In your workflow, add the VM to the backup policy, then do a loop to check every 10mins via API for the status with a maximum timeout of say 60 mins. If it hasnt done it in that time call your workflow to raise an incident with the backup team to investigate or add manually