If your console (3270) is logged on to linux (has a command prompt instead of 
"login:"), you can use the VM msg mechanism to send commands to the linux 
guest.  Two caveats:

1) The console has to be logged on.  We solved this by using a patch to the 
mingetty program.

2) VM translates all commands to upper case, so whatever you run has to be ALL 
CAPS.

We used this to run a "healthcheck" script at intervals, rather than having 
cron kick it off.  It wasn't 100% reliable though, because if the console hangs 
up for some reason, you don't get any feedback, the msg is just absorbed by the 
guest.

> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> Rich Smrcina
> Sent: Tuesday, February 01, 2005 10:46 AM
> To: [email protected]
> Subject: Re: [LINUX-390] z/VM commands to Linux guests?
> 
> 
> Rexec comes to mind, but there are security issues related to 
> it's use.
> 
> There are open source packages that can be configured fairly easily to
> do this.  Big Brother or it's open source follow on 'Hobbit' is my
> personal favorite.  Nagios is another one.  The both provide easy to
> read web pages to check on the status of things, also pager and email
> notification is available.
> 
> Peter E. Abresch Jr. - at Pepco wrote:
> > We are writing a REXX exec to run under z/VM to verify the 
> status of our
> > Linux guests. The purpose of this script is to provide an 
> easy mechanism
> > for our operators to verify the health of the Linux guests. 
> Is there a
> > mechanism from z/VM to issue Linux commands to a Linux 
> guest and capturing
> > the output? I know we can go from Linux and issue z/VM 
> commands. Thanks.
> >
> > Peter
> >
> > 
> ----------------------------------------------------------------------
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to [EMAIL PROTECTED] with the message: INFO 
> LINUX-390 or visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> >
> 
> --
> Rich Smrcina
> VM Assist, Inc.
> Main: (866)569-7378
> Cell: (414)491-6001
> [EMAIL PROTECTED]
> 
> Catch the WAVV!  http://www.wavv.org
> WAVV 2005 - Colorado Springs - May 20-24, 2005
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO 
> LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail.     http://www.ml.com/email_terms/
--------------------------------------------------------

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to