AutoSys Workload Automation

 View Only
  • 1.  autorep not found

    Posted Jul 17, 2019 12:45 PM
    Hi All 
    just a bit baffled,  I have set up job to run which works well on one of my ACE


    dir='/opt/LVtechops/archive/UA1/daily'
    dir1='/opt/LVtechops/archive/UA1/monthly'
    dir2='/opt/LVtechops/archive/UA1/machines'
    dir3='/opt/LVtechops/archive/UA1/details'

    case "$1" in
    -d) autorep -J % -q > $dir/dailyUA1.`date +%d%m%Y`
    ;;
    -m) autorep -J % -q > $dir1/monthlyUA1.`date +%d%m%Y`
    autorep -w -q -M ALL > $dir2/machinesUA1.`date +%d%m%Y`
    ;;
    -u) autorep -J ALL -q > $dir1/monthlyUA1.`date +%d%m%Y`
    autorep -w -q -M ALL > $dir2/machinesUA1.`date +%d%m%Y`
    ;;
    -l) autorep -J ALL -d > $dir3/detailsUA1.`date +%d%m%Y`
    ;;

    esac




    but I have installed the script on my new ACE
    and the job cant do the autorep 

    error 
    autorep: not found [No such file or directory]

    what am i missing ?


    cheers


  • 2.  RE: autorep not found

    Broadcom Employee
    Posted Jul 17, 2019 06:00 PM
    When you say "job cant do the autorep"  I assume you are trying to run your script using an agent. Which agent did you install.  There are two ways to install the agent, the System Agent install or the AE Agent install.  The System Agent install will not be able to run CLIs with out manually setting up the AE environment.  The AE Agent install will be installed with the ability to run the AE CLIs.


  • 3.  RE: autorep not found

    Posted Jul 18, 2019 04:47 AM
    Hi Richard, thanks for your reply,
    I have installed two autosys environments one for PRD and one for UAT r11.3.6 sp7.   I'm running these jobs from the autosys server on both as owner autosys.
    on UAT it works fine, but on my PRD it doesnt like it and falls, saying autorep not found .. It's probably something really simple, but cant put my finger on it
    cheers.


  • 4.  RE: autorep not found

    Posted Jul 19, 2019 09:11 AM
    Edited by Steve Carrobis Jul 19, 2019 09:11 AM
    I am a bit baffled at what you are trying to do.if you wrote code then you must use a profile to set up the environment.
    you need to source the autosys environment. and i would refrain from running too much on your scheduler server and use secondary utility server with agent and client on it. you want your environment to only be running event_demon and as_server ... etc.. 

    NOT jobs. 
    Steve C.