Re: Server rebooting after doing a CP Q DA from the console

2011-03-21 Thread Martin Schwidefsky
On Sat, 19 Mar 2011 23:10:16 -0300
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.

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.

--
blue skies,
   Martin.

Reality continues to ruin my life. - Calvin.

--
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/


Presentations from Hillgang

2011-03-21 Thread Neale Ferguson
Presentations from the last Hillgang meeting are available at
http://www.sinenomine.net/node/722

--
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/


Re: Server rebooting after doing a CP Q DA from the console

2011-03-21 Thread CHAPLIN, JAMES (CTR)
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  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 

Re: Moving Oracle off zLinux boxes -- comments from the field?

2011-03-21 Thread Shockley, Gerard C
Especially with 11R2 due out any minute (day).

Gerard


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Barton 
Robinson
Sent: Friday, March 18, 2011 5:03 PM
To: LINUX-390@vm.marist.edu
Subject: Re: Moving Oracle off zLinux boxes -- comments from the field?

wow, your DBAs have the authority to spend that kind of money and make that 
kind of change without management signature? So no financial analysis, no 
technical reason, sounds religious.

CHAPLIN, JAMES (CTR) wrote:
 We just had a surprise announcement by one of the Oracle DBAs during a 
 zLinux  Application group planning meeting at our worksite. The DBA 
 advised us that they (Database group) were going to move/migrate all 
 the Oracle databases that we have on zLinux boxes off to an intel/unix 
 platform. He did not offer details of the hardware, or when or how, 
 just that they were going to do it. This is a bite of a surprise as we 
 have just moved our MQ off the Mainframe (zOS) to the zLinux platform 
 (guests on zVM) and that move is doing well. This may be due in part 
 to the false mindset that we have in our upper management at our site 
 that Mainframes are old technology. Also we have had slow response 
 from Oracle on resolving issues we have identify (certifying Oracle 11 
 on z390x architecture, getting Oracle 10 support for RHEL 5.0 on z390x 
 architecture). Has anyone else on this list had any related war 
 stories similar to what we may be about to experience as this move 
 takes place?



 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/



--
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/