ESP Workload Automation

  • 1.  How to issue commands to an ESP master for HAO?

    Posted May 25, 2017 05:08 PM

    We are in the process of converting our ESP setup from a single master on one LPAR to a Master/Shadow with proxies across two LPARs.

     

    All has gone well with setup and the running of ESP however we are having issues executing commands to ESP.

     

    When running the following in batch commands are only successful when the job runs on the same LPAR as the master:-

    STEP1 EXEC PGM=ESP,PARM='SUBSYS(ESPD)'

     

    When running on alternate LPAR:-

    ESP2324W ESPD SUBSYSTEM NOT ACTIVE

    ESP122E ESPD SUBSYSTEM NOT ACTIVE

    AJ jobname RELEASE APPL(MASTHK.0)

    ESP122E ESPD SUBSYSTEM NOT ACTIVE

     

    xcf display group

    Group=ESP, Member=MASTER1, TermOpt=Quiesce

    Group Member System ASID Jobname SSID ESP Status

    ESP MASTER1 MVSD 0347 ESPD ESPD Master Active

    ESP MASTER2 MVSE 0155 ESPE ESPD Shadow Active

    ESP PROXY1 MVSE 0154 ESPEP ESPE Proxy Active

    ESP PROXY2 MVSD 0151 ESPDP ESPE Proxy Active

     

    Any assistance would be greatly appreciated.  Happy to provide more info if required.

     

    Thanks

    Teresa



  • 2.  Re: How to issue commands to an ESP master for HAO?
    Best Answer

    Posted May 26, 2017 04:04 PM

    I think that if you eliminate the subsys  and code ROUTING MASTER in the sysin, 

    it should find your master regardless of which lpar the job runs on :

     

    //XCFDG1 EXEC PGM=ESP                                        ,PARM='SUBSYS(ESPM)'
    //STEPLIB DD DSN=APF.JSS03DD.SSCPLINK,DISP=SHR
    //SYSPRINT DD SYSOUT=*
    //SYSUDUMP DD SYSOUT=*
    //SYSIN DD *
    ROUTING MASTER
    XCF D G

    /*



  • 3.  Re: How to issue commands to an ESP master for HAO?

    Broadcom Employee
    Posted May 26, 2017 04:08 PM

    Hi Michael,

     

    We come to the same solution. I didn't see your post earlier.

     

    Lucy



  • 4.  Re: How to issue commands to an ESP master for HAO?

    Broadcom Employee
    Posted May 26, 2017 04:06 PM

    Hi Teresa,

     

    The common way is to route the command to MASTER:

    - Change SUBSYS(ESPD) to SUBSYS(ESPE);

    - Add ROUTING MASTER before the AJ command;

    Note: XCF START SERVICE ROUTING should be in ESPPARM.

     

    This way the ESP batch will send the command to local proxy and then route it to the master (or the shadow if it takes over).

     

    Hope this helps,

     

    Lucy



  • 5.  Re: How to issue commands to an ESP master for HAO?

    Posted May 29, 2017 01:22 AM

    Worked a treat. 

     

    Had tried running with ESPE but didn't have the ROUTING MASTER before the command.

     

    Is there a way to code the ROUTING MASTER  in the ESP parms so that we don't have to amend all the command members?

     

    Thanks

    Teresa



  • 6.  Re: How to issue commands to an ESP master for HAO?

    Broadcom Employee
    Posted May 29, 2017 04:46 PM

    Teresa



  • 7.  Re: How to issue commands to an ESP master for HAO?

    Broadcom Employee
    Posted May 29, 2017 04:48 PM

    Hi Teresa,

     

    You can add MASTER after SUBSYS(ESPE), like:

    //XCFDG1 EXEC PGM=ESP,PARM='SUBSYS(ESPE) MASTER'

     

    Then you needn't add ROUTING MASTER any more.

    However there is no parm in ESPPARM can make all commands go to Master by default.

     

    Hope this helps,

     

    Lucy



  • 8.  Re: How to issue commands to an ESP master for HAO?

    Posted May 30, 2017 03:56 AM

    Perfect.  Will give it a try tomorrow.

     

    Thanks

    Teresa