Re: Remote exec script

2018-01-26 Thread Rick Troth
On 01/26/2018 03:37 AM, Rob van der Heij wrote:
>> Exactly Mauro... I want a way to run some execs on another ssi member...
>> Whithout need logon.. ssicmd  just execute cp commands...
> If you have a Linux guest on one of the members, you can issue some CP
> commands through the AT command with 'vmcp' though I personally would be
> reluctant to have Linux guests with extended privileges.

Right, if all you need are CP commands, then 'vmcp' and "AT" should do.

I'd be similarly reluctant to have Linux guests with extended
privileges, though it sounds like you're being selective about which
Linux guests are allowed to play here.


> For anything beyond that you'd probably have to set up a suitable
> infrastructure with a worker machine on each member. That can be done with
> an existing product like IBM Wave, IBM Operations Manager, or some
> creativity and elbow grease. Unless 'rexecd' fits your policy.

Following what Rob said, policy and all that, REXECD actually might work.
Isolate REXECD to a z/VM Guest LAN and allow selected Linux guests to
also access that guest LAN.

A guest LAN is substantially more secure than a physical LAN behind a
firewall. It's the only place I would use REXECD, but in that padded
cell I would have no qualms about using REXECD. You can then use Linux
'rexec' command to drive that worker CMS virtual machine.

-- R; <><






--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Remote exec script

2018-01-26 Thread Rogério Soares
Thanks! Great idea!

Em 26 de jan de 2018 09:56, "Marco Bosisio" 
escreveu:

> Hi Rògerio,
>look at "wakeup"  module.
> It is an old module but it is available on zVM.
>
> WAKEUP HELP :
> ...The WAKEUP command waits for an event to occur, and then returns
> control
> your exec.  It can be used to wait for reader files, messages, timer eve
> etc.  The return code tells your exec what event caused wakeup to end...
>
> It has been referenced on Redbook  Virtualization Cookbook for z/VM 6.3.
> i.e.  pag.124
> You need a virtual machine running wakeup on each node  customized as you
> need.
>
>
> Cordiali saluti  / Best regards
>
> Marco Bosisio
>
>
> Linux on 390 Port  wrote on 01/26/2018 09:37:56
> AM:
>
> > From: Rob van der Heij 
> > To: LINUX-390@VM.MARIST.EDU
> > Date: 01/26/2018 09:39 AM
> > Subject: Re: Remote exec script
> > Sent by: Linux on 390 Port 
> >
> > On 26 January 2018 at 05:25, Rogério Soares 
> > wrote:
> >
> >
> > > Exactly Mauro... I want a way to run some execs on another ssi
> member...
> > > Whithout need logon.. ssicmd  just execute cp commands...
> > >
> >
> > If you have a Linux guest on one of the members, you can issue some CP
> > commands through the AT command with 'vmcp' though I personally would be
> > reluctant to have Linux guests with extended privileges.
> >
> > For anything beyond that you'd probably have to set up a suitable
> > infrastructure with a worker machine on each member. That can be done
> with
> > an existing product like IBM Wave, IBM Operations Manager, or some
> > creativity and elbow grease. Unless 'rexecd' fits your policy.
> >
> > Rob
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> > https://urldefense.proofpoint.com/v2/url?
> >
> u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&
> d=DwIFaQ=jf_iaSHvJObTbx-
> >
> siA1ZOg=GWv5p0jwIq6jQmyHErMWp4TcmiIVHYk3c4tlxLQ1zMI=b40_
> pFdrGpVxKLQUuneiVW34PfAd01ggQAQrPP0qwiA=RQ3XDE4BgkFikV0mmo9c4q9bcpnIQH
> F6zrklZCITrU8=
> > --
> > For more information on Linux on System z, visit
> > https://urldefense.proofpoint.com/v2/url?
> > u=http-3A__wiki.linuxvm.org_=DwIFaQ=jf_iaSHvJObTbx-
> >
> siA1ZOg=GWv5p0jwIq6jQmyHErMWp4TcmiIVHYk3c4tlxLQ1zMI=b40_
> pFdrGpVxKLQUuneiVW34PfAd01ggQAQrPP0qwiA=NPxWznpsvNXZbrtu_
> fQBDDHq7DyCiRJMaohs-
> > ZQkRmA=
> >
>
> IBM Italia S.p.A. Sede Legale: Circonvallazione Idroscalo - 20090 Segrate
> (MI) Cap. Soc. euro 347.256.998,80 C. F. e Reg. Imprese MI 01442240030 -
> Partita IVA 10914660153 Societa' con unico azionista Societa' soggetta
> all'attivita' di direzione e coordinamento di International Business
> Machines Corporation (Salvo che sia diversamente indicato sopra / Unless
> stated otherwise above)
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Remote exec script

2018-01-26 Thread Marco Bosisio
Hi Rògerio,
   look at "wakeup"  module. 
It is an old module but it is available on zVM.

WAKEUP HELP : 
...The WAKEUP command waits for an event to occur, and then returns 
control 
your exec.  It can be used to wait for reader files, messages, timer eve 
etc.  The return code tells your exec what event caused wakeup to end... 

It has been referenced on Redbook  Virtualization Cookbook for z/VM 6.3. 
i.e.  pag.124
You need a virtual machine running wakeup on each node  customized as you 
need.


Cordiali saluti  / Best regards
 
Marco Bosisio


Linux on 390 Port  wrote on 01/26/2018 09:37:56 
AM:

> From: Rob van der Heij 
> To: LINUX-390@VM.MARIST.EDU
> Date: 01/26/2018 09:39 AM
> Subject: Re: Remote exec script
> Sent by: Linux on 390 Port 
> 
> On 26 January 2018 at 05:25, Rogério Soares 
> wrote:
> 
> 
> > Exactly Mauro... I want a way to run some execs on another ssi 
member...
> > Whithout need logon.. ssicmd  just execute cp commands...
> >
> 
> If you have a Linux guest on one of the members, you can issue some CP
> commands through the AT command with 'vmcp' though I personally would be
> reluctant to have Linux guests with extended privileges.
> 
> For anything beyond that you'd probably have to set up a suitable
> infrastructure with a worker machine on each member. That can be done 
with
> an existing product like IBM Wave, IBM Operations Manager, or some
> creativity and elbow grease. Unless 'rexecd' fits your policy.
> 
> Rob
> 
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit
> https://urldefense.proofpoint.com/v2/url?
> 
u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390=DwIFaQ=jf_iaSHvJObTbx-
> 
siA1ZOg=GWv5p0jwIq6jQmyHErMWp4TcmiIVHYk3c4tlxLQ1zMI=b40_pFdrGpVxKLQUuneiVW34PfAd01ggQAQrPP0qwiA=RQ3XDE4BgkFikV0mmo9c4q9bcpnIQHF6zrklZCITrU8=
> --
> For more information on Linux on System z, visit
> https://urldefense.proofpoint.com/v2/url?
> u=http-3A__wiki.linuxvm.org_=DwIFaQ=jf_iaSHvJObTbx-
> 
siA1ZOg=GWv5p0jwIq6jQmyHErMWp4TcmiIVHYk3c4tlxLQ1zMI=b40_pFdrGpVxKLQUuneiVW34PfAd01ggQAQrPP0qwiA=NPxWznpsvNXZbrtu_fQBDDHq7DyCiRJMaohs-
> ZQkRmA=
> 

IBM Italia S.p.A. Sede Legale: Circonvallazione Idroscalo - 20090 Segrate 
(MI) Cap. Soc. euro 347.256.998,80 C. F. e Reg. Imprese MI 01442240030 - 
Partita IVA 10914660153 Societa' con unico azionista Societa' soggetta 
all'attivita' di direzione e coordinamento di International Business 
Machines Corporation (Salvo che sia diversamente indicato sopra / Unless 
stated otherwise above)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Remote exec script

2018-01-26 Thread Rogério Soares
Thank you all!

Em 26 de jan de 2018 06:39, "Rob van der Heij"  escreveu:

> On 26 January 2018 at 05:25, Rogério Soares 
> wrote:
>
>
> > Exactly Mauro... I want a way to run some execs on another ssi member...
> > Whithout need logon.. ssicmd  just execute cp commands...
> >
>
> If you have a Linux guest on one of the members, you can issue some CP
> commands through the AT command with 'vmcp' though I personally would be
> reluctant to have Linux guests with extended privileges.
>
> For anything beyond that you'd probably have to set up a suitable
> infrastructure with a worker machine on each member. That can be done with
> an existing product like IBM Wave, IBM Operations Manager, or some
> creativity and elbow grease. Unless 'rexecd' fits your policy.
>
> Rob
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Remote exec script

2018-01-26 Thread Rob van der Heij
On 26 January 2018 at 05:25, Rogério Soares 
wrote:


> Exactly Mauro... I want a way to run some execs on another ssi member...
> Whithout need logon.. ssicmd  just execute cp commands...
>

If you have a Linux guest on one of the members, you can issue some CP
commands through the AT command with 'vmcp' though I personally would be
reluctant to have Linux guests with extended privileges.

For anything beyond that you'd probably have to set up a suitable
infrastructure with a worker machine on each member. That can be done with
an existing product like IBM Wave, IBM Operations Manager, or some
creativity and elbow grease. Unless 'rexecd' fits your policy.

Rob

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/