If PROP is used then you're controling the linux guest via secondary console facility using CP SEND commands and you can enter mixed-case commands on the Linux disconnected console by using something like parse value diagrc(8,'SEND' LinuxId msg) with CPrc . CPans where "msg" is mixed-case
-----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Bennie Hicks Sent: Tuesday, February 01, 2005 1:09 PM To: [email protected] Subject: Re: z/VM commands to Linux guests? If PROP is used, don't you have to have a console session in /etc/inittab such as "1:2345:respawn:/bin/bash" ? Are there alternatives to the root shell? How would say "1:2345:respawn:/sbin/mingetty console --noclear" compare and will it work with the PROP command structure? Other ideas about the best console implementation for a z/VM 3270 console deployment? Thanks Hall, Ken (IDS DCS PE) wrote: >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 >> >> >> > > >---------------------------------------------------------------------- >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 > > ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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
