CA Workload Automation ESP Edition

Expand all | Collapse all

Round-Robin Scheduling

Jump to Best Answer
  • 1.  Round-Robin Scheduling

    Posted 12-05-2016 09:09 PM

    Does workload automation AE (autosys) supports round-robin scheduling on Agent hosts.

     

    -bash-4.1$ mr betapmcc

    Machine Name Max Load Current Load Factor O/S Status
    ________________________________________________________________________________ __________ ____________ _______ ___________ ______
    betapmcc.betapmcc1 100 0 1.00 Sys Agent Online
    betapmcc.betapmcc2 100 0 1.00 Sys Agent Online



  • 2.  Re: Round-Robin Scheduling

    Posted 12-06-2016 07:35 AM

    Hi,

     

    Can you please post this in AE product communities for the response. 

     

    Thanks and regards,

    Ravi Kiran



  • 3.  Re: Round-Robin Scheduling

    Posted 12-06-2016 12:11 PM

    not really it doesnt. you can use autosys virtual machine to sort of work but it will just pick the best CPU.

    Steve C.



  • 4.  Re: Round-Robin Scheduling
    Best Answer

     
    Posted 12-07-2016 04:40 AM

    Hello

     

    You can use a script as a machine. In jil

    machine: `/tmp/test.sh`

    /tmp/test.sh  is on WAAE manager.

    /tmp/test.sh has to make a echo of a machine: (example:  echo betapmcc1).

    Then you can write in shell something like

    MACHINE=`cat /tmp/prev_machine`

    if [ "$MACHINE" = "betapmcc1" ] ; then

          $MACHINE=betapmcc2

    else

          $MACHINE=betapmcc1

    fi

    echo $MACHINE > /tmp/prev_machine

    echo $MACHINE



  • 5.  Re: Round-Robin Scheduling

    Posted 12-07-2016 10:30 PM

    Hello iamintown- To clarify you want the machines to take turns running jobs, so if you need to process 10 jobs you want machineA to run job1, machineB to run job2, machineA to run job3, machineBto run job4, etc. Correct?



  • 6.  Re: Round-Robin Scheduling

    Posted 01-12-2017 06:56 PM

    Yes, that is correct.