AutoSys Workload Automation

 View Only
Expand all | Collapse all

Start Autosys App and Event Servers with Real Machines offline

  • 1.  Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 26, 2015 01:18 PM

    Hello, is there a way to Start Autosys app and event servers with all real machines offline during a Disaster Recovery Test?



  • 2.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 26, 2015 01:37 PM

    By "real machines offline" are you referring to real Agent machines?

    Am assuming that the Autosys Scheduler, Application Server and Database machines will be "live" - if so, you can start Autosys with the "real" Agent machines off line.

    - Chris



  • 3.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 26, 2015 02:22 PM

    Thank you Chris,

     

    Yes, Thanks for "reading" my mind. The Application Scheduler, Application Server and Database will come up live. During our test we do not want any jobs to start executing when the Scheduler Starts. We are just going to run adhoc jobs for this test. Would you happen to know what "parameter" needs to be modified to have the have Autosys machines start "offline". Thank again !



  • 4.  Re: Start Autosys App and Event Servers with Real Machines offline
    Best Answer

    Posted Oct 26, 2015 02:30 PM

    you would have to get a list of all the real machine names listed with autorep -M

    then sendeevent MACH_OFFLINE each one

    otherwise..

    you are better off putting the env in global ON_HOLD.

    in doing so after each execution and when you are done with your test you will have to take it out of AUTO_HOLD

    and restart..

    this feature has been there since before R11.. ;-)

    This is probably what you really wanted.. either way.. these are 2 ways in which to do it..

    Good Luck.



  • 5.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 26, 2015 05:44 PM

    Global AutoHold has been an option since v4.x and since r11, this has been configurable in config.$AUTOSERV  or Admin GUI.

     

    If this is 11.3.6 SP2, onecan have an initial status (on_hold)  for new jobs.

     

    In WCC 11.4 SP1, one can put machine ONLINE/OFFLINE using the machine widget.

     

    When machine is OFFLINE, jobs go to PEND_MACH(PE) status by default. However, in 11.3.5/6 one can set the job status to change to (ON_ICE for example) when the machine is OFFLINE. This is configured in config.$AUTOSERV  or Admin GUI (GlobalPendMachStatus or something like that) .

     

    Cheers,

    Chandru

     

    Sent from Nine<http://www.9folders.com/>



  • 6.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 26, 2015 08:59 PM

    https://wiki.ca.com/display/AE1136SP2p/New+Features+-+11.3.6+SP1

     

    New status Attribute

    The status attribute sets an initial status for a job during insertion. This can prevent jobs from running during the insertion process.



  • 7.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 27, 2015 08:09 AM

    Thank you Chandru, I really appreciate your help on this.

     

    Maurice



  • 8.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 27, 2015 08:18 AM

    I thought I covered this in my reply?



  • 9.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 27, 2015 08:21 AM

    Thanks Steve - Yes you did !  -- I really appreciate the help

     

    Maurice



  • 10.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 27, 2015 08:27 AM

    Maurice, it was aimed at chandru but thank you my pleasure.. ;-)



  • 11.  Re: Start Autosys App and Event Servers with Real Machines offline

    Posted Oct 27, 2015 06:49 PM

    Steve,

    The intention was just to highlight other 3 options (status attrib, WCC machine widget, GlobalPendMachStatus) the new WAAE version has to offer - didn't mean to tread on your toes.

    Thank you for your expert guidance in CA Communities!

     

    Cheers,

    Chandru