Chen,
No, console remained connected, the screen goes from displaying the DASD
to a Linux boot. I was in such shock as it happened; I failed to capture
a screen shot.

Our terminal settings were/are:
LINEND  #
BRKKEY PA1

Alan, Martin, Mauro & Rob Van der Heij,
Thanks very much for your feedback, I think what you added to this
discussion is the solution. All of you give great value to this List
Serv.

This being a production system, I cannot test it right way out of the
risk of job security, but I am in the process of setting up a test
server attached to a large number of "unused" DASD devices and see if I
can recreate the problem and then test your solution. I plan to test it
with and without an ORACLE RAC.

James Chaplin
Systems Programmer, MVS, zVM & zLinux

-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Eddie Chen
Sent: Friday, March 18, 2011 5:10 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Server rebooting after doing a CP Q DA from the console


 After you issue the  cp query, did you disconnect? 

-----Original Message-----
Mauro Souza <thoriu...@gmail.com> wrote:
I saw this problem some time ago with an Oracle RAC guest. It haven't
set the CP SET RUN ON, and as soon as the client issued some #CP Q
SOMETHING, the server froze down, and linux rebooted. Looks like Oracle
RAC have some kind of watchdog, and as CP MODE stops running Linux
kernel for a little moment, the watchdog thinks the system froze down,
and reboots the system. Setting RUN ON solved the problem. You can try
this, it won't hurt, and I think RUN ON should be the default.

Martin Schwidefsky <schwidef...@de.ibm.com> wrote:
There is the important hint: if you have Oracle RAC and the watchdog is
running the z/VM guest may not stop for longer periods of time. My guts
feeling is that the large output of the #CP Q <xyz> command stopped the
linux guest for too long. Once the output completed the guest continued
and the Oracle watchdog did what it is programmed to do: reboot.
   
Alan Altmark <alan_altm...@us.ibm.com> wrote:
Regardless, when output comes to the console, there is no buffering,
even if it thousands of lines long.  That's ok since the output doesn't
go through the virtual machine OS, but directly from CP to the 3270.
Only the 3270 PA1 key (the default "break" key) will stop the output.
CP QUERY TERMINAL to look at the BRKKEY setting.  Pressing the break key
will cause CP to put up a CP READ, canceling any pending output.

If #cp had in fact been caught by CP, not Linux, there would have been
no buffering, no error message, and no server abend.  Ergo, #cp was not
caught by CP.

Rob van der Heij <rvdh...@gmail.com> wrote:
So we're talking about virtual-MP in both cases? Are both also using
cpuplugd to vary off CPUs maybe?

Setting RUN ON will only prevent the CP READ upon reconnect. You should
not need to reconnect a perfectly runing system. With RUN ON you may get
buried in console output that prevents you from doing what you came for.
I recommend to have RUN OFF and be aware of the CP READ when you have to
reconnect.

-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
CHAPLIN, JAMES (CTR)
Sent: Friday, March 18, 2011 5:07 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Server rebooting after doing a CP Q DA from the console

Found a problem today with CP QUERY command that caused our Linux Server
to reboot. 

 

Using vmcp from a zLinux server, I issued the following command:

 

vmcp q dasd | less

 

Binary file (standard input) matches

Error: output (21282 bytes) was truncated, try --buffer to increase size

 

This guest has a large number of DASD attached to it (Oracle database)
causing this problem. (Should have used the 'vmcp -b nnnn q dasd |
less')

 

But I thought I would try the same command from the guest console (#CP Q
DA), and got the following response just before the server rebooted:

DASD 4886 ON DASD  4886 R/W VI1304 SUBCHANNEL = 014C

DASD 4887 ON DASD  4887 R/W VI1305 SUBCHANNEL = 014D

Error: output (21282 bytes) was truncated, 

 

Two questions as I am a VM rookie,

How to you modify the buffer from the console for the CP command?

How do you display the buffer size available for a CP command?

 

Also:

Why would a query command on a console bring down a linux guest, but
vmcp query does not? Is this a know bug?

 

James Chaplin

Systems Programmer, MVS, zVM & zLinux


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com

****************************************************

Note:  The information contained in this message and any attachment to
it is privileged, confidential and protected from disclosure.  If the
reader of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or copying
of this communication is strictly prohibited.  If you have received this
communication in error, please notify the sender immediately by replying
to the message, and please delete it from your system.  Thank you.  NYSE
Euronext.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to