Re: FCXPER315A message

2011-05-20 Thread Scott Rohling
You might want to see this thread:
http://www.mail-archive.com/ibmvm@listserv.uark.edu/msg16088.html

http://www.mail-archive.com/ibmvm@listserv.uark.edu/msg16088.htmlScott
Rohling

On Fri, May 20, 2011 at 1:56 PM, Matos, Oswaldo 
oswaldo.ma...@br.experian.com wrote:

 Hi,


 We recently began receiving this message,
 FCXPER315A Cl1 time slice 2.211 exceeds limit 1.000 (Q1=01 Qx=25)
 I don´t know exactly what its significance might be, someone can help me ?
 Thanks.



 
 This email and any attachments are for the exclusive and confidential use
 of the named intended recipient(s) and may be legally privileged. Any
 review, re-transmission, dissemination or any other use of its contents, or
 taking of any action in reliance upon this information by persons and/or
 entities other than the named intended recipient(s) is strictly prohibited.
 If you have received this communication in error, please send this
 communication back to the sender, disregard its contents, and promptly
 delete the original message and any copy of it from your computer systems.
 The misuse of this message will be dealt according to company rules and
 current legislation. This message expresses the sender's point of view about
 the topics described and not necessarily expresses Serasa Experian's opinion
 about them.

 As informações contidas nesta mensagem e no(s) arquivo(s) anexo(s) são
 endereçadas exclusivamente à(s) pessoa(s) e/ou instituição(ões) acima
 indicada(s), e podem conter dados confidenciais. É expressamente proibido a
 pessoas não autorizadas, sob qualquer forma ou pretexto, utilizá-las,
 divulgá-las, alterá-las, de forma impressa ou copiada, total ou
 parcialmente. Caso tenha recebido esta mensagem erroneamente, por favor,
 notifique o remetente e providencie imediata exclusão da original e de
 qualquer cópia. O uso impróprio será tratado conforme as normas da empresa e
 da legislação em vigor. Esta mensagem expressa o posicionamento pessoal do
 subscritor e não reflete necessariamente a opinião da Serasa Experian.

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


Re: SLES 11 SP1 install can't find disks?

2011-05-17 Thread Scott Rohling
Hi Mike - I do recall running into this.. but it's been a few months.   Have
you retried the install now that the disks are formatted?  IIRC, I was able
to get through the install on my 2nd attempt.   It could be that I ended up
formatting the disks with CMS and then retrying - my memory is hazy.  I
suspected a bug but was in a hurry at the time and just trying to get
through an install..

Scott Rohling

On Tue, May 17, 2011 at 6:19 AM, Michael MacIsaac mike...@us.ibm.comwrote:

 Rogerio,

  did you attach dasd to the guest ?
 They are minidisks.  There was no error message when logging onto the
 virtual machine.  Thanks.

 Mike MacIsaac mike...@us.ibm.com   (845) 433-7061

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


Re: SLES 11 SP1 install can't find disks?

2011-05-17 Thread Scott Rohling
Hi Doug -   Yes, it does seem similar if CMS formatting was really the cure
-- unfortunately, my memory isn't real reliable in this case.   It could be
that the experience we had with RHEL5 makes me try this as possibility now
too  ;-)

What I'm trying to do by CMS formatting the disk is eliminating any possible
Linux formatting that is already there..  I have found things like leftover
LVM info (from another guest) can confuse things.   Linux formatting the
disk also works (e.g. using Sine Nomine's LXFMT instead of FORMAT) and
avoids needing to format during the install.

Most of the issues I've run into with both RH/Suse are with disks that
weren't 'cleaned' and came from a previous guest.  One nice solution I've
implemented in the past is to have the DIRMAINT 'clean' exit issue LXFMT
instead of FORMAT so that all DASD returned is already Linux formatted.. but
it's usefulness depends on whether you use the same size minidisks for all
guests.  (I tend to use 1-END disks and not chop up volumes).

Scott Rohling

On Tue, May 17, 2011 at 7:07 AM, William Carroll carro...@nationwide.comwrote:

 Scott

 Doesn't this remind you of the issue we had with RHEL5 and it not
 recognizing the dasd during a kickstart?
 basically if we CMS formatted it worked but a dasdfmt didn't and we got a
 do you wish to format this volume or similar message.
 it was because RH changed the scripts method of checking the dasd for that
 issue as I recall.
 RH i think was trying to make the script more common between platforms.

 Not saying Suee is doing the same thing but sounds like a similar issue?

 Just sounds like a similar issue.

 William D Carroll
 Mainframe Engineering, Build
 Office:  614-677-3885
 Email: carrol...@nationwide.com



 From:
 Scott Rohling scott.rohl...@gmail.com
 To:
 LINUX-390@VM.MARIST.EDU
 Date:
 05/17/2011 08:36 AM
 Subject:
 Re: SLES 11 SP1 install can't find disks?
 Sent by:
 Linux on 390 Port LINUX-390@VM.MARIST.EDU



 Hi Mike - I do recall running into this.. but it's been a few months. Have
 you retried the install now that the disks are formatted?  IIRC, I was
 able
 to get through the install on my 2nd attempt.   It could be that I ended
 up
 formatting the disks with CMS and then retrying - my memory is hazy.  I
 suspected a bug but was in a hurry at the time and just trying to get
 through an install..

 Scott Rohling

 On Tue, May 17, 2011 at 6:19 AM, Michael MacIsaac
 mike...@us.ibm.comwrote:

  Rogerio,
 
   did you attach dasd to the guest ?
  They are minidisks.  There was no error message when logging onto the
  virtual machine.  Thanks.
 
  Mike MacIsaac mike...@us.ibm.com   (845) 433-7061
 
  --
  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/


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

2011-04-20 Thread Scott Rohling
Exactly - vdisk is in memory and will be lost if the guest is logged off --
 so must be formatted for swap and mounted as swap by Linux when the guest
is started..

Scott Rohling

On Wed, Apr 20, 2011 at 8:15 AM, RPN01 nix.rob...@mayo.edu wrote:

 Since it's a fresh disk every time, you'd have to do the mkswap every time
 you log in, so my guess is that's why you'd need the mkswap and subsequent
 swapon in the boot.local. The vdisk wouldn't be formatted when you get it
 at
 each fresh logon.

 --
 Robert P. Nix  Mayo Foundation.~.
 RO-OC-1-18 200 First Street SW/V\
 507-284-0844   Rochester, MN 55905   /( )\
 -^^-^^
 In theory, theory and practice are the same, but
  in practice, theory and practice are different.



 On 4/20/11 9:06 AM, Dean, David (I/S) david_d...@bcbst.com wrote:

  Ok, we have it working.  Defined it in User Directory, formatted it for
 swap,
  added it to fstab, and added it to boot.local - mkswap and swapon.
 
  Why did I have to add it boot.local?  why does it not act like a normal
 DASD
  drive and come on at boot?
 

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


Re: vdisk

2011-04-20 Thread Scott Rohling
To clarify..  the vdisk is specified in number of 512 byte blocks.   CP
manages where these virtual disks start/end in memory -- you don't need to
be concerned about managing them, if this is what you meant.You may want
to consider setting system/user limits though, to ensure you don't use up
all your memory with vdisks.

Scott Rohling

On Wed, Apr 20, 2011 at 9:21 AM, Scott Rohling scott.rohl...@gmail.comwrote:

 Yes - each vdisk is assigned to the guest..  anything done to it won't
 affect other guests.Not sure what you mean by fixed block definitions
 being the same .. they can be the same or different if what you mean is
 formatting?

 Scott Rohling


 On Wed, Apr 20, 2011 at 8:56 AM, Dean, David (I/S) 
 david_d...@bcbst.comwrote:

 Thanks to all for the information.  Now that I have your attention, is it
 ok for the fixed block definitions be the same for all users, i.e. the vdisk
 definition (the memory address) lives within the user definition, and not
 the entire zvm?  Resetting one user will have no affect on others?

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
 Scott Rohling
 Sent: Wednesday, April 20, 2011 10:38 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: vdisk

 Exactly - vdisk is in memory and will be lost if the guest is logged off
 --
  so must be formatted for swap and mounted as swap by Linux when the guest
 is started..

 Scott Rohling

 On Wed, Apr 20, 2011 at 8:15 AM, RPN01 nix.rob...@mayo.edu wrote:

  Since it's a fresh disk every time, you'd have to do the mkswap every
 time
  you log in, so my guess is that's why you'd need the mkswap and
 subsequent
  swapon in the boot.local. The vdisk wouldn't be formatted when you get
 it
  at
  each fresh logon.
 
  --
  Robert P. Nix  Mayo Foundation.~.
  RO-OC-1-18 200 First Street SW/V\
  507-284-0844   Rochester, MN 55905   /( )\
  -^^-^^
  In theory, theory and practice are the same, but
   in practice, theory and practice are different.
 
 
 
  On 4/20/11 9:06 AM, Dean, David (I/S) david_d...@bcbst.com wrote:
 
   Ok, we have it working.  Defined it in User Directory, formatted it
 for
  swap,
   added it to fstab, and added it to boot.local - mkswap and swapon.
  
   Why did I have to add it boot.local?  why does it not act like a
 normal
  DASD
   drive and come on at boot?
  
 
  --
  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/
 -
 Please see the following link for the BlueCross BlueShield of Tennessee
 E-mail disclaimer:  http://www.bcbst.com/email_disclaimer.shtm

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


Re: vdisk

2011-04-20 Thread Scott Rohling
Yes - each vdisk is assigned to the guest..  anything done to it won't
affect other guests.Not sure what you mean by fixed block definitions
being the same .. they can be the same or different if what you mean is
formatting?

Scott Rohling

On Wed, Apr 20, 2011 at 8:56 AM, Dean, David (I/S) david_d...@bcbst.comwrote:

 Thanks to all for the information.  Now that I have your attention, is it
 ok for the fixed block definitions be the same for all users, i.e. the vdisk
 definition (the memory address) lives within the user definition, and not
 the entire zvm?  Resetting one user will have no affect on others?

 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
 Scott Rohling
 Sent: Wednesday, April 20, 2011 10:38 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: vdisk

 Exactly - vdisk is in memory and will be lost if the guest is logged off --
  so must be formatted for swap and mounted as swap by Linux when the guest
 is started..

 Scott Rohling

 On Wed, Apr 20, 2011 at 8:15 AM, RPN01 nix.rob...@mayo.edu wrote:

  Since it's a fresh disk every time, you'd have to do the mkswap every
 time
  you log in, so my guess is that's why you'd need the mkswap and
 subsequent
  swapon in the boot.local. The vdisk wouldn't be formatted when you get it
  at
  each fresh logon.
 
  --
  Robert P. Nix  Mayo Foundation.~.
  RO-OC-1-18 200 First Street SW/V\
  507-284-0844   Rochester, MN 55905   /( )\
  -^^-^^
  In theory, theory and practice are the same, but
   in practice, theory and practice are different.
 
 
 
  On 4/20/11 9:06 AM, Dean, David (I/S) david_d...@bcbst.com wrote:
 
   Ok, we have it working.  Defined it in User Directory, formatted it for
  swap,
   added it to fstab, and added it to boot.local - mkswap and swapon.
  
   Why did I have to add it boot.local?  why does it not act like a normal
  DASD
   drive and come on at boot?
  
 
  --
  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/
 -
 Please see the following link for the BlueCross BlueShield of Tennessee
 E-mail disclaimer:  http://www.bcbst.com/email_disclaimer.shtm

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


Re: CMM

2011-04-20 Thread Scott Rohling
You might want to look at:
http://www.vm.ibm.com/perf/reports/zvm/html/530cmm.htm

http://www.vm.ibm.com/perf/reports/zvm/html/530cmm.htmIt talks about the
difference between VMRM-CMM and CMMA and briefly shows how they are turned
on..

Scott Rohling

On Wed, Apr 20, 2011 at 2:07 PM, Dean, David (I/S) david_d...@bcbst.comwrote:

 Project 1.  VDISK implemented  complete
 Project 2.  CMM

 Will someone recommend a BASIC how-to guide for CMM on zlinux.  I have
 googled and found many docs saying how great it is, but not how to do it.
 I do not want the vmrm piece to make my decisions (yet).  I need to
 implement so I can experiment with manual changes.
 KISS for now.

 David M. Dean
 Information Systems
 BlueCross BlueShield Tennnessee

 -
 Please see the following link for the BlueCross BlueShield of Tennessee
 E-mail disclaimer:  http://www.bcbst.com/email_disclaimer.shtm

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


Re: Mono and ASP

2011-04-13 Thread Scott Rohling
I too wish IBM would push Linux harder internally ..  I've been running
Ubuntu with the IBM 'layers' on my laptop and don't find anything I can't
do.  One difference is the AGN Dialer..  Windows still offers modem support
and callin numbers last time I looked -- but on Linux - you strictly use the
'existing connection'.   WebSphere Everyplace was abandoned as far as I
know..  it was cool.. but it also had security issues - I remember
suspending my laptop and still being connected when I resumed with a new IP
address.. which sounds neat but isn't secure.

I use Linux on all my personal and work machines.. and am very happy.  I
still do keep a Windows partition around and some Windows virtual machines
for the rare times I have to use it..   which may be why the push to Linux
within IBM isn't done with more force.  If we're going to have an MS license
for 'just in case' -- then there's no incentive to move off of it for most
people.  Staying compatible with our clients is definitely a factor too.
shrug

I do think it's great how IBM has allowed us to expand beyond the c4eb
install (which was/is fedora based?).  I like Debian and being able to use
Ubuntu and point to IBM repositories for the extra stuff is great..

Scott Rohling


On Wed, Apr 13, 2011 at 10:01 AM, John Campbell soup...@gmail.com wrote:

 Ward, Mike S wrote:
  Neale Ferguson in an earlier email alluded to being able to run windows
  in a zVM environment. Why don't you install a windows server under zVM
  and run it there?

 Never forget that running Windows under Bochs under Linux under z/VM
 was merely a way of implementing the Big Blue Screen of Death.

 It is, perhaps, fortunate that the x86 instruction set doesn't run
 natively on the zSeries architecture... and, I think, IBM learned its
 lesson back in the days of OS|2 and WINOS2;  I am surprised, however,
 that IBM didn't get more agressive deploying the Linux C4EB distro
 internally.  (Going from the Dialer to WebSphereEveryplace was a
 *vast* jump in accessin the VPN.)

 Post-IBM I've been working in companies that have been all too
 thoroughly penetrated by MicroSoft and Windows... though still holding
 onto XP.  That being said, almost all of the servers I currently deal
 with are running Solaris or Linux.

 -soup

 --
 John R. Campbell Speaker to Machines  souperb at gmail dot
 com
 MacOS X proved it was easier to make Unix user-friendly than to fix Windows

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


Re: Mono and ASP

2011-04-13 Thread Scott Rohling
| Nowadays the company I am in uses the Cisco VPN which, at least, works
| on my ancient PowerPC PowerBook G4 as well as Windoze.

Works on Linux too.. there's a standard Cisco VPN client with most distros.
  With Ubuntu - it's as easy as a right click on the network icon and
selecting 'VPN'...


 I recall that the CIO's direction that all internal websites MUST be
 browser agnostic (is this still true?) was fine but the external
 travel planning site required M$'s InterNyet Exploder which meant you
 could not completely abandon Windows as a platform (dammit).  At least
 the Linux platform made good use of both cycles and RAM in the
 laptops.  (I sometmes miss the T42.)

 Yes - at this point IE is not required and it seems like Firefox is more
the 'norm' as the browser to use.   It's been awhile since any of the
business apps (like travel) including externals has required IE.   There are
still a few things out on the intranet I run across that want IE - but
nothing business critical.

All in all - I think we've done an excellent job though - the best I'm aware
of for any major company..  I've been running with a Linux laptop the last 4
years and even at clients it hasn't been an issue (though sometimes the
folks that scan laptops before allowing you to connect will scratch their
heads).

Scott Rohling

--
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: recieving the following from a linux install on z

2011-04-12 Thread Scott Rohling
I believe TightVNC (tightvnc.com) client works with standard VNC servers..
 and RealVNC  (realvnc.com) as well.

You can also just simply use a web brower ---  most VNC servers listen to
both 59xx and 58xx ports .. (use the 58xx port when using a web browser).

Scott Rohling

On Tue, Apr 12, 2011 at 8:08 AM, Hughes, Jim jim.hug...@doit.nh.gov wrote:

 Hi David,

 Which Windows version of VNC should I use when connecting to the VNC
 Server running on the Linux system?  I looked at one it said it did not
 support connecting to Linux VNC servers.  Then again, I could have no
 clue what I am talking about.

 Thanks for your patience.

 
 Jim Hughes
 Consulting Systems Programmer
 Mainframe Technical Support Group
 Department of Information Technology
 State of New Hampshire
 27 Hazen Drive
 Concord, NH 03301
 603-271-5586Fax 603.271.1516

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.


 -Original Message-
 From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
 David Boyes
 Sent: Tuesday, April 12, 2011 9:04 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: recieving the following from a linux install on z

  On 4/11/11 3:27 PM, Testa, Richard richard.te...@doit.nh.gov
 wrote:
 
  X SERVER STARTED, THEN FAILEDTraceback (most recent call last):
 
File /usr/bin/anaconda, line 1015, in module
 
  doStartupX11Actions()
 
File /usr/bin/anaconda, line 100, in doStartupX11Actions
 
  raise RuntimeError, X server failed to start
 
  RuntimeError: X server failed to start

 It's a dumb assumption in anaconda that the whole world has local bitmap
 graphics hardware. System z has no bitmap display hardware, so X fails
 because it's trying to start a local X server and the X server fails
 because there is no bitmap display hardware.

 That's the advantage of using VNC (VNC fakes a X server for the install
 X clients, and then you connect a VNC client to the VNC server).

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


Re: Another Basic Red Hat RHEL 5.6 Install question

2011-04-12 Thread Scott Rohling
You can set up NFS --  or an FTP server (use URL and ftp://  )..   I
tend to do installs from a Linux workstation where you can easily
install/configure such things.  Not as familiar with Windows options here..

Scott Rohling

On Tue, Apr 12, 2011 at 9:22 AM, Hughes, Jim jim.hug...@doit.nh.gov wrote:

 Our Linux guy is off on another project and my natural curiosity has
 gotten the best of me.

 I have restarted the Linux on Z installation procedure. I have Putty
 installed. I have a Putty connection.  I logged in as install.

 The Putty window is asking me this regarding the installation:
 --
 Installation Method

 What type of media contains the installation image?

 Local CD/DVD
 Hard Drive
 NFS directory
 URL

 OK   BACK
 --

 The installation image is on a virtual DVD drive on my windows
 workstation.
 Do I need to run an NFS server or is there another option I should use?
 I cannot find this in the Red Hat 5 installation guide.

 Thanks again.

 
 Jim Hughes
 Consulting Systems Programmer
 Mainframe Technical Support Group
 Department of Information Technology
 State of New Hampshire
 27 Hazen Drive
 Concord, NH 03301
 603-271-5586Fax 603.271.1516

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.

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


Re: Question from our Linux Support Person

2011-04-11 Thread Scott Rohling
When you install RedHat -- you can specify a 'vnc' install -- they should
use that.Then they can connect with either a vnc client or web browser
to do the installation.   They specify this either in the 'parm' file used
at install time (just the word 'vnc' will do) -- or select it it when asked
by the installation dialog.

Scott Rohling

On Mon, Apr 11, 2011 at 9:39 AM, Hughes, Jim jim.hug...@doit.nh.gov wrote:

 We are new to this environment.  We have Red Hap Release 5.0 running on
 our z10 under z/VM.

 It is booted and things appeared to be going well until I was asked this
 question by our Linux Team Member:

 How do I start a graphical interface from mainframe linux install on X
 windows?.

 He is in the installation process and this process wants to use a
 graphical interface.

 Thanks in advance.


 
 Jim Hughes
 Consulting Systems Programmer
 Mainframe Technical Support Group
 Department of Information Technology
 State of New Hampshire
 27 Hazen Drive
 Concord, NH 03301
 603-271-5586Fax 603.271.1516

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.

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


Re: New User Linux on z10 question

2011-04-06 Thread Scott Rohling
Multiple LPARs can share an IFL...  but the only way to run multiple Linux
instances in a single LPAR is using z/VM to virtualize it.

If you're really talking about one lonely IFL -  you'll likely want to
dedicate it and let z/VM manage the sharing on a single LPAR.

Scott Rohling

On Wed, Apr 6, 2011 at 7:39 AM, Hughes, Jim jim.hug...@doit.nh.gov wrote:

 Someone told me it is possible to run 12 Linux images on a single IFL
 without the use of z/VM.

 Is this true and how?

 The management around here heard this statement a while back and are now
 on a quest for us to create an LPAR for the IFL to run multiple Linux
 images on it.  I must have missed the memo and I am looking for what I
 may have missed.

 Thanks in advance.

 
 Jim Hughes
 Consulting Systems Programmer
 Mainframe Technical Support Group
 Department of Information Technology
 State of New Hampshire
 27 Hazen Drive
 Concord, NH 03301
 603-271-5586Fax 603.271.1516

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.

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


Re: New User Linux on z10 question

2011-04-06 Thread Scott Rohling
oops - forgot about Xen.. which I believe can also virtualize?  I know very
little about it on z... so should probably not have said 'the only way'  ;-)

Scott Rohling

On Wed, Apr 6, 2011 at 7:58 AM, Scott Rohling scott.rohl...@gmail.comwrote:

 Multiple LPARs can share an IFL...  but the only way to run multiple Linux
 instances in a single LPAR is using z/VM to virtualize it.

 If you're really talking about one lonely IFL -  you'll likely want to
 dedicate it and let z/VM manage the sharing on a single LPAR.

 Scott Rohling


 On Wed, Apr 6, 2011 at 7:39 AM, Hughes, Jim jim.hug...@doit.nh.govwrote:

 Someone told me it is possible to run 12 Linux images on a single IFL
 without the use of z/VM.

 Is this true and how?

 The management around here heard this statement a while back and are now
 on a quest for us to create an LPAR for the IFL to run multiple Linux
 images on it.  I must have missed the memo and I am looking for what I
 may have missed.

 Thanks in advance.

 
 Jim Hughes
 Consulting Systems Programmer
 Mainframe Technical Support Group
 Department of Information Technology
 State of New Hampshire
 27 Hazen Drive
 Concord, NH 03301
 603-271-5586Fax 603.271.1516

 Statement of Confidentiality: The contents of this message are
 confidential. Any unauthorized disclosure, reproduction, use or
 dissemination (either whole or in part) is prohibited. If you are not
 the intended recipient of this message, please notify the sender
 immediately and delete the message from your system.

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


Re: Cloning question for zLinux

2011-03-09 Thread Scott Rohling
No - you can mount 2 separate DASD's as long as they aren't LVM volumes
- no problem.

So - does that file exist?(the config for the 4220) ..if not, why
not?Need more info about your clones..

Also - are you sure it's /dev/dasdc1 ?   Did you do an lsdasd to confirm?

Scott Rohling

On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote:

 I am having a problem with cloning zLinux systems ( use DirMaint clonedisk
 command to create the 201 disk for our cloned zlinux guests)

 This is a SuSE10 sp2 system we run the cloning process from

 My process will create a single clone without problem.

 vmcp link userid 201 20f mr
 chccwdev -e 20f
 mount /dev/dasb1  /newsys1
 then change ipaddress and hostname

 While that program is running we start another clone which does the
 following

 vmcp link userid 201 20e  mr
 chcwdev -e 20e
 mount /dev/dasdc1 /newsys2

 and then the second one fails:

 sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not
 found.

 Is there something in the zLinux kernel that would not allow two disk to
 be online that are identical to start with?


 Thanks,
 Gary L. Detro

 Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
 Internal Mail Stop: 77-01-3001O; Coppell, TX
 Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
 Send me an email de...@us.ibm.com



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


Re: Cloning question for zLinux

2011-03-09 Thread Scott Rohling
Odd..   it must have a empty filesystem on it or it wouldn't mount..DIRM
CLONEDISK is doing a physical copy.   Unless the CLONEDISK failed (and there
was a previous empty filesystem on the disk), I'm not sure why you're seeing
an empty directory.   Maybe show us a 'df -h' command as well as an
'lsdasd'?

Scott Rohling

On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote:

 yes the lsdasd showed both dasdb and dasdc ...

 but when I examine the directory /dasdc it is empty



 Thanks,
 Gary L. Detro

 Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
 Internal Mail Stop: 77-01-3001O; Coppell, TX
 Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
 Send me an email de...@us.ibm.com






 From:
 Scott Rohling scott.rohl...@gmail.com
 To:
 LINUX-390@vm.marist.edu
 Date:
 03/09/2011 12:38 PM
 Subject:
 Re: Cloning question for zLinux
 Sent by:
 Linux on 390 Port LINUX-390@vm.marist.edu



 No - you can mount 2 separate DASD's as long as they aren't LVM
 volumes
 - no problem.

 So - does that file exist?(the config for the 4220) ..if not, why
 not?Need more info about your clones..

 Also - are you sure it's /dev/dasdc1 ?   Did you do an lsdasd to confirm?

 Scott Rohling

 On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote:

  I am having a problem with cloning zLinux systems ( use DirMaint
 clonedisk
  command to create the 201 disk for our cloned zlinux guests)
 
  This is a SuSE10 sp2 system we run the cloning process from
 
  My process will create a single clone without problem.
 
  vmcp link userid 201 20f mr
  chccwdev -e 20f
  mount /dev/dasb1  /newsys1
  then change ipaddress and hostname
 
  While that program is running we start another clone which does the
  following
 
  vmcp link userid 201 20e  mr
  chcwdev -e 20e
  mount /dev/dasdc1 /newsys2
 
  and then the second one fails:
 
  sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220
 not
  found.
 
  Is there something in the zLinux kernel that would not allow two disk to
  be online that are identical to start with?
 
 
  Thanks,
  Gary L. Detro
 
  Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
  Internal Mail Stop: 77-01-3001O; Coppell, TX
  Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
  Send me an email de...@us.ibm.com
 
 
 
  --
  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/


--
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: Cloning question for zLinux

2011-03-09 Thread Scott Rohling
Make that 'df -Th'   it would be good to see the filesystem types too..

Scott Rohling

On Wed, Mar 9, 2011 at 12:03 PM, Scott Rohling scott.rohl...@gmail.comwrote:

 Odd..   it must have a empty filesystem on it or it wouldn't mount..
  DIRM CLONEDISK is doing a physical copy.   Unless the CLONEDISK failed (and
 there was a previous empty filesystem on the disk), I'm not sure why you're
 seeing an empty directory.   Maybe show us a 'df -h' command as well as an
 'lsdasd'?

 Scott Rohling


 On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote:

 yes the lsdasd showed both dasdb and dasdc ...

 but when I examine the directory /dasdc it is empty



 Thanks,
 Gary L. Detro

 Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
 Internal Mail Stop: 77-01-3001O; Coppell, TX
 Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
 Send me an email de...@us.ibm.com






 From:
 Scott Rohling scott.rohl...@gmail.com
 To:
 LINUX-390@vm.marist.edu
 Date:
 03/09/2011 12:38 PM
 Subject:
 Re: Cloning question for zLinux
 Sent by:
 Linux on 390 Port LINUX-390@vm.marist.edu



 No - you can mount 2 separate DASD's as long as they aren't LVM
 volumes
 - no problem.

 So - does that file exist?(the config for the 4220) ..if not, why
 not?Need more info about your clones..

 Also - are you sure it's /dev/dasdc1 ?   Did you do an lsdasd to confirm?

 Scott Rohling

 On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote:

  I am having a problem with cloning zLinux systems ( use DirMaint
 clonedisk
  command to create the 201 disk for our cloned zlinux guests)
 
  This is a SuSE10 sp2 system we run the cloning process from
 
  My process will create a single clone without problem.
 
  vmcp link userid 201 20f mr
  chccwdev -e 20f
  mount /dev/dasb1  /newsys1
  then change ipaddress and hostname
 
  While that program is running we start another clone which does the
  following
 
  vmcp link userid 201 20e  mr
  chcwdev -e 20e
  mount /dev/dasdc1 /newsys2
 
  and then the second one fails:
 
  sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220
 not
  found.
 
  Is there something in the zLinux kernel that would not allow two disk to
  be online that are identical to start with?
 
 
  Thanks,
  Gary L. Detro
 
  Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
  Internal Mail Stop: 77-01-3001O; Coppell, TX
  Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
  Send me an email de...@us.ibm.com
 
 
 
  --
  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/




--
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: Cloning question for zLinux

2011-03-09 Thread Scott Rohling
It's not necessarily true that you don't need to wait until the copy
completes...   if the FLASHCOPY gets an RC0 - ok -- but if it gets a RC
indicating for example - that there are already pending flashcopies for the
device -- I'm not sure offhand if DATAMOVE tries again or fails the
workunit.  You want to see that DIRMAINT has sucessfully performed the
CLONEDISK before proceeding.

(not sure you haven't -- just cautioning)

Scott Rohling

On Wed, Mar 9, 2011 at 12:16 PM, Gary Detro de...@us.ibm.com wrote:

 When the scripts are running I can see Dirmaint creating the disks (using
 flashcopy, so I don't have to wait until the copy completes).  The process
 also does a lsdasd and shows the disks that are online (in the failing
 case, both targets are online and have been mounted without any error
 messages).


 Thanks,
 Gary L. Detro

 Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
 Internal Mail Stop: 77-01-3001O; Coppell, TX
 Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
 Send me an email de...@us.ibm.com






 From:
 David Kreuter dkreu...@vm-resources.com
 To:
 LINUX-390@vm.marist.edu
 Date:
 03/09/2011 01:12 PM
 Subject:
 Re: Cloning question for zLinux
 Sent by:
 Linux on 390 Port LINUX-390@vm.marist.edu



 sigh Gary did you per chance get DATAMOVEd? Can you check
 dirmaint/datamove logs? Is the workunit hanging around?
 David


  Original Message 
 Subject: Re: Cloning question for zLinux
 From: Scott Rohling scott.rohl...@gmail.com
 Date: Wed, March 09, 2011 2:05 pm
 To: LINUX-390@VM.MARIST.EDU

 Make that 'df -Th' it would be good to see the filesystem types too..

 Scott Rohling

 On Wed, Mar 9, 2011 at 12:03 PM, Scott Rohling
 scott.rohl...@gmail.comwrote:

  Odd.. it must have a empty filesystem on it or it wouldn't mount..
  DIRM CLONEDISK is doing a physical copy. Unless the CLONEDISK failed
 (and
  there was a previous empty filesystem on the disk), I'm not sure why
 you're
  seeing an empty directory. Maybe show us a 'df -h' command as well as an
  'lsdasd'?
 
  Scott Rohling
 
 
  On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote:
 
  yes the lsdasd showed both dasdb and dasdc ...
 
  but when I examine the directory /dasdc it is empty
 
 
 
  Thanks,
  Gary L. Detro
 
  Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
  Internal Mail Stop: 77-01-3001O; Coppell, TX
  Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
  Send me an email de...@us.ibm.com
 
 
 
 
 
 
  From:
  Scott Rohling scott.rohl...@gmail.com
  To:
  LINUX-390@vm.marist.edu
  Date:
  03/09/2011 12:38 PM
  Subject:
  Re: Cloning question for zLinux
  Sent by:
  Linux on 390 Port LINUX-390@vm.marist.edu
 
 
 
  No - you can mount 2 separate DASD's as long as they aren't LVM
  volumes
  - no problem.
 
  So - does that file exist? (the config for the 4220) .. if not, why
  not? Need more info about your clones..
 
  Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm?
 
  Scott Rohling
 
  On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote:
 
   I am having a problem with cloning zLinux systems ( use DirMaint
  clonedisk
   command to create the 201 disk for our cloned zlinux guests)
  
   This is a SuSE10 sp2 system we run the cloning process from
  
   My process will create a single clone without problem.
  
   vmcp link userid 201 20f mr
   chccwdev -e 20f
   mount /dev/dasb1 /newsys1
   then change ipaddress and hostname
  
   While that program is running we start another clone which does the
   following
  
   vmcp link userid 201 20e mr
   chcwdev -e 20e
   mount /dev/dasdc1 /newsys2
  
   and then the second one fails:
  
   sed: File
 /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220
  not
   found.
  
   Is there something in the zLinux kernel that would not allow two disk
 to
   be online that are identical to start with?
  
  
   Thanks,
   Gary L. Detro
  
   Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019
   Internal Mail Stop: 77-01-3001O; Coppell, TX
   Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235)
   Send me an email de...@us.ibm.com
  
  
  
  
 --
   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

Re: Defining second OSA port on the chpid on SLES10 SP3

2011-03-09 Thread Scott Rohling
It seems the goal 'would' be to document 'every last thing that can be put
in those files' to me as well..  Why code for it if you're not going to
document it?   'Mystery features' and 'hacks' are for games  ;-)

Scott Rohling

On Wed, Mar 9, 2011 at 4:02 PM, Alan Altmark alan_altm...@us.ibm.comwrote:

 On Wednesday, 03/09/2011 at 05:40 EST, Mark Post mp...@novell.com wrote:
   On 3/9/2011 at 12:17 PM, Alan Altmark alan_altm...@us.ibm.com
 wrote:
Try QETH_PORTNO.
  
   Mark, where is this mechanism documented?  The Device Driver book
 (even
   for SLES 11) does not refer to such.
 
  It's not that I know of.  Since this is a parm that was only used in
 SLES10, it
  wouldn't be in the distribution-specific Device Drivers and Commands
 books,
  which started with SLES11.

 Strange.  Then what would be the equivalent for SLES 11?  Doesn't changing
 it create a compatibility/upgrade problem?

  I think this is a case of If you're technical enough to not use YaST
 and
  instead edit hardware configuration files directly, you should be able
 to look
  at the skeleton config files and startup scripts to figure it out.  I
 don't
  think we've ever documented every last thing that can be put into those
 files,
  but I could be wrong.

 I just find it strange the SOME of the parms are documented, but not all.
 Red Hat has the same issue.

 Alan Altmark

 z/VM and Linux on System z Consultant
 IBM System Lab Services and Training
 ibm.com/systems/services/labservices
 office: 607.429.3323
 mobile; 607.321.7556
 alan_altm...@us.ibm.com
 IBM Endicott

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


Re: Defining second OSA port on the chpid on SLES10 SP3

2011-03-09 Thread Scott Rohling
Ok - I thought this was a distro specific issue --  RHEL and SLES use
entirely different files to configure network devices ... I just thought the
end result was supposed to be what is documented in Device Drivers (a
resulting /sys  setting...).   I thought RHEL and SLES made up the
configuration options used to get there?   No?

Scott Rohling

p.s.  To me - this is a configuration file -- and anything that might be in
it should be documented shrug.  Things like QDIO architecture are a
different fruit.   In this case - being able to know how to specify the
portname doesn't seem like something you want to hide.

On Wed, Mar 9, 2011 at 4:14 PM, Mark Post mp...@novell.com wrote:

  On 3/9/2011 at 06:06 PM, Scott Rohling scott.rohl...@gmail.com
 wrote:
  It seems the goal 'would' be to document 'every last thing that can be
 put
  in those files' to me as well..  Why code for it if you're not going to
  document it?   'Mystery features' and 'hacks' are for games  ;-)

 I don't know.  Why doesn't IBM document every last machine instruction,
 diagnose code, the QDIO architecture, etc.?  Some things you just want
 people to use the documented interfaces for, and let the tools handle
 things.  Based on the number of service requests I've had to handle for
 people that didn't want to use the tools, but didn't spend the time to
 really understand the internals, that's not an entirely ludicrous
 philosophy.  Personally, I would prefer to see it all documented, but I'm
 not in charge.


 Mark Post

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


Re: Spiking server

2011-03-03 Thread Scott Rohling

Have you done anything with SHARE settings for the guest? You can set
either an absolute (% of CPU) or relative (xx relative to yy) minimum so
this guest will get that much more CPU when it's needed...

Scott Rohling

On Mar 3, 2011 5:44am, Bauer, Bobby (NIH/CIT) [E] baue...@mail.nih.gov
wrote:

We have a Wordpress server that really spikes during certain, know times
of the month, about 45000 hits/hour. Its running on a single z9 IFL with
only 4G of memory on the lpar, z/VM 5.4, REHL 6 (yeah, I know, more
memory, good luck since we are a govt. agency). The user did not expect
this kind of response so we have all been surprised.





We have Supercache in use.





At 1G of memory it crashed yesterday due to lack of memory so we upped it
to 2G and are waiting for the next cycle. It has swap space of:



swapon -s



Filename Type Size Used Priority



/dev/dasda2 partition 1023976 0 -1



/dev/dasdb1 partition 194964 0 2



/dev/dasdc1 partition 64976 0 1





dasda2 is real dasd



dasdb1 and c1 are VDISK defined using the swapgen macro from Sine Nomine





this morning the server looks like this:



free



total used free shared buffers cached



Mem: 2050360 1323728 726632 0 114588 345964



-/+ buffers/cache: 863176 1187184



Swap: 1283916 0 1283916







So the general question is, are there other steps we can take to help
response time when usage peaks? There are 2 other production servers on
this lpar. One is very low usage, the other has the potential for the
same kind of activity. There is a test lpar sharing the IFL with 4G of
memory also. I've thought of stealing a G from test and moving it to
production. There are plans to host Wiki's on the production lpar also.



Any suggestions would be appreciated.





Bobby Bauer



Center for Information Technology



National Institutes of Health



Bethesda, MD 20892-5628



301-594-7474









--



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/


Re: Z/10 - Z/196 Migration SLES9 No Connectivity

2011-02-25 Thread Scott Rohling
Can the gateway access the other subnets?   Is there a firewall on the other
side of that gateway that might be stopping you?

Scott Rohling

On Fri, Feb 25, 2011 at 7:12 AM, Rich Blair rich.bl...@asg.com wrote:

 Hello All,

 We are currently migrating from the z/10 hardware to a z/196.

 The z/196 is located on a different subnet within our internal network so I
 need  to change IP address of each LINUX guest.

 I have performed the following procedure for changing an IP on a SLES9
 Linux guest (since initially I can't access via PuTTy / YAST).

 I use ED to change the IP in /etc/sysconfig/network/
 ifcfg-qeth-bus-ccw-0.0.0200 and the default gw in
 /etc/sysconfig/network/routes.

 Then I restart the server.
 After the Linux comes up ifconfig  and the route commands are displaying
 the new correct information.

 Problem is I still have no connectivity FROM/TO hosts outside of the
 subnet.

 I can ping z/os and z/vm hosts on the same subnet but nothing outside of
 the subnet.

 Any help is appreciated.
 Thanks.

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


Re: Z/10 - Z/196 Migration SLES9 No Connectivity

2011-02-25 Thread Scott Rohling
Forgot to ask:   Is it possible the subnet mask needs to change?

Scott Rohling

On Fri, Feb 25, 2011 at 7:24 AM, Scott Rohling scott.rohl...@gmail.comwrote:

 Can the gateway access the other subnets?   Is there a firewall on the
 other side of that gateway that might be stopping you?

 Scott Rohling





--
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: Shared filesystem in redhat, MQ redundancy

2011-02-22 Thread Scott Rohling
Are you referring to XLINK?   If you define XLINK volumes and systems in
SYSTEM CONFIG - and XLINK FORMAT the volumes -- then you get 'LINK
protection' across systems.   From VM1 - attempt rw link to minidisk on VM2
that already has RW link ...   your LINK will get a RC indicating the disk
in in RW by 'VM2'.   (not which user on VM2 - just VM2)

Scott Rohling

On Thu, Dec 16, 2010 at 1:11 AM, Agblad Tore tore.agb...@volvo.com wrote:

 It's two different z/VM systems in two different z196.
 We have this software in z/VM that enables each z/VM system to check what
 the
 other one is using. Don't remember that abbreviation now.
 That is sort of requirement, because now only one server can LINK to the
 disk in write mode. We even tested a logic there both servers actually try
 to LINK in write mode, the one that got it first is the current MQ.
 Worked perfect, but was harder to control the traffic from app-servers.
 So the switch is operator initiated now, much safer.
 And by the way, we run SLES11 SP1, but it's the same for RedHat I guess.

 ___
 Tore Agblad


--
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: RH 5.5 Local TOD...

2011-02-21 Thread Scott Rohling
Are you talking about the UTC setting?   You can select whether UTC is used
or not at install..from a blurb on the web for RHEL5:

To change your time zone configuration after you have completed the
installation, use the *Time and Date Properties Tool* .
Type the system-config-date command in a shell prompt to launch the *Time
and Date Properties Tool* . If you are not root, it prompts you for the root
password to continue.
To run the *Time and Date Properties Tool* as a text-based application, use
the command timeconfig.

Scott Rohling

On Mon, Feb 21, 2011 at 2:51 PM, Lee Stewart lstewart.dsgr...@attglobal.net
 wrote:

 Hi...We've got a customer that runs their hardware clock on local
 time, and just installed RedHat 5.5.   I think I remember seeing this
 before where RH doesn't speak local clock time on Z and we had to play
 games to get the time right.   But I'll be darned if I can remember what
 we did.Anyone else ever fixed this??
 Thanks,
 Lee
 --

 Lee Stewart, Senior SE
 Sirius Computer Solutions
 Phone: (303) 996-7122
 Email: lee.stew...@siriuscom.com
 Web:   www.siriuscom.com

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


Re: disk not in z/OS format

2011-02-15 Thread Scott Rohling
I've only seen that when I've attempted to do an 'fdasd -a /dev/dasdx' on a
disk that didn't have dasdfmt run on it yet...   I've never seen dasdfmt
complain..(why would it?  it's going to format the disk and doesn't care
what's there)  only fdasd.   Are you creating a partition on the disk?

Scott Rohling

On Tue, Feb 15, 2011 at 5:00 PM, Daniel Tate daniel.t...@gmail.com wrote:

 We are continually having a problem when it comes time in autoyast to
 do a dasdfmt where it complains that the disks are not in z/OS format.
 We are not using PAV (which was the prior problem).  it is a mystery
 to me and the mainframe guy who's been doing this for 30 years - has
 anyone run into the same issue?  This is urgent, so if anyone has any
 insight please respond.  The disks are owned to the appropriate user
 (also tried system) and the cyls are formatted (also tried raw).

 Thank you very much.

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


Re: LVM, PAVs, and cloning

2011-02-01 Thread Scott Rohling
PAV can be defined at the minidisk level (any size minidisk) by adding a
MINIOPT PAVALIAS statement after the MDISK statement...
Example:

MDISK 200 3390 2500 50 LX0001 MR
MINIOPT PAVALIAS 1200 2200 3200

The virtual machine will now have a 200,1200,2200,3200 all pointing to the
same physical disk and each of which can have a single pending i/o.

For grins - you can do this with a CMS disk -- but I would not access more
than one of the disks at a time.

(I'm ignoring the Linux end of this thing with device mapper and multipath
support and how it actually makes use of these base and alias addresses -
I'm just talking at the virtual guest level here).

Scott Rohling

On Tue, Feb 1, 2011 at 8:26 AM, Patrick Spinler spinler.patr...@mayo.eduwrote:

 On 1/31/11 3:27 PM, Mark Post wrote:
 
  If I'm remembering correctly, and z/VM does do all the work with PAV for
 minidisks, then 3-4 should be completely transparent to Linux.
 

 I thought I recalled reading that z/VM only used PAV's for access from
 multiple guests, that each guest only had a single pending I/O to each
 minidisk. :-(  Hope I'm wrong.

 -- Pat

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


Re: vswitch name in sysfs

2011-01-19 Thread Scott Rohling
I wouldn't think so ..  a VSWITCH is a z/VM 'thing'  (and specifically a CP
thing).   All Linux needs to know is the address/vlan/etc to talk over - it
doesn't have any use for the vswitch name.

Scott Rohling

On Wed, Jan 19, 2011 at 7:39 AM, PHILIP TULLY tull...@optonline.net wrote:

 I was looking for a place within Linux that the vswitch name is stored
 for each virtual nic.

 I can query the nic information.
 # vmcp q v nic
 Adapter 0350.P00 Type: QDIO  Name: osatest Devices: 3
  MAC: 02-00-06-00-00-C5 VSWITCH: SYSTEM ESNET1

 If you look at the data in this list, all of it is stored under
 /sys/bus/ccwgroup/drivers/qeth
 the only info I can't find is the vswitch name.

 Does anyone know if it is stored with linux?


 regards
 Phil

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


Re: Multicast use on a Linux server

2011-01-18 Thread Scott Rohling
Just poking around /proc/net I see /proc/net/dev_mcast ..   it seems to
correspond to the multicast addresses I see in Q VSWITCH DETAILS..

Scott Rohling

On Tue, Jan 18, 2011 at 2:49 PM, Marcy Cortes marcy.d.cor...@wellsfargo.com
 wrote:

 Hello,

 General Linux question here...

 Is there a way to tell all the multicast addresses are particular server
 might be using?



 Marcy

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


Re: sles11sp1 install using parmfile

2011-01-14 Thread Scott Rohling
Perhaps try:   @10.1.1.1/./home/ibmsys3/image  ?I can recall having to
precede my directory statement with ./ with some ftp servers..

Scott Rohling

On Fri, Jan 14, 2011 at 5:35 AM, Sergey Korzhevsky s_korzhev...@iba.bywrote:

 Mark,

 Connected to 10.1.1.1.
 220 *** Welcome to server ***
 Name (10.1.1.1:ibmsys3):
 331 Please specify the password.
 Password:
 230 Login successful.
 Remote system type is UNIX.
 Using binary mode to transfer files.
 ftp cd /image
 550 Failed to change directory.
 ftp cd /home/ibmsys3/image
 250 Directory successfully changed.
 ftp quit


  So, I changed the path to absolute one, e.g.
 @10.1.1.1/home/ibmsys3/image/ but it didn't help.
 I also had a look at ftp server logs and didn't find any connections.

 I also checked that TCPIP is working fine on guest linux, so, the problem
 looks strange. Anyway, i already done manual install.


WBR, Sergey




 Mark Post mp...@novell.com
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 13.01.2011 19:06
 Please respond to Linux on 390 Port

To: LINUX-390@VM.MARIST.EDU
cc:
Subject:Re: sles11sp1 install using parmfile


  On 1/13/2011 at 07:55 AM, Sergey Korzhevsky s_korzhev...@iba.by
 wrote:
  just to make sure...
 
  ibmsys3@serv:~ ftp 10.1.1.1
  Connected to 10.1.1.1.
  220 *** Welcome to server ***
  Name (10.1.1.1:ibmsys3):
  331 Please specify the password.
  Password:
  230 Login successful.
  Remote system type is UNIX.
  Using binary mode to transfer files.
  ftp cd image
  250 Directory successfully changed.
  ftp ls
  229 Entering Extended Passive Mode (|||12179|)
  150 Here comes the directory listing.
  -r--r--r--1 00 4773764 May 20  2010 ARCHIVES.gz
  -r--r--r--1 00   17992 May 20  2010 COPYING
  -r--r--r--1 00   25733 May 20  2010 COPYING.de
  -r--r--r--1 001455 May 20  2010 COPYRIGHT

 What happens if you do cd /image instead?


 Mark Post

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


Re: Extending a Logical Volume

2011-01-06 Thread Scott Rohling
looks like you called it 'home--vg' ?

Scott Rohling

On Thu, Jan 6, 2011 at 12:23 PM, David Stuart david.stu...@ventura.orgwrote:

 Morning again,

 New linux admin here.

 I've added a new volume to the Volume group, and now I am trying to extend
 a logical volume.

 I'm following section 11.3 of the SLES 11 SP 1 Virtualization Cookbook,
 page 199.

 A df -h /home (which is the 'volume' I want to extend) shows:

 galileo:~ # df -h /home
 FilesystemSize  Used Avail Use% Mounted on
 /dev/mapper/system_vg-home--vg
  148M   17M  124M  12% /home


 When I try the lvextend command, I receive the following:

 galileo:~ # lvextend -l +586 /dev/system_vg/home
  Logical volume home not found in volume group system_vg


 I've looked at the lvextent --help, and the 'man' pages, but no matter what
 I specify for '/home', it is rejected.

 system_vg is the name of the LVM group I created when I installed the
 System.

 The full df output is below.


 Your assistance is greatly appreciated.

 Thanks,
 Dave


 galileo:~ # df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/dasda21979360120072   1758740   7% /
 devtmpfs510668   160510508   1% /dev
 tmpfs   510668 0510668   0% /dev/shm
 /dev/dasda1 380696 34320326728  10% /boot
 /dev/mapper/system_vg-home--vg
150752 16608126364  12% /home
 /dev/mapper/system_vg-opt--lv
380888 16612344616   5% /opt
 /dev/mapper/system_vg-srv--lv
   1548144 35156   1434348   3% /srv
 /dev/mapper/system_vg-tmp--lv
380888 16808344420   5% /tmp
 /dev/mapper/system_vg-usr--lv
   2838304   1426900   1267228  53% /usr
 /dev/mapper/system_vg-var--lv
516040 89272400556  19% /var




 Dave Stuart
 Prin. Info. Systems Support Analyst
 County of Ventura, CA
 805-662-6731
 david.stu...@ventura.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/


Re: RHEL6 SSH key

2011-01-05 Thread Scott Rohling
Compare the /etc/ssh/sshd_config files ..  there are some authorization
check thingies in there - SLES may be turning some on by default that RH
isn't.   Last resort - compare the /etc/pam.d/sshd files which can also
effect how ssh logins are processed.

Wouldn't think it's a bug - more likely a difference in configuration..

Scott Rohling

On Wed, Jan 5, 2011 at 8:16 AM, Thang Pham thang.p...@us.ibm.com wrote:

 Hi,

 I have two Linux virtual servers, one running SLES11 SP1 and the other
 running RHEL6.  I am trying to setup the SSH key between them, so that when
 I SSHed into the RHEL6 server, I do not get prompted for a password.  I put
 the id_rsa.pub key of my SLES11 SP1 server in /root/.ssh/authorized_keys
 file on my RHEL6 server, but when I SSH into the RHEL6 server, I get
 prompted for a password.  Is this a bug?

 I tested this same procedure on a RHEL5.5 server, and it works fine.  I
 even tried the other way around and setup the SSH keys on the RHEL6 server,
 so that when I SSHed into my SLES11 SP1 server from my RHEL6 server, I do
 not get prompted for a password.  This works.  It appears that RHEL6 does
 not accept a public key and always prompts for a password.

 Regards,
 -
 Thang Pham
 IBM Poughkeepsie
 Phone: (845) 433-7567
 e-mail: thang.p...@us.ibm.com

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


Re: Need a little help with a Linux script

2010-12-08 Thread Scott Rohling
You can..  Regina Rexx is available on SLES/RH distros or downloadable from
the web..   IBM OORexx is open source and available as well.

I've weaned myself off of it on Linux for the most part - but when I first
became a penguin trainer, using it let me be immediately productive.

Scott Rohling

On Wed, Dec 8, 2010 at 4:31 PM, Bauer, Bobby (NIH/CIT) [E] 
baue...@mail.nih.gov wrote:

 Still learning this stuff. Wish I could write it in Rexx, now that I know.

 Bobby Bauer
 Center for Information Technology
 National Institutes of Health
 Bethesda, MD 20892-5628
 301-594-7474



 -Original Message-
 From: Shane [mailto:ibm-m...@tpg.com.au]
 Sent: Wednesday, December 08, 2010 6:26 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: Need a little help with a Linux script

 awk (particularly GNU awk) is as flexible as your would generally
 require. If you use it's capabilities you could save a lot of
 seemingly redundant re-processing of the data.
 I might be inclined to feed the mpstat straight into the read loop and
 mangle it all with one awk call (per line). No grep, cut - even the
 echo could probably go if you get a little creative.

 Each to their own.

 Shane ...

 On Wed, 8 Dec 2010 17:21:53 -0500
 Bauer, Bobby wrote:

  Thanks but since I'm not familiar with perl I'll stick with awk. I'll
  look at skipping the grep stage.

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


Re: Need a little help with a Linux script

2010-12-08 Thread Scott Rohling
I still code Rexx almost daily on z/VM, but have tried to use bash scripts
on Linux, with the occasional call to awk and perl.  There are a few reasons
for this - but it's mostly because I want/need to write code that can run on
any Linux system, without requiring an extra package that most probably
don't have installed.

There are too many great things about Rexx for me to ever give it up.  I
exploit the flexible array structures shamelessly and love the parse
command.  It's hard to beat for readability IMHO.  I'll probably never be
able to code things as quickly with other languages as I can with Rexx - but
that's probably understandable after 25 years of almost daily use.

Scott Rohling

On Wed, Dec 8, 2010 at 7:27 PM, John McKown joa...@swbell.net wrote:

 On Wed, 2010-12-08 at 17:13 -0700, Scott Rohling wrote:
  You can..  Regina Rexx is available on SLES/RH distros or downloadable
 from
  the web..   IBM OORexx is open source and available as well.
 
  I've weaned myself off of it on Linux for the most part - but when I
 first
  became a penguin trainer, using it let me be immediately productive.
 
  Scott Rohling
 

 Why go away from it? Due to lack of interest in the general community?
 Granted, awk / perl / python / ruby (not necessarily in that order)
 would be more understandable to more UNIX script writers.

 --
 John McKown
 Maranatha! 

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


Re: Memory Allocation

2010-12-02 Thread Scott Rohling
I would ask why you don't allocate it all?   Say 14G of cstor and 2G of
xstor?Are you planning for a 2nd z/VM LPAR?

6GB would likely be very sufficient for z/VM and a single Linux DB2 Conn
Server guest.   I'll venture that much if it helps :-)   And probably
without even paging..   What it mostly depends on is the virtual memory size
of your guests.   As long as you have sufficient paging space - you can
overcommit your memory.   2 or 3:1 is likely as far as you want to go unless
you're willing to suffer performance degradation.   That is - if you have 3
Linux guests using 4G of memory each -- you would be overcommited  at a 2:1
(V:R) ratio.   It also means that since you are overcommitted by 6GB -
you'll want 12GB of paging space  (6 3390-3).   You want to have twice as
much paging space because you want paging to stay at 50% or less.The
paging requirements are based on 'worst case', though -- meaning that all 3
guests are using ALL of their memory and are all actively paging.

Scott Rohling

On Thu, Dec 2, 2010 at 7:45 AM, Dazzo, Matt mda...@pch.com wrote:

 We are entering the world of zvm/linux with a z10bc-2098 n04 and 16gb total
 memory. I am trying to decided what to allocate to zvm/linux as a starting
 point. Our initial thoughts and a recommendation from our VAR was 6gb. The
 first application will be DB2 Conn Server and not sure what's after that.
 I'd like to find out how much memory other shops have allocated and what
 applications they support. Is our initial 6gb a decent starting point? I
 know the IBM standard answer 'it depends' but I am looking for some clarity
 and guide lines.

 Thanks
 Matt

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


Re: Red Hat Enterprise Linux 6 - installing problems

2010-11-30 Thread Scott Rohling
I was going to say - try LCS..  not sure if RHEL6 supports it - but have
RHEL5.4 running under Herc with LCS...  hopefully support wasn't dropped!

Scott Rohling

On Tue, Nov 30, 2010 at 3:35 PM, Bern VK2KAD vk2...@hotmail.com wrote:

 Thanks for the feedback - that seems to kill off Hercules as a platform -
 unless there is some other way.(Any ideas ??)

 Could be a bit tricky creating a DASD with the images and packages folders.
 don't have FC SCSI or CD/DVD ROM so that is ruled out - and NFS is also a
 nogo :(


 I'm not sure whether I should try LCS as the virtual OSA - does RHEL6
 support LCS??

 --
 From: Karsten Hopp kars...@redhat.com
 Sent: Wednesday, December 01, 2010 9:59 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: Red Hat Enterprise Linux 6 - installing problems


  Am 30.11.2010 05:47, schrieb Bern VK2KAD:

 Hi all

 Me again, I have made some progress and have hit another blockage.

 I wasn't having any luck with Hercules under Windows XP so I chose
 another
 path.
 I am now running on Ubuntu8.10 with Herc 3.07.

 I can successfully IPL from the generic.ins file and the installer
 starts.

 I get to the SSH login and successfully get a session with
 inst...@10.0.15.3 - much progress ;)

 Next comes anaconda and here is where I am stuck. I want to install via
 ftp - I am following the RHEL6 Installation Manual - unfortunately it
 doesn't quite match what anaconda is throwing at me. Possibly a
 documentation mismatch??


 At the Installation Method dialog box I select URL - next I get a No
 driver found dialog to which I select Select driver

 Next dialog is a combo box Select Device Driver to Load - I cannot get
 any
 of the options to throw anything other than returning me to the No
 Driver
 Found dialog again.

 The obvious choices for Networking are the last 3 - but alas they all
 behave
 in the same way.
 There is a Specify option module arguments input but I don't have a
 clue
 what is needed.

 Any help would be greatly appreciated.

 B.


 Select Device Driver to Load rings a bell, I've stumbled over that
 during the F-14
 development, too.
 Bad news for you is that CTC isn't supported anymore as a installation
 device in RHEL6,
 I've added support for point-to-point devices back in Fedora-14.

   Karsten

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


Re: Silly quesiton on PuTTY

2010-11-04 Thread Scott Rohling
Can you show the rexx code?  Hard to guess without knowing how the lines are
created...

Scott Rohling

On Thu, Nov 4, 2010 at 6:54 AM, Mark Pace pacemainl...@gmail.com wrote:

 I've been noticing this behavior out of putty for sometime but until now it
 hasn't really effected me.  Now I'm try to format some output on the screen
 and it's messing me up.  Here is a small sample.
 Notice that if you use a character in every position they all show up in
 the
 correct space, but it appears that some places, if there is a space, it
 works as a tab.

 Hmm - thought I would take it a step further and do the same with a C
 program.  It formatted correctly,  so it seems to be a rexx/regina issue.
  Does anyone know if there is some sort of setting within regina to control
 this behavior?


 sles001:~ ./test.rxx
 +1+2+3
 col1
  col2
  col3
   col4
col5
 col6

 marp...@sles001:~ bin/test
 +1+2+3
 col1
  col2
  col3
   col4
col5
 col6



 --
 Mark D Pace
 Senior Systems Engineer
 Mainline Information Systems

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


Re: Silly quesiton on PuTTY

2010-11-04 Thread Scott Rohling
you could also do something like this:
/* */
Do i = 1 to 10
  out = 'col'i
  Say right(out,length(out)+i-1)
End

Which doesn't depend on typing spaces,   And shows that it is probably the
editor rather than rexx.

Scott Rohling

On Thu, Nov 4, 2010 at 7:59 AM, Mark Pace pacemainl...@gmail.com wrote:

 So I noticed another difference in the source files.   In the rexx code,
 the
 say begins in cc1 and the literal is in cc4,  in the C code the printf
 begins in cc2 and the literal begins in cc10.   So I tried moving my SAY
 statements over one cc at a time.  Once I got the literal beginning in cc8
 -
 the tabs went away.  So the is inserting tabs for some other language
 formatting.

 On Thu, Nov 4, 2010 at 9:51 AM, Mark Pace pacemainl...@gmail.com wrote:

  Yes, there are \t in the source.  The question is, How did they get
 there?
 
  Is it the editor?
  Well that's easy enough to test.  The file was created with the  so I
  modified the file using vi. delete the tabs, and insert spaces.
  Now when I run it, it displays properly.  So maybe it's the,  except
 that
  I also used the to create the test.c program and it does not have the
 same
  problems.
 
 
  On Thu, Nov 4, 2010 at 9:43 AM, Edmund R. MacKenty 
  ed.macke...@rocketsoftware.com wrote:
 
  On Thursday, November 04, 2010 09:25:14 am you wrote:
   #! /usr/bin/rexx
   /* */
   say'+1+2+3'
   say'col1'
   say' col2'
   say'  col3'
   say'   col4'
   say'col5'
   say' col6'
   exit
 
  You sure your editor isn't inserting TAB characters when you type
 spaces?
  Some try to be smart about indentation.  A simple way to find out:
 
 od -c test.rxx
 
  If you see any \t sequences in the output, then you know the TABs are
 in
  the
  source code.
 - MacK.
  -
  Edmund R. MacKenty
  Software Architect
  Rocket Software
  275 Grove Street  -  Newton, MA 02466-2272  -  USA
  Tel: +1.617.614.4321
  Email: m...@rs.com
  Web: www.rocketsoftware.com
 
  --
  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/
 
 
 
 
  --
  Mark D Pace
  Senior Systems Engineer
  Mainline Information Systems
 
 
 
 
 


 --
 Mark D Pace
 Senior Systems Engineer
 Mainline Information Systems

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


Re: HCPGIR450W and HCPGIR453W after editing user direct

2010-11-04 Thread Scott Rohling
An IPL of an OS in a virtual guest is not the same as 'destroying and
recreating' the virtual environment the OS is running in.
If you use a desktop virtualization solution (I use VirtualBox) -- it's much
the same - there are certain changes to the virtual machine definition that
require you to stop the virtual machine and start it again.   (or you can't
change the definition unless the virtual machine is stopped, unlike z/VM,
where you can always change the guest directory definition running or not -
but you may need to stop it and restart it to see those changes).

Scott Rohling

On Thu, Nov 4, 2010 at 8:51 PM, Shane ibm-m...@tpg.com.au wrote:

 Alan, for those of us that stumbled from the real (FSVO real) world
 into the rabbit hole that is z/VM, are admonishments such as this
 inscribed in stone anywhere ?.
 Where I came from IPL clears up everything - this is not something I
 would have inherently expected. I can (now) see the logic, but it ain't
 in your face obvious.

 Shane ...

 On Thu, 4 Nov 2010 20:56:53 -0400
 Alan Altmark wrote:

  ... you will want to LOGOFF the guest and LOGON again to pick up
  the directory changes.  IPL of a guest is not sufficient to pick up a
  directory change.

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


Re: zVM updated, VLAN dead

2010-10-22 Thread Scott Rohling
Did your SYSTEM CONFIG remain exactly the same?   Did you do MODIFY VSWITCH
in SYSTEM CONFIG to grant access?   Did AUTOLOG1/2 remain exactly the same -
did you perhaps issue SET VSWITCH GRANT there?

Scott Rohling

On Fri, Oct 22, 2010 at 6:59 AM, Mauro Souza thoriu...@gmail.com wrote:

 Hi Folks!

 I have a very strange problem on a client here. We had a zVM 5.4 running
 flawlessly, with vswitch and vlan tagging.
 Yesterday we updated zVM to 6.1. Even this being a big change, it was the
 only change we did. We had a gateway machine, lnxadm, with a eth0 coupled
 to
 a vswitch (VADM) on VLAN 812. If we try to ping the gateway, we get an
 Destination Host Unreachable.

 We have other linuxes on the same environmente, and we can ssh to any of
 them, without any problem.

 This is our environment:

 CP Q NIC DET
 Adapter 0700.P00 Type: QDIO  Name: UNASSIGNED  Devices: 3
  MAC: 02-00-00-00-00-04 VSWITCH: SYSTEM VADM
  RX Packets: 5  Discarded: 0  Errors: 0
  TX Packets: 39 Discarded: 18 Errors: 0
  RX Bytes: 320  TX Bytes: 2226
  Connection Name: HALLOLE   State: Session Established
  Device: 0700  Unit: 000   Role: CTL-READ
  Device: 0701  Unit: 001   Role: CTL-WRITE
  Device: 0702  Unit: 002   Role: DATA   vPort: 0081  Index: 0081
  VLAN: 0812
  Options: Ethernet Broadcast
Unicast MAC Addresses:
  02-00-00-00-00-04
Multicast MAC Addresses:
  01-00-5E-00-00-01
  33-33-00-00-00-01
  33-33-FF-00-00-04


 ifconfig eth0
 eth0  Link encap:Ethernet  HWaddr 02:00:00:00:00:04
  inet addr:10.9.49.15  Bcast:10.9.49.255  Mask:255.255.255.0
  inet6 addr: fe80::ff:fe00:4/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:3258 (3.1 KiB)


 cat /etc/sysconfig/network-scripts/ifcfg-eth0
 # IBM QETH
 DEVICE=eth0
 ARP=yes
 OPTIONS=layer2=1
 BOOTPROTO=none
 IPADDR=10.9.49.15
 NETMASK=255.255.255.0
 NETTYPE=qeth
 ONBOOT=yes
 SUBCHANNELS=0.0.0700,0.0.0701,0.0.0702
 TYPE=Ethernet
 USERCTL=no
 IPV6INIT=no
 PEERDNS=yes



 CP Q LAN VADM DET
 VSWITCH SYSTEM VADM Type: VSWITCH Connected: 14   Maxconn: INFINITE
  PERSISTENT  RESTRICTEDETHERNET  Accounting: OFF
  VLAN Aware  Default VLAN: 0812Default Porttype: Trunk   GVRP: Enabled
  Native  VLAN: 0001VLAN Counters: OFF
  MAC address: 02-00-00-00-00-01
  State: Ready
  IPTimeout: 5 QueueStorage: 8
  Isolation Status: OFF
  RDEV: 8003.P00 VDEV: 8003 Controller: DTCVSW1
  RDEV: 8006.P00 VDEV: 8006 Controller: DTCVSW2  BACKUP
  Adapter Connections:
Adapter Owner: LNXADM   NIC: 0700.P00 Name: UNASSIGNED
  Porttype: Trunk
  RX Packets: 5  Discarded: 0  Errors: 0
  TX Packets: 39 Discarded: 18 Errors: 0
  RX Bytes: 320  TX Bytes: 2226
  Device: 0702  Unit: 002   Role: DATA   vPort: 0081  Index: 0081
  VLAN: 0812
  Options: Ethernet Broadcast
Unicast MAC Addresses:
   02-00-00-00-00-04
 Multicast MAC Addresses:
   01-00-5E-00-00-01
   33-33-00-00-00-01
   33-33-FF-00-00-04



 CP Q VSWITCH VADM DET
 VSWITCH SYSTEM VADM Type: VSWITCH Connected: 14   Maxconn: INFINITE
  PERSISTENT  RESTRICTEDETHERNET  Accounting: OFF
  VLAN Aware  Default VLAN: 0812Default Porttype: Trunk   GVRP: Enabled
  Native  VLAN: 0001VLAN Counters: OFF
  MAC address: 02-00-00-00-00-01
  State: Ready
  IPTimeout: 5 QueueStorage: 8
  Isolation Status: OFF
  RDEV: 8003.P00 VDEV: 8003 Controller: DTCVSW1
VSWITCH Connection:
  RX Packets: 1058558Discarded: 2642   Errors: 0
  TX Packets: 830546 Discarded: 0  Errors: 0
  RX Bytes: 477088169TX Bytes: 264909169
  Device: 8003  Unit: 000   Role: DATA   vPort: 0001  Index: 0001
Unicast IP Addresses:
  10.9.49.1MAC: 00-04-23-AD-42-1A Remote
  RDEV: 8006.P00 VDEV: 8006 Controller: DTCVSW2  BACKUP
  Adapter Connections:
Adapter Owner: LNXADM   NIC: 0700.P00 Name: UNASSIGNED
  Porttype: Trunk
 RX Packets: 5  Discarded: 0  Errors: 0
 TX Packets: 39 Discarded: 18 Errors: 0
 RX Bytes: 320  TX Bytes: 2226
 Device: 0702  Unit: 002   Role: DATA   vPort: 0081  Index: 0081
 VLAN: 0812
 Options: Ethernet Broadcast
   Unicast MAC Addresses:
 02-00-00-00-00-04
   Multicast MAC Addresses:
 01-00-5E-00-00-01
 33-33-00-00-00-01
 33-33-FF-00-00-04


 CP Q VSWITCH VADM ACC
 VSWITCH SYSTEM VADM Type: VSWITCH Connected: 14   Maxconn: INFINITE
  PERSISTENT  RESTRICTEDETHERNET

Re: mon_fsstatd - filesystem monitor records

2010-10-22 Thread Scott Rohling
Thanks, Berry and Bruce!

The FINIS * * A with the delay looks like the simplest way to get the file
closed so I can read it from another user...  I'm essentially filtering for
the LNXAPPL records for the Linux monitoring records.  I'm particularly
interested in the mon_fsstatd records, but the others may be useful as
well..

Scott Rohling

On Fri, Oct 22, 2010 at 6:17 AM, Bruce Hayden bjhay...@gmail.com wrote:

 You can use 'diskslow' to write the records, but that might not be a
 good idea for all of the monitor data unless you are only writing the
 records you want and filtering out the rest.  The other thing you
 should do is set up a delay stage and issue a FINIS every so often (10
 secs, 30 secs, whatever you need.)  Such as:
 '? literal +30',
 '| dup *',
 '| delay',
 '| spec /FINIS * * A/ 1',
 '| command'

 On Thu, Oct 21, 2010 at 7:45 PM, Scott Rohling scott.rohl...@gmail.com
 wrote:
  One thing - I don't seem to actually see the output file on disk until I
  stop the PIPE..   is there a way to run pipe starmon and have it output
  records to disk as they are received?When I LINK to the disk from
  another userid - I don't see a file at all until I 'hx' out of the pipe.
 
  Scott Rohling
 


 --
 Bruce Hayden
 z/VM and Linux on System z ATS
 IBM, Endicott, NY

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


mon_fsstatd - filesystem monitor records

2010-10-21 Thread Scott Rohling
I am trying to use the mon_fsstatd driver (s390-tools) to generate monitor
records with Linux fileystem stats.   The guest has OPTION APPLMON and
ability to write monitor records.

Records 'do' seem to be generated - but it seems like it's only for a single
filesystem (/dev/dasdd1, which happens to be the last listed if you do a df
-h).   According to the device drivers manual -- a record should be
generated for each physical mounted filesystem.   I'm only seeing one.

As an aside - I am viewing the records on z/VM by linking to MONWRITE 191
and using some creative PIPEing to translate the ascii fields to ebcdic,
etc...   Basically getting all records with 'LNXAPPL' in ascii and parsing
them.   So pretty sure I'm not missing records that are being written for
APPLDATA ...

Has anyone else used this driver and gotten different/better results?

(I'm running this on RHEL54 under z/VM 5.4)

Scott Rohling

--
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: mon_fsstatd - filesystem monitor records

2010-10-21 Thread Scott Rohling
Hi Berry -   Thanks very much for your reply - you're right - I was being
too simplistic in plumbing the MONWRITE data.  I used MONVIEW and quickly
did an XLATE A2E against the output - I can now see dasda1, etc in the
output.  So I obviously need to parse the MONWRITE data correctly.   I'll
poke around the MONVIEW stuff to figure it out.

Thanks again!

Scott Rohling

On Thu, Oct 21, 2010 at 12:28 PM, Berry van Sleeuwen 
berry.vansleeu...@xs4all.nl wrote:

 Hi scott,

 We do see records for every mounted filesystem. Both on SLES10 SP2 and
 SLES11 SP1. Indeed, have option APPLMON for the guest and start
 mon_fsstatd. Actually we have APPLDATA, mon_fsstatd and mon_procd running.

 We run two machines on the CP MONITOR running custom plumbing. The first
 only writes selected recordtypes to disk (such as Dom. 10 Rec. 2). The
 second CMS machine monitors the filesystem records and creates incidents
 based on certain thresholds on filesystem usage.

 We don't run the IBM MONWRITE. First of all we'd like to write only
 those records we are interested in. And second, MONWRITE writes the file
 into fixed 4096 records instead of one record for each monitor record.

 Do you know for sure your plumbing does indeed get the records the
 correct way? Have you tried the MONVIEW package from the IBM VM packages?

 Regards, Berry.


 Op 21-10-10 17:16, Scott Rohling schreef:
  I am trying to use the mon_fsstatd driver (s390-tools) to generate
 monitor
  records with Linux fileystem stats.   The guest has OPTION APPLMON and
  ability to write monitor records.
 
  Records 'do' seem to be generated - but it seems like it's only for a
 single
  filesystem (/dev/dasdd1, which happens to be the last listed if you do a
 df
  -h).   According to the device drivers manual -- a record should be
  generated for each physical mounted filesystem.   I'm only seeing one.
 
  As an aside - I am viewing the records on z/VM by linking to MONWRITE 191
  and using some creative PIPEing to translate the ascii fields to ebcdic,
  etc...   Basically getting all records with 'LNXAPPL' in ascii and
 parsing
  them.   So pretty sure I'm not missing records that are being written for
  APPLDATA ...
 
  Has anyone else used this driver and gotten different/better results?
 
  (I'm running this on RHEL54 under z/VM 5.4)
 
  Scott Rohling
 
  --
  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/


Re: mon_fsstatd - filesystem monitor records

2010-10-21 Thread Scott Rohling
Nice idea!   We aren't shipping our monwrite data anywhere, so I'll give
this a try for awhile.   Thanks again, Berry -

Scott Rohling

On Thu, Oct 21, 2010 at 1:13 PM, Berry van Sleeuwen 
berry.vansleeu...@xs4all.nl wrote:

 The most easiest:

 PIPE STARMON |  monwrite file a, that way you will write one record
 to disk for each record in CP MONITOR. In this case you won't have to
 figure out how to parse the records or to process them afterwards with
 MONVIEW. Just connect a test CMS machine to MONITOR if you can't use
 MONWRITE for this.

 Regards, Berry.

 Op 21-10-10 21:04, Scott Rohling schreef:
  Hi Berry -   Thanks very much for your reply - you're right - I was being
  too simplistic in plumbing the MONWRITE data.  I used MONVIEW and quickly
  did an XLATE A2E against the output - I can now see dasda1, etc in the
  output.  So I obviously need to parse the MONWRITE data correctly.   I'll
  poke around the MONVIEW stuff to figure it out.
 
  Thanks again!
 
  Scott Rohling
 
  On Thu, Oct 21, 2010 at 12:28 PM, Berry van Sleeuwen 
  berry.vansleeu...@xs4all.nl wrote:
 
 
  Hi scott,
 
  We do see records for every mounted filesystem. Both on SLES10 SP2 and
  SLES11 SP1. Indeed, have option APPLMON for the guest and start
  mon_fsstatd. Actually we have APPLDATA, mon_fsstatd and mon_procd
 running.
 
  We run two machines on the CP MONITOR running custom plumbing. The first
  only writes selected recordtypes to disk (such as Dom. 10 Rec. 2). The
  second CMS machine monitors the filesystem records and creates incidents
  based on certain thresholds on filesystem usage.
 
  We don't run the IBM MONWRITE. First of all we'd like to write only
  those records we are interested in. And second, MONWRITE writes the file
  into fixed 4096 records instead of one record for each monitor record.
 
  Do you know for sure your plumbing does indeed get the records the
  correct way? Have you tried the MONVIEW package from the IBM VM
 packages?
 
  Regards, Berry.
 
 
  Op 21-10-10 17:16, Scott Rohling schreef:
 
  I am trying to use the mon_fsstatd driver (s390-tools) to generate
 
  monitor
 
  records with Linux fileystem stats.   The guest has OPTION APPLMON and
  ability to write monitor records.
 
  Records 'do' seem to be generated - but it seems like it's only for a
 
  single
 
  filesystem (/dev/dasdd1, which happens to be the last listed if you do
 a
 
  df
 
  -h).   According to the device drivers manual -- a record should be
  generated for each physical mounted filesystem.   I'm only seeing one.
 
  As an aside - I am viewing the records on z/VM by linking to MONWRITE
 191
  and using some creative PIPEing to translate the ascii fields to
 ebcdic,
  etc...   Basically getting all records with 'LNXAPPL' in ascii and
 
  parsing
 
  them.   So pretty sure I'm not missing records that are being written
 for
  APPLDATA ...
 
  Has anyone else used this driver and gotten different/better results?
 
  (I'm running this on RHEL54 under z/VM 5.4)
 
  Scott Rohling
 
  --
  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/
 
 

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

Re: mon_fsstatd - filesystem monitor records

2010-10-21 Thread Scott Rohling
One thing - I don't seem to actually see the output file on disk until I
stop the PIPE..   is there a way to run pipe starmon and have it output
records to disk as they are received?When I LINK to the disk from
another userid - I don't see a file at all until I 'hx' out of the pipe.

Scott Rohling

On Thu, Oct 21, 2010 at 1:13 PM, Berry van Sleeuwen 
berry.vansleeu...@xs4all.nl wrote:

 The most easiest:

 PIPE STARMON |  monwrite file a, that way you will write one record
 to disk for each record in CP MONITOR. In this case you won't have to
 figure out how to parse the records or to process them afterwards with
 MONVIEW. Just connect a test CMS machine to MONITOR if you can't use
 MONWRITE for this.

 Regards, Berry.

 Op 21-10-10 21:04, Scott Rohling schreef:
  Hi Berry -   Thanks very much for your reply - you're right - I was being
  too simplistic in plumbing the MONWRITE data.  I used MONVIEW and quickly
  did an XLATE A2E against the output - I can now see dasda1, etc in the
  output.  So I obviously need to parse the MONWRITE data correctly.   I'll
  poke around the MONVIEW stuff to figure it out.
 
  Thanks again!
 
  Scott Rohling
 
  On Thu, Oct 21, 2010 at 12:28 PM, Berry van Sleeuwen 
  berry.vansleeu...@xs4all.nl wrote:
 
 
  Hi scott,
 
  We do see records for every mounted filesystem. Both on SLES10 SP2 and
  SLES11 SP1. Indeed, have option APPLMON for the guest and start
  mon_fsstatd. Actually we have APPLDATA, mon_fsstatd and mon_procd
 running.
 
  We run two machines on the CP MONITOR running custom plumbing. The first
  only writes selected recordtypes to disk (such as Dom. 10 Rec. 2). The
  second CMS machine monitors the filesystem records and creates incidents
  based on certain thresholds on filesystem usage.
 
  We don't run the IBM MONWRITE. First of all we'd like to write only
  those records we are interested in. And second, MONWRITE writes the file
  into fixed 4096 records instead of one record for each monitor record.
 
  Do you know for sure your plumbing does indeed get the records the
  correct way? Have you tried the MONVIEW package from the IBM VM
 packages?
 
  Regards, Berry.
 
 
  Op 21-10-10 17:16, Scott Rohling schreef:
 
  I am trying to use the mon_fsstatd driver (s390-tools) to generate
 
  monitor
 
  records with Linux fileystem stats.   The guest has OPTION APPLMON and
  ability to write monitor records.
 
  Records 'do' seem to be generated - but it seems like it's only for a
 
  single
 
  filesystem (/dev/dasdd1, which happens to be the last listed if you do
 a
 
  df
 
  -h).   According to the device drivers manual -- a record should be
  generated for each physical mounted filesystem.   I'm only seeing one.
 
  As an aside - I am viewing the records on z/VM by linking to MONWRITE
 191
  and using some creative PIPEing to translate the ascii fields to
 ebcdic,
  etc...   Basically getting all records with 'LNXAPPL' in ascii and
 
  parsing
 
  them.   So pretty sure I'm not missing records that are being written
 for
  APPLDATA ...
 
  Has anyone else used this driver and gotten different/better results?
 
  (I'm running this on RHEL54 under z/VM 5.4)
 
  Scott Rohling
 
  --
  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/
 
 

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

Re: SLES 11 - Create LVM at Install?

2010-10-18 Thread Scott Rohling
From my notes --   go to expert partitioner (select Custom Partitioning).
First create partitions for /boot and /.   Then create partitions you will
use for your volume group -- but do not mount and do not format!  Then
select 'Volume Management' and create a volume group, using the DASD you
prepared.   You can then create logical volumes you assign to the various
mount points you want (/var, /usr, etc)

Hope this helps

Scott Rohling

On Mon, Oct 18, 2010 at 9:23 AM, David Stuart david.stu...@ventura.orgwrote:

 Morning all,

 I am performing a new install of SLES 11, and I am trying to follow a post
 from Most Post from Nov 2009, with a recommended layout.  Except for /boot
 and /, all the other directories are on a LVM volume group.  But I can't
 seem to figure out how to create a LVM VG at install time.  I have a 3390-3
 dedicated to /usr, and the YAST installer is telling me it's not large
 enough...

 What am I missing?


 Thanks,
 Dave




 Dave Stuart
 Prin. Info. Systems Support Analyst
 County of Ventura, CA
 805-662-6731
 david.stu...@ventura.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/


Re: RPM question

2010-10-14 Thread Scott Rohling
I believe you will have a variable $1 that will be equal to '2' in the %pre
routine if doing an upgrade --  and 1 in the %postun.

Found the table below at:
http://fedoraproject.org/wiki/Packaging/ScriptletSnippets

install upgrade uninstall   %pretrans $1 == 0 $1 == 0 (N/A)   %pre $1 == 1 $1
== 2 (N/A)   %post $1 == 1 $1 == 2 (N/A)   %preun (N/A) $1 == 1 $1 ==
0   %postun
(N/A) $1 == 1 $1 == 0   %posttrans $1 == 0 $1 == 0 (N/A)

The table headings are off by one - can't seem to cut and paste it
correctly..  the 2nd column is the install value, the 3rd the upgrade, the
last the uninstall...

Hope this helps -

Scott Rohling


On Thu, Oct 14, 2010 at 9:34 AM, Neale Ferguson ne...@sinenomine.netwrote:

 I have built an RPM that during installation needs to add an entry to
 /etc/passwd and /etc/group. This is easy to do using the %pre section:

 %pre
 egrep -q ^njeanon /etc/group; \
 if [ $? != 0  ]; then   \
groupadd nje 2/dev/null;   \
groupadd njeanon 2/dev/null;   \
useradd njeanon -g njeanon; \
 fi

 Similarly, when the RPM is being uninstalled I need to get rid of those
 entries. Again, easily done with %postun:

 %postun
 rm -rf %{nobodyhome}
 userdel njeanon 2/dev/null
 groupdel njeanon 2/dev/null
 groupdel nje 2/dev/null

 However, if I am upgrading using -Uhv then I get the %pre and %postun
 sections run as part of the upgrade. This means that the work done in %pre
 gets undone by %postun. If I was simply doing a rpm --erase I would be
 satisfied but doing -U then this is not what I want.

 So my question is, how do I prevent -Uhv undoing the %pre work (to be
 pedantique if it's doing an upgrade then the groupadds aren't issued
 because
 the check tells me the entries are already there).

 Neale

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


Re: vmpoff and vmhalt

2010-09-14 Thread Scott Rohling
Have some ideas that might be an alternative - but it depends on what your
REXX script will do when it knows a server is logged off.. what's the real
end objective?

Scott Rohling

On Tue, Sep 14, 2010 at 7:46 AM, Offer Baruch offerbar...@gmail.com wrote:

 I am not tring to alert the operator. I am trying to alert a rexx. I want
 to
 wake up when the message arrives. SMSG looks like an easy way to do that.

 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Rich
 Smrcina
 Sent: Tuesday, September 14, 2010 2:06 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: vmpoff and vmhalt

   If you use the signal support, the virtual machine will log off
 automatically when it is told to shut down.  The operator will then get the
 standard CP message that the machine is logged off.

 On 09/14/2010 06:54 AM, Offer Baruch wrote:
  Hi,
 
 
 
  I am currently using vmpoff and vmhalt at my zipl.conf to issue LOGOFF
  at shutdown.
 
  I would like to issue more than one command on shutdown. something
  like vmpoff=CP SMSG MAINT I AM DOWN#CP LOGOFF
 
  The result is an smsg message send to maint looking like this  I AM
  DOWN#CP LOGOFF. Obviously the second command is not issued because it
  is considered part of the message.
 
  Any idea on how to do this right?
 
 
 
  Thanks!
 
  Offer Baruch


 --
 Rich Smrcina
 Velocity Software, Inc.
 Mobile: 414-491-6001
 Office: 262-392-3717
 http://www.velocitysoftware.com

 Catch the WAVV! http://www.wavv.org
 WAVV 2011 - April 15-19, 2011 Colorado Springs, CO

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


Re: managing rhel disk space

2010-09-13 Thread Scott Rohling
Yep -- your answer is LVM ...  for the Linux OS directories - I typically
recommend:

-  Keep root as a single partition on a minidisk (not LVM) on it's own
filesystem.   /boot should stay in this partition or have one of it's own.
-  Create a 'system' volume group with one or more minidisks (1 to end -
don't mess around with smaller ones unless you're using 3390-27 or bigger)
-  Create logical volumes (I just name them the same as the mount point -
var,tmp,usr, etc)  for each mount point you want separated:  /var, /tmp,
/opt, /usr, /home and give them the space 'required'.   mkfs a file
system on each logical volume and indicate they should be mounted in
/etc/fstab   (e.g./dev/system/usr/usr ext3 defaults  1 1)

When more space is needed - just add another minidisk to the system volume
group - divide up the new space to the logical volumes that need it --
resize the filesystems - done.

For application data, database, etc -- make a different volume group (e.g.
appdata) and 1 or more logical volumes within that --  then you can expand
them the same same way.

Scott Rohling

On Mon, Sep 13, 2010 at 1:23 PM, RPN01 nix.rob...@mayo.edu wrote:

 In your case it might require a time machine, but we've used LVM for this
 type of thing. You put the amount of space there you need, rather than way
 over-allocating space. Then in situations like this, you add the needed
 space, and create the mount points they need. Also, down the road, when
 they
 discover that they really should have asked for double that amount, you
 just
 add the space to the volume group, give it to the logical volume, and
 extend
 the filesystem. It really works as advertised.

 --
 Robert P. Nix  Mayo Foundation.~.
 RO-OC-1-18 200 First Street SW/V\
 507-284-0844   Rochester, MN 55905   /( )\
 -^^-^^
 In theory, theory and practice are the same, but
  in practice, theory and practice are different.



 On 9/13/10 2:10 PM, Donald Russell russell@gmail.com wrote:

  I have a RHEL 5.5 system running on zVM 5.4...
 
  I've recently received a request to add two more file systems of 1 GB and
  2GB and mount them at /var/something-something and
 /opt/something-something
 
  There is already enough free space in those directories to accommodate
 their
  request, so I just created the directories for them.
 
  However, they're insisting they be separate file systems so they can't
  accidentally exceed the expected max usage.
 
  So, my question is... do I have to attach new minidisks or LUNs(?) of the
  appropriate sizes or can quotas set a cap on the amount of space a
 directory
  can use? I know I can set individual user quotas, but I've a feeling
 there's
  more than one user of this space.
 
  What do other people do in these situations? Adding MDISKs or LUNs sounds
  extreme to me...
 
  I was looking at the mkfs command, but that seems to require
  unused/allocated part of an existing partition all non-cms disk space
  that's attached to the VM id is allocated to Linux. Can I reduce the size
 of
  a logical volume, then create a new filesystem from that freed space?
 
  Thanks
 
  --
  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/


Re: Which directories on which device?

2010-08-11 Thread Scott Rohling
vgdisplay -v   should show you which /dev/dasd devices make up the volume
group ..   lvdisplay -v also I believe.. I wrote a 'showdasd' command
long ago that showed how all the dasd attached to Linux was being used ..
part of an lvm, mounted directly, not used, etc.

Scott Rohling

On Wed, Aug 11, 2010 at 10:27 AM, Donald Russell russell@gmail.comwrote:

 df seems to work for devices that aren't part of a logical volume group.

 df shows me that /dev/dasda1 is /boot
 but all the others are showing me things like:
 /dev/mapper/log--vg-log
 211585400 117381016  83456480  59% /db2log

 I've been trying lvdisplay, pvdisplay, vgdisplay etc, but I'm not finding
 how to map that back to the /dev/sd?? disk...

 I think once I get this, I'll write a script to answer the eternal
 questions?
 Which disk is file/directory x on? and Which real disk is /dev/x?

 Thanks



 On Wed, Aug 11, 2010 at 09:00, Mark Pace pacemainl...@gmail.com wrote:

  df   should be what you are looking for.
 
  On Wed, Aug 11, 2010 at 11:49 AM, Donald Russell russell@gmail.com
  wrote:
 
   If I have a device, /dev/sda or /dev/hda how do I determine which
   filesystem
   or directories are on that disk?
 

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


Re: Full volume restore of an LVM DASD

2010-08-06 Thread Scott Rohling
As long as all of the right uuid/lvm identifiers are found on any online
disks - LVM doesn't care about device addresses.   You just want to make
sure those addresses are available and brought online by Linux when it comes
up (and that you have no devices online that have duplicate uuid/lvm info on
them!)

Scott Rohling

On Fri, Aug 6, 2010 at 7:24 AM, Dean, David (I/S) david_d...@bcbst.comwrote:

 We do this and do not have an issue.  When we restore an lvm DASD it drops
 right back into place.  I thought it went by the formatted volume name, not
 the real dev name.

 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 Lester, Doug
 Sent: Thursday, August 05, 2010 4:31 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Full volume restore of an LVM DASD

 We do full volume backups via HSM. In the case of a DASD hardware
 failure, I would like to be able to restore to a new volume and make the
 necessary changes for Linux to recognize the new volume. This does not
 appear to be a problem unless the new DASD is part of LVM. Perhaps
 someone can give me some guidance using the following scenario. Please
 keep in mind; this is a SLES10 SP3 s390x LPAR installation.
 Unfortunately, we do not run Linux under z/VM.

 Example: If device 2912 has a hardware failure, I can restore to another
 volume (say, 372f). I would also restore the other 2 volumes to the
 original devices to remain in sync, unless someone can offer a better
 suggestion.

 How do I get Linux/LVM to recognize 372f instead of 2912?

 Configuration:
 --
 0.0.2911(ECKD) at ( 94: 0) is dasda   (/)
 0.0.2912(ECKD) at ( 94: 4) is dasdb   (LVM)
 0.0.2915(ECKD) at ( 94: 8) is dasdc   (LVM)

 FilesystemSize  Used Avail Use% Mounted on
 /dev/dasda1   6.8G  372M  6.1G   6% /
 udev  247M  112K  247M   1% /dev
 /dev/mapper/system--vg-home--lv
  496M   17M  454M   4% /home
 /dev/mapper/system--vg-opt--lv
  2.0G  603M  1.3G  32% /opt
 /dev/mapper/system--vg-srv--lv
  496M   32M  440M   7% /srv
 /dev/mapper/system--vg-tmp--lv
 1008M  492M  466M  52% /tmp
 /dev/mapper/system--vg-usr--lv
  4.0G  2.3G  1.6G  59% /usr
 /dev/mapper/system--vg-var--lv
 1008M  221M  737M  24% /var


 Doug Lester



 --
 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 see the following link for the BlueCross BlueShield of Tennessee
 E-mail disclaimer:  http://www.bcbst.com/email_disclaimer.shtm

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


Re: Full volume restore of an LVM DASD

2010-08-05 Thread Scott Rohling
Something like this?:

umount the filesystem(s) the LVM is being used by

vgchange -an vgname (deactivate the volume group)

chccwdev -d 2912  (deactivate 2912)

chccwdev -e 372f   (activate 372f)
pvscan
vgscan
vgchange -ay vgname (activate the volume group)

mount -a

Note - I've never tried this... these are just the steps I would think would
need to be taken.Also - to unmount things properly - you probably have
to do an 'init 1' -  that may be problematic, depending on terminal access.


Scott Rohling

On Thu, Aug 5, 2010 at 2:31 PM, Lester, Doug dles...@harryanddavid.comwrote:

 We do full volume backups via HSM. In the case of a DASD hardware
 failure, I would like to be able to restore to a new volume and make the
 necessary changes for Linux to recognize the new volume. This does not
 appear to be a problem unless the new DASD is part of LVM. Perhaps
 someone can give me some guidance using the following scenario. Please
 keep in mind; this is a SLES10 SP3 s390x LPAR installation.
 Unfortunately, we do not run Linux under z/VM.

 Example: If device 2912 has a hardware failure, I can restore to another
 volume (say, 372f). I would also restore the other 2 volumes to the
 original devices to remain in sync, unless someone can offer a better
 suggestion.

 How do I get Linux/LVM to recognize 372f instead of 2912?

 Configuration:
 --
 0.0.2911(ECKD) at ( 94: 0) is dasda   (/)
 0.0.2912(ECKD) at ( 94: 4) is dasdb   (LVM)
 0.0.2915(ECKD) at ( 94: 8) is dasdc   (LVM)

 FilesystemSize  Used Avail Use% Mounted on
 /dev/dasda1   6.8G  372M  6.1G   6% /
 udev  247M  112K  247M   1% /dev
 /dev/mapper/system--vg-home--lv
  496M   17M  454M   4% /home
 /dev/mapper/system--vg-opt--lv
  2.0G  603M  1.3G  32% /opt
 /dev/mapper/system--vg-srv--lv
  496M   32M  440M   7% /srv
 /dev/mapper/system--vg-tmp--lv
 1008M  492M  466M  52% /tmp
 /dev/mapper/system--vg-usr--lv
  4.0G  2.3G  1.6G  59% /usr
 /dev/mapper/system--vg-var--lv
 1008M  221M  737M  24% /var


 Doug Lester



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


Re: Extend Lun (using LVM)

2010-07-30 Thread Scott Rohling
Completely agree - just add another LUN - as you say - too much hassle and
risk to get into resizing existing ones unless there is a really compelling
reason.

Scott Rohling

On Fri, Jul 30, 2010 at 1:10 PM, Mark Post mp...@novell.com wrote:

  On 7/30/2010 at 07:59 AM, Rogério Soaresrogerio.soa...@gmail.com
 wrote:
  Hi Mark,
 
   I'm using Sles 10 SP3

 If the device you're trying to resize is multipathed, that isn't supported
 until SLES11.  If it is not multipathed, you should be able to:
 - partprobe
 - fdisk
 -- delete the partition table
 -- create a new partition table covering the whole disk
 - pvscan (May not be needed.)
 - pvresize

 You may need to use the --setphysicalvolumesize parameter on the pvresize
 command.  I didn't test any of this since I don't have administrative access
 to a storage array to play these kinds of games.

 Just as a side note, I really don't understand why people want to resize
 LUNs used in LVM instead of just adding another LUN.  Way too much hassle
 and risk for my taste.


 Mark Post

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


Re: Extend Lun (using LVM)

2010-07-28 Thread Scott Rohling
Have you tried pvresize/vgresize?   I haven't played with extending luns
myself...  These just sounded promising..

Scott Rohling

2010/7/28 Rogério Soares rogerio.soa...@gmail.com

 Hello again listeners,


I look on list history for this, but i find only information about
 extend lun without lvm...

  someone have some tips to do this? i do some tests, but cannot extend
 lun without remove the vg and recreate then using yast tool. :-( (just
 this way, linux see the new size)

  thanks for any help.

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


Re: IBM zEnterprise System announced???

2010-07-22 Thread Scott Rohling
it's a marketing thing.. we wouldn't understand   ;-)

Scott Rohling

On Thu, Jul 22, 2010 at 4:34 PM, Shane G ibm-m...@tpg.com.au wrote:

 Barton yanking Alans chain ...
 Where have I seen that before ?.

 Shane ...

 On Fri, Jul 23rd, 2010 at 5:26 AM, Barton Robinson wrote:

  Alan, are you trying to make this announcement so totally boring on
  purpose? Just business as usual? nothing really new and exciting?  Is
  there anything here you could make exciting and explain why someone
  would care?

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


Re: HCPCMM296E

2010-07-04 Thread Scott Rohling
My guess is that you are trying to flash to a minidisk for which the
previous flashcopy has not yet physically completed.   You need to wait
until the current flashcopy has finished before you flashcopy again to this
area of disk.  (or cancel the current flashcopy)

Try using FLASHCOPY SYNC so that the command ends when the physical
flashcopy ends instead of just submitting the command.  Example:

flashcopy 100 0 end 200 0 end sync

Scott Rohling



On Sun, Jul 4, 2010 at 1:32 PM, Thang Pham thang.p...@us.ibm.com wrote:


 Hi, I am getting this error very often, when I do a FLASHCOPY of a 3390
 minidisk:

 HCPCMM296E Status is not as required - 1100; an unexpected condition
 HCPCMM296E occurred while executing a FLASHCOPY command, code = AE.

 Could you tell me what it means?

 Thank you,





  Thang   2455 South Road
  (Embedded
  Phamimage
 moved to

  file:

  pic59397.gif)

  Phone:(845) 433-7567Poughkeepsie, NY
12601

  e-mail:   thang.p...@us.ibm.com


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


Re: FW: CNET: IBM names Firefox its default browser

2010-07-01 Thread Scott Rohling
And now I've been told there are a few pages/apps in IBM that don't work
with IE anymore but work fine with FF..   very nice for an MS-unenthusiast
to hear :-)   I've used Linux as my workstation in IBM since 2006 or so and
never looked back..

Scott Rohling

On Thu, Jul 1, 2010 at 12:37 PM, Marian Gasparovic mar...@yahoo.com wrote:

 I have been using FF in IBM (on Windows XP) since 2004 as my default
 browser. It happens about once in two weeks I have to use IE because some
 specific pages don't work well with FF. It was not internally supported for
 some time, so it was not possible to complain. Since it became supported,
 incompatible pages inside IBM were greatly reduced.

 ===
  Marian Gasparovic
 ===
 The mere thought hadn't  even  begun  to speculate about the merest
 possibility of crossing my mind.


 --- On Thu, 7/1/10, John Campbell soup...@gmail.com wrote:

  From: John Campbell soup...@gmail.com
  Subject: Re: FW: CNET: IBM names Firefox its default browser
  To: LINUX-390@VM.MARIST.EDU
  Date: Thursday, July 1, 2010, 7:12 PM
  McKown, John wrote:
   http://news.cnet.com/8301-30685_3-20009387-264.html
 
  When I was an IBMer I was one of those using the Linux
  Client For
  E-Business build (IMHO very well assembled on top of RHEL4
  WS) which,
  given the CIO's decree that all internal web-based
  applications MUST
  be Browser Agnostic (unlike my experiences as Verizon and
  elsewhere)
  it made the use of Firefox to be no problem.
 
  Firefox is common to at least *three* platforms--
  Windows, Linux and
  MacOS X-- so this actually cuts costs in terms of Quality
  Assurance
  when a web application is being rolled out.
  (Actually, it has been a
  while, but I seem to recall seeing a Firefox build for AIX,
  too.)
 
  -soup
 
  --
  John R. Campbell
 Speaker to Machines
  souperb at gmail dot com
  MacOS X proved it was easier to make Unix user-friendly
  than to fix Windows
 
  --
  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/


Re: GNOME

2010-06-11 Thread Scott Rohling
Typically - you would run 'vncserver' from a command line -- and then use
vncviewer to connect to the correct display  (:0, :1, etc)...

Scott Rohling

On Fri, Jun 11, 2010 at 2:23 PM, Thang Pham thang.p...@us.ibm.com wrote:


 Hi, I installed a new Linux with GNOME desktop and X Windows, but I cannot
 access the desktop using a VNC viewer.  Are there additional instructions
 on how to set this up?

 Thank you,





  Thang   2455 South Road
  (Embedded
  Phamimage
 moved to

  file:

  pic41517.gif)

  Phone:(845) 433-7567Poughkeepsie, NY
12601

  e-mail:   thang.p...@us.ibm.com


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


Re: Call for Community Participation

2010-06-04 Thread Scott Rohling
Takes time to show up in Google -- and you have to open your website to
their 'bots' ...   and if Richard hasn't registered the site with Google, he
should  seems like I recall some place where you specifically make
yourself known to Google.

Scott Rohling

On Fri, Jun 4, 2010 at 1:35 PM, Richard Gasiorowski rgasi...@csc.comwrote:

 Went to the site and looks like a great idea will investigate but  do have
 one bitch.  It does not come up  when google zlinux or linux vm linux
 z/vm or other variables.  So I think that's where Floyd and many of us
 are coming from.  If it were not for Floyd I and others still would not
 know about it.  Got to get that crystal ball repaired.  Thx anyway its now
 bookmarked.

 Richard (Gaz) Gasiorowski
 SAE Solution Architect
 CSC
 3170 Fairview Park Dr., Falls Church, VA 22042
 845-889-8533|Work|845-392-7889 Cell|rgasi...@csc.com|www.csc.com




 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
 any order or other contract unless pursuant to explicit written agreement
 or government initiative expressly permitting the use of e-mail for such
 purpose.



 From:
 Rich Smrcina r...@velocitysoftware.com
 To:
 LINUX-390@vm.marist.edu
 Date:
 06/04/2010 03:23 PM
 Subject:
 Re: Call for Community Participation



 None of that now, it's already available.  Contribute at will.

 http://www2.marist.edu/htbin/wlvtype?LINUX-VM.77911

 On 06/04/2010 02:11 PM, McKown, John wrote:
  Of course, the first fight will be over which Linux distro and Wiki
 engine!grin
 
  --
  John McKown
  Systems Engineer IV
  IT
 
  Administrative Services Group
 
  HealthMarkets(r)
 
  9151 Boulevard 26 * N. Richland Hills * TX 76010
  (817) 255-3225 phone * (817)-961-6183 cell
  john.mck...@healthmarkets.com * www.HealthMarkets.com
 
 

 --
 Rich Smrcina
 Phone: 414-491-6001
 http://www.linkedin.com/in/richsmrcina

 Catch the WAVV! http://www.wavv.org
 WAVV 2011

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


Re: extending an LV

2010-06-03 Thread Scott Rohling
sudo modprobe vmcp

If you login to the z/VM session yourself -- you can also enter #CP Q V DASD
and see the result...

Scott Rohling

On Thu, Jun 3, 2010 at 8:22 AM, LJ Mace ljmace1...@yahoo.com wrote:

 When i enter vmcp... I get could not open device /dev//vmcp. No such file
 or directory
 Thx
 Mace

 On Thu Jun 3rd, 2010 10:16 AM EDT Christian Paro wrote:

 What about the `vmcp q v dasd`? The lsdasd shows whether the disk has been
 set online and is thus visible to Linux as a block device, but the vmcp
 command shows whether the disk is currently linked/attached to the guest
 containing that Linux instance.
 
 On Thu, Jun 3, 2010 at 10:12 AM, LJ Mace ljmace1...@yahoo.com wrote:
 
  Yes I logged off,pn,then even rebooted
  I did an lsdasd but 207(the new dasd) isnt shown
  Thx
  Mace
 
  On Thu Jun 3rd, 2010 9:56 AM EDT Christian Paro wrote:
 
  What do you see when you do `modprobe vmcp; vmcp q v dasd` and
 `lsdasd`?
  
  Also, did you do a full log-off/log-on of the guest after adding the
 disk
  to
  its directory statement? A complete log-off and log-on is necessary to
  make
  the guest's runtime state reflect the changes made to the directory,
  unless
  you're using specific CP commands to perform these changes manually and
  just
  updating the directory to make sure the changes stick when the guest
 is
  logged off and on in the future.
  
  Or, for that matter, did you attach the disk without updating the
 guest's
  directory statement? Without updating the directory (either directly or
  through whatever tool you may be using), the disk you attached will
 only
  remain attached for as long as the guest is logged on - and won't be
  re-attached upon subsequent log-ons.
  
  ~ Chris
  
  On Thu, Jun 3, 2010 at 9:17 AM, LJ Mace ljmace1...@yahoo.com wrote:
  
   I do have notes and I thought all that had to be done was att to the
  guest
   then logon to the guest then yast would indeed see it.
   Thx
   Mace
  
   On Thu Jun 3rd, 2010 8:53 AM EDT Richard Troth wrote:
  
   Larry, I apologize.
   You did mention YaST and YaST should in fact see the disk and should
   then handle all this other magic for you ... automagically.  Maybe
   Mark will chime in.
   
   -- R;   
   
   
   
   
   
   
   On Thu, Jun 3, 2010 at 08:25, Macioce, Larry
   larry.maci...@com.state.oh.us wrote:
I seem to be having a problem.
   
I have added the pact to the Linux system through VM but when I go
  into
yast/hardware/dasd to add it there I don't see it
   
What am I missing?
   
Thanks
   
Mace
   
   
   
   
-
   
 
The information transmitted is intended solely for the individual
or entity to which it is addressed and may contain confidential
and/or
privileged material. Any review, retransmission, dissemination or
other use of or taking action in reliance upon this information by
persons or entities other than the intended recipient is
prohibited. If you have received this email in error please
 contact
the sender and delete the
material from any computer.
   
 
   
   
   
  --
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 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 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 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 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 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

Re: SWAP devices not active at initial start

2010-06-03 Thread Scott Rohling
The output from SWAPGEN being called would be the most useful..What does
the console look like when SWAPGEN is called?   This would be the output
before the Linux boot messages...

Scott Rohling

On Thu, Jun 3, 2010 at 10:52 AM, Larry Bernacki 
lawrence.ctr.berna...@faa.gov wrote:

 We have two SLES 11 machines that are not getting their swap file enabled
 at boot.   The VM profile contains the SWAPGEN exec to format two virtual
 FBA swap disks.  Looking thru the console log (in VM), I find messages the
 following messages:
 dasd(fba) : 0.0.: 9336/10(CU:6310/80) 60MB at (512 B/blk)
 dasdc: (non1) dasdc1
 dasd(fba) : 0.0.: 9336/10(CU:6310/80) 60MB at (512 B/blk)
 dasdd: (non1) dasdd1
 ...
  Unable to find swap-space signature


 The 'swapon -s' command shows no swap space allocated.

 The 'lsdasd' command shows the two swap files, as well as the two ECKD
 devices for /boot and /.

 Bus-ID  Status  NameDevice  TypeBlkSz   Size Blocks
 0.0.2424active  dasda   94:0ECKD40967043MB  1803060
 0.0.2425active  dasdb   94:4ECKD40967043MB  1803060
 0.0.active  dasdc   94:8FBA 512 60MB 124000
 0.0.5556active  dasdd   94:12   FBA 512 48MB 10

 /etc/fstab contains:

 /dev/vg1/lv1 /ext3   acl,user_xattr
 1 1
 /dev/disk/by-path/ccw-0.0.2424-part1 /bootext3
 acl,user_xattr1 2
 proc /procproc   defaults
 0 0
 sysfs/sys sysfs  noauto
 0 0
 debugfs  /sys/kernel/debugdebugfsnoauto
 0 0
 devpts   /dev/pts devpts mode=0620,gid=5
 0 0
 /dev/disk/by-path/ccw-0.0.-part1 swap swap
 defaults  0 0
 /dev/disk/by-path/ccw-0.0.5556-part1 swap swap
 defaults  0 0


 The swap files were first in the list, I moved them yesterday in hopes
 that it might make a different.  But no change.

 If I enter a 'swapon -a' ,  the following is displayed:

 swapon: /dev/dasdc1:  Invalid argument
 swapon: /dev/dasdd1:  Invalid argument

 Is there anything that I am missing?   Do the enabling of swap devices
 need to be anywhere else?

 Thanks for any and all help,
 Larry Bernacki

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


Re: 2010-05-28 Linux on System z kernel 2.6.34 related updates on developerWorks

2010-05-28 Thread Scott Rohling
Interesting... cmsfs-fuse  --  I take it the cmsfs package is no longer
needed and s390-tools incorporates that functionality.

('settling' awareness in chccwdev looks good...)

Scott Rohling

On Fri, May 28, 2010 at 7:37 AM, Gerhard Hiller ghil...@de.ibm.com wrote:


 Please refer to
 http://www.ibm.com/developerworks/linux/linux390/whatsnew.html
 for several 'Development stream' updates:
  * description of upstream kernel 2.6.34 features that were
contributed by Linux on System z development
  * kernel 2.6.34 patches for kerntypes and kernel message catalog
  * s390-tools 1.9.0 delivers new functionality and various enhancements
as well as bugfixes
  * snIPL 2.1.8 with bugfixes
  * updated documentation will be provided in a couple of weeks or so
 * end of message
   Mit freundlichen Grüßen / Kind regards  *Gerhard Hiller*  Systems
 Software Management  IBM Systems  Technology Group, Systems Software
 Development  Phone:  +49-7031-16-4388  IBM Deutschland
   Fax:  +49-7031-16-3545  Schoenaicher Str. 220  E-Mail:
 ghil...@de.ibm.com  71032 BoeblingenGermanyIBM Deutschland
 Research  Development GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
 Geschäftsführung: Dirk Wittkopp
 Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart,
 HRB 243294


--
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
image/gifimage/gifimage/gifimage/gifimage/gifimage/gifimage/gif

Re: Network driver

2010-05-24 Thread Scott Rohling
I think it's complaining about the hardware address.. not the driver..   Not
sure what distro you are using -- but I would look at your network config
files for eth0 ...  and ensure the hardware address used is correct and that
the address is available to the guest.   CP QUERY NIC should tell you what
address is defined as the NIC device

Scott Rohling

On Mon, May 24, 2010 at 12:19 PM, Thang Pham thang.p...@us.ibm.com wrote:


 Hi,

 I am building a custom initrd (ram disk) to boot Linux.  I am getting this
 error when I IPL the reader:

 Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
 FS-Cache: Netfs 'nfs' registered for caching
 debug: before netstart
 err, eth0: ioctl SIOCGIFHWADDR: No such device
 cat: /var/lib/dhcpcd/*info: No such file or directory

 I found that this error means that I am missing a network driver.  I have
 the following network drivers installed:
 qeth_l3.ko
 qeth_l2.ko
 ipv6.ko
 qeth.ko
 qdio.ko

 Which network driver am I missing?

 Thank you,





  Thang   2455 South Road
  (Embedded
  Phamimage
 moved to

  file:

  pic11928.gif)

  Phone:(845) 433-7567Poughkeepsie, NY
12601

  e-mail:   thang.p...@us.ibm.com


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


Re: Problem to install red hat 5.3

2010-05-22 Thread Scott Rohling
I think he means download them from the NFS repository the DVD image is
under.. ?

Scott Rohling

On Sat, May 22, 2010 at 7:24 PM, Mark Post mp...@novell.com wrote:

  On 5/22/2010 at 09:02 PM, Antonio Silva carlosantonio...@gmail.com
 wrote:
  Ok, I'll download the boot files specific for rhel 5.3 and test the
  installation on Monday.

 You shouldn't need to download them.  They are on the DVD image you'll be
 using for the installation.


 Mark Post

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


Re: SWAPGEN

2010-05-21 Thread Scott Rohling
It's also nice to be able to stack a command that will be executed after the
PROFILE EXEC finishes (as long as it 'does' finish and not IPL something):

CP XAUTOLOG LINUX1#AUTOSTRT

AUTOSTRT would be stacked when the guest is started -- and then (hopefully)
executed.   So we don't want anything in the PROFILE EXEC to mess with it.
That's why 'well behaved' programs should always use MAKEBUF/DROPBUF or
restore the stack contents if they do mess with it.

The above is an example of how we automated a 'self cloning/configuring'
process at one customer of mine.   The common profile EXEC didn't rely on
AUTOSTRT falling through though -- it noticed it was in the stack and so
called AUTOSTRT EXEC itself -- or IPLed the Linux disk if it wasn't passed.

Scott Rohling

p.s.  You need to do something like Address Command CP XAUTOLOG
LINUX1#AUTOSTRT from an EXEC to not have the CP escape character get in
your way on the command line.

On Fri, May 21, 2010 at 10:30 AM, Mark Wheeler mwheele...@hotmail.comwrote:

 Wouldn't it be nice if the FORMAT and RESERVE commands had NOPROMPT options
 that would allow you to avoid stacking responses? These are about the only
 places I ever need to use the stack any more. anso (if you wanted)

  Date: Fri, 21 May 2010 11:22:22 -0400
  From: du...@us.ibm.com
  Subject: SWAPGEN
  To: LINUX-390@VM.MARIST.EDU
 
  Hello,
 
  Do you happen to have a copy of the SWAPGEN file that has the fix to the
  'DESBUF' bug? If so, could you forward it to me or send me the link of
  where I can get it? Thank you!
 
  http://www.mail-archive.com/linux-390@vm.marist.edu/msg47525.html
 
  Regards,
 
  Dulce M Smith, ITIL® Foundations
  Software Engineer, z/VM and Linux
  Mobile: 1-914-329-1634
  du...@us.ibm.com
  IBM Systems and Technology Group Lab Services and Training
  --
  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

 _
 The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
 Hotmail.

 http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
 --
 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 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


Re: Starting LVM Automatically After re-boot

2010-05-12 Thread Scott Rohling
Usually - installing the lvm2 package would be enough and it is called at
the appropriate times to check for lvm volumes after boot ...   is the root
directory in an lvm or something?

Scott Rohling

On Wed, May 12, 2010 at 5:18 PM, Billy Bingham 
billy.bingham...@suddenlink.net wrote:

 How do I get LVM to start automatically after I do a re-boot of LInux.
 SLES11.


 Thanks,

 Billy

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


Re: /var/lib/zypp/cache/ is on my nerves

2010-04-23 Thread Scott Rohling
Just give yum clean a try and see what it does with those directories.   yum
clean is for clients receiving maintenance from a server...

Scott Rohling

On Fri, Apr 23, 2010 at 9:39 AM, Peter E. Abresch Jr. - at Pepco 
peabre...@pepco.com wrote:

 Thanks, but it looks like yum clean only applies to the yum server, unless
 I mis-understood something.

 I am seeing these issues on my SLES10 SP3 guests where I do not run the
 yum server. On these guests, I use YaST and point it to our local YUM
 server.

 This growth appears to be from Novell?s zmd, even though I have it
 configured off, it continues to fill our /var/ directory with patches that
 we already have on the YUM server. I do not know how, or why. We do not
 knowingly use rug either.

 Is it safe to clear these directories out?

 Peter




 Pat Carroll pcarr...@llbean.com
 Sent by: Linux on 390 Port LINUX-390@vm.marist.edu
 04/23/2010 09:51 AM
 Please respond to
 Linux on 390 Port LINUX-390@vm.marist.edu


 To
 LINUX-390@vm.marist.edu
 cc

 Subject
 Re: /var/lib/zypp/cache/ is on my nerves






 See: yum clean


 Patrick Carroll  |  Technology Architect II
 L.L.Bean, Inc.(r) |  Double L St. |  Freeport ME 04033
 http://www.llbean.com | pcarr...@llbean.com | 207.552.2426

 CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain
 confidential information that is legally privileged. The information is
 solely for the use of the intended recipient(s). Any disclosure,
 copying, distribution, or other use of this information is strictly
 prohibited. If you have received this e-mail in error, please notify the
 sender by return e-mail and delete this message.


 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 Peter E. Abresch Jr. - at Pepco
 Sent: Friday, April 23, 2010 9:46 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: /var/lib/zypp/cache/ is on my nerves

 We have various Linux SLES10 SP3 guests under z/VM. We use YaST to apply
 the patches using our local YUM server. However, I see the following
 directory continue to grow.

 /var/lib/zypp/cache/

 This directory contains many other directories in the form of
 Source.random characters/repodata. Each of these directories contains
 various patches.

 Question 1: Why/how does this directory grow? We checked novell-zmd and
 it is set to off so it should not be running.

 Question 2: Space is limited in our shop. Can I delete these
 directories?
 I have these same patches on our local YUM server and this seems to be a
 waste of space.

 Thanks as always.

 Peter


 This Email message and any attachment may contain information that is
 proprietary, legally privileged, confidential and/or subject to
 copyright belonging to Pepco Holdings, Inc. or its affiliates (PHI).
 This Email is intended solely for the use of the person(s) to which it
 is addressed.  If you are not an intended recipient, or the employee or
 agent responsible for delivery of this Email to the intended
 recipient(s), you are hereby notified that any dissemination,
 distribution or copying of this Email is strictly prohibited.  If you
 have received this message in error, please immediately notify the
 sender and permanently delete this Email and any copies.  PHI policies
 expressly prohibit employees from making defamatory or offensive
 statements and infringing any copyright or any other legal right by
 Email communication.  PHI will not accept any liability in respect of
 such communications.

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


 This Email message and any attachment may contain information that is
 proprietary, legally privileged, confidential and/or subject to copyright
 belonging to Pepco Holdings, Inc. or its affiliates (PHI).  This Email is
 intended solely for the use of the person(s) to which it is addressed.  If
 you are not an intended recipient, or the employee or agent responsible for
 delivery of this Email to the intended recipient(s), you are hereby
 notified
 that any dissemination, distribution or copying of this Email is strictly
 prohibited.  If you have received this message in error, please immediately
 notify the sender and permanently delete this Email and any copies.  PHI
 policies expressly prohibit employees from making defamatory or offensive
 statements and infringing any copyright or any other legal right by Email
 communication.  PHI will not accept any liability in respect of such
 communications

Re: Adding volumes to a VolGroup

2010-03-25 Thread Scott Rohling
Assuming the new dasd is at dasdb :   (this is from memory ... so beware)

dasdfmt -b 4096 -f /dev/dasdb(assuming it isn't linux formatted)
fdasd -a /dev/dasdb
pvcreate /dev/dasdb1
vgextend VolGroup01 /dev/dasdb1
vgdisplay (and figure out the free space in VolGroup01)

Assuming you want to add the space to logical volume LogVol00:
lvextend -L xxG  /dev/VolGroup01/LogVol00  (where xxG is the amount of
free G in VolGroup01)

Scott Rohling

On Thu, Mar 25, 2010 at 12:23 PM, Frank M. Ramaekers
framaek...@ailife.comwrote:

 Okay, I can't seem to find this via Google.  I can find examples of
 adding a disk with it's own unique mount point, but I need to add space
 to VolGroup01.



 FilesystemSize  Used Avail Use% Mounted on

 /dev/mapper/VolGroup01-LogVol00

  5.0G  3.5G  1.3G  74% /

 /dev/dasda197M   25M   68M  27% /boot

 tmpfs 249M 0  249M   0% /dev/shm



 I've formatted the DASD, attached it to the System, created MDISK
 statements for the devices, LINKed them, got them online.   Now, how
 do I add them to VolGroup01?



 TIA,





  Frank M. Ramaekers Jr.



 Systems Programmer

 MCP, MCP+I, MCSE  RHCE

 American Income Life Insurance Co.

 Phone: (254)761-6649

 1200 Wooded Acres Dr.

 Fax: (254)741-5777

 Waco, Texas  76701






 _
 This message contains information which is privileged and confidential and
 is solely for the use of the
 intended recipient. If you are not the intended recipient, be aware that
 any review, disclosure,
 copying, distribution, or use of the contents of this message is strictly
 prohibited. If you have
 received this in error, please destroy it immediately and notify us at
 privacy...@ailife.com.

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


Re: Adding volumes to a VolGroup

2010-03-25 Thread Scott Rohling
On Thu, Mar 25, 2010 at 12:37 PM, Marcy Cortes 
marcy.d.cor...@wellsfargo.com wrote:

 Or if you use SuSE, just use Yast2 and all is easy!


 Marcy



I'm a command line bigot -- especially since it should work on any
distro...   :-)

Scott Rohling

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


Re: Name of LINUX guest

2010-03-22 Thread Scott Rohling
Or start another session (logout and back in) to see the new hostname in the
prompt..

Scott

On Mon, Mar 22, 2010 at 11:21 AM, Marcy Cortes 
marcy.d.cor...@wellsfargo.com wrote:

 Reboot.


 Marcy

 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Ray
 Waters
 Sent: Monday, March 22, 2010 10:18 AM
 To: LINUX-390@vm.marist.edu
 Subject: [LINUX-390] Name of LINUX guest

 Welcome to SUSE Linux Enterprise Server 10 SP2 (s390x) - Kernel
 2.6.16.60-0.21-d
 efault (ttyS0).

 I am trying to change the name of this LINUX guest  from LINUXEKM to
 LINUXORA. I changed the VM Directory, I have tried YaST, I have tried the
 hostname command and yet it keeps showing up as LINUXEKM. What else do I
 need to perform?


 00: CP MSG * *
  13:14:11  * MSG FROM LINUXORA: *

 LINUXEKM:~ # whoami
 whoami
 root
 LINUXEKM:~ # hostname
 hostname
 LINUXORA
 LINUXEKM:~ # hostname --fqd
 hostname --fqd
 LINUXORA.ZVM
 LINUXEKM:~ #--Still shows LINUXEKM   How do I get this
 changed?


 Thanks,
 Ray Waters

 
 NOTICE:
 This e-mail is intended solely for the use of the individual to whom it is
 addressed and may contain information that is privileged, confidential or
 otherwise exempt from disclosure. If the reader of this e-mail is not the
 intended recipient or the employee or agent responsible for delivering the
 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
 immediately notify us by replying to the original message at the listed
 email address. Thank You.

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


Re: Capturing Command output in REXX ?

2010-03-08 Thread Scott Rohling
Can't you:'df -h | rxqueue'  to use the stack?   I thought I recalled
doing things this way with Regina...

Scott

On Mon, Mar 8, 2010 at 10:47 AM, Lionel Dyck ld...@us.ibm.com wrote:

 In TSO Rexx I can use the OUTTRAP command and in CMS I can use a PIPE to
 issue a command and put the output into a stem to work with.

 How can I do that in REXX in Linux?

 For example I want to capture the output of the df -h command and the
 only way I can do that now that I've figured out is to do something like
 this:

   'df -h  /tmp/tmp.file'
   call read '/tmp/tmp.file'  /* a read subroutine that reads the file into
   a stem
   'rm /tmp/tmp.file'

    process the stem

 I'm using Regina REXX on SLES 10 SP2.

 Thanks


  Lionel B. Dyck 
  z/Linux Specialist
  IBM Corporation
  Global Technology Services - Kaiser Account
  Work: 925-926-5332
  Cell: 925-348-0237
  E-Mail: ld...@us.ibm.com
  AIM: lbdyck | Yahoo IM: lbdyck | GTalk:
  lbdyck



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


Re: Capturing Command output in REXX ?

2010-03-08 Thread Scott Rohling
Yep - just tried it myself..   So - to put it into an array:

'df -h | rxqueue'
out. = ''
out.0 = queued()
Do i = 1 to out.0
  Parse Pull out.i
End

Scott

On Mon, Mar 8, 2010 at 10:52 AM, Scott Rohling scott.rohl...@gmail.comwrote:

 Can't you:'df -h | rxqueue'  to use the stack?   I thought I recalled
 doing things this way with Regina...

 Scott


 On Mon, Mar 8, 2010 at 10:47 AM, Lionel Dyck ld...@us.ibm.com wrote:

 In TSO Rexx I can use the OUTTRAP command and in CMS I can use a PIPE to
 issue a command and put the output into a stem to work with.

 How can I do that in REXX in Linux?

 For example I want to capture the output of the df -h command and the
 only way I can do that now that I've figured out is to do something like
 this:

   'df -h  /tmp/tmp.file'
   call read '/tmp/tmp.file'  /* a read subroutine that reads the file into
   a stem
   'rm /tmp/tmp.file'

    process the stem

 I'm using Regina REXX on SLES 10 SP2.

 Thanks


  Lionel B. Dyck 
  z/Linux Specialist
  IBM Corporation
  Global Technology Services - Kaiser Account
  Work: 925-926-5332
  Cell: 925-348-0237
  E-Mail: ld...@us.ibm.com
  AIM: lbdyck | Yahoo IM: lbdyck | GTalk:
  lbdyck



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


Re: Capturing Command output in REXX ?

2010-03-08 Thread Scott Rohling
Sweet!   I had used this method long ago and had forgotten it...  much
better than relying on rxqueue.   Thanks for the reminder!

Scott

On Mon, Mar 8, 2010 at 1:04 PM, Scully, William P william.scu...@ca.comwrote:

 Another approach:


 #!/usr/bin/regina
 Trace N

 Address System 'ls -l' With Output Stem rec.

 Do i = 1 To rec.0 By 1
   Say rec.i
 End i


 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 Lionel Dyck
 Sent: Monday, March 08, 2010 12:48 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Capturing Command output in REXX ?

 In TSO Rexx I can use the OUTTRAP command and in CMS I can use a PIPE to
 issue a command and put the output into a stem to work with.

 How can I do that in REXX in Linux?

 For example I want to capture the output of the df -h command and the
 only way I can do that now that I've figured out is to do something like
 this:

   'df -h  /tmp/tmp.file'
   call read '/tmp/tmp.file'  /* a read subroutine that reads the file
 into
   a stem
   'rm /tmp/tmp.file'

    process the stem

 I'm using Regina REXX on SLES 10 SP2.

 Thanks


  Lionel B. Dyck 
  z/Linux Specialist
  IBM Corporation
  Global Technology Services - Kaiser Account
  Work: 925-926-5332
  Cell: 925-348-0237
  E-Mail: ld...@us.ibm.com
  AIM: lbdyck | Yahoo IM: lbdyck | GTalk:
  lbdyck



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


Re: Capturing Command output in REXX ?

2010-03-08 Thread Scott Rohling
Thanks, Bruce -- good info...   I've not used ooRexx.   Agreed it's better
to be portable, so I'll stick with rxqueue, even though I like the
implementation using 'With Output'.

Scott

On Mon, Mar 8, 2010 at 1:19 PM, Bruce Hayden bjhay...@gmail.com wrote:

 That only works in Regina, though, not ooRexx.  I'd rather write
 portable code and rxqueue works in both even though it isn't as
 pretty.

 On Mon, Mar 8, 2010 at 3:09 PM, Scott Rohling scott.rohl...@gmail.com
 wrote:
  Sweet!   I had used this method long ago and had forgotten it...  much
  better than relying on rxqueue.   Thanks for the reminder!
 
  Scott
 
  On Mon, Mar 8, 2010 at 1:04 PM, Scully, William P william.scu...@ca.com
 wrote:
 
  Another approach:
 
 
  #!/usr/bin/regina
  Trace N
 
  Address System 'ls -l' With Output Stem rec.
 
  Do i = 1 To rec.0 By 1
Say rec.i
  End i
 
 
  --
  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 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
 



 --
 Bruce Hayden
 z/VM and Linux on System z ATS
 IBM, Endicott, NY

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


Re: Run a script at boot time

2010-02-22 Thread Scott Rohling
Or - call the script in /etc/rc.local ..  not as elegant as doing a proper
init script, etc - but may be simplest for your purposes..

Scott

On Mon, Feb 22, 2010 at 9:35 AM, Christian Paro christian.p...@gmail.comwrote:

 Create an init script based on (or which calls) the script you've been
 using, and use `chkconfig` to enable it for the appropriate runlevel (which
 depends on what services you expect to already be up at the time your
 script
 is to be run). Having it on for the runlevel you normally boot into
 (generally 3 or 5) would be a safe approach, since you've up to this point
 been running the script manually after login.

 You can look at the other scripts in /etc/init.d as templates for writing
 an
 init script, if you've never written one before.

 On Mon, Feb 22, 2010 at 11:26 AM, Ray Waters
 ray.wat...@opensolutions.comwrote:

  Still learning, what would be the safest way to run this script after
 Linux
  has booted?  I have been manually executing the script but now want the
  script to automatically run whenever I XAUTOLOG LINUXEKM.
 
  Welcome to SUSE Linux Enterprise Server 10 SP2 (s390x) - Kernel
  2.6.16.60-0.21-default (ttyS0).
 
  echo $PATH
 
 
 /opt/ibm/java2-s390x-50/ibm-java2-s390x-50/bin:/opt/ibm/java2-s390x-50/ibm-java2
 
 
 -s390x-50/jre/bin:/home/ekmserv/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:
 
 
 /usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home
  /ekmserv/keymanager
 
  The script name is ekmlaunch
  pwd
  /home/ekmserv/keymanager
  ekms...@linuxekm:~/keymanager cat ekmlaunch
  cat ekmlaunch
  #!/bin/bash
  java com.ibm.keymanager.EKMLaunch KeymanagerConfig.properties
 
  Thanks,
  Ray Waters
 
  
  NOTICE:
  This e-mail is intended solely for the use of the individual to whom it
 is
  addressed and may contain information that is privileged, confidential or
  otherwise exempt from disclosure. If the reader of this e-mail is not the
  intended recipient or the employee or agent responsible for delivering
 the
  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
  immediately notify us by replying to the original message at the listed
  email address. Thank You.
 
  --
  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 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 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


Re: Rhel 5.4 install problems

2010-01-28 Thread Scott Rohling
I don't have a RH login or anything, so can't view this...   but very
curious bug!   I was really confused when Sterling suggested defining a 2nd
CPU.

Scott

On Thu, Jan 28, 2010 at 8:35 AM, Justin Payne jpa...@redhat.com wrote:

 Tim,

 This is a known issue and can be followed here:

 https://bugzilla.redhat.com/show_bug.cgi?id=506898

 Justin



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


Re: Rhel 5.4 install problems

2010-01-19 Thread Scott Rohling
??   Because  ?

Scott

On Tue, Jan 19, 2010 at 4:06 PM, Sterling James ssja...@dstsystems.comwrote:

 Try defining a second cpu

 DEF CPU 02

 -
 Please consider the environment before printing this email and any
 attachments.

 This e-mail and any attachments are intended only for the
 individual or company to which it is addressed and may contain
 information which is privileged, confidential and prohibited from
 disclosure or unauthorized use under applicable law.  If you are
 not the intended recipient of this e-mail, you are hereby notified
 that any use, dissemination, or copying of this e-mail or the
 information contained in this e-mail is strictly prohibited by the
 sender.  If you have received this transmission in error, please
 return the material received to the sender and delete all copies
 from your system.

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


Re: intro, request for advice ...

2010-01-13 Thread Scott Rohling
I think the answer depends on whether this is simply a 'proof of concept' or
if the result is supposed to be a supportable solution.

I'm guessing that for now, it's proof of concept..  so as Ruddy suggested,
CentOS might be a good choice since it's RH based.   I'm sure RH and Novell
provide 'trial' periods too.

Ultimately, as others have said - you'll need to choose one of the supported
Linux distros for DB2Connect if your goal is a vendor-supportable
solution.   And even if proof of concept -- it's a 'good thing' to try and
start with supported solutions and not have to start over when you've proved
your concept and now want to run with it.

Scott

On Wed, Jan 13, 2010 at 7:01 AM, Bonno, Tuco t...@cio.sc.gov wrote:

 please allow me to introduce myself.
 I am new to this listserver community.
 I am an mvs systems programmer w/ about 30 years experience with  ibm
 mainframe o/s-s (s360 thru z/os), plus about 12 years experience w/ ibm’s
 UnixSystemsServices/OpenEdition, and its related hierarchical file system
 (HFS).
 I have been given a mission to install a Linux o/s on an IFL lpar on one of
 our Z9 mainframe platforms, and hence have found my way here, to this
 community.
 the PURPOSE of the Linux IFL lpar will be to host DB2Connect.
 The install is going to be standalone directly into the IFL lpar (the
 governmental agency I work for does not wish to spend any money for a Z/VM
 license – or for anything else connected w/ this op.).  So  I’m also going
 to need a FREE distribution of Linux.  So far I have discovered about 3 of
 these ‘free’ Linuxes: Centos, Debian, and the one available from the
 marist.edu .
 question:  can anyone offer me some advice on which one I should use
 (please keep in mind the purpose is to host DB2Connect) ?
 question: can anyone recommend any good cookbook manuals to use?  on my
 own, I’ve discovered quite a few books out there on the internet, but I
 would like to save some time and not have to download each one to check it
 out ….
 question: anyone have any gp (general purpose, across the board)  words of
 wisdom he/she would care to share?

 thank you for your indulgence.

 /s/  tuco bonno
 graduate, College of Conflict Management;
 University of Southeast Asia;
 I partied on the Ho Chi Minh Trail - tiến lên !! 



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


Re: Install of SLES 11 via FTP...

2010-01-07 Thread Scott Rohling
You'll be better off with a tarball that you untar on the CentOS server,
rather than copying to the Samba share from a samba client - and avoid any
file naming/creating/etc restrictions Samba (or Windows) is imposing.

Scott

On Thu, Jan 7, 2010 at 7:12 AM, Frank M. Ramaekers framaek...@ailife.comwrote:

 Now I can't copy the contests of /src and /nosrc because of:

 Cannot copy IPAPGothic-002.003-10.9.src: The parameter is incorrect.

 (This was from /src, I get the same thing from /nosrc.)

 I'm trying to copy directly from the CD to a Samba share that's on a
 CentOS server.  There wasn't any problems with DVD1.

 (I'm going to create a tarball and transfer it and see what happens.)

 Are these directories needed for installation?   /src seems to contain
 source code and /nosrc only contains:

 Directory of E:\suse\nosrc

 03/11/2009  08:36 AMDIR  .
 03/11/2009  08:36 AMDIR  ..
 02/20/2009  11:33 PM   425,769
 java-1_4_2-ibm-1.4.2_sr12-3.12.nosrc.rpm
 02/25/2009  05:29 AM24,246
 java-1_6_0-ibm-1.6.0-124.5.nosrc.rpm
 02/28/2009  02:02 AM 1,700,555
 kernel-default-2.6.27.19-5.1.nosrc.rpm
 02/20/2009  08:43 PM 7,894 redbook-10.0-108.21.nosrc.rpm
 02/25/2009  07:41 PM19,396
 websphere-as_ce-2.1.1.1-2.26.nosrc.rpm
   5 File(s)  2,177,860 bytes
   2 Dir(s)   0 bytes free

 Frank M. Ramaekers Jr.
 Systems Programmer   MCP, MCP+I, MCSE  RHCE
 American Income Life Insurance Co.   Phone: (254)761-6649
 1200 Wooded Acres Dr.Fax:   (254)741-5777
 Waco, Texas  76710

 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 Alan Altmark
 Sent: Wednesday, January 06, 2010 4:27 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: Install of SLES 11 via FTP...

 On Wednesday, 01/06/2010 at 04:54 EST, Mark Post mp...@novell.com
 wrote:
   On 1/6/2010 at  4:36 PM, Frank M. Ramaekers
 framaek...@ailife.com wrote:
   I downloaded the DVD images (ISO).  Extracted the files onto a SMB
 share
   (Samba on a Linux server) via WinAce.
  
   They show as uppercase in the WinAce display of the contents of the
 ISO.
  
   These are the two ISOs I have:
  
   12/14/2009  01:58 PM 2,833,274,880 SLES-11-DVD-s390x-GM-DVD1.iso
   12/14/2009  01:16 PM   932,233,216 SLES-11-DVD-s390x-GM-DVD2.iso
 
  From what I can tell, using a Windows tool to extract the files
 totally
 messed
  up your file names.  That's the root cause of your problem.  Where
 exactly is
  the ISO image located?  On the Windows machine, or on a Linux machine?
 (Please
  say Linux, but even if not, you can work around it.)
 
  Once you get the file name problem fixed, you will want to specify
  /pub/outgoing/Suse as your FTP directory path, not one level down to
  /pub/outgoing/Suse/suse (which will be the name once the file names
 are
 fixed).

 Windows does not support the Red Rock ISO 9660 extension that is used
 for
 long names and symbolic links on a CD/DVD and, IIRC, the SuSE DVDs
 contain
 symlinks.  (Maybe Windows 7 has added the support - I don't know.)

 Alan Altmark
 z/VM Development
 IBM Endicott

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

 _
 This message contains information which is privileged and confidential and
 is solely for the use of the
 intended recipient. If you are not the intended recipient, be aware that
 any review, disclosure,
 copying, distribution, or use of the contents of this message is strictly
 prohibited. If you have
 received this in error, please destroy it immediately and notify us at
 privacy...@ailife.com.

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


Re: SLES 10 SP2 upgrade to SLES 10 SP3 error

2010-01-06 Thread Scott Rohling
1) rsync:   rsync -av /usr/ /usrnew
It will preserve everything.. easy

2)  Just use 'mv' ..mv /usr /usrold  mv /usrnew /usr   ..
it's just a rename..

3)  rsync -avn   /usr /usrnew

Would show you what rsync would do - but not really do it (the -n option)...
but there may be better ways to get what you want here -- I'm sure others
will kick in.

Scott

On Wed, Jan 6, 2010 at 9:04 AM, Slaughter, Dale dslaugh...@aegonusa.comwrote:

 To increase the size of /usr, the VM guys have added a disk for me, which
 has been formatted and mounted as /usrnew.  I then ran the command cp -Rv
 --preserve /usr/* /usrnew as root from the / directory'.  However, the
 USED space is different - 1.9G for /usr and 2.1G for /usrnew.  I've looked
 on the web, and see that some recommend using switches -dpr or -a also.
  Using the --preserve switch kept the file/directory dates, but the dates on
 the symlink's were today's date.


 output of df -h:

 FilesystemSize  Used Avail Use% Mounted on
 /dev/dasdb1   1.2G  158M 1016M  14% /
 udev  184M  200K  184M   1% /dev
 /dev/dasda169M   14M   52M  21% /boot
 /dev/dasdh1   2.3G   85M  2.3G   4% /home
 /dev/dasdg1   1.2G  843M  331M  72% /opt
 /dev/dasdc1   2.3G  1.9G  366M  84% /usr
 /dev/dasdd1   1.1G  321M  713M  32% /var
 /dev/mapper/tmpvg-tmpvol
   14G   98M   14G   1% /tmp
 /dev/dasdq1   2.3G   33M  2.3G   2% /unused
 /dev/dasdp1   4.6G  2.1G  2.6G  45% /usrnew



 Snippet of mount:

 /dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr)
 /dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr)





 Question 1.  Is cp to correct command to do the copy, and if so what are
 the correct switches?  Beside keeping the symlinks, I'd also want to copy
 any files that start with ., and any other file types I may not be aware
 of.  I also considered using tar to backup and restore the files, and
 possibly rsync.

 Question 2.  I then want to rename the /usr directory to /usrold , and then
 rename /usrnew to /usr, and then I will update fstab and reboot.  What is
 the correct way to do the two renames above - is it the mv command, and if
 so what switches would I want to use so I copy all files types and preserve
 dates, permissions, etc.?

 Question 3.  Is there a command that will compare /usr and /usrnew for
 differences, or that will show number of files and exact space used?



 |-Original Message-
 |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 |Mark Post
 |Sent: Monday, January 04, 2010 9:00 PM
 |To: LINUX-390@VM.MARIST.EDU
 |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
 |
 | On 1/4/2010 at  5:36 PM, Slaughter, Dale dslaugh...@aegonusa.com
 |wrote:
 |-snip-
 | What is the solution to this problem?
 |
 |You need to add more space to /usr, or remove enough packages (that
 |contain files in /usr).
 |
 |
 |Mark Post
 |
 |--
 |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 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 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


Re: SLES 10 SP2 upgrade to SLES 10 SP3 error

2010-01-06 Thread Scott Rohling
Sorry -- my #3 isn't correct and should be:

3)  rsync -avn   /usr/ /usrnew

The trailing slash on the source directory means 'the contents of'.If
you leave the trailing slash off - it will think you want a directory call
/usr under /usrnew   (/usrnew/usr).

That's the only real tricky part of rsync -- to trail with a slash or
not...   ;-)

Scott

On Wed, Jan 6, 2010 at 9:20 AM, Scott Rohling scott.rohl...@gmail.comwrote:

 1) rsync:   rsync -av /usr/ /usrnew
 It will preserve everything.. easy

 2)  Just use 'mv' ..mv /usr /usrold  mv /usrnew /usr   ..
 it's just a rename..

 3)  rsync -avn   /usr /usrnew

 Would show you what rsync would do - but not really do it (the -n
 option)... but there may be better ways to get what you want here -- I'm
 sure others will kick in.

 Scott


 On Wed, Jan 6, 2010 at 9:04 AM, Slaughter, Dale 
 dslaugh...@aegonusa.comwrote:

 To increase the size of /usr, the VM guys have added a disk for me, which
 has been formatted and mounted as /usrnew.  I then ran the command cp -Rv
 --preserve /usr/* /usrnew as root from the / directory'.  However, the
 USED space is different - 1.9G for /usr and 2.1G for /usrnew.  I've looked
 on the web, and see that some recommend using switches -dpr or -a also.
  Using the --preserve switch kept the file/directory dates, but the dates on
 the symlink's were today's date.


 output of df -h:

 FilesystemSize  Used Avail Use% Mounted on
 /dev/dasdb1   1.2G  158M 1016M  14% /
 udev  184M  200K  184M   1% /dev
 /dev/dasda169M   14M   52M  21% /boot
 /dev/dasdh1   2.3G   85M  2.3G   4% /home
 /dev/dasdg1   1.2G  843M  331M  72% /opt
 /dev/dasdc1   2.3G  1.9G  366M  84% /usr
 /dev/dasdd1   1.1G  321M  713M  32% /var
 /dev/mapper/tmpvg-tmpvol
   14G   98M   14G   1% /tmp
 /dev/dasdq1   2.3G   33M  2.3G   2% /unused
 /dev/dasdp1   4.6G  2.1G  2.6G  45% /usrnew



 Snippet of mount:

 /dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr)
 /dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr)





 Question 1.  Is cp to correct command to do the copy, and if so what are
 the correct switches?  Beside keeping the symlinks, I'd also want to copy
 any files that start with ., and any other file types I may not be aware
 of.  I also considered using tar to backup and restore the files, and
 possibly rsync.

 Question 2.  I then want to rename the /usr directory to /usrold , and
 then rename /usrnew to /usr, and then I will update fstab and reboot.  What
 is the correct way to do the two renames above - is it the mv command, and
 if so what switches would I want to use so I copy all files types and
 preserve dates, permissions, etc.?

 Question 3.  Is there a command that will compare /usr and /usrnew for
 differences, or that will show number of files and exact space used?



 |-Original Message-
 |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 |Mark Post
 |Sent: Monday, January 04, 2010 9:00 PM
 |To: LINUX-390@VM.MARIST.EDU
 |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
 |
 | On 1/4/2010 at  5:36 PM, Slaughter, Dale dslaugh...@aegonusa.com
 |wrote:
 |-snip-
 | What is the solution to this problem?
 |
 |You need to add more space to /usr, or remove enough packages (that
 |contain files in /usr).
 |
 |
 |Mark Post
 |
 |--
 |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 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 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


Re: SLES 10 SP2 upgrade to SLES 10 SP3 error

2010-01-06 Thread Scott Rohling
Yes - I initially used this nifty tar pipe too -- you can even go over the
network with it with some tweaks.

But - the rsync incantation is SO much easier to remember...  and rsync is
fairly ubiquitous at this point, so ...

Scott

On Wed, Jan 6, 2010 at 9:24 AM, Rich Smrcina rsmrc...@wi.rr.com wrote:

 Yes... one of the classics on linuxvm.org.  I refer to it often myself.


 On 01/06/2010 10:18 AM, Marcy Cortes wrote:

 Dale, I always use the incantaion found here
 http://www.linuxvm.org/Info/HOWTOs/movefs.html


 Marcy

 This message may contain confidential and/or privileged information. If
 you are not the addressee or authorized to receive this for the addressee,
 you must not use, copy, disclose, or take any action based on this message
 or any information herein. If you have received this message in error,
 please advise the sender immediately by reply e-mail and delete this
 message. Thank you for your cooperation.




 --
 Rich Smrcina
 Phone: 414-491-6001
 http://www.linkedin.com/in/richsmrcina

 Catch the WAVV! http://www.wavv.org
 WAVV 2010 - Apr 9-13, 2010 Covington, KY


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


Re: SLES 10 SP2 upgrade to SLES 10 SP3 error

2010-01-06 Thread Scott Rohling
Good points ..  you're right - that would have been messy.

And actually - since these are mount points -- no rename is really necessary
-- just mount the correct device under /usr.

Scot

On Wed, Jan 6, 2010 at 9:47 AM, Kim Goldenberg kgold...@gmail.com wrote:

 On 01/06/2010 11:20 AM, Scott Rohling wrote:

 2)  Just use 'mv' ..mv /usr /usrold  mv /usrnew /usr   ..
 it's just a rename.

  a) If you were to use this, it would be

mv  -r /usr /usrnew

 note the -r to recurs to lower directories.

 b) If it were on one mount point, it would be a rename, but would change
 the ownership to the
 user and group executing the command. As the OP said this was between
 mount point, this would
 be an actual move, with the same caveat as previous. It would also wreak
 havok on any links,
 hard or soft.

 Kim


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


Re: SLES 10 SP2 upgrade to SLES 10 SP3 error

2010-01-06 Thread Scott Rohling
Yes - I've realized since this isn't a rename - it's a remount..

But SWEET!   I didn't know about the --move option on the mount -- tres
cool.   That will come in handy...

Scott

On Wed, Jan 6, 2010 at 9:54 AM, Edmund R. MacKenty 
ed.macke...@rocketsoftware.com wrote:

 On Wed, Jan 6, 2010 at 9:04 AM, Dale Slaughter wrote:
  Question 2.  I then want to rename the /usr directory to /usrold , and
  then rename /usrnew to /usr, and then I will update fstab and reboot.
  What is the correct way to do the two renames above - is it the mv
  command, and if so what switches would I want to use so I copy all files
  types and preserve dates, permissions, etc.?

 and on Wed, Jan 6, 2010 at 11:20, Scott Rohling replied:
 2)  Just use 'mv' ..mv /usr /usrold  mv /usrnew /usr   ..
 it's just a rename..

 I don't think that quite does what Dale wants, because it will move the
 files
 within /usr to /usrold on the root filesystem.  What really needs to be
 done
 here is to remount the filesystems on the correct mount-points, not to
 rename
 file paths.  So the right way to do it is with mount:

mkdir /usrold
mount --move /usr /usrold  mount --move /usrnew /usr

 The --move option atomically moves the filesystem, so there is no point at
 which it is unmounted.  Open files on that filesystem will remain open, so
 it
 is OK to do the above when the filesystem is busy and is not unmountable.
 However, there is still a small window between the two mount commands in
 which
 a process might try to access a file within /usr and fail because it does
 not
 exist.  If you have a lot of programs starting frequently, this is likely
 to
 be a problem.  If you have a set of stable apps running but not execing new
 programs, you should be OK.  On a production system, it would be best to
 bring it down to single-user mode first.
- MacK.
 -
 Edmund R. MacKenty
 Software Architect
 Rocket Software
 275 Grove Street · Newton, MA 02466-2272 · USA
 Tel: +1.617.614.4321
 Email: m...@rs.com
 Web: www.rocketsoftware.com

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


Re: SLES 10 SP2 upgrade to SLES 10 SP3 error

2010-01-06 Thread Scott Rohling
  root 1288 2010-01-06 14:00 tmp/
 drwxr-xr-x  4 root  root   80 2010-01-05 15:54 unused/
 drwxr-xr-x 16 root  root  424 2009-04-23 11:24 usr/
 drwxr-xr-x  2 root  root   48 2010-01-05 15:08 usrnew/
 drwxr-xr-x 16 root  root  392 2009-09-02 11:52 var/





 |-Original Message-
 |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 |Scott Rohling
 |Sent: Wednesday, January 06, 2010 10:55 AM
 |To: LINUX-390@VM.MARIST.EDU
 |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
 |
 |Good points ..  you're right - that would have been messy.
 |
 |And actually - since these are mount points -- no rename is really
 |necessary
 |-- just mount the correct device under /usr.
 |
 |Scot
 |
 |On Wed, Jan 6, 2010 at 9:47 AM, Kim Goldenberg kgold...@gmail.com
 |wrote:
 |
 | On 01/06/2010 11:20 AM, Scott Rohling wrote:
 |
 | 2)  Just use 'mv' ..mv /usr /usrold  mv /usrnew /usr   ..
 | it's just a rename.
 |
 |  a) If you were to use this, it would be
 |
 |mv  -r /usr /usrnew
 |
 | note the -r to recurs to lower directories.
 |
 | b) If it were on one mount point, it would be a rename, but would
 |change
 | the ownership to the
 | user and group executing the command. As the OP said this was between
 | mount point, this would
 | be an actual move, with the same caveat as previous. It would also
 |wreak
 | havok on any links,
 | hard or soft.
 |
 | Kim
 |
 |
 | --
 | 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 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 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


Re: Install of SLES 11 via FTP...

2010-01-06 Thread Scott Rohling
I'm thinking you don't want that extra 'SUSE' -- just  /pub/outgoing/Suse
for the directory on the server...  ?

Scott

On Wed, Jan 6, 2010 at 2:19 PM, Frank M. Ramaekers framaek...@ailife.comwrote:

 I'm having installing SLES 11 via FTP into a virtual machine.   I get to
 the point where I'm receiving:  *** No repository found.

 I'm thinking that it's my directory structure on the FTP server.

 I entered the following:

 Enter the IP address of the FTP server
 Ý10.2.0.99¨

 Enter the directory on the server
 Ý/pub/outgoing/Suse/SUSE¨

 Do you need a username and password to access the FTP server?

 1) Yes
 2) No

  2

 Use a HTTP proxy?

 1) Yes
 2) No

  2

 *** No repository found.

 -
 Here's how I have it structured:

 230 Anonymous user logged in
 ftp pwd
 257 / is your current location
 ftp cd pub
 250 OK. Current directory is /pub
 ftp cd outgoing
 250 OK. Current directory is /pub/outgoing
 ftp cd Suse
 250 OK. Current directory is /pub/outgoing/Suse
 ftp ls
 200 PORT command successful
 150 Connecting to port 5001
 .
 ..
 ARCHIVES.GZ
 BOOT
 CHANGELO
 CONTENT
 CONTENT.ASC
 CONTENT.KEY
 CONTROL.XML
 COPYING
 COPYING.DE
 COPYRIGH
 COPYRIGH.DE
 DIRECTOR.YAS
 DOCU
 GPG_P000.ASC
 GPG_P001.ASC
 GPG_P002.ASC
 GPG_P003.ASC
 GPG_P004.ASC
 GPG_P005.ASC
 GPG_PUBK.ASC
 INDEX.GZ
 LICENSE.TGZ
 LS_LR.GZ
 MEDIA.1
 NEWS
 PUBRING.GPG
 README
 SUSE
 SUSE.INS
 226-Options: -a
 226 31 matches total
 ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec.
 ftp

 TIA,

 Frank M. Ramaekers Jr.
 Systems Programmer   MCP, MCP+I, MCSE  RHCE
 American Income Life Insurance Co.   Phone: (254)761-6649
 1200 Wooded Acres Dr.Fax:   (254)741-5777
 Waco, Texas  76710






 _
 This message contains information which is privileged and confidential and
 is solely for the use of the
 intended recipient. If you are not the intended recipient, be aware that
 any review, disclosure,
 copying, distribution, or use of the contents of this message is strictly
 prohibited. If you have
 received this in error, please destroy it immediately and notify us at
 privacy...@ailife.com.

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


Re: Backup procedure for Linux

2009-12-18 Thread Scott Rohling
As others have said - rsync.The advantage is that it will 'sync' rather
than blindly back up everything, even if it's already backed up.

Example:

rsync -avx /  /media/backup

Everything in / is written to /media/backup, but it avoids mounted
filesystems (-x says stay in 1 filesystem).  Keeps you from backing up
/media/backup :-)   You can add the --delete option to the above to do a
'true' sync and erase files on /media/backup that are no longer in /.You
can run the rsync over and over and only the new or changed files are
written to the backup target.

There are tools (rdiff comes to mind) built around rsync to provide various
features and function related to backup.

'man rsync' gives some good examples of use up front.  I use it on all my
home systems to do backups, move filesystems around, etc.  Excellent tool.

Scott

On Thu, Dec 17, 2009 at 1:11 PM, Stephen Frazier ste...@doc.state.ok.uswrote:

 David Boyes wrote:

 1) install bacula
 2) define a storage director and set a known mount point for the minidisk
 3) write a small custom pre-run script that does the cchdev magic and
 mounts
 the minidisk on the mount point
 4) run a normal backup job
 5) umount the minidisk after the job runs in a post-run script

 The minidisk will contain one or more disktape volumes that can be
 restored
 with btape in the other machine, or with any bacula instance. And you get
 a
 nice printable report of what was backed up and where it went.

 -- db

  Thank you. I will look at bacula. It seems like a possibility from the
 first page of their website.

 Anybody got another suggestion?


 --
 Stephen Frazier
 Information Technology Unit
 Oklahoma Department of Corrections
 3400 Martin Luther King
 Oklahoma City, Ok, 73111-4298
 Tel.: (405) 425-2549
 Fax: (405) 425-2554
 Pager: (405) 690-1828
 email:  stevef%doc.state.ok.us


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


Re: WWBD - One large VM LPAR or multiple smaller ones?

2009-12-03 Thread Scott Rohling
It sounds like you already have more than one z/VM LPAR though...  If so..
then there's probably some limit on how many z/VM systems you realistically
want to manage.  In this case, I wouldn't slice things up except to separate
workload or provide some type of HA - period.   I would be after the minimum
number of z/VM systems to have to manage my workloads or separate them.

I'm not sure resource usage would be a factor, PRSM is pretty minimal as I
understand it -- the real factor is people hours -- the more zVM systems,
typically the more people hours needed.   There's lots of automation around
to minimize that, but in my experience, more z/VM systems requires more time
to support.  (roll out maintenance, etc)

Scott

On Thu, Dec 3, 2009 at 3:00 PM, Leland Lucius lluc...@homerow.net wrote:

 I know the answer will be It depends., but I figure I might as well ask
 anyway.

 We're in the process of migrating Websphere workloads from AIX to zLinux
 and
 figure we will need to add additional IFLs and memory.  But, rather than
 simply boosting the existing VM LPARs, we're wondering if it wouldn't be
 better to split them up into a few smaller LPARs instead.  When I say
 large,
 I'm talking maybe a 300GB/15 IFL footprint for one of our VM LPARs.  We'd
 split that into maybe 2 150GB or 3 100GB LPARs.

 We would also gain more operational freedom if we split the workloads
 correctly, so it's looking pretty good to us.  But, we don't want to do it
 if there will be too much additional overhead in terms of resource usage.

 Thanks much,

 Leland

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


Re: Getting Started with zLinux

2009-11-29 Thread Scott Rohling
If you want to install a whole desktop environment - you can.. but it isn't
really advisable..   All of those things you want require a lot of graphics
which end up being network traffic rather than a write to your video card.
(I see you are running under Hercules -- everything I'm saying really
applies to running under z and not a local emulator)

You should be able to start up some graphical thing if you like from that
command line..  Hopefully, that's only a select few things you might do for
maintenance, etc.   (try 'xclock' which should bring up a graphical clock
window -- not maintenance, but the typical 'see - it works' command)

But if you really want - sure -- yum install kde or something..

I think of Linux on z  as more like the Ubuntu server edition...  by default
- you're just going to get a terminal login window, because a 'server'
doesn't really need more than that.   But - you can install Ubuntu server
edition and then start adding on all the graphical stuff you want with
apt-get or aptitude or synaptic -- same here.

There's probably an install option you can use during the RH install that
you might have bypassed?   Some Advanced option or something where you can
pick the type of install and maybe pick desktop?   Not sure...

If you're serious about running Linux on z -- I would use the command line
rather than graphical interfaces.  Reliance on GUI isn't in your best
interest (imho).   And not just on z -- any server implementation..   you
learn more using the command line, and you can readily automate when you
know the commands behind the gui/menus/etc.

Scott


On Sun, Nov 29, 2009 at 3:57 PM, Mike Myers mhmy...@earthlink.net wrote:

 Justin:

 OK, I got vnc installed and it's sort of working. I say sort of since
 it gives me a window, but the window doesn't offer much more than what I
 got when I used ssh to access the zlinux system. The window contains a
 normal prompt and lets me enter commands, but it just acts like a
 terminal window. What I am looking for is a desktop environment like I
 get when I login to my Ubuntu linux system, one with an action bar thet
 gives me pull-downs from which I can open applications that will also
 run in windows. Am I expecting too much when I am looking for one
 Linux's worksation interface (like zLinux's) to look roughly like
 another's (Ubuntu Linux, Knoppix Linux, or any of the other Linux
 distros I have used)?

 Is there some way that you can get such a desktop as a zLinux logged-in
 user?

 Mike Myers


 using  Justin Payne wrote:

 On 11/27/2009 10:54 AM, Mike Myers wrote:

 Hi all:

 I have recently gotten RedHat's zLinux installed and running under
 Hercules, and a trying to gain some experience with it prior to
 attempting to install it in an LPAR on a client's system.

 I'm looking for some information on how to get started. All I have found
 so far is the ability to login using SSH. I have created a couple of
 users and was hoping that i could make use of a graphic environment, but
 haven't been able to get much more than a rudimentary terminal
 environment. How would I go about accessing zLinuz from a windowed
 environment and where would I find documentation?

 Mike Myers

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

 If your goal is to have remote access to an entire desktop environment,
 then the following articles is very helpful and still applicable to
 RHEL-5.

 http://www.redhat.com/magazine/006apr05/features/vnc/

 Be sure to open the necessary ports in your firewall (if iptables is
 running) that Mauro pointed out. For your Windows clients, you will need
 a vnc client (a google search for windows vnc client turns up quite a
 few).

 If an entire desktop environment is not your goal, then go with Jay
 Brenneman's suggestions.

 -Justin

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


Re: Getting Started with zLinux

2009-11-29 Thread Scott Rohling
Mike - In this case, it's more the platform and the purpose that encourages
command line.   There are things that can resemble ISPF and text driven
displays (yast on SUSE comes to mind -- you can run it from the command line
and get a fullscreen interaction).Since everything is going to be
network driven in terms of displaying data on a z -- text is much preferred
to graphics in terms of performance and resource usage.   And as a server,
you want cycles spent on your services (web, file/print, database, whatever)
rather than processing graphics for a monitor that probably doesn't even
exist (servers racks, blades, whatever).

If you're just playing with this on Hercules, not really working to
implement it on z, etc ... go ahead and install a desktop environment and
get comfortable.   Just don't carry this over to z if you implement there.
It's all about resource usage and how many servers you can run on one box
when talking 'real' virtualization.

Scott

On Sun, Nov 29, 2009 at 5:35 PM, Mike Myers mhmy...@earthlink.net wrote:

 Scott:

 Thanks for the reply.

 I agree that I am learning more about Linux using the command line
 interface than I would from a graphical interface. But, the perfectly
 awful command language in Linux (my Linux in a Nutshell manual has
 about 700 pages describing the various commands) is driving a LOT of
 research and, I believe, is probably the primary reason that it has
 taken so long for Linux to catch on as a ubiquitous user system as it has.

 I'm a mainframer from the mid-'60s, and the VM/CP, CMS and TSO command
 languages, bad as they are/were are far simpler. As such, I have been a
 user of TSO and CMS since their inception, but even with years of
 experience using TSO commands and CLIST, I still appreciated the arrival
 of menu-driven ISPF and full-screen editors.

 So, given that I'll have to use line commands on zLinux, I'll try to
 accelerate my Linux learning experience by using the graphical interface
 where I can (as in Ubuntu) and the line command interface where I have
 to sigh.

 Mike Myers


 Scott Rohling wrote:

 If you want to install a whole desktop environment - you can.. but it
 isn't
 really advisable..   All of those things you want require a lot of
 graphics
 which end up being network traffic rather than a write to your video card.
 (I see you are running under Hercules -- everything I'm saying really
 applies to running under z and not a local emulator)

 You should be able to start up some graphical thing if you like from that
 command line..  Hopefully, that's only a select few things you might do
 for
 maintenance, etc.   (try 'xclock' which should bring up a graphical clock
 window -- not maintenance, but the typical 'see - it works' command)

 But if you really want - sure -- yum install kde or something..

 I think of Linux on z  as more like the Ubuntu server edition...  by
 default
 - you're just going to get a terminal login window, because a 'server'
 doesn't really need more than that.   But - you can install Ubuntu server
 edition and then start adding on all the graphical stuff you want with
 apt-get or aptitude or synaptic -- same here.

 There's probably an install option you can use during the RH install that
 you might have bypassed?   Some Advanced option or something where you can
 pick the type of install and maybe pick desktop?   Not sure...

 If you're serious about running Linux on z -- I would use the command line
 rather than graphical interfaces.  Reliance on GUI isn't in your best
 interest (imho).   And not just on z -- any server implementation..   you
 learn more using the command line, and you can readily automate when you
 know the commands behind the gui/menus/etc.

 Scott


 On Sun, Nov 29, 2009 at 3:57 PM, Mike Myers mhmy...@earthlink.net
 wrote:


  Justin:

 OK, I got vnc installed and it's sort of working. I say sort of since
 it gives me a window, but the window doesn't offer much more than what I
 got when I used ssh to access the zlinux system. The window contains a
 normal prompt and lets me enter commands, but it just acts like a
 terminal window. What I am looking for is a desktop environment like I
 get when I login to my Ubuntu linux system, one with an action bar thet
 gives me pull-downs from which I can open applications that will also
 run in windows. Am I expecting too much when I am looking for one
 Linux's worksation interface (like zLinux's) to look roughly like
 another's (Ubuntu Linux, Knoppix Linux, or any of the other Linux
 distros I have used)?

 Is there some way that you can get such a desktop as a zLinux logged-in
 user?

 Mike Myers


 using  Justin Payne wrote:


  On 11/27/2009 10:54 AM, Mike Myers wrote:


  Hi all:

 I have recently gotten RedHat's zLinux installed and running under
 Hercules, and a trying to gain some experience with it prior to
 attempting to install it in an LPAR on a client's system.

 I'm looking for some information on how to get started. All I have
 found

Re: what is the recommand when we do partitions during installation

2009-11-26 Thread Scott Rohling
I know we've had this discussion before.. but..  I fail to understand why
everyone seems to find LVM reliable for everything BUT /.   I'm promised it
will certainly fail - it's just a matter of time.  Why??   Why does the
reliability of LVM suddenly break down when you talk about a particular
filesystem?   I find it illogical.

The few times I've experienced issues with / being an LVM are the very same
issues I have with any other filesystem under an LVM .. missing disks,
changed uuids, etc.

I'm not especially advocating using LVM for / - although I find it has some
advantages.   I'm just asking why it's reliability is so much in question.
What is there about / that makes LVM 'sure to fail'?   I say humbug to
that..

(oh yeah - it's thanksgiving - time to get the turkey in the oven)

Scott

p.s.  I'll say this -- if you do put / under an LVM - have a bootable Linux
disk you use for recovery around that doesn't use LVM at all (avoid vg name
conflicts).  Or at least be prepared to boot the install kernel..   That's
the only difference I see in using / under an LVM ..  recovery may not be as
simple..   but the concepts for correcting LVM issues are the same.

On Thu, Nov 26, 2009 at 10:38 AM, Mark Post mp...@novell.com wrote:

  On 11/26/2009 at 11:58 AM, And Get Involved sunny...@wcb.ab.ca
 wrote:
  We use sles10 on z/VM. And also use LVM.
 
  where we should put /boot  and / ?
  how large for physical volume?  Should put / into physical partition?

 Based on a number of years experience with midrange systems, adjusted
 slightly for the mainframe, I prefer this style setup:
 # df -h

 Filesystem  Size  Used Avail Use% Mounted on
 /dev/dasda1 388M  119M  250M  33% /
 /dev/vg1/home97M  4.2M   88M   5% /home
 /dev/vg1/opt 74M   21M   50M  30% /opt
 /dev/vg1/srv1.2G  1.1G  100M  92% /srv
 /dev/vg1/tmp291M   17M  260M   6% /tmp
 /dev/vg1/usr1.2G  915M  183M  84% /usr
 /dev/vg1/var245M   69M  164M  30% /var

 Some day, this is going to be the default proposal for the SLES installer.
  I'm just not sure when it will get high enough on the priority list to get
 developer time for a release.

 For mainframes, there is little to no advantage having /boot be on a
 separate partition.  The same is true of almost all modern midrange systems,
 but it tends to persist there from habit/tradition.

 I do _not_ put / into an LV.  I've had enough problems trying to recover
 the system when something went wrong to keep punishing myself by doing that
 again.  Note that you _will_ have a problem some day, it is just a matter of
 time.  By having all the other file systems broken out of / I never have to
 worry about resizing it.  Except for the contents of /root, it just doesn't
 grow, and I have complete control of what goes in /root.  Unless things work
 out just so I usually wind up with a decent amount of unused space in the
 VG.  This is a good thing to keep in reserve so that you can expand one or
 another of the LVs.

 So, what I do is take my first 3390-x volume, and put two partitions on it.
  The first is for /, and I make that about 500MB or so.  You can decide how
 big you want it for your systems.  The second is for LVM as a PV.  All other
 DASD volumes I only put one partition on, and those are all for LVM PVs.
  Note that I am not talking about application/data storage space here.  This
 is only for the operating system.  The non-OS space comes from additional
 DASD (or SCSI) and that goes into a separate VG from the OS.

  Why?

 See above.

  I remember on one red book said put /boot on /dasda with the size 512 MB.
  then the rest put into LVM. Can't find that book anymore. Is that right?

 512MB for /boot is way too large for any practical purpose.  If you're
 going to put / into an LV, I would only make /boot around 50-100MB.  But, as
 I said, I wouldn't have / in an LV.


 Mark Post

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


Re: what is the recommand when we do partitions during installation

2009-11-26 Thread Scott Rohling
Do all these people you speak of just affect / ?   I don't understand the
argument..   Yeah - mistakes get made.  The really important data is
probably not under the / LVM at all... it's in those other filesystems that
I guess people don't affect?  ;-)

The only argument I'm really hearing is that recovery is harder..  and well,
maybe.   I've had clobbered non-LVM / disks before...   I brought up a
recovery system to fix what I could.   That's what I did for an LVM / as
well..  and since we have hundreds of these buggers they are all set up
exactly the same way from an OS point of view and I didn't need the config
info to know where things are or which disks might be the issue.  (That's
why conventions like 100-1FF for Linux OS volumes are nice -- you always
know which disks make up an LVM)

Anyway - I still say humbug.  There's nothing about a non-LVM /  that will
protect you from people...

Scott

On Thu, Nov 26, 2009 at 11:06 AM, Mark Post mp...@novell.com wrote:

  On 11/26/2009 at 12:53 PM, Scott Rohling scott.rohl...@gmail.com
 wrote:
  I know we've had this discussion before.. but..  I fail to understand why
  everyone seems to find LVM reliable for everything BUT /.   I'm promised
 it
  will certainly fail - it's just a matter of time.  Why??   Why does the
  reliability of LVM suddenly break down when you talk about a particular
  filesystem?   I find it illogical.

 It's not illogical at all.  People are people and they make mistakes.  When
 all your configuration information is locked away in an inaccessible LV, it
 makes recovery very much harder than it would be otherwise.  It's not that
 LVM itself is particularly unreliable (although like any software it has
 it's bugs), it's the people involved.  And I'm not just talking about the
 system administrator.  There's also the storage admin, the fabric admin, the
 storage CE, the person that accidentally tweaked the wrong fiber connector
 in the switch, you name it.  When you've supported nearly a thousand
 physical servers, these lessons get burned into your memory.

  The few times I've experienced issues with / being an LVM are the very
 same
  issues I have with any other filesystem under an LVM .. missing disks,
  changed uuids, etc.

 Exactly.  But when you went to fix the problem, was /etc/ available?
  Probably.

  I'm not especially advocating using LVM for / - although I find it has
 some
  advantages.

 Given the file system layout I use, I see no advantages at all, only
 disadvantages.

  I'm just asking why it's reliability is so much in question.

 It's not in question, particularly.

  What is there about / that makes LVM 'sure to fail'?   I say humbug to
  that..

 See above.  It's the people involved.  (And sometimes just Murphy/Cosmic
 radiation/whatever.)


 Mark Post

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


Re: what is the recommand when we do partitions during installation

2009-11-26 Thread Scott Rohling
I have and I do.. although they were/are virtual servers - not physical.
And we should actually be talking about shared/RO root for this many servers
instead of hundreds of separate, breakable ones if we're trying to limit the
people factor..

So let's talk about this over some turkey and gravy  ;-)Tell war stories
and guzzle wine...   Happy Thanksgiving all!

Scott

On Thu, Nov 26, 2009 at 11:33 AM, Mark Post mp...@novell.com wrote:

  On 11/26/2009 at  1:30 PM, Scott Rohling scott.rohl...@gmail.com
 wrote:
 -snip-
  Anyway - I still say humbug.  There's nothing about a non-LVM /  that
 will
  protect you from people...

 Let me know if you still think the same way after supporting ~800 physical
 servers for several years.


 Mark Post

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


Re: M$oft patents sudo

2009-11-12 Thread Scott Rohling
I've got 2+2=4  locked in myself  :-)

Scott

On Thu, Nov 12, 2009 at 7:45 AM, Chase, John jch...@ussco.com wrote:

  -Original Message-
  From: Linux on 390 Port On Behalf Of Leslie Turriff
 
  On Thursday 12 November 2009 07:00:33 Chase, John wrote:
  
   My cynical take on software in general:
  
   1.  All software ultimately is a set of mathematical expressions.
   2.  Mathematical expressions are facts.
   3.  Facts are not patentable.
  
   -jc-
Or, conversely, taking the pessimistic case:
 
  1.All software ultimately is a set of mathematical expressions.
  2.All software is patentable (per present thinking).
  3.Therefore, all mathematical expressions are patentable.

 Guess I should hurry up and apply for patents on E=MC^2.  :-)

-jc-

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


Re: Where does games come from?

2009-11-03 Thread Scott Rohling
When did Marcy indicate she didn't know the purpose of these accounts?

I think we all get (how could we not by now) that you think it's a bad idea
to remove 'system' ids.   That's a valid approach -- but it's not helpful to
Marcy - who obviously disagrees (as do I).

I'm glad you wouldn't be disturbed by user/accounts that you, the sysprog,
deleted and finding them magically restored.   I am, Marcy is - and you are
not helping.

Scott

On Tue, Nov 3, 2009 at 9:35 AM, Jack Woehr j...@well.com wrote:

 Alan Altmark wrote:

 Marcy's question wasn't unreasonable and neither is the policy to remove
 unnecessary account ...
  But to implement the policy, *someone* has to be the
 arbiter of necessary, and I don't think it should be the system that's
 being audited!

 In the specific instance, most estimable Alan, your general guidance is
 wrong.

 Marcy was asking for help in deleting accounts she did not know the purpose
 of,
 /and/ the system /is/ the arbiter in that these system accounts own system
 files
 which are orphaned if the system accounts are deleted.

 In a worst-case scenario (that's what security planning is about, right?)

  1. ftp system files are orphaned by deleting the account
  2. a user account re-using the uid number for the vanished ftp
 account is accidentally created
  3. Joe User gets control of FTP.

 /That's/ the sort of security result you get from dutifully following
 directives issued by ignorami
 endowed with Papal Infallibility.


 --
 Jack J. Woehr# «'I know what it means well enough, when I
 find
 http://www.well.com/~jax http://www.well.com/%7Ejax # a thing,' said the
 Duck: 'it's generally a frog or
 http://www.softwoehr.com # a worm.'» - Lewis Carroll, _Alice in
 Wonderland_


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


Re: Where does games come from?

2009-11-02 Thread Scott Rohling
Hi Marcy -

Are you issuing userdel?   or editing /etc/passwd?  (your reference to it
makes me ask)...been awhile since I played with things like this -- but
I recall /etc/shadow maybe getting resolved by 'something' and putting
entries in passwd.

Do the entries show up at the end of passwd?  Or 'back in place'?   Just
thinking of clues..

Scott

On Mon, Nov 2, 2009 at 4:53 PM, Marcy Cortes
marcy.d.cor...@wellsfargo.comwrote:

 I keep getting rid of this userid /etc/passwd, and something puts it back.
 SLES 10.
 How do I make it stop doing that?
 Also uucp and ftp.

 Bad bad bad.


 Marcy

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


Re: Where does games come from?

2009-11-02 Thread Scott Rohling
Right - let's compare the MAINT user (i.e. root) with 'games' on Linux...

Since when is the 'default install' something that shouldn't be changed,
Jack???

Scott

On Mon, Nov 2, 2009 at 7:52 PM, Jack Woehr j...@well.com wrote:

 Marcy Cortes wrote:

 I keep getting rid of this userid /etc/passwd, and something puts it back.
 SLES 10.
 How do I make it stop doing that?


 If you have to ask this question, you should not delete userids installed
 by the default install of a Unix system!

 Maybe you could delete MAINT from the  VM Directory instead if you feel a
 need to remove default entries :)

 --
 Jack J. Woehr# «'I know what it means well enough, when I
 find
 http://www.well.com/~jax http://www.well.com/%7Ejax # a thing,' said the
 Duck: 'it's generally a frog or
 http://www.softwoehr.com # a worm.'» - Lewis Carroll, _Alice in
 Wonderland_


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


Re: Where does games come from?

2009-11-02 Thread Scott Rohling
Hit 'send' too soon...   just wanted to ask how you'd feel if you deleted
FTPSERVE on zVM  -- only to find it came back the next day?   Same thing
here..

Scott

On Mon, Nov 2, 2009 at 8:37 PM, Scott Rohling scott.rohl...@gmail.comwrote:

 Right - let's compare the MAINT user (i.e. root) with 'games' on Linux...


 Since when is the 'default install' something that shouldn't be changed,
 Jack???

 Scott


 On Mon, Nov 2, 2009 at 7:52 PM, Jack Woehr j...@well.com wrote:

 Marcy Cortes wrote:

 I keep getting rid of this userid /etc/passwd, and something puts it
 back.
 SLES 10.
 How do I make it stop doing that?


 If you have to ask this question, you should not delete userids installed
 by the default install of a Unix system!

 Maybe you could delete MAINT from the  VM Directory instead if you feel a
 need to remove default entries :)

 --
 Jack J. Woehr# «'I know what it means well enough, when I
 find
 http://www.well.com/~jax http://www.well.com/%7Ejax # a thing,' said
 the Duck: 'it's generally a frog or
 http://www.softwoehr.com # a worm.'» - Lewis Carroll, _Alice in
 Wonderland_


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


Re: Where does games come from?

2009-11-02 Thread Scott Rohling
So?   How does this explain why they reappear if removed?

If I had a NOLOG guest pop backup up on my zVM system after I removed it ..
I'd consider it a bug, regardless - and a security violation to boot.

Scott

On Mon, Nov 2, 2009 at 8:39 PM, John Summerfield 
deb...@herakles.homelinux.org wrote:

 Marcy Cortes wrote:

 I keep getting rid of this userid /etc/passwd, and something puts it back.
 SLES 10.
 How do I make it stop doing that?
 Also uucp and ftp.

 Bad bad bad.


 Consider them documentation. I their shells are set to /sbin/nologin
 or similar, nobody's going to login with them. Root can su to them, but
 if you don't trust root, you know what you are:-)

 I the accounts are locked (and I'm sure they are), then nobody else can
 su to them.

 The document and (in a sense) reserve the UID and GUID their files would
 have if they had any (and in some systems, games does). games is used
 to store scores in pissing contests.

 This is on RHEL-clone:
 [r...@bobtail ~]# touch /tmp/zink
 [r...@bobtail ~]# chown . /tmp/zink
 [r...@bobtail ~]# ls -l /tmp/zink
 -rw-r--r-- 1   0 Nov  3 10:31 /tmp/zink
 [r...@bobtail ~]#

 Having those names in /etc/passwd has no implications about ownership of
 any files that may be created.

 --

 Cheers
 John

 -- spambait
 1...@coco.merseine.nu  z1...@coco.merseine.nu
 -- Advice
 http://webfoot.com/advice/email.top.php
 http://www.catb.org/~esr/faqs/smart-questions.htmlhttp://www.catb.org/%7Eesr/faqs/smart-questions.html
 http://support.microsoft.com/kb/555375

 You cannot reply off-list:-)


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


Re: Where does games come from?

2009-11-02 Thread Scott Rohling
Hi Marcy -- back to reality here...   how did you remove the accounts?
Did any actions precipate them returning?

Scott

p.s.  And Jack -- all due respect... other than: that's what you get for
changing anything -- I didn't get where any of your posts were going.
These mailing lists are about encouraging understanding - not discouraging
it.

On Mon, Nov 2, 2009 at 9:24 PM, Marcy Cortes
marcy.d.cor...@wellsfargo.comwrote:

 That came out wrong.
 the policy is still broken

 I meant, we've gone against the policy.

 It's harder to win the policy battle that to just do it and move on.
 Believe me, I have enough other things to do.

 Marcy

 This message may contain confidential and/or privileged information. If
 you are not the addressee or authorized to receive this for the addressee,
 you must not use, copy, disclose, or take any action based on this message
 or any information herein. If you have received this message in error,
 please advise the sender immediately by reply e-mail and delete this
 message. Thank you for your cooperation.

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


<    1   2   3   4   5   6   >