Re: Current Red Hat version available

2007-07-18 Thread Evans, Kevin R
We are using RHEL 4 (of some sort) on z/OS. I am only peripherally
involved with it. I believe that Sam here (that is doing a lot of that
work) has found that MQ V6 has some problems (maybe in our environment).
If you wish, I can put you in touch with him for some more detailed
data.

Kevin

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Tuesday, July 17, 2007 7:48 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Current Red Hat version available

 On Tue, Jul 17, 2007 at  4:55 PM, in message
[EMAIL PROTECTED]
.GOV,
Chaplin, James [EMAIL PROTECTED] wrote:
-snip-
 Does anyone have experiewnce with Red Hat Enterprise verison 5 with MQ
6.0

Given the relatively small number of people running RHEL on the
mainframe, and the newness of RHEL5, I suspect you're going to be taking
some arrows for other people with MQ Series.  Please let us know how it
goes for you, so that others can benefit.


Mark Post

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


Re: RedHat ES 4 using VDISK

2007-07-18 Thread Rick Troth
On Wed, 18 Jul 2007, Srinivasa R Chamarthy wrote:
 Can you let me know what is your /etc/zipl.conf ? And also let me know if
 you are using a CMS formatted disk. If it is a CMS formatted disk then you
 can not put swap to it. and also give me the output for lsdasd. It would
 help me in debugging.

Not exactly.

Just for clarification,
CMS FORMAT does two things:  low-level format (akin to 'dasdfmt')
and high-level format (akin to 'mke2fs').  If the disk is FBA or VDSK
then CMS FORMAT silently skips the low-level formatting operation.

In general,  FBA and VDSK should be usable immediately
without CMS FORMAT (and without 'dasdfmt').  You can simply 'mkswap'
or 'mke2fs' and use the whole disk.  If you need partitioning,
the story changes.  And if you use 'dasdfmt -l cdl' the waters
get even murkier w/r/t using the whole disk.

But the low-level half of the CMS FORMAT operation is essential
prior to using CKD disks, unless one runs 'dasdfmt' in Linux.

*** summary ***

CKD or ECKD -- require low-level formatting

FBA, VDSK, SAN -- do not require low-level formatting

CMS FORMAT -- performs low-level and high-level formatting

'mkswap' -- performs high-level formatting for swap space and
can be run even if the disk was CMS FORMATted

'mke2fs' -- performs high-level formatting for a filesystem and
can be run even if the disk was CMS FORMATted

Partitioning schemes may throw-off the latter two.

-- R;

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


Re: RedHat ES 4 using VDISK

2007-07-18 Thread Adam Thornton

On Jul 18, 2007, at 12:04 AM, Srinivasa R Chamarthy wrote:


Can you let me know what is your /etc/zipl.conf ? And also let me
know if
you are using a CMS formatted disk. If it is a CMS formatted disk
then you
can not put swap to it. and also give me the output for lsdasd. It
would
help me in debugging.


You can use a CMS-formatted disk if you want, as long as you don't
mind overwriting anything CMS did.

I'm going with the it's not in your zipl parmline theory.  Me, I'd
use SWAPGEN, but then, I *would* say that, wouldn't I?

Adam

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


Re: RedHat ES 4 using VDISK

2007-07-18 Thread John White
The following is the contents of our /etc/zipl.conf.

[EMAIL PROTECTED] network-scripts]# cat /etc/zipl.conf
[defaultboot]
default=linux
target=/boot/
[linux]
image=/boot/vmlinuz-2.6.9-55.EL
ramdisk=/boot/initrd-2.6.9-55.EL.img
parameters=root=LABEL=/

According to (http://www.linuxvm.com/vdskdoit.html)   We're supposed to
add the disk to the Linux Boot Parameter file, 'i.e. disk=302' in our
case.  I added it as, parameters=root=LABEL=/ disk=302 and it did not
make a difference.  When I do a listing of /dev/dasd* there does not
show a corresponding device to run a 'mkswap' or 'mke2fs' command
against.   

The 302 disk is CMS FORMAT'ted.  

John
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Rick Troth
Sent: Wednesday, July 18, 2007 5:37 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RedHat ES 4 using VDISK

On Wed, 18 Jul 2007, Srinivasa R Chamarthy wrote:
 Can you let me know what is your /etc/zipl.conf ? And also let me know

 if you are using a CMS formatted disk. If it is a CMS formatted disk 
 then you can not put swap to it. and also give me the output for 
 lsdasd. It would help me in debugging.

Not exactly.

Just for clarification,
CMS FORMAT does two things:  low-level format (akin to 'dasdfmt') and
high-level format (akin to 'mke2fs').  If the disk is FBA or VDSK then
CMS FORMAT silently skips the low-level formatting operation.

In general,  FBA and VDSK should be usable immediately without CMS
FORMAT (and without 'dasdfmt').  You can simply 'mkswap'
or 'mke2fs' and use the whole disk.  If you need partitioning, the story
changes.  And if you use 'dasdfmt -l cdl' the waters get even murkier
w/r/t using the whole disk.

But the low-level half of the CMS FORMAT operation is essential prior to
using CKD disks, unless one runs 'dasdfmt' in Linux.

*** summary ***

CKD or ECKD -- require low-level formatting

FBA, VDSK, SAN -- do not require low-level formatting

CMS FORMAT -- performs low-level and high-level formatting

'mkswap' -- performs high-level formatting for swap space and
can be run even if the disk was CMS FORMATted

'mke2fs' -- performs high-level formatting for a filesystem and
can be run even if the disk was CMS FORMATted

Partitioning schemes may throw-off the latter two.

-- R;

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


Betr.: Re: RedHat ES 4 using VDISK

2007-07-18 Thread Pieter Harder
I may be all wrong, but shouldn't that be dasd=302?

Best regards,
Pieter Harder

[EMAIL PROTECTED]
tel  +31-73-6837133 / +31-6-47272537

 John White [EMAIL PROTECTED] 07/18/07 5:00  
The following is the contents of our /etc/zipl.conf.

[EMAIL PROTECTED] network-scripts]# cat /etc/zipl.conf
[defaultboot]
default=linux
target=/boot/
[linux]
image=/boot/vmlinuz-2.6.9-55.EL
ramdisk=/boot/initrd-2.6.9-55.EL.img
parameters=root=LABEL=/

According to (http://www.linuxvm.com/vdskdoit.html)   We're supposed to
add the disk to the Linux Boot Parameter file, 'i.e. disk=302' in our
case.  I added it as, parameters=root=LABEL=/ disk=302 and it did not
make a difference.  When I do a listing of /dev/dasd* there does not
show a corresponding device to run a 'mkswap' or 'mke2fs' command
against.   

The 302 disk is CMS FORMAT'ted.  

John
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Rick Troth
Sent: Wednesday, July 18, 2007 5:37 AM
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: RedHat ES 4 using VDISK

On Wed, 18 Jul 2007, Srinivasa R Chamarthy wrote:
 Can you let me know what is your /etc/zipl.conf ? And also let me know

 if you are using a CMS formatted disk. If it is a CMS formatted disk 
 then you can not put swap to it. and also give me the output for 
 lsdasd. It would help me in debugging.

Not exactly.

Just for clarification,
CMS FORMAT does two things:  low-level format (akin to 'dasdfmt') and
high-level format (akin to 'mke2fs').  If the disk is FBA or VDSK then
CMS FORMAT silently skips the low-level formatting operation.

In general,  FBA and VDSK should be usable immediately without CMS
FORMAT (and without 'dasdfmt').  You can simply 'mkswap'
or 'mke2fs' and use the whole disk.  If you need partitioning, the story
changes.  And if you use 'dasdfmt -l cdl' the waters get even murkier
w/r/t using the whole disk.

But the low-level half of the CMS FORMAT operation is essential prior to
using CKD disks, unless one runs 'dasdfmt' in Linux.

*** summary ***

CKD or ECKD -- require low-level formatting

FBA, VDSK, SAN -- do not require low-level formatting

CMS FORMAT -- performs low-level and high-level formatting

'mkswap' -- performs high-level formatting for swap space and
can be run even if the disk was CMS FORMATted

'mke2fs' -- performs high-level formatting for a filesystem and
can be run even if the disk was CMS FORMATted

Partitioning schemes may throw-off the latter two.

-- R;

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

Brabant Water N.V.
Postbus 1068
5200 BC  's-Hertogenbosch
http://www.brabantwater.nl
Handelsregister: 16005077

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


Re: RedHat ES 4 using VDISK

2007-07-18 Thread Beth Somers
Nevermind, I saw the posts, I just did not scroll down far enough. Wew, OK,
you will get alot of crap, but hopefully someone from RedHat will bite.
Anyway, we will figure this out. Have a nice vacation and we will work on
it when you get back (oh yeah, I am off next week so perhaps the week
after). Beth

Beth Somers
  Certified Consulting I/T Specialist - Large and Storage Systems
  [EMAIL PROTECTED]
  813-334-1238



   
 John White
 [EMAIL PROTECTED] 
 m To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU 
 390 Port   cc
 [EMAIL PROTECTED] 
 IST.EDU  Subject
   Re: RedHat ES 4 using VDISK 
   
 07/18/2007 11:00  
 AM
   
   
 Please respond to 
 Linux on 390 Port 
 [EMAIL PROTECTED] 
 IST.EDU  
   
   




The following is the contents of our /etc/zipl.conf.

[EMAIL PROTECTED] network-scripts]# cat /etc/zipl.conf
[defaultboot]
default=linux
target=/boot/
[linux]
image=/boot/vmlinuz-2.6.9-55.EL
ramdisk=/boot/initrd-2.6.9-55.EL.img
parameters=root=LABEL=/

According to (http://www.linuxvm.com/vdskdoit.html)   We're supposed to
add the disk to the Linux Boot Parameter file, 'i.e. disk=302' in our
case.  I added it as, parameters=root=LABEL=/ disk=302 and it did not
make a difference.  When I do a listing of /dev/dasd* there does not
show a corresponding device to run a 'mkswap' or 'mke2fs' command
against.

The 302 disk is CMS FORMAT'ted.

John
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Rick Troth
Sent: Wednesday, July 18, 2007 5:37 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RedHat ES 4 using VDISK

On Wed, 18 Jul 2007, Srinivasa R Chamarthy wrote:
 Can you let me know what is your /etc/zipl.conf ? And also let me know

 if you are using a CMS formatted disk. If it is a CMS formatted disk
 then you can not put swap to it. and also give me the output for
 lsdasd. It would help me in debugging.

Not exactly.

Just for clarification,
CMS FORMAT does two things:  low-level format (akin to 'dasdfmt') and
high-level format (akin to 'mke2fs').  If the disk is FBA or VDSK then
CMS FORMAT silently skips the low-level formatting operation.

In general,  FBA and VDSK should be usable immediately without CMS
FORMAT (and without 'dasdfmt').  You can simply 'mkswap'
or 'mke2fs' and use the whole disk.  If you need partitioning, the story
changes.  And if you use 'dasdfmt -l cdl' the waters get even murkier
w/r/t using the whole disk.

But the low-level half of the CMS FORMAT operation is essential prior to
using CKD disks, unless one runs 'dasdfmt' in Linux.

*** summary ***

 CKD or ECKD -- require low-level formatting

 FBA, VDSK, SAN -- do not require low-level formatting

 CMS FORMAT -- performs low-level and high-level formatting

 'mkswap' -- performs high-level formatting for swap space and
 can be run even if the disk was CMS FORMATted

 'mke2fs' -- performs high-level formatting for a filesystem
and
 can be run even if the disk was CMS FORMATted

Partitioning schemes may throw-off the latter two.

-- R;

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

Re: Current Red Hat version available

2007-07-18 Thread Jim Elliott [EMAIL PROTECTED]
 We are using RHEL 4 (of some sort) on z/OS. ...

Kevin: If you are running RHEL 4 on z/OS it would be a miracle
(or close to it). RHEL 4 does run on System z and zSeries
hardware, but z/OS is another operating system and does not
support guests (that is what z/VM is for!). ;-)

Jim

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


Re: YaST and gratuitous package installation

2007-07-18 Thread Mark Pace

Well I doubt you will get an Official response here.

Mark Post may provide and un-official response, but for an official response
I would be using their formal procedures to submit a question/problem.




--
Mark Pace
Mainline Information Systems

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


Re: Anything in UNIX like a z/OS GDG?

2007-07-18 Thread Kopischke, David G.
Back in my UNIX scripting days, I scripted a process to work just like
GDG's. It is predicated on having the date in the file name.

Create a file with the date stamp (MMDD) in the name (include time
if you run it multiple times every day).

After you create the file, a clean up process is run. I ran it as part
of the script that created the new file so the directory was self
managing.

ls /data/your_file_name_*

Pipe to sort (sort descending)

Pipe to AWK and execute delete commands after a specific line count.

As I recall, it was basically a one line pipe to delete the oldest
versions of the file. The number of files to keep was stored in an
environment variable that was set by file name pattern.

I'm sure there's an equivalent in LINUX, I just don't know what it would
be.

I'm still trying to find that script. If I find it, I'll send it to the
list. It's pretty crude, but it works.


--
This e-mail transmission may contain information that is proprietary, 
privileged and/or confidential and is intended exclusively for the person(s) to 
whom it is addressed. Any use, copying, retention or disclosure by any person 
other than the intended recipient or the intended recipient's designees is 
strictly prohibited. If you are not the intended recipient or their designee, 
please notify the sender immediately by return e-mail and delete all copies. 
OppenheimerFunds may, at its sole discretion, monitor, review, retain and/or 
disclose the content of all email communications. 
==

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


Re: RedHat ES 4 using VDISK

2007-07-18 Thread Brad Hinson
Do you see the disk in the output of 'lsdasd'?  If not (which is
likely), you will need to rebuild the initrd.  This is a little
different from SLES, where I believe you append it in zipl.conf.  For
RHEL, modify the dasd= line in /etc/modprobe.conf, then run:

# cp /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
# mkinitrd -v -f /boot/initrd-`uname -r`.img `uname -r`

In the output, you should see:
[snip]
Adding module dasd_mod with options dasd=xxx,xxx,302
[..]

Then run /sbin/zipl to update the changes.  After a reboot (or bringing
it online manually), /sbin/lsdad should show something like:

0.0.0302(FBA ) at ( 94: 24) is dasdx  : active at blocksize 512,
524288 blocks, 256 MB

-Brad

On Wed, 2007-07-18 at 11:47 -0400, Beth Somers wrote:
 Nevermind, I saw the posts, I just did not scroll down far enough. Wew, OK,
 you will get alot of crap, but hopefully someone from RedHat will bite.
 Anyway, we will figure this out. Have a nice vacation and we will work on
 it when you get back (oh yeah, I am off next week so perhaps the week
 after). Beth

 Beth Somers
   Certified Consulting I/T Specialist - Large and Storage Systems
   [EMAIL PROTECTED]
   813-334-1238




  John White
  [EMAIL PROTECTED]
  m To
  Sent by: Linux on LINUX-390@VM.MARIST.EDU
  390 Port   cc
  [EMAIL PROTECTED]
  IST.EDU  Subject
Re: RedHat ES 4 using VDISK

  07/18/2007 11:00
  AM


  Please respond to
  Linux on 390 Port
  [EMAIL PROTECTED]
  IST.EDU






 The following is the contents of our /etc/zipl.conf.

 [EMAIL PROTECTED] network-scripts]# cat /etc/zipl.conf
 [defaultboot]
 default=linux
 target=/boot/
 [linux]
 image=/boot/vmlinuz-2.6.9-55.EL
 ramdisk=/boot/initrd-2.6.9-55.EL.img
 parameters=root=LABEL=/

 According to (http://www.linuxvm.com/vdskdoit.html)   We're supposed to
 add the disk to the Linux Boot Parameter file, 'i.e. disk=302' in our
 case.  I added it as, parameters=root=LABEL=/ disk=302 and it did not
 make a difference.  When I do a listing of /dev/dasd* there does not
 show a corresponding device to run a 'mkswap' or 'mke2fs' command
 against.

 The 302 disk is CMS FORMAT'ted.

 John
 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Rick Troth
 Sent: Wednesday, July 18, 2007 5:37 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RedHat ES 4 using VDISK

 On Wed, 18 Jul 2007, Srinivasa R Chamarthy wrote:
  Can you let me know what is your /etc/zipl.conf ? And also let me know

  if you are using a CMS formatted disk. If it is a CMS formatted disk
  then you can not put swap to it. and also give me the output for
  lsdasd. It would help me in debugging.

 Not exactly.

 Just for clarification,
 CMS FORMAT does two things:  low-level format (akin to 'dasdfmt') and
 high-level format (akin to 'mke2fs').  If the disk is FBA or VDSK then
 CMS FORMAT silently skips the low-level formatting operation.

 In general,  FBA and VDSK should be usable immediately without CMS
 FORMAT (and without 'dasdfmt').  You can simply 'mkswap'
 or 'mke2fs' and use the whole disk.  If you need partitioning, the story
 changes.  And if you use 'dasdfmt -l cdl' the waters get even murkier
 w/r/t using the whole disk.

 But the low-level half of the CMS FORMAT operation is essential prior to
 using CKD disks, unless one runs 'dasdfmt' in Linux.

 *** summary ***

  CKD or ECKD -- require low-level formatting

  FBA, VDSK, SAN -- do not require low-level formatting

  CMS FORMAT -- performs low-level and high-level formatting

  'mkswap' -- performs high-level formatting for swap space and
  can be run even if the disk was CMS FORMATted

  'mke2fs' -- performs high-level formatting for a filesystem
 and
  can be run even if the disk was CMS FORMATted

 Partitioning schemes may throw-off the latter two.

 -- R;

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

Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread David Schaub

Some time ago at an IBM Share I remember seeing a new technique to
balloon kernel memory under a 2.6 kernel (SLES9 Update 3?) to make
less memory available to all applications.  The idea was to use the
ballooning technique to lower available memory until swapping was
induced.  The problem is, I can't find any reference to it beyond
Coorperative Memory Management (CMM1 and CMM2) and in all of my
searching I can't find the specific commands/kernel modules that are
used to execute a manual ballooning process.

Any hints? Or am I completely looney?

Thanks much,
David Schaub
Unix Engineering

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


Re: Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread Dave Hansen
Perhaps -










 Support for the Collaborative Memory Management Assist (CMMA) in PTF for z/VM 
5.2 APAR VM63856.









 David Schaub [EMAIL PROTECTED]
 Sent by: Linux on 390 Port
 LINUX-390@VM.MARIST.EDU  
   To
 
LINUX-390@VM.MARIST.EDU

   cc
 07/18/2007 10:56 AM

  Subject
 
Dynamically Decreasing Available Memory under Linux
Please respond to
   Linux on 390 Port LINUX-390@VM.MARIST.EDU








Some time ago at an IBM Share I remember seeing a new technique to
balloon kernel memory under a 2.6 kernel (SLES9 Update 3?) to make
less memory available to all applications.  The idea was to use the
ballooning technique to lower available memory until swapping was
induced.  The problem is, I can't find any reference to it beyond
Coorperative Memory Management (CMM1 and CMM2) and in all of my
searching I can't find the specific commands/kernel modules that are
used to execute a manual ballooning process.

Any hints? Or am I completely looney?

Thanks much,
David Schaub
Unix Engineering

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


Re: Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread Alan Altmark
On Wednesday, 07/18/2007 at 01:52 EDT, David Schaub
[EMAIL PROTECTED] wrote:
 Some time ago at an IBM Share I remember seeing a new technique to
 balloon kernel memory under a 2.6 kernel (SLES9 Update 3?) to make
 less memory available to all applications.  The idea was to use the
 ballooning technique to lower available memory until swapping was
 induced.  The problem is, I can't find any reference to it beyond
 Coorperative Memory Management (CMM1 and CMM2) and in all of my
 searching I can't find the specific commands/kernel modules that are
 used to execute a manual ballooning process.

 Any hints? Or am I completely looney?

The VM Resource Manager can send the needed message to Linux.  It monitors
the system for memory constraints and, if encountered, sends Linux the
magic message.  Look at the Linux Device Driver and Command Reference for
details on how to configure Linux to receive the messages.

There is also some information on some settings in the /proc file system.

If you want to build the messages yourself, you'd have to go look at the
code in the cmm Linux module to find the formats.

Alan Altmark
z/VM Development
IBM Endicott

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


Re: RedHat ES 4 using VDISK

2007-07-18 Thread John White
This is exactly what I needed.  Thank you.  The VDISK swap procedure
follows correctly from that point forward.

John
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Brad Hinson
Sent: Wednesday, July 18, 2007 12:27 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RedHat ES 4 using VDISK

Do you see the disk in the output of 'lsdasd'?  If not (which is
likely), you will need to rebuild the initrd.  This is a little
different from SLES, where I believe you append it in zipl.conf.  For
RHEL, modify the dasd= line in /etc/modprobe.conf, then run:

# cp /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup #
mkinitrd -v -f /boot/initrd-`uname -r`.img `uname -r`

In the output, you should see:
[snip]
Adding module dasd_mod with options dasd=xxx,xxx,302 [..]

Then run /sbin/zipl to update the changes.  After a reboot (or bringing
it online manually), /sbin/lsdad should show something like:

0.0.0302(FBA ) at ( 94: 24) is dasdx  : active at blocksize 512,
524288 blocks, 256 MB

-Brad

On Wed, 2007-07-18 at 11:47 -0400, Beth Somers wrote:
 Nevermind, I saw the posts, I just did not scroll down far enough. 
 Wew, OK, you will get alot of crap, but hopefully someone from RedHat
will bite.
 Anyway, we will figure this out. Have a nice vacation and we will work

 on it when you get back (oh yeah, I am off next week so perhaps the 
 week after). Beth

 Beth Somers
   Certified Consulting I/T Specialist - Large and Storage Systems
   [EMAIL PROTECTED]
   813-334-1238




  John White
  [EMAIL PROTECTED]
  m
To
  Sent by: Linux on LINUX-390@VM.MARIST.EDU
  390 Port
cc
  [EMAIL PROTECTED]
  IST.EDU
Subject
Re: RedHat ES 4 using VDISK

  07/18/2007 11:00
  AM


  Please respond to
  Linux on 390 Port
  [EMAIL PROTECTED]
  IST.EDU






 The following is the contents of our /etc/zipl.conf.

 [EMAIL PROTECTED] network-scripts]# cat /etc/zipl.conf [defaultboot] 
 default=linux target=/boot/ [linux]
 image=/boot/vmlinuz-2.6.9-55.EL
 ramdisk=/boot/initrd-2.6.9-55.EL.img
 parameters=root=LABEL=/

 According to (http://www.linuxvm.com/vdskdoit.html)   We're supposed
to
 add the disk to the Linux Boot Parameter file, 'i.e. disk=302' in our 
 case.  I added it as, parameters=root=LABEL=/ disk=302 and it did 
 not make a difference.  When I do a listing of /dev/dasd* there does 
 not show a corresponding device to run a 'mkswap' or 'mke2fs' command 
 against.

 The 302 disk is CMS FORMAT'ted.

 John
 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of 
 Rick Troth
 Sent: Wednesday, July 18, 2007 5:37 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: RedHat ES 4 using VDISK

 On Wed, 18 Jul 2007, Srinivasa R Chamarthy wrote:
  Can you let me know what is your /etc/zipl.conf ? And also let me 
  know

  if you are using a CMS formatted disk. If it is a CMS formatted disk

  then you can not put swap to it. and also give me the output for 
  lsdasd. It would help me in debugging.

 Not exactly.

 Just for clarification,
 CMS FORMAT does two things:  low-level format (akin to 'dasdfmt') and 
 high-level format (akin to 'mke2fs').  If the disk is FBA or VDSK then

 CMS FORMAT silently skips the low-level formatting operation.

 In general,  FBA and VDSK should be usable immediately without CMS 
 FORMAT (and without 'dasdfmt').  You can simply 'mkswap'
 or 'mke2fs' and use the whole disk.  If you need partitioning, the 
 story changes.  And if you use 'dasdfmt -l cdl' the waters get even 
 murkier w/r/t using the whole disk.

 But the low-level half of the CMS FORMAT operation is essential prior 
 to using CKD disks, unless one runs 'dasdfmt' in Linux.

 *** summary ***

  CKD or ECKD -- require low-level formatting

  FBA, VDSK, SAN -- do not require low-level formatting

  CMS FORMAT -- performs low-level and high-level 
 formatting

  'mkswap' -- performs high-level formatting for swap space
and
  can be run even if the disk was CMS FORMATted

  'mke2fs' -- performs high-level formatting for a 
 filesystem and
  can be run even if the disk was CMS FORMATted

 Partitioning schemes may throw-off the latter two.

 -- R;

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

Re: Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread Brad Hinson
On Wed, 2007-07-18 at 14:02 -0400, Alan Altmark wrote:
 On Wednesday, 07/18/2007 at 01:52 EDT, David Schaub
 [EMAIL PROTECTED] wrote:
  Some time ago at an IBM Share I remember seeing a new technique to
  balloon kernel memory under a 2.6 kernel (SLES9 Update 3?) to make
  less memory available to all applications.  The idea was to use the
  ballooning technique to lower available memory until swapping was
  induced.  The problem is, I can't find any reference to it beyond
  Coorperative Memory Management (CMM1 and CMM2) and in all of my
  searching I can't find the specific commands/kernel modules that are
  used to execute a manual ballooning process.
 
  Any hints? Or am I completely looney?

 The VM Resource Manager can send the needed message to Linux.  It monitors
 the system for memory constraints and, if encountered, sends Linux the
 magic message.  Look at the Linux Device Driver and Command Reference for
 details on how to configure Linux to receive the messages.

 There is also some information on some settings in the /proc file system.

 If you want to build the messages yourself, you'd have to go look at the
 code in the cmm Linux module to find the formats.

 Alan Altmark
 z/VM Development
 IBM Endicott


This link seems pretty good too:

http://www.vm.ibm.com/sysman/vmrm/vmrmcmm.html

I haven't tried it out, but it has VM config examples.  On the Linux
side, you'll use the cmm module (at least as it's called in RHEL 5):

# modinfo cmm
filename:   /lib/modules/2.6.18-8.1.3.el5/kernel/arch/s390/mm/cmm.ko
license:GPL
srcversion: 3CA47ECCDE19913348C9217
depends:smsgiucv
vermagic:   2.6.18-8.1.3.el5 SMP mod_unload gcc-4.1
parm:   sender:Guest name that may send SMSG messages (default
VMRMSVM) (charp)

-Brad

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

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


Re: Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread Bruce Hayden

On 7/18/07, Alan Altmark [EMAIL PROTECTED] wrote:
See the heading Working with cooperative memory management for the
details on how to change the balloon values from Linux.  Basically,
in a nutshell you write a value to /proc/sys/vm/cmm_pages - but be
sure you read the whole chapter!  And as Alan says, you can change
this value from another VM machine (if you feel like you know what
you're doing...)



There is also some information on some settings in the /proc file system.

If you want to build the messages yourself, you'd have to go look at the
code in the cmm Linux module to find the formats.

Alan Altmark
z/VM Development
IBM Endicott

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




--
Bruce Hayden
IBM Global Technology Services, System z Linux
Endicott, NY

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


Re: Current Red Hat version available

2007-07-18 Thread Ivan Warren

Jim Elliott [EMAIL PROTECTED] wrote:

Kevin: If you are running RHEL 4 on z/OS it would be a miracle
(or close to it). RHEL 4 does run on System z and zSeries
hardware, but z/OS is another operating system and does not
support guests (that is what z/VM is for!). ;-)


Come to think of it, I'm pretty sure it would be possible to port the
kernel to run as a z/OS task..

However, I doubt anyone would find any purpose to do something like that.

--Ivan

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


Re: Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread Rob van der Heij

On 7/18/07, Dave Hansen [EMAIL PROTECTED] wrote:


 Support for the Collaborative Memory Management Assist (CMMA) in PTF for z/VM 
5.2 APAR VM63856.


That's the other one, sometimes called CMM-2. It's a cool research project.
It requires hardware support as well as Linux kernel changes to allow
Linux memory management share information with VM memory management.
Without the hardware support it might be pretty expensive, depending
on the workload. The idea is that this should do automatic tuning with
no need for knobs to turn.
Last I heard was that it is possible to construct artificial
workloads in a lab environment that demonstrate it to be very
effective  But to understand what this means for real business
workload requires proper performance measurements. I have not seen any
measurements published.

Rob

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


Re: Current Red Hat version available

2007-07-18 Thread Evans, Kevin R
Jim,

See my earlier reply today about my fat-fingers (or fat brain). I know
what I was trying to say...just didn't say it well.

K

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jim Elliott [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 12:59 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Current Red Hat version available

 We are using RHEL 4 (of some sort) on z/OS. ...

Kevin: If you are running RHEL 4 on z/OS it would be a miracle
(or close to it). RHEL 4 does run on System z and zSeries
hardware, but z/OS is another operating system and does not
support guests (that is what z/VM is for!). ;-)

Jim

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


Re: Current Red Hat version available

2007-07-18 Thread R.Nageswara Sastry
Hi James,

I have ran 72hrs workload successfully with MQ 6.0.1-0
on RHEL5.

Best Regards,
R.Nageswara Sastry, CSTE®,C|EH®
IBM India System  Technology Lab
[EMAIL PROTECTED]


Chaplin, James [EMAIL PROTECTED] 
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
18/07/2007 02:25
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU

To
LINUX-390@VM.MARIST.EDU
cc

Subject
Current Red Hat version available






Can anyone advise us the current version of Red Hat
for the z platform that
is GA to the public. We are just starting out with Red
Hat, although I have
SUSE experience, management wants to keep to one
version, Red Hat.

Does anyone have experiewnce with Red Hat Enterprise
verison 5 with MQ 6.0

Comments are welcome.

James Chaplin
Systems Programmer
(703) 921-6220

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




   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

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


MySQL and secure connections

2007-07-18 Thread Aria Bamdad
Hi,

We are thinking about having an application connect remotely or
over the Internet directly to a MySQL database.  The application
will only have the ability to run stored procedures.

I have two questions:

I would like to know if anyone has anything positive or negative
to say about having a database port open on a public network.

Is anyone using MySQL server with SSL secure connections.  The binary
for the server as available on SLES 10 was not built with the SSL
support.  Has anyone built MySQL on zLinux with SSL support included?

Thanks
Aria.

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


Re: YaST and gratuitous package installation

2007-07-18 Thread Stricklin, Raymond J
 
 Well I doubt you will get an Official response here.
 
 Mark Post may provide and un-official response, but for an 
 official response I would be using their formal procedures to 
 submit a question/problem.

Good point.

I guess I mostly wanted to make sure I wasn't suffering a faulty
expectation or even simply using YaST wrong before I cashed in a support
call. In the end, the SP1 update process re-installed about 150 packages
which I had specifically removed.

Someone else was dotting his i's and asked me off-list if I'd used rpm
-e with --nodeps. I did not; all the RPM dependencies were satisfied
organically.

ok
r.

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


Re: Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread Rob van der Heij

On 7/18/07, David Schaub [EMAIL PROTECTED] wrote:


Some time ago at an IBM Share I remember seeing a new technique to
balloon kernel memory under a 2.6 kernel (SLES9 Update 3?) to make


It's CMM-1 - briefly mentioned in the Device Drivers manual.

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


Re: MySQL and secure connections

2007-07-18 Thread Brad Hinson
On Wed, 2007-07-18 at 16:03 -0400, Aria Bamdad wrote:
 Hi,

 We are thinking about having an application connect remotely or
 over the Internet directly to a MySQL database.  The application
 will only have the ability to run stored procedures.

 I have two questions:

 I would like to know if anyone has anything positive or negative
 to say about having a database port open on a public network.

 Is anyone using MySQL server with SSL secure connections.  The binary
 for the server as available on SLES 10 was not built with the SSL
 support.  Has anyone built MySQL on zLinux with SSL support included?


Not sure if it'll help, but the Red Hat (and therefore CentOS) builds of
MySQL are built with SSL support in RHEL 4 U2 and later, and RHEL 5.

-Brad

 Thanks
 Aria.

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

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


Re: Dynamically Decreasing Available Memory under Linux

2007-07-18 Thread Les Geer (607-429-3580)
That's the other one, sometimes called CMM-2. It's a cool research project.
It requires hardware support as well as Linux kernel changes to allow
Linux memory management share information with VM memory management.
Without the hardware support it might be pretty expensive, depending
on the workload. The idea is that this should do automatic tuning with
no need for knobs to turn.
Last I heard was that it is possible to construct artificial
workloads in a lab environment that demonstrate it to be very
effective  But to understand what this means for real business
workload requires proper performance measurements. I have not seen any
measurements published.


Also known as CMMA, requirements for using are:

- z/VM 5.3
- SLES 10 SP1
- z9 EC or BC

Best Regards,
Les Geer
IBM z/VM and Linux Development

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


Re: MySQL and secure connections

2007-07-18 Thread David Boyes
 I would like to know if anyone has anything positive or negative
 to say about having a database port open on a public network.

Don't do it without SSL protection or other additional armoring
techniques like restricting the IP addresses that can connect to it if
you care at all about the validity of the data you receive via that
database. Hostiles will a) find it, and b) misuse it. 

If you've taken the time to do the additional protections, then it works
very reliably, even from Windows clients. 

 Is anyone using MySQL server with SSL secure connections.  The binary
 for the server as available on SLES 10 was not built with the SSL
 support.  Has anyone built MySQL on zLinux with SSL support included?

It works, but is somewhat difficult to build in that the package has a
lot of dependencies. If you're comfortable building from source RPMs,
it's not too bad, but it will take you a while to get all the moving
parts put together. 

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