I don't think you can run bash directly from inittab, that's why we needed the mingetty patch, which allowed the console to autolog as any user.
I don't know what PROP is (maybe because I'm not a VM expert). In the end, this mechanism didn't work very well because it was too easy for the console to get hung up. We augmented it using a script run from cron that fed a web page, and later added Nagios. > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of > Bennie Hicks > Sent: Tuesday, February 01, 2005 1:09 PM > To: [email protected] > Subject: Re: [LINUX-390] 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 > -------------------------------------------------------- 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
