Or, also exploit the "deadman" diagnose feature that came with one of the more recent z/VM releases. This diagnose tells CP that the virtual machine must do something (maybe re-issue the diagnose, I just don't remember the details) every so often, otherwise CP will execute the command you provide. For example "CP MSG OPERATOR I no longer live"
2008/11/7 Martin, Terry R. (CMS/CTR) (CTR) <[EMAIL PROTECTED]> > Thanks, I think I will try this one out. I will ask my Linux Admin to add > the script and see how it goes! I will let you all know how it works! > > > > *Thank You,* > > > > *Terry Martin*** > > *Lockheed Martin - Information Technology*** > > *z/OS & z/VM Systems - Performance and Tuning*** > > *Cell - 443 632-4191*** > > *Work - 410 786-0386*** > > [EMAIL PROTECTED] > ------------------------------ > > *From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] *On > Behalf Of *Scott Rohling > *Sent:* Friday, November 07, 2008 10:55 AM > *To:* IBMVM@LISTSERV.UARK.EDU > *Subject:* Re: Verify from z/VM that a Linux guest is up > > > > Well - somewhere in /etc/rc3.d you could put a script that issues 'vmcp wng > operator I am up and running!' (or wng to whatever userid will be bringing > them up and watching)... hopefully, vmcp is loaded at that point.. > > Other than capturing console messages, there is no way to know that Linux > is up and running unless you get Linux to tell you it is.. > > I suppose one more way would be to telnet (on VM) to the Linux ip address > using port 22 -- until you get a response .. but not sure how I'd code that > without playing with it more. > > Scott Rohling > > On Fri, Nov 7, 2008 at 8:14 AM, Martin, Terry R. (CMS/CTR) (CTR) < > [EMAIL PROTECTED]> wrote: > > Hi > > > > I have written some REXX (with help from this list) to shutdown and my > z/Linux guests and I also have an EXEC to XAUTOLOG them when I am ready to > bring them back up. I would like to know if there is a way from z/VM to > check something in the Linux guest to confirm that in fact the guest is up > at least to the LOGIN PROMPT? > > > > *Thank You,* > > > > *Terry Martin* > > *Lockheed Martin - Information Technology* > > *z/OS & z/VM Systems - Performance and Tuning* > > *Cell - 443 632-4191* > > *Work - 410 786-0386* > > [EMAIL PROTECTED] > > > > > -- Kris Buelens, IBM Belgium, VM customer support