Release Automation

  • 1.  Running process on multiple agents but only once

    Posted Dec 20, 2018 11:20 AM

    Hi gurus,

     

    I undersatand my title is a little misleading, let me explain. 

     

    We have an environnement with 3 server types. Database, apps and repo. We want to assign multiple agents to the apps server type. But we want to processes executed on that env. to be executed only once. Is that possible to do ?

     

    We want to simulate some kind of high availability for that apps server type. That environnement is using shared NFS disks, so we don't really care which server received the command, but we don't want two execution.

     

    Let's say server #1 is down for maintenance, we would like the processes to work automaticly and not have to go into agent assignement, remove agent on server #1 and assign agent on server #2 instead. 

     

    Hopefully my question is clear...

     

    Regards,

    GGV



  • 2.  Re: Running process on multiple agents but only once
    Best Answer

    Broadcom Employee
    Posted Dec 20, 2018 11:40 AM

    Do this(Pre-Deployment Step):

    Use action ROC - Get Assigned Servers to get all server for the deployment step. This will give string array.

    Use the above string array to action Check Online Agents to get the agents online. If the deploying agents are offline then at runtime assign the backup agent server using action ROC - Assign Servers. 

     

    Let me know if you need more information.



  • 3.  Re: Running process on multiple agents but only once

    Posted Dec 20, 2018 11:43 AM

    I've should have though about it.... Thanks a lot, I'm sure this will work.