One other thing you may find useful: If you boot with the kernel parameter vmhalt=LOGOFF (added to /etc/zipl.conf), the guest will logoff after halt.
-Brad Tom Burkholder wrote:
Thanks to all! "XAUTOLOG" it is and an IPL xxx added to the profile. It's already been tested and works. I'll also look at the "SET OBSERVER" too from the latest email tip. Thanks again, Tom B. From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Gary Detro Sent: Thursday, August 21, 2008 3:24 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: z/VM CP commands (LOGON)? To solve your problem you need to review the CP XAUTOLOG command and place the IPL xxx in the profile exec for your linux guest. Thanks, Detro Senior IT Specialist 1177 S. Beltline Rd, Coppell, TX 75019 Internal Mail Stop: 71-01-3001O Phone: 469-549-8174 (t/l603) Fax: 469-549-8149 (t/l 603) [EMAIL PROTECTED] Global Solution Center<http://w3.ibm.com/support/stss/gesc.html> (GSC) [cid:image001.jpg@01C903A2.D5ADC410]<http://www.ibm.com/ondemand> [cid:image002.jpg@01C903A2.D5ADC410] From: Tom Burkholder <[EMAIL PROTECTED]> To: LINUX-390@VM.MARIST.EDU Date: 08/21/08 02:14 PM Subject: z/VM CP commands (LOGON)? ________________________________ z/VM'ers, After a few searches and actually scanning the CP commands and utilities manual, hopefully I can get some help with this z/VM related question. If I have a z/linux guest called "ztrash01", I can logon to z/VM as ztrash01, IPL xxx, logon to Linux and shutdown -h now, and if I'm still logged on as console from my 3270 terminal session, enter logoff. No problem. The "why" I want to do the following is to potentially stress test some applications by forcing off a z/Linux guest (crash) and then eventually trying to automate and re-IPL, but first I gotta be able to do some basic z/VM CP commands below. I read the LOGON in the CP commands and Utilities reference, but I'm doing something wrong (other than trying to trash and stress test my guest). I'm still playing with test systems, but from a z/VM CP perspective, for now the Linux guest "ztrash01" is shutdown and halted, but "ztrash01" is still logged onto z/VM. 1. If I'm logged on as "operator" to z/VM, I can issue CP command "q n" and see that guest ztrash01 is logged onto z/VM and DSC (disconnected). 2. Still as operator, I can issued CP command "force ztrash01 logoff immed" and this logs the guest, ztrash01, off of z/VM (FORCED BY OPERATOR) 3. Still as operator, a "q n" verifies that the guest is gone (i.e. logged off z/VM) 4. Now, as operator, instead of going to another z/VM terminal session and logging on as "ztrash01", still as operator, I would like to cause the guest "ztrash01" to logon (and eventually IPL). To cause the IPL of guest "ztrash01" at LOGON, I believe I can put that in the PROFILE EXEC (e.g. IPL xxx) at the end, but how (if at all) can I cause the guest to be logged on (opposite of FORCE) while being logged on to z/VM as operator? Thanks in advance, Tom B. ---------------------------------------------------------------------- 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
-- Brad Hinson <[EMAIL PROTECTED]> Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 www.redhat.com/z ---------------------------------------------------------------------- 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