Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Ayer, Paul W
> To see how the current lvm is configured I like to use the command:   
> lvdisplay  -m  lv_name 

> This will tell you what disks it's on, and what parts of the disks, and/or if 
> it's stripped or not .. 

> Most likely not stripped, but if it is then you will need to add the same 
> number of disks and disk 
  size that are already there ..


=
lvdisplay -m /dev/abcvg/abcvol

  --- Logical volume ---
  LV Name/dev/abcvg/abcvol
  VG Nameabcvg
  LV UUIDuAZIek-FTUL-6Hgb-ABrw-D6wH-h8zg-mjPxbr
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size5.97 GB
  Current LE 191
  Segments   3
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:1

  --- Segments ---
  Logical extent 0 to 72:
Typelinear
Physical volume /dev/dasdm1
Physical extents0 to 72

  Logical extent 73 to 145:
Typelinear
Physical volume /dev/dasdn1
Physical extents0 to 72

  Logical extent 146 to 190:
Typelinear
Physical volume /dev/dasdo1
Physical extents0 to 44

===

lvdisplay -m /dev/xyzvg/xyzlv

--- Logical volume ---
  LV Name/dev/dgsa09vg/stripe_o05gsa1startlv
  VG Namexyzvg
  LV UUIDBWxYeH-927r-07jJ-E3zV-5FAc-Bofc-fB0S0o
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size50.02 GB
  Current LE 12804
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 24832
  Block device   253:14

  --- Segments ---
  Logical extent 0 to 12803:
Typestriped
Stripes 97
Stripe size 64 KB
Stripe 0:
  Physical volume   /dev/dasdab1
  Physical extents  1479 to 1610
Stripe 1:
  Physical volume   /dev/dasdac1
  Physical extents  1479 to 1610
Stripe 2:
  Physical volume   /dev/dasdad1
  Physical extents  1479 to 1610
Stripe 3:
  Physical volume   /dev/dasdae1
  Physical extents  1479 to 1610

Goes on this way for 97 disks  


Paul 
617-985-8671


Confidentiality Notice:  The information contained in this email is intended 
for the confidential use of the above-named recipient(s).  If the reader of 
this message is not the intended recipient or person responsible for delivering 
it to the intended recipient, you are hereby notified that you have received 
this communication in error, and that any review, dissemination, distribution, 
or copying of this communication is strictly prohibited.  If you have received 
this in error, please notify the sender immediately and destroy this message.

Data Classification: Limited Access

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Scott 
Rohling
Sent: Wednesday, March 14, 2012 2:42 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Cannot add drive to existing LVM SLES 11 SP 1

It's not too difficult to do this on the command line:

lsdasd  and figure out what the /dev/dasd device is - let's say it's dasdx

format it:   dasdfmt -b 4096 /dev/dasdx
partition it:   fdasd -a /dev/dasdx (make one partition using whole
deice)
lvm format:  pvcreate /dev/dasdx1
add to volume group:vgextend vg-name /dev/dasdx1   (where vg-name is
the volume group name you're extending)

You can then issue appropriate lvextend command to add space to the logical
volume..  for example - add 2G to to testlv in testvg:

lvextend +L 2G /dev/testvg/testlv

Then issue appropriate resize commands for whatever filesystem..

Hope that helps - not sure about SLES or Yast system tools for this - I
always use command line.

Scott Rohling

On Wed, Mar 14, 2012 at 11:28 AM, Tom Duerbusch
wrote:

> I have an existing LVM that is near out of space.
> I created it with the defaults that came with SLES 11 SP 1.
>
> Now I need to add a drive to the LVM pool.  But there doesn't seem to be
> an option to add a volume to the pool.
>
> I have done the same thing with SLES 8, 9 and 10, so it is not like I
> don't have an understanding of what is needed.
>
> So, I'm wondering if SLES 11 SP 1 just didn't include that option by
> mistake, or if the defaults changed to making striping, or something else
> that prevents just adding a disk to the pool, that I didn't pay attention
> to.
>
> I'm now on the tangent of bringing up a test SLES 11 SP 1 system that I
> can crash and/or destroy while playing around on adding a pack to an
> existing LVM.  But just in case it is something simple, it is better to ask
> the collective, before I spend the hours on researching the problem.
>
> Thanks
>
> Tom Duerbusch
>

Re: LVM on CKD?

2011-06-09 Thread Ayer, Paul W
I find that fdasd /dev/dasd_ shows "Linux Native" for a dasdfmt disks 
and it shows "Linux LVM" LVM after you do a pvcreate command to the disk.



Using p to look at the partitions and q to not change them ... 

Command action
   m   print this menu
   p   print the partition table
   n   add a new partition
   d   delete a partition
   v   change volume serial
   t   change partition type
   r   re-create VTOC and delete all partitions
   u   re-create VTOC re-using existing partition sizes
   s   show mapping (partition number - data set name)
   q   quit without saving changes
   w   write table to disk and exit



Paul 



-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Shane G
Sent: Wednesday, June 08, 2011 7:44 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: LVM on CKD?

On Thu, Jun 9th, 2011 at 6:12 AM, Mark Post wrote:

> To be honest, I don't think LVM itself cares about the partition type. 
> pvcreate will use any partition you point it at.

This is unfortunately (almost unbelievably) true - with the notable exception
of swap. Regardless of the partition type of a swap extent, pvcreate
recognises the swap header and will query you before trashing it.
Any other partition type - including those with valid filesystems and data -
will be fair game.

Shane ...
(N.B. - not (re-)verified on z/)

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

2011-06-02 Thread Ayer, Paul W
We lower the default for the parmvm.swappiness 

The default is 60 and we mostly set this to 5 now.

To see where it's set now; 

   cat /proc/sys/vm/swappiness 

Change it;

   echo 5 > /proc/sys/vm/swappiness



Update the /etc/sysctl.conf file to keep where you want it ... 20, 5, or even 0 
... 


Hope this is some help...

Paul 




-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Dave 
Czajkowski
Sent: Thursday, June 02, 2011 8:43 AM
To: LINUX-390@VM.MARIST.EDU
Subject: SwapCache

Is there a way to disable or limit the amount of SwapCache?   I understand
it's function, but the double allocation of these pages is causing my low
memory alerts to trip.

I can remove the swap copy with a swapoff/swapon.   Is there a more elegant
way to remove?

--
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: Oracle 11g on zLinux

2011-03-30 Thread Ayer, Paul W
Am I missing it?

>  Great I'll download that right after my eye doctor's appointment.

Thanks all,

Paul 


Confidentiality Notice:  The information contained in this email is intended 
for the confidential use of the above-named recipient(s).  If the reader of 
this message is not the intended recipient or person responsible for delivering 
it to the intended recipient, you are hereby notified that you have received 
this communication in error, and that any review, dissemination, distribution, 
or copying of this communication is strictly prohibited.  If you have received 
this in error, please notify the sender immediately and destroy this message.

Data Classification: Limited Access


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Wednesday, March 30, 2011 11:20 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Oracle 11g on zLinux

>>> On 3/30/2011 at 11:05 AM, "Ayer, Paul W"  wrote: 
> Sorry I don't see zlinux (or s390x or linux on z) under the 11g just the 10g 
> on the oracle download page... 
> 
> Am I missing it ?

It's the first selection on the page, in between the (11.2.0.2.0) and 
(11.2.0.1.0) headers.


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: Oracle 11g on zLinux

2011-03-30 Thread Ayer, Paul W
Sorry I don't see zlinux (or s390x or linux on z) under the 11g just the 10g on 
the oracle download page... 

Am I missing it ?

Paul 


Confidentiality Notice:  The information contained in this email is intended 
for the confidential use of the above-named recipient(s).  If the reader of 
this message is not the intended recipient or person responsible for delivering 
it to the intended recipient, you are hereby notified that you have received 
this communication in error, and that any review, dissemination, distribution, 
or copying of this communication is strictly prohibited.  If you have received 
this in error, please notify the sender immediately and destroy this message.

Data Classification: Limited Access


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Damian 
Gallagher
Sent: Wednesday, March 30, 2011 10:45 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Oracle 11g on zLinux

Oracle 11GR2 (11.2.0.2.0) is now available via Oracle Technology Network, in 
1QCY2011 as previously announced.
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

cheers
Damian

-Original Message-
From: Moeur Tim C [mailto:tim.mo...@srpnet.com] 
Sent: 19 November 2010 21:26
To: LINUX-390@vm.marist.edu
Subject: Re: Oracle 11g on zLinux

I was provided this link in some of my correspondence with IBM on this
subject:

http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/PRS4016
See page 2.

The Oracle document mentioned in the IBM doc confirms the intent to
provide support and availability 1Q2011.

Tim

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Rodger Donaldson
Sent: Wednesday, November 17, 2010 10:47 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Oracle 11g on zLinux

On Tue, Nov 16, 2010 at 12:01:35PM -0700, Mark Post wrote:
>
> > I'm hunting for descriptive documents on
> > Oracle's site, but none are forthcoming.   I see on this forum that
> > question was asked 2 years ago, but has it changed in 2 years?
>
>  Not really.  Current estimates are Q1 2011.  But I've heard such
> estimates before, so I take that with a large chunk of salt.  I'm
> told that this time things will be different, but I'll believe that
> when I see the announcement.

Me too; Oracle folks I've dealt with lately have seemed way more
interested in shoehorning us onto OEL than supporting Oracle on
zLinux.

We've had the releases for 11g turn into cancellations (for the 11.1)
and subsequent delays (for 11.2).

--
Rodger Donaldsonrodg...@diaspora.gen.nz

--
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: VLAN tagging and Channel Bonding with Linux

2011-03-29 Thread Ayer, Paul W
Glad to be able to help.


One other thing I found is that with Vswitches MIIMON does not work .. thus I 
use the arp.

Reason is the OSA's can go down but the Vswitch and linux NIC's never will ... 
or the real switch could die .. linux will never know.

We have setup eth0's and eth1's to go to different Vswitches so that with their 
own link aggregated over pairs too.

Anyways the nice part is that if for some reason the arp does not work over 
eth0 then bonding stops using it until the arp works again 
and it starts using it again. No action needs to be taken.

We monitor /proc/net/bonding/bond0 for the status ... the eth0 or eth1 are 
always up via ifconfig display so can't really use that anymore
 


Paul 


Confidentiality Notice:  The information contained in this email is intended 
for the confidential use of the above-named recipient(s).  If the reader of 
this message is not the intended recipient or person responsible for delivering 
it to the intended recipient, you are hereby notified that you have received 
this communication in error, and that any review, dissemination, distribution, 
or copying of this communication is strictly prohibited.  If you have received 
this in error, please notify the sender immediately and destroy this message.

Data Classification: Limited Access


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Marcy 
Cortes
Sent: Tuesday, March 29, 2011 1:39 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VLAN tagging and Channel Bonding with Linux

Bingo!  Thank you Paul!

The .xxx way on the bond device works!  The other way with ifcfg-vlanxxx 
doesn't seem to.

So I'm good!


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.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Ayer, 
Paul W
Sent: Tuesday, March 29, 2011 9:49 AM
To: LINUX-390@vm.marist.edu
Subject: Re: [LINUX-390] VLAN tagging and Channel Bonding with Linux

We have both in place.

What we do is create ifcfg-eth0 and ifcfg-eth1 and ifcfg-bond0 like normal .. 

Do not put the ip info in them...

Then create a ifcfg-bond0.xxx   (xxx = the vlan tag .. like 32 or 155 or 88 .. 
whatever)

Also found that you will want to remove gateway= from /etc/sysconfig/network

Here is a Red Hat sample...



=

/etc/sysconfig/network-scripts ifcfg-bond0
---
DEVICE=bond0
TYPE=Bonding
ONBOOT=yes


---
/etc/sysconfig/network-scripts ifcfg-eth0
---
DEVICE=eth0
NETTYPE=qeth
SUBCHANNELS=0.0.0900,0.0.0901,0.0.0902
PORTNAME=eth0
TYPE=Ethernet
OPTIONS=layer2=1
SLAVE=yes
MASTER=bond0


---
/etc/sysconfig/network-scripts ifcfg-eth1
---
DEVICE=eth1
NETTYPE=qeth
SUBCHANNELS=0.0.0903,0.0.0904,0.0.0905
PORTNAME=eth0
TYPE=Ethernet
OPTIONS=layer2=1
SLAVE=yes
MASTER=bond0

--
/etc/sysconfig/network-scripts/ifcfg-bond0.32
--
DEVICE=bond0.32
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.48.32.24
USERCTL=no
NETMASK=255.255.255.0
VLAN=yes
VSWITCH=1
NETWORK=10.48.32.0
GATEWAY=10.48.32.250

---
/etc/modprobe.conf
---
options dasd_mod dasd=291
alias net-pf-10 off
alias ipv6 off
alias eth0 qeth
alias eth1 qeth
alias bond0 bonding
options bonding mode=2 arp_interval=1000 arp_ip_target=10.48.32.250
# options bonding mode=0 arp_interval=1000 arp_ip_target=10.48.32.250






Paul 

Confidentiality Notice:  The information contained in this email is intended 
for the confidential use of the above-named recipient(s).  If the reader of 
this message is not the intended recipient or person responsible for delivering 
it to the intended recipient, you are hereby notified that you have received 
this communication in error, and that any review, dissemination, distribution, 
or copying of this communication is strictly prohibited.  If you have received 
this in error, please notify the sender immediately and destroy this message.

Data Classification: Limited Access


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Tuesday, March 29, 2011 12:20 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VLAN tagging and Channel Bonding with Linux

>>> On 3/29/2011 at 12:01 PM, Marcy Cortes  
>>> wrote: 
> I have vlan tagging working
> And channel bonding working

Re: VLAN tagging and Channel Bonding with Linux

2011-03-29 Thread Ayer, Paul W
We have both in place.

What we do is create ifcfg-eth0 and ifcfg-eth1 and ifcfg-bond0 like normal .. 

Do not put the ip info in them...

Then create a ifcfg-bond0.xxx   (xxx = the vlan tag .. like 32 or 155 or 88 .. 
whatever)

Also found that you will want to remove gateway= from /etc/sysconfig/network

Here is a Red Hat sample...



=

/etc/sysconfig/network-scripts ifcfg-bond0
---
DEVICE=bond0
TYPE=Bonding
ONBOOT=yes


---
/etc/sysconfig/network-scripts ifcfg-eth0
---
DEVICE=eth0
NETTYPE=qeth
SUBCHANNELS=0.0.0900,0.0.0901,0.0.0902
PORTNAME=eth0
TYPE=Ethernet
OPTIONS=layer2=1
SLAVE=yes
MASTER=bond0


---
/etc/sysconfig/network-scripts ifcfg-eth1
---
DEVICE=eth1
NETTYPE=qeth
SUBCHANNELS=0.0.0903,0.0.0904,0.0.0905
PORTNAME=eth0
TYPE=Ethernet
OPTIONS=layer2=1
SLAVE=yes
MASTER=bond0

--
/etc/sysconfig/network-scripts/ifcfg-bond0.32
--
DEVICE=bond0.32
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.48.32.24
USERCTL=no
NETMASK=255.255.255.0
VLAN=yes
VSWITCH=1
NETWORK=10.48.32.0
GATEWAY=10.48.32.250

---
/etc/modprobe.conf
---
options dasd_mod dasd=291
alias net-pf-10 off
alias ipv6 off
alias eth0 qeth
alias eth1 qeth
alias bond0 bonding
options bonding mode=2 arp_interval=1000 arp_ip_target=10.48.32.250
# options bonding mode=0 arp_interval=1000 arp_ip_target=10.48.32.250






Paul 

Confidentiality Notice:  The information contained in this email is intended 
for the confidential use of the above-named recipient(s).  If the reader of 
this message is not the intended recipient or person responsible for delivering 
it to the intended recipient, you are hereby notified that you have received 
this communication in error, and that any review, dissemination, distribution, 
or copying of this communication is strictly prohibited.  If you have received 
this in error, please notify the sender immediately and destroy this message.

Data Classification: Limited Access


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Tuesday, March 29, 2011 12:20 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VLAN tagging and Channel Bonding with Linux

>>> On 3/29/2011 at 12:01 PM, Marcy Cortes  
>>> wrote: 
> I have vlan tagging working
> And channel bonding working.
> But I need to make them both work together.
> 
> Do you tag each of the interfaces or tag the bond device?

Without actually researching this, my first reaction would be to tag the bond 
interface.


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: Support thru IBM?

2010-10-27 Thread Ayer, Paul W
I use the link:  https://www-304.ibm.com/ibmlink/etr/etr.wss

After log in I do;


1)   ETR ask a question


2)   z/VM Operating System and Related Products 


3)   Linux for zSeries (SuSE, TurboLinux, Red Hat)



That normally gets the ball rolling. 

They will work on any issue until/unless they find it is a defect in the
distribution.
If they have to contact Red Hat, at that point they will ask for you Red
Hat acct number to use when they work with Red Hat for you...




Paul W. Ayer, 
State Street Corporation  |  Global Infrastructure Services  |  1776
Heritage Drive, JAB4E, North Quincy, MA 02171
P 617-985-8671  |  F 617-537-2033  |   pwa...@statestreet.com

Data Classification: Limited Access

The information contained in this email and any attachments have been
classified as limited access and/or privileged State Street
information/communication and is intended solely for the use of the
named addressee(s). 
If you are not an intended recipient or a person responsible for
delivery to an intended recipient, please notify the author and destroy
this email. Any unauthorized copying, disclosure, retention or
distribution of the material in this email is strictly forbidden. 

Go green. Consider the environment before printing this email.

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Bauer, Bobby (NIH/CIT) [E]
Sent: Wednesday, October 27, 2010 7:17 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Support thru IBM?

Thanks, worth a try.

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


-Original Message-
From: RPN01 [mailto:nix.rob...@mayo.edu] 
Sent: Tuesday, October 26, 2010 4:16 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Support thru IBM?

I use the z/VM tree, and specify in the beginning of the problem
description
that it is a RedHat Linux problem, and that we get out service from IBM,
but
that there is no option for it in the IBMLink tree. It gets to the right
person somehow.

--
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 10/26/10 2:08 PM, "Harder, Pieter" 
wrote:

> Yes, you can (at least for Suse I have done so). You illogically have
to
> follow the z/OS tree and Linux is linked in as a z/OS subproduct.
>
> 
> Van: Linux on 390 Port [linux-...@vm.marist.edu] namens Bauer, Bobby
(NIH/CIT)
> [E] [baue...@mail.nih.gov]
> Verzonden: dinsdag 26 oktober 2010 20:43
> Aan: LINUX-390@VM.MARIST.EDU
> Onderwerp: Re: Support thru IBM?
>
> We've been told you can't use IBMLINK to open a problem.
>
> Bobby Bauer
> Center for Information Technology
> National Institutes of Health
> Bethesda, MD 20892-5628
> 301-594-7474
>
>
>
> -Original Message-
> From: RPN01 [mailto:nix.rob...@mayo.edu]
> Sent: Tuesday, October 26, 2010 12:00 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Support thru IBM?
>
> The short answer is "Yes".
>
> We do it both ways.
>
> --
> 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 10/26/10 7:27 AM, "Bauer, Bobby (NIH/CIT) [E]"

> wrote:
>
>> To those who have Redhat support through IBM, are you able to enter a
problem
>> using IBMLINK or do you have to call?
>>
>> Thanks
>> 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/
>
> --
> 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.m

Re: zVM RACF database synchronization

2009-06-05 Thread Ayer, Paul W
Ok thanks again Alan,  we will continue to work to get that going
then(TDI and LDAP)

Paul

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Alan Altmark
Sent: Thursday, June 04, 2009 4:35 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: zVM RACF database synchronization

On Thursday, 06/04/2009 at 04:06 EDT, "Ayer, Paul W"
 wrote:

> So we did install the LDAP server sometime ago in zVM and have been
> trying to get something with TDI going. We spoke today with our normal
> LDAP folks and they asked why .. if it's just keeping some LDAP files
in
> sync do we just not let LDAP do that all by it self as they indicated
> that LDAP most often does that all by itself? So we read some more on
> the zVM LDAP server and what it can do ... it seems I could without
TDI
> ... Do we really need TDI?

I am told that yes, you really need TDI.  I believe that you cannot use
normal LDAP replication because passwords are not stored as files in the
LDAP database and they are not extractable in a way that would be usable
to your average replication daemon.

> Also you state that with TDI we can only keep the passwords in sync ..
> is there no way even with LDAP and TDI to add, change and delete
> userids?

If TDI can perform ldap-modify operations and you engage the SDBM
instead
of LDBM, it can add/delete/connect users and groups.  You cannot add
users
to the RACF database with LDBM.

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

--
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: zVM RACF database synchronization

2009-06-04 Thread Ayer, Paul W
Hi Alan,

Thanks for the info.

We are not planning to link the zOS and zVM databases as we have been
advised not to do, but was just asking if anyone did. So since we are
not going to do it, it's not work talking about anyway..

So we did install the LDAP server sometime ago in zVM and have been
trying to get something with TDI going. We spoke today with our normal
LDAP folks and they asked why .. if it's just keeping some LDAP files in
sync do we just not let LDAP do that all by it self as they indicated
that LDAP most often does that all by itself? So we read some more on
the zVM LDAP server and what it can do ... it seems I could without TDI
... Do we really need TDI?

Also you state that with TDI we can only keep the passwords in sync ..
is there no way even with LDAP and TDI to add, change and delete
userids?

Thanks,
Paul


-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Alan Altmark
Sent: Thursday, June 04, 2009 1:11 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: zVM RACF database synchronization

On Thursday, 06/04/2009 at 11:24 EDT, "Ayer, Paul W"
 wrote:

> Today we have many zVM systems to using RACF that are all stand alone
> across our data centers. These zVM are to support our zLinux guests.
>
> Is there a way to have the RACF databases (adds, deletes, password
> changes) kept in sync between all of the zVM's on our network?

There is currently nothing that will synchronize z/VM RACF databases (a
la
RRSF), though you can synchronize user passwords with LDAP and a product
such as IBM Tivoli Directory Integrator.

I'm assuming that the z/VM systems are not close enough to share DASD,
as
it is ok for z/VM systems to share the RACF database with other z/VM
systems.  So that means replicating the database.  Note, however, that
you
cannot just slide a new db under RACF.  You need to take him down and
up.

The other alternative is automation.

> We have been told that our zOS and zVM databases can not be connected
at
> all so we have not even looked into that. Has anyone done this?

You can share a RACF database between z/VM and z/OS with the following
caveats:
- You can't build a long-term dependency on it.  It is tactical only.
- The z/OS system cannot be part of a Sysplex
- Since systems aren't close enough for shared dasd, that means one
companion z/OS system per z/VM system.
- There's no such thing as a "free" z/OS system.
- The z/VM audit trail has no record of any database change made from
z/OS
- The z/OS audit trail has no record of any database change made from
z/VM
- Operationally, you can't hide RACF on z/VM.  SETROPTS and SETEVENT
must
be issued on the z/VM system and you have to processes RACF/VM's SMF
records (the audit trail)
- Having a z/VM user in the z/OS RACF database may provide unintended
access to z/OS resources
- Having a z/OS user in the z/VM RACF database may provide unintended
access to z/VM resources
   ** Particulary w.r.t. remote access! **
- If z/OS introduces an incompatibility in the RACF database, your z/VM
system is at risk
- If z/VM introduces an incompatibility in the RACF database, your z/OS
system is at risk
- You can explain to management and auditors how the above makes things
"better" for you and them

For the above reasons, the Weasel-in-Chief of z/VM Security at IBM
recommends AGAINST sharing the RACF database between z/OS and z/VM.
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

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


zVM RACF database synchronization

2009-06-04 Thread Ayer, Paul W
 

Good morning all,

 

Today we have many zVM systems to using RACF that are all stand alone
across our data centers. These zVM are to support our zLinux guests.

 

Is there a way to have the RACF databases (adds, deletes, password
changes) kept in sync between all of the zVM's on our network?

 

Is anyone doing this?

 

We have been told that our zOS and zVM databases can not be connected at
all so we have not even looked into that. Has anyone done this?

 

Thanks,

Paul

 


--
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: Z10 2098 Q03 Experiences with Sles9 or Sles10

2009-05-27 Thread Ayer, Paul W
We have sles 9's and 10's and also rhel 4.4 thru 5.3 systems and had no
issues at all from z9 to z10 hardware changes.

Paul

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Shockley, Gerard C
Sent: Wednesday, May 27, 2009 4:06 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Z10 2098 Q03 Experiences with Sles9 or Sles10

Q: 

Has anyone experienced any issues migrating from z9 to a z10 (any issue
or processor model) for s390x SLES9 or 10? 

SLES9 is at  2.6.5-7.282 

SLES10 is at 2.6.16.60-0.37 



TIA

Gerard C. Shockley
Boston University
gsh...@bu.edu

617.353.9898 (w)
617.353.6171 (f)

http://www.bu.edu/uis_web3270/z10BC.png  (A picture of one incase you
need a visual reference)

--
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: channel bonding using 2 Vswitches

2009-05-15 Thread Ayer, Paul W
Thanks for the update Peter.

Sorry we know that the items listed are working as planned did not
intend to indicate that it was a problem we found just the reasons why
we were looking at this ...

So we'll keep checking and also thanks for the VSS info we had looked at
that in the past and for some reason it was dropped to we will review
that one again too.

Paul

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Harder, Pieter
Sent: Wednesday, May 13, 2009 2:48 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: channel bonding using 2 Vswitches

>1.  We found that when you add OSAs to a Vswitch and setup link
>aggregation that the OSAs is used only on that Vswitch.

That is by definition. Setting up layer2 LACP requires exclusivity for
the OSA chpid.

>2.  When you setup port channeling in the Real Switch you must be
>reading (Vswitch side) from every OSA

Also by definition. An OSA not answering port channeling frames is down
as far as the inquiring side is concerned.

>3.  This seems to be the only way we could configure to support a
>real switch failure.

No, it can be done for example with Cisco VSS switch pairs, where the
failover of the real switch box is a function of the VSS code. Other
vendors may/may not have this feature, I am no networking guy.

Now to your main question: how are you going to tell the two VSWITCHes
involved the VNICs form a port channel? It does not even work with one
VSWITCH (I tried) as VSWITCH has no port channeling other than to real
OSA's. You can define two VNICs on one guest to the same VSWITCH and put
Linux bonding to them, but only one VNIC will be used. The other one is
useless and does not even have a role as failover as the first one can
have no hardware failure to failover from.


Best regards,
Pieter Harder

pieter.har...@brabantwater.nl
tel  +31-73-6837133 / +31-6-47272537

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

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to 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: channel bonding using 2 Vswitches

2009-05-14 Thread Ayer, Paul W
Thanks Peter,

We did understand that the items listed were by design but was just
indication the reasons why were going to try to work around these
limits.

We had looked at the VSS (and will do again thanks for the reminder) but
are going to see if we can get this idea to work.

Thanks again,
Paul

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Harder, Pieter
Sent: Wednesday, May 13, 2009 2:48 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: channel bonding using 2 Vswitches

>1.  We found that when you add OSAs to a Vswitch and setup link
>aggregation that the OSAs is used only on that Vswitch.

That is by definition. Setting up layer2 LACP requires exclusivity for
the OSA chpid.

>2.  When you setup port channeling in the Real Switch you must be
>reading (Vswitch side) from every OSA

Also by definition. An OSA not answering port channeling frames is down
as far as the inquiring side is concerned.

>3.  This seems to be the only way we could configure to support a
>real switch failure.

No, it can be done for example with Cisco VSS switch pairs, where the
failover of the real switch box is a function of the VSS code. Other
vendors may/may not have this feature, I am no networking guy.

Now to your main question: how are you going to tell the two VSWITCHes
involved the VNICs form a port channel? It does not even work with one
VSWITCH (I tried) as VSWITCH has no port channeling other than to real
OSA's. You can define two VNICs on one guest to the same VSWITCH and put
Linux bonding to them, but only one VNIC will be used. The other one is
useless and does not even have a role as failover as the first one can
have no hardware failure to failover from.


Best regards,
Pieter Harder

pieter.har...@brabantwater.nl
tel  +31-73-6837133 / +31-6-47272537

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

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to 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


channel bonding using 2 Vswitches

2009-05-13 Thread Ayer, Paul W
Has anyone setup Channel Bonding using NICs from two Vswiches in Layer 2
mode?
We do not have this running yet but are starting to test ... 

There are a couple of reason for this;

1.  We found that when you add OSAs to a Vswitch and setup link
aggregation that the OSAs is used only on that Vswitch.
2.  When you setup port channeling in the Real Switch you must be
reading (Vswitch side) from every OSA 
3.  This seems to be the only way we could configure to support a
real switch failure.

 
 
||  Osa1 ---
|--|
   Eth0  | Vswitch 0 |  Osa2 --- | Real Switch 0
|
   /||  Osa3 ---
|--| (real switches need to have
port channeling and vlan trunking turned on)
  /
| |
 /
| |
Bond0
| |   
 \
| | 
   \
| |
 \   |---| --- Osa4 -
|---|
 Eth1 --- | Vswitch 1| --- Osa5 - | Real Switch 1 |
 |---| --- Osa6 -
|--|





Thanks,
Paul

--
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: SLES11 install

2009-04-02 Thread Ayer, Paul W
Do you need to add Vswitch=1 to your parms file maybe? 
In Red Hat we do ...

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Mark Pace
Sent: Thursday, April 02, 2009 3:49 PM
To: LINUX-390@VM.MARIST.EDU
Subject: SLES11 install

Has anyone successfully installed SLES11 using a Layer2 vswitch?  I've
installed using layer3 vswitch then migrated to a layer2.  Also
installed
via hipersockets.  But can't do an install on a layer2 switch.
checking CCW address 0.0.1d00

checking CCW address 0.0.1d01

checking CCW address 0.0.1d02

(portname vswtch1)

(Layer2)

qeth.933eb7: register layer 2 discipline

(Port 0)

qdio: 0.0.1d02 OSA on SC 3 using AI:1 QEBSM:0 PCI:1 TDD:1 SIGA:RW AO

qeth.e13e5b: 0.0.1d00: MAC address 02:00:85:00:00:06 successfully
registered
on device eth0
qeth.736dae: 0.0.1d00: Device is a Guest LAN QDIO card (level: V541)

with link type GuestLAN QDIO (portname: vswtch1)

ccwgroup 0.0.1d00 has network IF eth0

*** glibc detected *** /init: free(): invalid pointer:
0x038ea4e4
***
Kernel panic - not syncing: Attempted to kill init!

HCPGIR450W CP entered; disabled wait PSW 00020001 8000 
00110E8A

My parm file.
ramdisk_size=131072 root=/dev/ram1 ro init=/linuxrc TERM=dumb
HostIP=199.44.xxx.xx Gateway=199.44.xxx.x Nameserver=199.44.xx.xx
HostName=host.domain OSAHWaddr=02-00-85-00-00-06
InstNetDev=osa Netmask=255.255.255.128 Broadcast=199.44.xxx.xxx
OsaInterface=qdio OsaMedium=eth Layer2=1
ReadChannel=0.0.1d00 Writechannel=0.0.1d01 DataChannel=0.0.1d02
Portname=vswtch1 PortNo=0
Install=ftp://user:p...@199.44.xxx.xx/DVD1
UseSSH=1 SSHPassword=pass
linuxrclog=/dev/console
--
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

--
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: swappiness & drop_caches ?

2009-04-01 Thread Ayer, Paul W
For swappiness  it seems that it would be set by each system and what they are 
doing from what I am reading..

For the cache I have found that you MUST enter the command sync first then it 
all works fine and a free display shows lower after .. without entering the 
sync command first they system just hangs up ... very true ...

Thanks,
Paul

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Rob van 
der Heij
Sent: Wednesday, April 01, 2009 3:43 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: swappiness & drop_caches ?

On Wed, Apr 1, 2009 at 9:20 PM, Ayer, Paul W  wrote:
> Good afternoon all,
>
> Just wondering if anyone has some input (good, bad, warnings  ...) or
> has had to used the following two items  we are running VM5.4 and
> RHEL4.x and 5.x sles 9 and 10 systems
>
>
>
> 1)      Setting swappiness to other than the default of 60 ?
>
>                 Echo nn > /proc/sys/vm/swappiness

This really is a "desktop thingy" but may turn out useful for us as
well. It defines an amount of page cache to retain even when that
means Linux would need to swap things. You would want it large enough
to hold relevant program binaries and shared libraries, etc.
The nasty part is that it is expressed as a percentage of total memory
resources rather than a fixed amount. So you need to come up with a
right setting each time you change the virtual machine size.
In theory, for largish virtual machines you would want to lower the
swappiness. However, when the application does shared memory that
lives in page cache (for example the Oracle SGA) then you want to make
sure you also leave room for that. Setting it too low will not leave
room for the good stuff.

> 2)      dropping caches ?
>
>
>                Echo 1 or 2 or 3 > /proc/sys/vm/drop_caches

The Linux server died when the customer tried this. I told him it
should return after completion, but did not in 5 minutes. Does that
count as bad? ;-)

Obviously, if it works well then this is just temporary relief. Linux
will immediately start to load stuff in page cache again. The other
problem is that z/VM is not aware that the pages have been freed and
will be re-used, so they will still be backed by z/VM real page frames
or paging space. And by just touching and re-arrange of the pages you
may actually make things worse.
Instead, you could use CMM-1 and inflate the balloon by the amount
that you want to drop from the cache. It will use the same criteria to
select pages, but this time it *will* tell z/VM to drop the
corresponding real storage. Although the amount may be a bit harder to
determine, the advantage is that you don't disturb the usage patterns
of the portion that you want to retain.

Rob
-- 
Rob van der Heij
Velocity Software
http://www.velocitysoftware.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


swappiness & drop_caches ?

2009-04-01 Thread Ayer, Paul W
Good afternoon all,

Just wondering if anyone has some input (good, bad, warnings  ...) or
has had to used the following two items  we are running VM5.4 and
RHEL4.x and 5.x sles 9 and 10 systems



1)  Setting swappiness to other than the default of 60 ?

 Echo nn > /proc/sys/vm/swappiness



2)  dropping caches ?

 
Echo 1 or 2 or 3 > /proc/sys/vm/drop_caches


Thanks,
Paul

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


ypserv on zLinux (s390x)

2009-03-04 Thread Ayer, Paul W
Good Morning all,

We are trying to install and get working ypserv on zLinux for the first
time.

It seems that a post install scritp keeps failing with the install.

Does anyone have ypserv installed on a RedHat 4.6 s390x system?


Here is what we see;

rpm -Uih ypserv-2.13-19.s390x.rpm

### [100%]

### [100%]

warning: /var/yp/Makefile created as /var/yp/Makefile.rpmnew

service ypserv does not support chkconfig

service yppasswdd does not support chkconfig

service ypxfrd does not support chkconfig

error: %post(ypserv-2.13-19.s390x) scriptlet failed, exit status 1



Any ideas?


Thank you,
Paul

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


zipl options

2009-02-03 Thread Ayer, Paul W
Good morning,

I have just realized that I accidently deleted my initrd-xxx.img file
and the system will not boot up.

I did not setup any options from the zipl menu to point to another .img
file .. shame on me ...

Is there another way to pass the at ipl time a parm to use another
initrd-.img file?

Thanks,
Paul

--
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: Good editor for under the 3270 console interface

2009-01-28 Thread Ayer, Paul W
I use sed and also use echo a lot too from the console.
 
Don't forget to use the >> to add to file :) else you then need to echo
in every line again.

I'm going to try the ex now that would be great.

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Edmund R. MacKenty
Sent: Wednesday, January 28, 2009 2:09 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Good editor for under the 3270 console interface

On Wednesday 28 January 2009 14:01, Scott Rohling wrote:
>When you say 'line editor' - that's exactly what you are forced to
use..
>for example sed.
>
>You won't be able to use a 'fullscreen' editor unless you use an ascii
>console..  vi/vim/nano are all fullscreen editors.

Actually, sed is a "script editor".  The classic line editor is ed.
And vi is the "visual editor".  Why it wasn't called "ved", I don't
know. :-)
- 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


why it's not working - where to start

2008-12-23 Thread Ayer, Paul W
What does this info tell me ... Do I have an OSA problem?



Performance toolkit shows;

only outbound data bytes on address 0802
the 800-802 addresses as online.

 



A q Vswitch vwdb032a det shows no RX bytes or packets;

We (Vswitch and real switch) believe that the vlan id is 32
Why no RX data at the Vswitch level?




VSWITCH SYSTEM VWDB032A Type: VSWITCH Connected: 1Maxconn: INFINITE
  PERSISTENT  RESTRICTEDETHERNET  Accounting: OFF
  VLAN Aware  Default VLAN: 0032Default Porttype: Trunk   GVRP: Enabled
  Native  VLAN: 0032
  MAC address: 02-BB-BB-00-00-03
  State: Ready
  IPTimeout: 5 QueueStorage: 8
  RDEV: 0800 VDEV: 0800 Controller: VSWTCH1
VSWITCH Connection:
  RX Packets: 0  Discarded: 0  Errors: 0
  TX Packets: 2987   Discarded: 0  Errors: 0
  RX Bytes: 0TX Bytes: 5280536261
  Device: 0802  Unit: 002   Role: DATA   Port: 0001  Index: 0001
 
 
RDEV: 0C00 VDEV: 0C00 Controller: VSWTCH2  BACKUP
  

Adapter Connections:
Adapter Owner: AGZLS001 NIC: 0200  Name: layer2
  Porttype: Trunk
  RX Packets: 235Discarded: 0  Errors: 0
  TX Packets: 2621   Discarded: 0  Errors: 375
  RX Bytes: 16388TX Bytes: 5280467157
  Device: 0202  Unit: 002   Role: DATA   Port: 0067  Index: 0040
  VLAN: 0032
  Options: Ethernet Broadcast
Unicast MAC Addresses:
  02-BB-BB-00-00-09 IP: 10.48.32.22
Multicast MAC Addresses:
  01-00-5E-00-00-01 IP: 224.0.0.1
  01-00-5E-00-00-FB IP: 224.0.0.251
  33-33-00-00-00-01 IP: FF02::1
  33-33-00-00-00-FB IP: FF02::FB
  33-33-FF-00-00-09 IP: FF02::FF00:9






-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Alan 
Altmark
Sent: Tuesday, December 23, 2008 10:46 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: VLAN tagging

On Tuesday, 12/23/2008 at 09:05 EST, עופר ברוך  
wrote:
> I configured the VSWITCH to be VLAN aware and the Linux to be unaware
> (meaning the Linux is working as if no VLAN tagging is enabled).
> I used the VLAN  parameter on the DEFINE VSWITCH 
command
> and the PORTType ACCESS parameter to make the guest be unaware of VLAN 
IDs.

FYI, PORTTYPE ACCESS is the default guest port type, without regard to the 
specification of the VLAN keyword on DEFINE VSWITCH.

Also (clip this and put in your networking scrapbook):
1. Every VLAN-capable switch has something called a *native* VLAN id.  It 
has a default value of 1.  Installations often change this value to avoid 
accidents.

2. Every trunk port on a switch has a *default port* VLAN id that is 
applied when an untagged frame is received.  This defaults to the *native* 
VLAN id, but can be changed by the installation on a per-port basis.

3a. z/VM 5.3 and later: On a VLAN-aware VSWITCH, the NATIVE keyword must 
be used to match the *port default* VLAN id.  The VLAN keyword on DEFINE 
VSWITCH is used solely indicate VLAN awareness and to avoid specifying a 
VLAN id on the SET VSWITCH GRANT.  If you don't use the NATIVE keyword, it 
acts like z/VM 5.2.

3b. z/VM 5.2 and earler: The VLAN keyword combines the functions of the 
z/VM 5.3 VLAN and NATIVE functions. Be careful. It must match the port 
default VLAN ID, even if that isn't the VLAN you would like to assign the 
guests to.  This means you always specify a VLAN id on a SET VSWITCH 
GRANT.

4. Before you define a VLAN-aware VSWITCH, you should ask for a copy of 
the switch configuration parameters, preferably by seeing a copy of the 
switch queries, rather than trusting someone's memory.  'Cuz if the values 
from step 3 don't match the physical switch configuration, you will get 
anomalous results that include "doesn't work".

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


VLAN tagging

2008-12-23 Thread Ayer, Paul W
Good Morning all,

Was able sometime ago to get the layer 2 interfaces working fine.
Thanks to everyone for their input.

As many on the list had said it was not so hard to do and really just
had to (in redhat) Change APR=no to yes, add OPTIONS=layer2=1 and
VSWITCH=1 and all worked fine.

That was on a Vswitch that was VLAN unaware.

We are now converting to a Vswitch that is VLAN aware. 
I have not found anything that needs to be done inside the Linux.

Is anyone doing Layer2 with VLAN tagging?
If yes did you have to add any parms to the eth defs (VLAN=yes maybe)?

Thanks,
Paul

--
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: vm performance tool kit

2008-12-08 Thread Ayer, Paul W
Right thanks.

I have looked at the field for MAX CPU% and it says for one processor.

Was wondering what that means(one processor).

 I'm asking IBM too in a pmr now.

Thanks,
Paul

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
David Boyes
Sent: Monday, December 08, 2008 1:22 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: vm performance tool kit

On 12/8/08 12:42 PM, "Ayer, Paul W" <[EMAIL PROTECTED]> wrote:

> Sorry I'm accessing via a web link and it does not show any screen
> numbers.
> But when I first get in I see a screen that has lots of options.
> Under General System Data I select
>  1. CPU Load and trans.
> The top of this screen says; General CPU Load and User Transactions

Yes, that's FCX100.

> Below that are loads of items.
> Also I can toggle between CURRENT (this minute) and Average( now
8:11am
> to 12:43pm now).
> At this time for average I have 41% or 42% for each processor (IFL)
> And max CPU% is 286 for one system..

Yes, that's OK -- working as designed. There is a note in the
documentation
that the AVERAGE command (which is what that button on the WWW interface
is
doing) does not affect the Max entries.

It's worth having a look at the Perfkit docs. The documentation explains
each field in detail, and in most cases, gives exactly how each field is
derived.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: vm performance tool kit

2008-12-08 Thread Ayer, Paul W
Sorry I'm accessing via a web link and it does not show any screen
numbers.

But when I first get in I see a screen that has lots of options.

Under General System Data I select

 1. CPU Load and trans.


The top of this screen says; General CPU Load and User Transactions

Below that are loads of items. 
Also I can toggle between CURRENT (this minute) and Average( now 8:11am
to 12:43pm now).


At this time for average I have 41% or 42% for each processor (IFL)

And max CPU% is 286 for one system..



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
David Boyes
Sent: Monday, December 08, 2008 12:38 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: vm performance tool kit

On 12/8/08 12:13 PM, "Ayer, Paul W" <[EMAIL PROTECTED]> wrote:

If this is screen FCX100 (see top left corner of screen):

> It shows the four IFL type processors
> PROC%cpu
> -
> P00  3
> P01  4
> P02  3
> P03  4

This is the average CPU utilization for each processor during the last
measurement interval.

> User Extremes showed a system
> Max %CPU 3.0
>
> So what does that tell me?

There should be a userid in that field, too. What that field tells you
in
this example is that that userid had a peak 3.0% of the available 400%
during the last interval, and that that userid used the most CPU
capacity
during the last interval.

> Now I have;
> PROC%CPU
> -
> P00   83
> P01   83
> P02   83
> P03   81
>
> User Extreme now shows a system that has
> Max %CPU 263

OK. So the physical CPU units are averaging about 80% each (the
breakdown of
how much is system, how much is user is the remainder of each line, see
%SYS
and %SP, etc). The userid listed in the User Extreme Max CPU% is using a
peak 263% of the 400% available across all 4 CPUs. We don't know what it
was
doing during that period from that screen, but it's using about 2.6
processors worth of work.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: vm performance tool kit

2008-12-08 Thread Ayer, Paul W
Sorry I was afraid that would happen.

So I was/am on the CPU Load screen (CURRENT interval).


It shows the four IFL type processors 
PROC%cpu
-
P00  3
P01  4 
P02  3
P03  4

User Extremes showed a system
Max %CPU 3.0

So what does that tell me?

===

Now I have;

PROC%CPU
-
P00   83
P01   83
P02   83
P03   81

User Extreme now shows a system that has 
Max %CPU 263


Thanks,
Paul  


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
David Boyes
Sent: Monday, December 08, 2008 11:43 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: vm performance tool kit

On 12/8/08 11:31 AM, "Ayer, Paul W" <[EMAIL PROTECTED]> wrote:

> So what can I tell from below ... is WDCB1112 3.0 just for the P00
ILF?

Can't tell from the output posted -- the HTML in it makes it almost
impossible to read. Which screen are you on, and I'll look at my local
copy
of Perfkit.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: vm performance tool kit

2008-12-08 Thread Ayer, Paul W
So what can I tell from below ... is WDCB1112 3.0 just for the P00 ILF?

 

 

CPU Load   Vector Facility
Status or  
 PROC <http://192.168.32.130:81/03D5A6B0/70B0/HE.03.001>  TYPE
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.006>  %CPU
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.011>   %CP
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.017>  %EMU
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.021>  %WT
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.026>  %SYS
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.030>  %SP
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.035>  %SIC
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.039>  %LOGLD
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.044>   %VTOT
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.052>  %VEMU
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.058>   REST
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.065>  ded. User
<http://192.168.32.130:81/03D5A6B0/70B0/HE.03.070>   
 P00  IFL 313  970   0   92  3 ....   ...
Master
 P01  IFL 404  960   0   93  4 ....   ...
Alternate 
 P02  IFL 303  970   0   93  3 ....   ...
Alternate 
 P03  IFL 404  960   0   92  4 ....   ...
Alternate 
   
 Total SSCH/RSCH <http://192.168.32.130:81/03D5A6B0/70B0/HE.09.001>
144/s Page rate <http://192.168.32.130:81/03D5A6B0/70B0/HE.09.030>
323.6/s Priv. instruct.
<http://192.168.32.130:81/03D5A6B0/70B0/HE.09.056>466/s 
 Virtual I/O rate <http://192.168.32.130:81/03D5A6B0/70B0/HE.10.001>
38/s XSTORE paging
<http://192.168.32.130:81/03D5A6B0/70B0/HE.10.030>  702.3/s Diagnose
instr. <http://192.168.32.130:81/03D5A6B0/70B0/HE.10.056> 76/s 
 Total rel. SHARE <http://192.168.32.130:81/03D5A6B0/70B0/HE.11.001>
5475 Tot. abs SHARE
<http://192.168.32.130:81/03D5A6B0/70B0/HE.11.030>  0% 
   
 Queue Statistics: <http://192.168.32.130:81/03D5A6B0/70B0/HE.13.001>
Q0 <http://192.168.32.130:81/03D5A6B0/70B0/HE.13.023>  Q1
<http://192.168.32.130:81/03D5A6B0/70B0/HE.13.030>  Q2
<http://192.168.32.130:81/03D5A6B0/70B0/HE.13.037>  Q3
<http://192.168.32.130:81/03D5A6B0/70B0/HE.13.044>  User Status:
<http://192.168.32.130:81/03D5A6B0/70B0/HE.13.051>  
 VMDBKs in queue <http://192.168.32.130:81/03D5A6B0/70B0/HE.14.001>
13 14  3  4 # of logged on users
<http://192.168.32.130:81/03D5A6B0/70B0/HE.14.051>   53 
 VMDBKs loading <http://192.168.32.130:81/03D5A6B0/70B0/HE.15.001>
0  0  0  0 # of dialed users
<http://192.168.32.130:81/03D5A6B0/70B0/HE.15.051>   0 
 Eligible VMDBKs <http://192.168.32.130:81/03D5A6B0/70B0/HE.16.001>
0  0  0 # of active users
<http://192.168.32.130:81/03D5A6B0/70B0/HE.16.051>  42 
 El. VMDBKs loading <http://192.168.32.130:81/03D5A6B0/70B0/HE.17.001>
0  0  0 # of in-queue users
<http://192.168.32.130:81/03D5A6B0/70B0/HE.17.051>34 
 Tot. WS (pages) <http://192.168.32.130:81/03D5A6B0/70B0/HE.18.001>
2016k 139479 314535 199276 % in-Q users in PGWAIT
<http://192.168.32.130:81/03D5A6B0/70B0/HE.18.051>  1 
 Expansion factor <http://192.168.32.130:81/03D5A6B0/70B0/HE.19.001>
0  0  0 % in-Q users in IOWAIT
<http://192.168.32.130:81/03D5A6B0/70B0/HE.19.051>  0 
 85% elapsed time <http://192.168.32.130:81/03D5A6B0/70B0/HE.20.001>
5.328   .666  5.328  31.97 % elig. (resource wait)
<http://192.168.32.130:81/03D5A6B0/70B0/HE.20.051> 0 
  
 Transactions <http://192.168.32.130:81/03D5A6B0/70B0/HE.22.001>
Q-Disp <http://192.168.32.130:81/03D5A6B0/70B0/HE.22.019> trivial
<http://192.168.32.130:81/03D5A6B0/70B0/HE.22.029>non-trv
<http://192.168.32.130:81/03D5A6B0/70B0/HE.22.039>  User Extremes:
<http://192.168.32.130:81/03D5A6B0/70B0/HE.22.051> 
 Average users <http://192.168.32.130:81/03D5A6B0/70B0/HE.23.001>
3.73.5   6.9 Max. CPU %
<http://192.168.32.130:81/03D5A6B0/70B0/HE.23.051>WDCB11123.0
 Trans. per sec. <http://192.168.32.130:81/03D5A6B0/70B0/HE.24.001>
3.5   14.2   5.3 Max. VECT %
<http://192.168.32.130:81/03D5A6B0/70B0/HE.24.051>     .

 

 

 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
David Boyes
Sent: Monday, December 08, 2008 11:28 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: vm performance tool kit

 

On 12/8/08 11:15 AM, "Ayer, Paul W" <[EMAIL PROTECTED]> wrote:

 

 

> User which consumed most CPU during the last measuring

> interval, and the percentage of total CPU used (based on

> one processor)

> Can anyone explain the (based on on

vm performance tool kit

2008-12-08 Thread Ayer, Paul W
Hi all,

Looking at the vmtool kit (again we have four processors running 
type is IFL for all four).

Each show some % usage so that's fine.

Under user extremes we see Max CPU%

When looking at Max CPU% we see this note about it.

Max. CPU %

User which consumed most CPU during the last measuring
interval, and the percentage of total CPU used (based on
one processor) 


Can anyone explain the (based on one processor) part please?


Thanks,
Paul
 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


question on top

2008-12-08 Thread Ayer, Paul W
Good Morning,

I have seen notes before that "top lies" but;

Looking at a top display sorted by %CPU I see some processes using over
200 or 300 % CPU.

This LPAR has 4 IFL's installed and the Linux has access to all four.

Can we use the %cpu below 400 % as an indicator that we are not using
all four at that moment? 

Also if the %cpu says lets say ...  382% are we using 100% of two CPU's
and 82% of the third maybe?

Any input or ideas here would be great.

Thanks,
Paul

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Layer 2

2008-11-28 Thread Ayer, Paul W
Good morning all,

Does anyone have a link to some good doc on setting up layer 2
interfaces on zlinux? Some pointers would be great. 

Thanks,
Paul

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


dvd download / using can red hat as nfs sever for sles install not working

2008-07-10 Thread Ayer, Paul W
Hi all,

The good news is I'm all set now.

Bit of back ground that I don't think I made clear yesterday. I had been
using a sels 9.3 system as my nfs server for all installs (SuSe and Red
Hat's) and all was fine all the time. But I broke the server and figured
well it's just ...  nfs anyway  ... so one of my red hat's should do.

Ha-ha well that did not go well as you know.

So today if fixed up the issues on the sles 9.3 system I had been using
(just some disk problems) and exported four sles 10sp1 cd's and all is
now fine. The new systems I'm installing link to this nfs server and
find everything they need and off they go... 

I did learn a few new things and will also find a way to get the dvd's
download as that will be a much easer way (and will hopefully let red
hat nfs exports work for sles installs).


So again a big thanks to all for all the input

Paul

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: dvd download

2008-07-09 Thread Ayer, Paul W
Ok was able to check the drive now it is FTFS and has 38.0 gig free
spaces

So not sure why I can't download the 4gig ish dvd but will keep looking

thaks
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Bruce Furber
Sent: Wednesday, July 09, 2008 6:42 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: dvd download

The drive has to be formated with NTFS  because FAT has a max file size

- Original Message -
From: "Ayer, Paul W" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, July 09, 2008 4:18 PM
Subject: dvd download


Ok after the Firefox session sitting at 4% for a long time for the sp0
dvd1 it now says "complete".

The file size I got is   219,148,577  SLES-10-IBM zSeries-DVD1.iso
(almost the same size as before with IE)

Should be 4,514,115,584  Per the web page ...

The directory has 41,055,455,777 bytes still free






Paul




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: dvd download

2008-07-09 Thread Ayer, Paul W
Sounds like a maybe .. the firewalls are rather good thought I'll give
it a go ... also just to make it worse the only systems I can use now
are red hat so any suse parms or commands wont work ... 

Thanks all ... I'll try some more stuff but am done for today !!

Again thanks... 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Marcy Cortes
Sent: Wednesday, July 09, 2008 4:53 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: dvd download

Re: wget on Linux - I think Paul already said he wasn't allowed out of
Linux to the internet.
But perhaps he could set up linux to use the same proxy server that his
IE is set up for and sneak out that way :)
(update /etc/sysconfig/proxy and run /sbin/SuSEconfig  on SuSE - be sure
to logout/in to get the new env variables).
 


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


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Scott Rohling
Sent: Wednesday, July 09, 2008 1:46 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] dvd download

Try wget on Linux..  If you're on Windows -- well, I use Cygwin and have
wget on there..  For files this big, straight browser downloads don't
seem
to do well.  wget allows you do recontinue a broken xfer (wget -c)..   I
have terrible luck with very large files with just about anything but
wget and torrent clients..

Scott

On Wed, Jul 9, 2008 at 2:18 PM, Ayer, Paul W <[EMAIL PROTECTED]>
wrote:

> Ok after the Firefox session sitting at 4% for a long time for the sp0
> dvd1 it now says "complete".
>
> The file size I got is   219,148,577  SLES-10-IBM zSeries-DVD1.iso
> (almost the same size as before with IE)
>
> Should be 4,514,115,584  Per the web page ...
>
> The directory has 41,055,455,777 bytes still free
>
>
>
>
>
>
> Paul
>
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions, send 
> email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or 
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>

--
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


dvd download

2008-07-09 Thread Ayer, Paul W
Ok after the Firefox session sitting at 4% for a long time for the sp0
dvd1 it now says "complete".

The file size I got is   219,148,577  SLES-10-IBM zSeries-DVD1.iso
(almost the same size as before with IE) 

Should be 4,514,115,584  Per the web page ...

The directory has 41,055,455,777 bytes still free 






Paul 




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: can't download the compete dvd of sp10

2008-07-09 Thread Ayer, Paul W
Yes I had installed full a SLES10 SP2 and it was nice and working fine.

But the software they wanted to run on that system prereq checks for
Sp0 or sp1 and exit if not either of them... so now I said ok I can
build a sp1 or sp0 in a couple of hours done it a few times ... but it's
now been two days and I can't seem to get it going at all... no it looks
like since I use IE I'm not getting full files maybe? ...

Thanks 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Marcy Cortes
Sent: Wednesday, July 09, 2008 3:51 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: can't download the compete dvd of sp10

And you might just want to grab the SP2 one instead.  It is a complete
install disk replacement for the original sles10 disk.  Will save you
from having to update it later.
 

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


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, July 09, 2008 12:22 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] can't download the compete dvd of sp10

>>> On Wed, Jul 9, 2008 at  3:15 PM, in message
<[EMAIL PROTECTED]>,
"Ayer, Paul W" <[EMAIL PROTECTED]> wrote: 
> Hi
> 
> On the web page:
> http://download.novell.com/protected/Summary.jsp?buildid=0SF2mutIxKc~
> 
> I have used the download button next to ;
> 
> SLES-10-IBM zSeries-DVD1.iso  4.2 GB (4514115584) 
> 
> 
> The download completes successfully as far as my http session is 
> concerned but the file is only 219148288 in size ...
> 
>  -rw-r--r--   1 root root 219148288 Jul  9 14:59
> SLES-10-IBM_zSeries-DVD1.iso
> 
> 
> I did an md5 on if also it is's way off ... 
> 
> 
> What am I doing wrong please?

Most likely, you're using Internet Explorer.  Either use a different
browser, or download it directly to your Linux system:
wget -N --http-user=nccuserid --http-password=nccpassword
https://downloadurl from the download button.

I do this all the time, and it works fine.  To get the URL, right click
on the download button, and select the equivalent of "copy the link
location."  Then paste that into your SSH session on the Linux system.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: can't download the compete dvd of sp10

2008-07-09 Thread Ayer, Paul W
Hi Mark,

 

>  Yup you got it always use Internet Explorer as it's the only
authorized

   browser we can use ...

 

> The Linux systems are not allowed to access the internet at this time.


  So can't do that one.

 

> I installed a firefox browser now and setup for a download. 

  It starts fine but stops at 4% and just sits there ...

 

Anything else I can try?

 

Paul

 

 

 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, July 09, 2008 3:22 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: can't download the compete dvd of sp10

 

>>> On Wed, Jul 9, 2008 at  3:15 PM, in message

<[EMAIL PROTECTED]>,
"Ayer,

Paul W" <[EMAIL PROTECTED]> wrote: 

> Hi 

> 

> On the web page:

> http://download.novell.com/protected/Summary.jsp?buildid=0SF2mutIxKc~

> 

> I have used the download button next to ;  

> 

> SLES-10-IBM zSeries-DVD1.iso  4.2 GB (4514115584) 

> 

> 

> The download completes successfully as far as my http session is

> concerned but the file is only 219148288 in size ...

> 

>  -rw-r--r--   1 root root 219148288 Jul  9 14:59

> SLES-10-IBM_zSeries-DVD1.iso

> 

> 

> I did an md5 on if also it is's way off ... 

> 

> 

> What am I doing wrong please?

 

Most likely, you're using Internet Explorer.  Either use a different
browser, or download it directly to your Linux system:

wget -N --http-user=nccuserid --http-password=nccpassword
https://downloadurl from the download button.

 

I do this all the time, and it works fine.  To get the URL, right click
on the download button, and select the equivalent of "copy the link
location."  Then paste that into your SSH session on the Linux system.

 

 

Mark Post

 

--

For LINUX-390 subscribe / signoff / archive access instructions,

send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit

http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


can't download the compete dvd of sp10

2008-07-09 Thread Ayer, Paul W
Hi 

On the web page:
http://download.novell.com/protected/Summary.jsp?buildid=0SF2mutIxKc~

I have used the download button next to ;  

SLES-10-IBM zSeries-DVD1.iso4.2 GB (4514115584) 


The download completes successfully as far as my http session is
concerned but the file is only 219148288 in size ...

 -rw-r--r--   1 root root 219148288 Jul  9 14:59
SLES-10-IBM_zSeries-DVD1.iso


I did an md5 on if also it is's way off ... 


What am I doing wrong please?


Paul 



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: sles 10 install using nfs

2008-07-09 Thread Ayer, Paul W
Hi

Ok exported the .iso file and got an io error when I tried to mount it.

So mounted the dvd iso file local and exported that 

Ftped the vmrdr and initred from the dvd to be sure to vm

Started the boot loader and got this message at the end ;

starting hald... ok

[/license.zip]

  End-of-central-directory signature not found.  Either this file is not

  a zipfile, or it constitutes one disk of a multi-part archive.  In the

  latter case the central directory and zipfile comment will be found on

  the last disk(s) of this archive.

unzip:  cannot find zipfile directory in one of /license.zip or

/license.zip.zip, and cannot find /license.zip.ZIP, period.

starting syslogd (logging to /dev/tty4)... ok

starting klogd... ok

starting yast...



But was able to get a yast session and that session still failed after
analyzing the system and found not software to be install...

so.. I just deleted everything I had downloaded from Novell...

tried to down load the sles 10 sp1 but it starts and end but only
downloads 1k ... some problem there it looks like..

downloading a new copy of the sles 10 base dvd and will test with only
that now... 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, July 09, 2008 1:44 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: sles 10 install using nfs

>>> On Wed, Jul 9, 2008 at  1:11 PM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
> Thanks mark I did try the dvd to and it could not be mount by got an
nfs
> error .. I'll go back to the dvd for some more tries

What kind of error?


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: sles 10 install using nfs

2008-07-09 Thread Ayer, Paul W
Thanks mark I did try the dvd to and it could not be mount by got an nfs
error .. I'll go back to the dvd for some more tries

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, July 09, 2008 12:54 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: sles 10 install using nfs

>>> On Wed, Jul 9, 2008 at  6:21 AM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
> Good morning,
> 
> I am trying to create a new system sles 10 sp0 (tried sp1 also).
> 
> The install keeps failing at the point where it evaluates the package
> selection and then says;
> 
> 
> 'No catalog found at 'nfs:192.168.127.22/exports/CD1'
> 
> 
> I have tried many ways to take the .iso files and create the proper
nfs
> mounted file system but can not seem to get it.
> 
> Does anyone have the steps to take the .iso files and merge them so
that
> the yast installer will "see" CD's 2-4 ?

It's called "download the DVD .iso file instead."  Anything else would
just cause more problems.  Alternatively, if you're running z/VM,
download the starter system and use that for your install server.

You might find some hints in /var/log/YaST2/* as to what the installer
is trying to locate, and not finding.  This is the main reason I prefer
to use http installs instead of NFS.  On the server side, I can see
exactly what is being requested, and what's not working.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: sles 10 install using nfs

2008-07-09 Thread Ayer, Paul W
Hi Alan,

I had tried many things.

One other thing.

The nfs side is red hat ..

So at one point I exported the directory that has the .iso files
and on the yast side it could not even start ..

So now I have created the export director and then mounted the four iso
files one by one then copied each to a dir CD1 CD2 CD3 CD4 

told yast to use CD1 then it finds it and starts then after formatting
disks
and such it says it gets to the installation step and finds not software
to install ... 



Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Fargusson.Alan
Sent: Wednesday, July 09, 2008 11:22 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: sles 10 install using nfs

My equivalent of your exports directory contains these:

SLES-10-SP1-s390x-CD1.iso
SLES-10-SP1-s390x-CD2.iso
SLES-10-SP1-s390x-CD3.iso
SLES-10-SP1-s390x-CD4.iso

In the installer I specify the path to SLES-10-SP1-s390x-CD1.iso and it
finds the others somehow.

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Ayer, Paul W
Sent: Wednesday, July 09, 2008 3:22 AM
To: LINUX-390@VM.MARIST.EDU
Subject: sles 10 install using nfs


Good morning,

I am trying to create a new system sles 10 sp0 (tried sp1 also).

The install keeps failing at the point where it evaluates the package
selection and then says;


'No catalog found at 'nfs:192.168.127.22/exports/CD1'


I have tried many ways to take the .iso files and create the proper nfs
mounted file system but can not seem to get it.

Does anyone have the steps to take the .iso files and merge them so that
the yast installer will "see" CD's 2-4 ?

Thanks,


Paul 



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


__

CONFIDENTIALITY NOTICE: This email from the State of California is for
the sole use of the intended recipient and may contain confidential and
privileged information.  Any unauthorized review or use, including
disclosure or distribution, is prohibited.  If you are not the intended
recipient, please contact the sender and destroy all copies of this
email.  

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


sles 10 install using nfs

2008-07-09 Thread Ayer, Paul W
Good morning,

I am trying to create a new system sles 10 sp0 (tried sp1 also).

The install keeps failing at the point where it evaluates the package
selection and then says;


'No catalog found at 'nfs:192.168.127.22/exports/CD1'


I have tried many ways to take the .iso files and create the proper nfs
mounted file system but can not seem to get it.

Does anyone have the steps to take the .iso files and merge them so that
the yast installer will "see" CD's 2-4 ?

Thanks,


Paul 



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: zVM 3.1 at 100% CPU after z9 upgrade

2008-06-17 Thread Ayer, Paul W
cat /proc/sys/kernel/hz_timer

O or 1 ?

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Coffin Michael C
Sent: Tuesday, June 17, 2008 1:46 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: zVM 3.1 at 100% CPU after z9 upgrade

Hi Ismael,

Do you have VM/RTM (the VM RealTime Monitor) on the z/VM systems?  If
not, what do you use for a realtime performance monitor?

It could be something as simple as a virtual machine that's unhappy
about something and looping.  Anything look out of the ordinary on
VM/RTM?

-Mike 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
O'Brien, Dennis L
Sent: Tuesday, June 17, 2008 1:32 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: zVM 3.1 at 100% CPU after z9 upgrade

Ismael,
My first guess is that z/VM 3.1 and/or z/VM 5.1 need PTF's for z9
support.  z/VM 3.1 has been long out of support, so no such PTF exists.
z/VM 5.1 is also out of support, but if it was supported when z9's were
introduced, there would be a support PTF for it.  If there is such a
PTF, did you apply it?  If it exists, you should still be able to get it
from IBMLink.

   Dennis O'Brien

"Don't worry about biting off more than you can chew.  Your mouth is
bigger than you think."  -- CVW-11 chaplain, "Carrier"

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Ifurung, [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2008 10:22
To: LINUX-390@VM.MARIST.EDU
Subject: zVM 3.1 at 100% CPU after z9 upgrade

I asking help for my VM collegues here. We have hit a wall. I know this
is mainly a zLinux forum, but I know there's a lot of VM talent in here.

We are running production work on zVM 3.1 (don't ask why) running 2nd
level under zVM 5.1 .  Things has been running good for more than a year
until this change:  Hardware was upgraded from z990 to z9 .   Now guest
zVM3.1 is running 100% cpu; 1st level zVM 5.1 is running 100% CPU. We
can't go back to z990 because many more zOS are running in other LPARs.

Since 3.1 is out-of-support, no IBM help.Please, please help.

Thanks,

Ismael

--
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: lsscsi command

2008-06-03 Thread Ayer, Paul W
Found it ... great thanks 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Perry
Sent: Tuesday, June 03, 2008 10:09 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: lsscsi command

Ayer, Paul W wrote:
> Hi
>
> Anyone have the lsscsi command installed on there z/Linux systems?
> (I'm using RHEL 4.6 - 5.1 on s390x)
>
> I can't seem to down load it. I have seen some documents where it's in
> S390-tools but have not yet found it.
>
> Any pointers to where I can get it would be much appreciated.
>

Both the Redhat 5.1 and 5.2 DVDs contain an lsscsi package:

/mnt/rhel52/Server/lsscsi-0.17-3.el5.s390x.rpm
/mnt/rhel51/Server/lsscsi-0.17-3.el5.s390x.rpm


The contents of these rpms show an lsscsi command and a man page.

mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: vmcpi command

2008-06-03 Thread Ayer, Paul W
We use it a lot here.

>From what we have seen if you enter vmcp xx (xxx being a normal vm
command like; 
 vmcp q Vswitch det
 vmcp q dasd 
 vmcp q names


If the command comes back with vmcp not found I do a modprobe vmcp 
and try my command again and it works fine.

The only other issue we see is the buffer size is to small and it give
an error message and buffer size number. 

The redo the command again adding a buffer size bigger than in the error
message;  vmcp --buffer=17000 q dasd ...

Not sure on where the doc is but I'm sure someone else will 

Paul


  

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
CHAPLIN, JAMES (CTR)
Sent: Tuesday, June 03, 2008 9:51 AM
To: LINUX-390@VM.MARIST.EDU
Subject: vmcpi command

Has anyone used the vmcp command? And reference on how to set it up on
our zLinux systems. We are using RHEL 4.5 & 5 on zVM 5.3 LPARs.

We have the man pages in place:
vmcp - send commands to the z/VM control program
but I get command not found when working with it.

Can anyone point me to a good reference on setting this tool up?

James Chaplin
Systems Programmer, MVS, zVM & zLinux
Base Technologies, Inc
(703) 921-6220

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


lsscsi command

2008-06-03 Thread Ayer, Paul W
Hi 

Anyone have the lsscsi command installed on there z/Linux systems?
(I'm using RHEL 4.6 - 5.1 on s390x)

I can't seem to down load it. I have seen some documents where it's in 
S390-tools but have not yet found it.

Any pointers to where I can get it would be much appreciated.

Thanks,
Paul

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Any Communication Controller for Linux users out there?

2008-05-16 Thread Ayer, Paul W
We are for a couple of years now. All working fine.

SLES 9 SP 3

Remove all of our 3745/46-900 systems and (knocking on wood .. they just
run fine all the time).

Paul

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Friday, May 16, 2008 1:45 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Any Communication Controller for Linux users out there?

Is anyone running CCL on their SLES systems?  If so, is it working well
for you?


Thanks,

Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Resize fs while mounted?

2008-05-06 Thread Ayer, Paul W
Ok so this time I documented ever step I took to test this out.
So I could be pointed to where I was going wrong 


PLEASE READ the BOLD stuff at the end here first ... 


dasdfmt -b 4096 -d cdl -f /dev/dasdt  -l LXt -p -y

fdasd -a /dev/dasdt

pvcreate /dev/dasdt1

pvscan =  PV /dev/dasdt1   lvm2 [6.88 GB]

vgcreate vgtest /dev/dasdt1

vgscan =  Found volume group "vgtest" using metadata type lvm2

pvscan =  PV /dev/dasdt1   VG vgtest   lvm2 [6.88 GB / 6.88 GB free]


lvcreate --name lvtest --size 1G vgtest

lvscan =  ACTIVE'/dev/vgtest/lvtest' [1.00 GB] inherit

pvscan =  PV /dev/dasdt1   VG vgtest   lvm2 [6.88 GB / 5.88 GB free]

mke2fs -j /dev/vgtest/lvtest

mkdir /usr/lvtest

added to /etc/fstab = /dev/vgtest/lvtest /usr/lvtest ext3 defaults 1 2

mount -a

df -h

Filesystem  Size  Used Avail Use% Mounted on

/dev/mapper/vgtest-lvtest  1008M   34M  924M   4% /usr/lvtest



touch /usr/lvtest/a 

works fine 



===


lvextend --size +1G /dev/vgtest/lvtest

  Extending logical volume lvtest to 2.00 GB
  Logical volume lvtest successfully resized

pvscan = PV /dev/dasdt1   VG vgtest   lvm2 [6.88 GB / 4.88 GB free]


no changes from df -h



ext2online /usr/lvtest

ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b



df -h

Filesystem  Size  Used Avail Use% Mounted on
/dev/mapper/vgtest-lvtest   2.0G   34M  1.9G   2% /usr/lvtest



touch /usr/lvtest/b

works fine ...



==


enter reboot  


(just before I hit enter I realized that I had just added the disk for
this test and did not update the initrd & zipl  ... 

Du ... I know better than that but  did it three times the last time
I was testing this a few weeks ago )


so it does work fine  lvextend + ext2online can grow a file system
while mounted  even after a boot works fine  ... 

:) so sorry .. all ...




-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Perry
Sent: Tuesday, May 06, 2008 10:30 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Resize fs while mounted?

Ayer, Paul W wrote:
> No we are a RedHat shop and have migrated to running:  RHEL4.4 , 4.6 ,
> 5.0 , 5.1
>
> (have only a few SLES systems left running 9 SP 3 ... )
>
> I've been testing mostly on our RHEL4.6 code level as that's our
largest
> deployed level at this time.
>
> I'll test again later this afternoon and update to the list.
>
> Thanks,
> Paul..
So there's your problem then, need to switch to SLES10 SP1 ;-)

mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Resize fs while mounted?

2008-05-06 Thread Ayer, Paul W
No we are a RedHat shop and have migrated to running:  RHEL4.4 , 4.6 ,
5.0 , 5.1 

(have only a few SLES systems left running 9 SP 3 ... )

I've been testing mostly on our RHEL4.6 code level as that's our largest
deployed level at this time.

I'll test again later this afternoon and update to the list.

Thanks,
Paul..

 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Perry
Sent: Tuesday, May 06, 2008 10:11 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Resize fs while mounted?

Regarding Pauls' concern about a reboot after an online resize
operation...

I once more created a 1GB LV.
I created an ext3 fs in the LV.
I mounted the FS.
I created 900 1MB files, so FS is now at 90+% capacity.
I did an lvextend to increase the LV to 2GB.
I did an ext2online to resize the FS online.
I unmounted the FS.
I ran e2fsck on the FS (OFFLINE) - no problems
I remounted the FS - no problems.

I conclude that there would be no similar reboot problems (unmount,
e2fsck,mount) that would
directly relate to the resize operation.

Paul, is your system SLES10 SP1 plus latest YOU?

mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Resize fs while mounted?

2008-05-06 Thread Ayer, Paul W
HI

I was testing he same flow you listed and all was fine.

Rebooted and got fsck errors at boot time and had to finally remove from
the fstab to boot up, and it booted to maint mode .. 

I'll test again later today.

Thanks,
Paul

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Perry
Sent: Tuesday, May 06, 2008 9:06 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Resize fs while mounted?

Ayer, Paul W wrote:
> Have you booted after doing this?
> I seem to have problems after this on he boot.
>
> -Original Message-
I am not about to reboot for the purposes of this example ;-)

However systems that I have done a resize online to have been rebooted
without a problem.
My systems are booted for testing not production, so it happens more
often than would be normal.
This system has been up for 40 days so far. H'mm may be a record ;-)

Can you be a bit more specific about "I seem to have problems" ?
Are your problems specific to the resize operation, or could the
problems have
shown up at the next reboot anyway?

mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Resize fs while mounted?

2008-05-06 Thread Ayer, Paul W
Have you booted after doing this?
I seem to have problems after this on he boot.

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Perry
Sent: Tuesday, May 06, 2008 8:53 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Resize fs while mounted?

Mark Perry wrote:
> Bernard Wu wrote:
>> Hi Mark,
>>
>>> I have resized both ext3 and resierfs online (under LVM2) on SLES 10
no
>>>
>> problem.
>>
>> How did you do it ?  Everytime I try to run resize2fs, I have to
unmount
>> the file first.  My testing was done on SLES10-SP1.
>>
>>
Example with ext3:

ihlscob0:~ # df -kvhT /test1/
FilesystemTypeSize  Used Avail Use% Mounted on
/dev/mapper/system-testlv1
  ext32.0G   65M  1.9G   4% /test1
ihlscob0:~ # lvextend -L+1G system/testlv1
  Extending logical volume testlv1 to 4.00 GB
  Logical volume testlv1 successfully resized
ihlscob0:~ # df -kvhT /test1/
FilesystemTypeSize  Used Avail Use% Mounted on
/dev/mapper/system-testlv1
  ext32.0G   65M  1.9G   4% /test1
ihlscob0:~ # ext2online /test1
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ihlscob0:~ # df -kvhT /test1/
FilesystemTypeSize  Used Avail Use% Mounted on
/dev/mapper/system-testlv1
  ext34.0G   65M  3.7G   2% /test1
ihlscob0:~ #

mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Vswitch and subnets

2008-04-16 Thread Ayer, Paul W
Ahhh now comes my problem.

Oracle itself creates ETH0:1 (ie: it's not defined in the 
/etc/sysconfig/network-scripts file where ETH0 and ETH1 are defined )


So .. it maybe better to create an Oracle only subnet and Oracle only 
Vswitch then support 1/2 of the subnet on each system ... 

Seems link these systems need to be in the same subnet ... 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Szefler Jakub
Sent: Wednesday, April 16, 2008 8:58 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Vswitch and subnets

I suggest using the same  Network for Oracle VIP on both sides.

You need to :

System A
Home address   192.168.127.1 ETH0
Oracle VIP192.168.128.1 ETH1
Oracle Priv192.168.87.1 ETH2

System B
Home address   192.168.127.2 ETH0
Oracle VIP192.168.128.2 ETH1
Oracle Priv192.168.87.2 ETH2


Jakub Szefler 
Administrator MainFrame 
Pion Operacji IT Grupy TP/Departament Infrastruktury
Wydział Infrastruktury Informatycznej

Dział Mainframe 
__ 
Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata. 
Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez 
pomyłkę, prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Ayer,
Paul W
Sent: Wednesday, April 16, 2008 2:26 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Vswitch and subnets

Good morning,

Running Oracle RAC and having a problem with supporting the way Oracle
does VIP address fail over.

This environment has two z9 systems running z/VM 5.3 with Vswitch on
each and a linux (rhel 44).

On each z/VM the Vswitch is setup to support a specific subnet.

Vswitch on System A side supports 192.168.127.*

Vswitch on System B side supports 192.168.87.*

Oracle on linux on system A has

  Home address   192.168.127.1 ETH0
  Oracle VIP192.168.127.2 ETH0:1
  Oracle Priv192.168.127.3 ETH1

Oracle on linux on system B has

  Home address   192.168.87.1 ETH0
  Oracle VIP192.168.87.2 ETH0:1
  Oracle Priv192.168.87.3 ETH1


* The problem;

If something happens on the system A side and access is lost (at any
level) Oracle on the system B side brings up via ETH0:2
the VIP address of the lost system.

So now system B linux looks like this;

   Home address   192.168.87.1 ETH0
   Oracle VIP192.168.87.2 ETH0:1
   Oracle VIP   192.168.127.2   ETH0:2
   Oracle Priv192.168.87.3 ETH1


A Q VSWITCH DET shows the 192.168.127.2 address known in the Vswitch,
but it can not be routed to.

Is there anything that can be done in he Vswitch to help advertise just
this address only, since all the other 192.168.127.* addresses
are still on the other system...

Thank you,
Paul...
 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Vswitch and subnets

2008-04-16 Thread Ayer, Paul W
So we should really setup a subnet for just the vip's
Then spilt that subnet between two systems and advertise 1/2 from each Vswitch 
then .. sounds like ...

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Szefler Jakub
Sent: Wednesday, April 16, 2008 8:58 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Vswitch and subnets

I suggest using the same  Network for Oracle VIP on both sides.

You need to :

System A
Home address   192.168.127.1 ETH0
Oracle VIP192.168.128.1 ETH1
Oracle Priv192.168.87.1 ETH2

System B
Home address   192.168.127.2 ETH0
Oracle VIP192.168.128.2 ETH1
Oracle Priv192.168.87.2 ETH2


Jakub Szefler 
Administrator MainFrame 
Pion Operacji IT Grupy TP/Departament Infrastruktury
Wydział Infrastruktury Informatycznej

Dział Mainframe 
__ 
Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata. 
Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez 
pomyłkę, prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Ayer,
Paul W
Sent: Wednesday, April 16, 2008 2:26 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Vswitch and subnets

Good morning,

Running Oracle RAC and having a problem with supporting the way Oracle
does VIP address fail over.

This environment has two z9 systems running z/VM 5.3 with Vswitch on
each and a linux (rhel 44).

On each z/VM the Vswitch is setup to support a specific subnet.

Vswitch on System A side supports 192.168.127.*

Vswitch on System B side supports 192.168.87.*

Oracle on linux on system A has

  Home address   192.168.127.1 ETH0
  Oracle VIP192.168.127.2 ETH0:1
  Oracle Priv192.168.127.3 ETH1

Oracle on linux on system B has

  Home address   192.168.87.1 ETH0
  Oracle VIP192.168.87.2 ETH0:1
  Oracle Priv192.168.87.3 ETH1


* The problem;

If something happens on the system A side and access is lost (at any
level) Oracle on the system B side brings up via ETH0:2
the VIP address of the lost system.

So now system B linux looks like this;

   Home address   192.168.87.1 ETH0
   Oracle VIP192.168.87.2 ETH0:1
   Oracle VIP   192.168.127.2   ETH0:2
   Oracle Priv192.168.87.3 ETH1


A Q VSWITCH DET shows the 192.168.127.2 address known in the Vswitch,
but it can not be routed to.

Is there anything that can be done in he Vswitch to help advertise just
this address only, since all the other 192.168.127.* addresses
are still on the other system...

Thank you,
Paul...
 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Vswitch and subnets

2008-04-16 Thread Ayer, Paul W
Good morning,

Running Oracle RAC and having a problem with supporting the way Oracle
does VIP address fail over.

This environment has two z9 systems running z/VM 5.3 with Vswitch on
each and a linux (rhel 44).

On each z/VM the Vswitch is setup to support a specific subnet.

Vswitch on System A side supports 192.168.127.*

Vswitch on System B side supports 192.168.87.*

Oracle on linux on system A has

  Home address   192.168.127.1 ETH0
  Oracle VIP192.168.127.2 ETH0:1
  Oracle Priv192.168.127.3 ETH1

Oracle on linux on system B has

  Home address   192.168.87.1 ETH0
  Oracle VIP192.168.87.2 ETH0:1
  Oracle Priv192.168.87.3 ETH1


* The problem;

If something happens on the system A side and access is lost (at any
level) Oracle on the system B side brings up via ETH0:2
the VIP address of the lost system.

So now system B linux looks like this;

   Home address   192.168.87.1 ETH0
   Oracle VIP192.168.87.2 ETH0:1
   Oracle VIP   192.168.127.2   ETH0:2
   Oracle Priv192.168.87.3 ETH1


A Q VSWITCH DET shows the 192.168.127.2 address known in the Vswitch,
but it can not be routed to.

Is there anything that can be done in he Vswitch to help advertise just
this address only, since all the other 192.168.127.* addresses
are still on the other system...

Thank you,
Paul...
 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: FW: Could use some help tuning a POC

2008-04-11 Thread Ayer, Paul W
We try it this way;

Setup Vdisk swap as primary area then real disk swap space as #2 area
(two swap disks) ... then set memory lower and lower until we start to
see Vdisk swap some ... if we see swap move into the real disk area we
then need to add a bit more memory until just Vdisk swap is used again
...

The swapon -s command shows the two swap spaces and their usage ...

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Rich Smrcina
Sent: Friday, April 11, 2008 8:18 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: FW: Could use some help tuning a POC

One of the signs to knowing if Linux needs more memory is if Linux
itself is paging.

While your application is running use the vmstat command: 'vmstat 15'

It will show some paging metrics (among others) in 15 second intervals.
  It will show up under the swap column.  The first one line doesn't
count because that's an average since the system came up.  Pay attention
to the rest though, while the app is running.

If you see consistent high paging (swapping).  You may want to bump up
the size of the virtual machine.

Do you have Vdisk set up for Linux swap?  If you do that's great,
because if Linux does need to swap it will do so very fast.

Also, if the application demands more or runs out of memory, you'll
*usually* get messages indicating such (from Linux or the application)
or it may exhibit weird behavior.

Bauer, Bobby (NIH/CIT) [E] wrote:
> This was posted to both the VM and Linux listservs
>
> We finally got our POF running this morning and response is not great.
> Since we know very little about this z/VM and zLinux I would
appreciate
> any hints. Performance Monitor shows some paging and swapping but from
> our MVS point of view, its now bad. The VM guest only has 512M. I
could
> increase it but I keep hearing from Share and other seminars that
> increasing memory is not usually the problem. There is 2G of memory
> assigned to this lpar.
> Some testers, at different geographical locations are getting good
> results, others aren't so I'm looking into network problems also.
>
> Detailed data for user LKTEST2
>
>
>
>
>
>  Total CPU   :  % Storage def. : 512MB Page fault
rate:
> /s
>
>
>
>
>  Superv. CPU :  % Resident <2GB:  129654   Page read rate
:
> /s
>
>
>
>
>  Emulat. CPU :  % Resident >2GB:   0   Page write
rate:
> /s
>
>
>
>
>  VF total:  % Proj. WSET   :  131072   Pgs moved
>2GB>:
> /s
>
>
>
>
>  VF overhead :  % Reserved pgs :   0   Main > XSTORE
:
> /s
>
>
>
>
>  VF emulation:  % Locked pages :  13   XSTORE > main
:
> /s
>
>
>
>
>  VF load rate:  /sXSTORE dedic.:   0MB XSTORE > DASD
:
> /s
>
>
>
>
>  I/O rate:  /sXSTORE pages :1314   SPOOL pg reads
:
> /s
>
>
>
>
>  DASD IO rate:  /sDASD slots   :   0   SPOOL pg
writes:
> /s
>
>
>
>
>  UR I/O rate :  /sIUCV X-fer/s :/s MDC insert
rate:
> /s
>
>
>
>
>  Diag. X'98' :  /sShare: 100   MDC I/O
avoided:
> /s
>
>
>
>
>  *BLOCKIO:  /sMax. share   : ...
>
>
>
>
>
>
>
>
>
>
>  #I/O active : 0  Active:100% PSW wait :100% I/O
> act. :  0%
>
>
>
>
>  Stacked blk :..  Page wait :  0% CF wait  :  0%
> Eligible :  0%
>
>
>
>
>  Stat.: EME,DSC,PSWT  I/O wait  :  0% Sim. wait:  0%
> Runnable :  0%
>
>
>
>
>
>
>
>
>
>  Data Space NameSize Mode  PgRd/s PgWr/s XRd/s XWr/s
Migr/s
> Steal/s
>
>
>
>
>  BASE  512MB Priv ......   ...   ...
...
> ...
>
>
>
>
>
>
>
>
>
>  Device activity and status:
>
>
>
>
>  0009 3215   .0  000C 254R  CL *, EOF
NOH
> NCNT
>
>
>
> Interval 07:45:21-07:46:23, on 2008/04/11  (CURRENT interval, select
> interim   or average
>   data)
>
>
>
>
>  __  .
>    .
> .
>    .
>    .
> .
>    .
> .
>    .
>   .
>   .
>   .
>   .
>   .
>   .
> 

Re: Swap space problems...

2008-03-07 Thread Ayer, Paul W
1. Having the define in the exec allows the Linux admin staff to update
what 
   is needed for swap. If an adjustment is made it can be done via the
linux   
   level and not have to contact the vm staff to update the profile. 
   Current Linux admin staff do not want to even hear about cms or vm so
we  
   try as much as possible to keep them in an area that like.

2. Upping the vdisk space is not the number one option just one of them
we
   would first try to find why then address that..  

3. I'll look into this but the address is always  and the disk ends
up 
   /dev/dasd* ends up as the last one all the time even when you add
more
   Disks. 

Thanks for all the input from every one. This was a first attempt to
make some dynamic access and again not have to follow long request paths
to get work done by multiple groups (an internal thing) ... 

Paul




-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Thursday, March 06, 2008 6:01 PM
To: LINUX-390@vm.marist.edu
Subject: Re: Swap space problems...

>>> On Thu, Mar 6, 2008 at  2:50 PM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
> In an effort to not have to have the Linux Admin staff do something in
> VM I added the exec below to the boot process. 
> I'm still fine tuning it but over all it works rather well. 

Why would your Linux sysadmins be doing "something in VM" when you can
just do it for them in a standard PROFILE EXEC and not have to modify
your Linux systems?

-snip-
> Monitoring should then be done to the real disk swap space to see if
> it's being used. 
> If it is we were told that we would then want to make the vdisk space
> larger and also tune the system as well.

Making the VDISK bigger is probably not the correct change to make.  You
may want to add a second VDISK or modify the guest's virtual storage
instead.  Making the VDISK bigger just puts more pressure on XSTOR
because of the way Linux uses its paging spaces.

> Anyway here is the exec that is run at boot time;
-snip-
>echo 1 > /sys/bus/ccw/drivers/dasd-fba/0.0./online

If you insist on doing this in Linux, you may want to consider changing
this to use the dasd_configure or chccwdev command instead.  Less likely
to break in the future.  You also should turn on DIAG I/O for better
performance.

> sleep 10
>cat /proc/dasd/devices | grep  | cut -c35-40 > /tmp/device
>vswap=$(cat /tmp/device)
>mkswap /dev/$vswap
>swapon -p50 /dev/$vswap

This is trouble waiting to happen.  You would be better off making the
device number a fixed entry in your DASD parameter string so that it
would always have the same device name.  Dynamically issuing mkswap
commands against a derived device name from a file that wasn't deleted
since the last boot is more danger than I would care to court.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: vm profile question

2008-03-06 Thread Ayer, Paul W
I am told (I'll have to get a copy of the vm profiles too)that for now
CPU 01 is the only CPU def in each of the Linux guest profiles. And
there is a dedicate statement too. So this leaves CPU 00 for VM.

 

so this was done by design for some reason.

 

I'm thinking that this is a waste also. Just wanted to see if there was
some reason I had not heard of for this. 

 

We really have four IFL's on that system with only two turned on right
now, but I'm starting to look at ramping things up some.

 

Thanks for the info,

Paul

 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
RPN01
Sent: Thursday, March 06, 2008 4:13 PM
To: LINUX-390@vm.marist.edu
Subject: Re: vm profile question

 

Z/VM's overhead is so little; I'd see no point in reserving an entire
engine

for it, unless you have a large CMS workload running beside your Linux

guests. Even then, both the CMS guests and the Linux guests could
benefit

from the use of both CPUs when the load of one or the other exceeds a
single

CPU. I see no compelling benefit from such a segregation.

 

My question is, how has this segregation been implemented? This isn't
the

way the system runs by default, and would likely run better for everyone

without the limitation.

 

--

Robert P. Nix  Mayo Foundation.~.

RO-OE-5-55 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 3/6/08 3:00 PM, "Ayer, Paul W" <[EMAIL PROTECTED]> wrote:

 

> We have two IFL's defined to one of our systems.

> 

> Today via the profiles we have it set so that CPU 00 is used by only
VM,

> and the Linux guests use only CPU 01 (really IFL's)

> 

> Does anyone else do this ... reserve a whole IFL for just VM?

> 

> Thanks,

> Paul

> 

> --

> For LINUX-390 subscribe / signoff / archive access instructions,

> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit

> http://www.marist.edu/htbin/wlvindex?LINUX-390

 

--

For LINUX-390 subscribe / signoff / archive access instructions,

send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit

http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


vm profile question

2008-03-06 Thread Ayer, Paul W
We have two IFL's defined to one of our systems.

Today via the profiles we have it set so that CPU 00 is used by only VM,
and the Linux guests use only CPU 01 (really IFL's)

Does anyone else do this ... reserve a whole IFL for just VM?

Thanks,
Paul

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Swap space problems...

2008-03-06 Thread Ayer, Paul W
In an effort to not have to have the Linux Admin staff do something in
VM I added the exec below to the boot process. 
I'm still fine tuning it but over all it works rather well. 

We were advised that we should have two swap spaces, one on Vdisk and
one on real disk. 
The vdisk being primary and the real disk being secondary. 

Monitoring should then be done to the real disk swap space to see if
it's being used. 
If it is we were told that we would then want to make the vdisk space
larger and also tune the system as well.

Anyway here is the exec that is run at boot time;
==
#!/bin/sh
#
#  BLK 105 = 512mb space
#
   modprobe vmcp
   vmcp DEF VFB-512 AS  BLK 105
sleep 10
   echo 1 > /sys/bus/ccw/drivers/dasd-fba/0.0./online
sleep 10
   cat /proc/dasd/devices | grep  | cut -c35-40 > /tmp/device
   vswap=$(cat /tmp/device)
   mkswap /dev/$vswap
   swapon -p50 /dev/$vswap



Swapon -s ( in this case /dev/dasdx is device  the vdisk) ;


FilenameTypeSizeUsed
Priority
/dev/mapper/rootvg-swaplv   partition   524280  0
-1
/dev/dasdx  partition   524992  196
50


Cat /proc/dasd/devices

0.0.0150(ECKD) at ( 94: 0) is dasda   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0151(ECKD) at ( 94: 4) is dasdb   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0152(ECKD) at ( 94: 8) is dasdc   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0153(ECKD) at ( 94:12) is dasdd   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0154(ECKD) at ( 94:16) is dasde   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0155(ECKD) at ( 94:20) is dasdf   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0156(ECKD) at ( 94:24) is dasdg   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0157(ECKD) at ( 94:28) is dasdh   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0158(ECKD) at ( 94:32) is dasdi   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0159(ECKD) at ( 94:36) is dasdj   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0160(ECKD) at ( 94:64) is dasdq   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0161(ECKD) at ( 94:68) is dasdr   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0162(ECKD) at ( 94:72) is dasds   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0163(ECKD) at ( 94:76) is dasdt   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0164(ECKD) at ( 94:80) is dasdu   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0165(ECKD) at ( 94:84) is dasdv   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.0166(ECKD) at ( 94:88) is dasdw   : active at blocksize:
4096, 600840 blocks, 2347 MB
0.0.(FBA ) at ( 94:92) is dasdx   : active at blocksize:
512, 105 blocks, 512 MB


Paul..


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
RPN01
Sent: Thursday, March 06, 2008 8:30 AM
To: LINUX-390@vm.marist.edu
Subject: Re: Swap space problems...

Echoing what others have said: Set up your Linux guest userids to IPL
CMS
first, and in the profile, run swapgen to create your vdisk swap space.
This
takes all the pain out of using vdisk for swap. Once this is done, IPL
the
minidisk containing your Linux guest boot.

Once in Linux, if you don't see your swap space, you may need to do a
swapon
for the device. Better yet: add a line to your /etc/fstab describing the
swap vdisk, and the system will automatically do a swapon -a during the
boot, which will find the fstab record and bring the vdisk swap on.

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 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 3/5/08 8:55 PM, "David Boyes" <[EMAIL PROTECTED]> wrote:

>> I looked at our old SLES 8 guests and remember that we manually
issued a
>> makswap by hard coding this command and the device in boot.localfs.
>> We don't want to do this anymore. I see in boot.swap that the script
>> parses out the swap space through the fdisk -l command.
>
> fdisk doesn't work reliably for non-IDE or SCSI disks.
>
> Since you are running under VM, download SWAPGEN and configure your
guests to
> IPL CMS and use SWAPGEN to prepare the VDISKs. That way you don't have
to
> modify your Linux configuration at all, and you always get the swap
disks
> ready to use at Linux guest IPL. Also, I'll echo Mark -- why do SLES
9? SLES
> 10 is a LOT nicer, and seems like a lot of work to be > 2 releases
backlevel.
>
>> I guess 

Re: Swap space problems...

2008-03-06 Thread Ayer, Paul W
In an effort to not have to have the Linux Admin staff do something in
VM I added the exec below to the boot process. I'm still fine tuning it
but over all it works rather well. 

We were advised that we should have two swap spaces, one on Vdisk and
one on real disk. The vdisk being primary and the real disk being
secondary. 

Monitoring should then be done to the real disk swap space to see if
it's being used. If it is we were told that we would then want to make
the vdisk space larger and also tune the system as well.

Anyway here is the exec that is run at boot time.
==
#!/bin/sh
#
#
   modprobe vmcp
   vmcp DEF VFB-512 AS  BLK 105
sleep 10
   echo 1 > /sys/bus/ccw/drivers/dasd-fba/0.0./online
sleep 10
   cat /proc/dasd/devices | grep  | cut -c35-40 > /tmp/device
   vswap=$(cat /tmp/device)
   mkswap /dev/$vswap
   swapon -p50 /dev/$vswap



Swapon -s ( in this case /dev/dasdx is device  the vdisk) ;


FilenameTypeSizeUsed
Priority
/dev/mapper/rootvg-swaplv   partition   524280  0
-1
/dev/dasdx  partition   524992  196
50

Paul..


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
RPN01
Sent: Thursday, March 06, 2008 8:30 AM
To: LINUX-390@vm.marist.edu
Subject: Re: Swap space problems...

Echoing what others have said: Set up your Linux guest userids to IPL
CMS
first, and in the profile, run swapgen to create your vdisk swap space.
This
takes all the pain out of using vdisk for swap. Once this is done, IPL
the
minidisk containing your Linux guest boot.

Once in Linux, if you don't see your swap space, you may need to do a
swapon
for the device. Better yet: add a line to your /etc/fstab describing the
swap vdisk, and the system will automatically do a swapon -a during the
boot, which will find the fstab record and bring the vdisk swap on.

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 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 3/5/08 8:55 PM, "David Boyes" <[EMAIL PROTECTED]> wrote:

>> I looked at our old SLES 8 guests and remember that we manually
issued a
>> makswap by hard coding this command and the device in boot.localfs.
>> We don't want to do this anymore. I see in boot.swap that the script
>> parses out the swap space through the fdisk -l command.
>
> fdisk doesn't work reliably for non-IDE or SCSI disks.
>
> Since you are running under VM, download SWAPGEN and configure your
guests to
> IPL CMS and use SWAPGEN to prepare the VDISKs. That way you don't have
to
> modify your Linux configuration at all, and you always get the swap
disks
> ready to use at Linux guest IPL. Also, I'll echo Mark -- why do SLES
9? SLES
> 10 is a LOT nicer, and seems like a lot of work to be > 2 releases
backlevel.
>
>> I guess my first question is, Should we really be using actual memory
>> for swap? All of the other servers I admin (AIX and Linux blades) we
>> just simply use disk. Why wouldn't we do this for z/Linux? I realize
>> it's faster but in reality we want to tune the guests so we are not
>> relying on swap that much.
>
> Yes, yes, yes! It's not just faster, it's orders of magnitude faster.
The
> other platforms would do this if they could.
>
>> Is there something on the VM side I need to do that will mark my
device
>> as swap?
>
> See above. This is why we wrote SWAPGEN.
>
> http://www.sinenomine.net/vm/swapgen
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: /proc/sysinfo

2008-03-05 Thread Ayer, Paul W
Great thanks for the info

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
RPN01
Sent: Wednesday, March 05, 2008 10:08 AM
To: LINUX-390@vm.marist.edu
Subject: Re: /proc/sysinfo

Yes.

>From a virtual machine w/ two CPUs:

LPAR CPUs Total:  2
LPAR CPUs Configured: 2
LPAR CPUs Standby:0
LPAR CPUs Reserved:   0
LPAR CPUs Dedicated:  2
LPAR CPUs Shared: 0

VM00 Name:
VM00 Control Program: z/VM5.3.0
VM00 Adjustment:  1000
VM00 CPUs Total:  2
VM00 CPUs Configured: 2
VM00 CPUs Standby:0
VM00 CPUs Reserved:   0

--
Robert P. Nix  Mayo Foundation.~.
RO-OE-5-55 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 3/5/08 8:42 AM, "Ayer, Paul W" <[EMAIL PROTECTED]> wrote:

> Good morning,
>
>
> Does the below info from a cat  /proc/sysinfo tell me I have two
active
> IFL's on this LPAR but the zLinunx only has access to one?
>
> We only have IFL's so I know that anything that says CPU is IFL just
> checking the " VM00 CPUs Configured: 1 " part of the display I guess.
>
>
>
> LPAR CPUs Total:  2
> LPAR CPUs Configured: 2
> LPAR CPUs Standby:0
> LPAR CPUs Reserved:   0
> LPAR CPUs Dedicated:  2
> LPAR CPUs Shared: 0
>
> VM00 Name:x
> VM00 Control Program: z/VM5.3.0
> VM00 Adjustment:  500
> VM00 CPUs Total:  1
> VM00 CPUs Configured: 1
> VM00 CPUs Standby:0
> VM00 CPUs Reserved:   0
>
>
>
>
> Thanks,
> Paul
>
>
>
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


/proc/sysinfo

2008-03-05 Thread Ayer, Paul W
Good morning,


Does the below info from a cat  /proc/sysinfo tell me I have two active
IFL's on this LPAR but the zLinunx only has access to one?

We only have IFL's so I know that anything that says CPU is IFL just
checking the " VM00 CPUs Configured: 1 " part of the display I guess.



LPAR CPUs Total:  2
LPAR CPUs Configured: 2
LPAR CPUs Standby:0
LPAR CPUs Reserved:   0
LPAR CPUs Dedicated:  2
LPAR CPUs Shared: 0

VM00 Name:x
VM00 Control Program: z/VM5.3.0
VM00 Adjustment:  500
VM00 CPUs Total:  1
VM00 CPUs Configured: 1
VM00 CPUs Standby:0
VM00 CPUs Reserved:   0




Thanks,
Paul






--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: dasdfmt

2008-01-23 Thread Ayer, Paul W
Would have been nice but we are only going to build out (per managment)
on eckd ... 

All is working fine other than the volser / label from the dasdfmt ...

We have agreed to use the real device address in all areas for these
shared 
Disk spaces .. so we are all set ...

Thanks to everyone for the help.

Paul..

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, January 23, 2008 2:26 PM
To: LINUX-390@vm.marist.edu
Subject: Re: dasdfmt

>>> On Wed, Jan 23, 2008 at  1:45 PM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
> Oracle rac + asm (asm is managing the locks and all) 
> 
> Shared disk on two Linux systems on diffrent LPARS the disk needs to
be
> dedicated to both guests R/W ... so for this we have moved to full
> volumes 

For this workload, I think you would be better off using SCSI over FCP
for your Oracle data.  Better performance and has a more "native feel"
for the rest of the team.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: dasdfmt

2008-01-23 Thread Ayer, Paul W
No .. but I'll start looking into it.

thanks

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
David Boyes
Sent: Wednesday, January 23, 2008 2:18 PM
To: LINUX-390@vm.marist.edu
Subject: Re: dasdfmt

> Oracle rac + asm (asm is managing the locks and all)
> Shared disk on two Linux systems on diffrent LPARS the disk needs to
be
> dedicated to both guests R/W ... so for this we have moved to full
> volumes

Hmm. Have you considered implementing CSE? Comes with VM, and helps a
lot to coordinate that situation. 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: dasdfmt

2008-01-23 Thread Ayer, Paul W
Oracle rac + asm (asm is managing the locks and all) 

Shared disk on two Linux systems on diffrent LPARS the disk needs to be
dedicated to both guests R/W ... so for this we have moved to full
volumes 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, January 23, 2008 1:38 PM
To: LINUX-390@vm.marist.edu
Subject: Re: dasdfmt

>>> On Wed, Jan 23, 2008 at  1:19 PM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
-snip-
> We have been using mini disks up to this point and the space that the
> linux 
> would see was always after cylinder 0 (vm staff is calling this
> attached)..
> dasdfmt has no effect on what VM sees for volser
> 
> Now we are doing full volumes and linux now sees cylinder 0 too

So, let's peel the onion back another layer.  Why are you moving from
minidisks to full volumes?  To me, that's going backwards.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: dasdfmt

2008-01-23 Thread Ayer, Paul W
Right attached and dedicated to me was always who cares they are about
the same  ...

We have been using mini disks up to this point and the space that the
linux 
would see was always after cylinder 0 (vm staff is calling this
attached)..
dasdfmt has no effect on what VM sees for volser

Now we are doing full volumes and linux now sees cylinder 0 too (vm
staff is calling this dedicated) VM now sees whatever volser is done via
dasdfmt ...

We can and will if needed get in sync so that the volser will be unique
actually I have suggested that we just start dedicating "real addres" as
"real address" and then set the volser to "real address" for any full
volume packs ...

But was just wondering if I was missing a way to not have dasdfmt lay
down a label / volser .. looks like no ...



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
David Kreuter
Sent: Wednesday, January 23, 2008 1:01 PM
To: LINUX-390@vm.marist.edu
Subject: Re: dasdfmt

>We have been using all vm mini disks up to this point with attach
>statements. Like;

>  attach 2021 as aa01 to systemA
>  attach 2022 as aa01 to systemB
>  attach 2023 as aa01 to systemC

Attached disks are not minidisks; the virtual system owns real cylinder
0 once the pack is attached.
It is the same as DEDicated volumes, except an attach command can be
done dynamically.

At IPL time unless you instruct system config otherwise you will have 3
volumes with the same label, true.

I don't see in your example where you are using minidisks that start on
a cylinder other than 0.

Real cylinder 0 should be avoided for virtual machine use. 
David


-Original Message-----
From: Linux on 390 Port on behalf of Ayer, Paul W
Sent: Wed 1/23/2008 12:56 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: dasdfmt
 
Running under z/VM 5.2 / 5.3  &  RHEL 4.4 and 4.5

We have been using all vm mini disks up to this point with attach
statements. Like;

  attach 2021 as aa01 to systemA
  attach 2022 as aa01 to systemB
  attach 2023 as aa01 to systemC

... 

Now we are starting to dedicate full disks (and share space across
LPAR's as well); 


  Dedicate 3301 as aa01 to system1
  Dedicate 3302 as aa01 to system2
  Dedicate 3303 as aa01 to system3


So the link as xxx is good on the linux side for standards and all.

The dasdfmt we have been using thus far is to set the -l to LX 
( = the address that the linux sees)

dasdfmt -b 4096 -d cdl -f /dev/dasdw  -l LXAA01 -p -y


Works fine on mini disk and the label / volser is never seen.

On dedicated full volumes the label / volser is seen and from VM's point
of view it now has three disks with a volser of LXAA01. 

I'm told this will cause a problem at VM IPL time 

Thanks, Paul ...





-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, January 23, 2008 11:54 AM
To: LINUX-390@vm.marist.edu
Subject: Re: dasdfmt

>>> On Wed, Jan 23, 2008 at  8:07 AM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 

> Using dasdfmt to format ECKD disks.  Is there a way to not write a
> volser to the disk?

I imagine you could pass a string of blanks for the volser, but why do
you think you need to do that?


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: dasdfmt

2008-01-23 Thread Ayer, Paul W
Running under z/VM 5.2 / 5.3  &  RHEL 4.4 and 4.5

We have been using all vm mini disks up to this point with attach
statements. Like;

  attach 2021 as aa01 to systemA
  attach 2022 as aa01 to systemB
  attach 2023 as aa01 to systemC

... 

Now we are starting to dedicate full disks (and share space across
LPAR's as well); 


  Dedicate 3301 as aa01 to system1
  Dedicate 3302 as aa01 to system2
  Dedicate 3303 as aa01 to system3


So the link as xxx is good on the linux side for standards and all.

The dasdfmt we have been using thus far is to set the -l to LX 
( = the address that the linux sees)

dasdfmt -b 4096 -d cdl -f /dev/dasdw  -l LXAA01 -p -y


Works fine on mini disk and the label / volser is never seen.

On dedicated full volumes the label / volser is seen and from VM's point
of view it now has three disks with a volser of LXAA01. 

I'm told this will cause a problem at VM IPL time 

Thanks, Paul ...





-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, January 23, 2008 11:54 AM
To: LINUX-390@vm.marist.edu
Subject: Re: dasdfmt

>>> On Wed, Jan 23, 2008 at  8:07 AM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 

> Using dasdfmt to format ECKD disks.  Is there a way to not write a
> volser to the disk?

I imagine you could pass a string of blanks for the volser, but why do
you think you need to do that?


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


dasdfmt

2008-01-23 Thread Ayer, Paul W
Good Morning,

 

Using dasdfmt to format ECKD disks.  Is there a way to not write a
volser to the disk?

 

Seems like no from what I am reading.  Just wanted to be sure ..

 

Thanks,

Paul

 

 

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: "New" qeth failure message

2007-12-06 Thread Ayer, Paul W
I had this message also once it ended up being that the guest was not
granted access to the Vswitch 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Thursday, December 06, 2007 12:20 PM
To: LINUX-390@vm.marist.edu
Subject: "New" qeth failure message

Cross-posted to linux-390 and ibmvm

>>> On Thu, Dec 6, 2007 at  4:26 AM, in message
> 
> does someone know what this error means ? The message appears during 
> activation of Hipersocket/GuestLAN device on Linux
> 
> qeth: received an IDX TERMINATE with cause code 0x08

I received this from one of my colleagues.  I'm not aware of any public
documentation of these error codes (*please* correct me if I'm wrong),
and I haven't seen it discussed here before, so I don't have an answer
for them.


Thanks,

Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: boot into single user mode?

2007-11-19 Thread Ayer, Paul W
Hi Mark,

Installed the new zipl.conf file you sampled to me and ran the zipl -V
command and it works great!

At the VM console we now have a way to stop the full boot if needed in'
Our SLES 9.3 systems ... 

Here is (for all) a zipl.conf before and after ..

Thanks again Mark top notch info as always !

Paul



==
Before:

# Modified by YaST2. Last modification on Sun Feb 18 17:34:58 2007



[defaultboot]
default = ipl

[ipl]
target = /boot/zipl
image = /boot/image
ramdisk = /boot/initrd
parameters = "root=/dev/dasda1 selinux=0 TERM=dumb elevator=cfq"

[dumpdasd]
target = /boot/zipl
dumpto = /dev/dasd??

[dumptape]
target = /boot/zipl
dumpto = /dev/rtibm0



After:

# Modified by YaST2. Last modification on Tue Feb 13 19:33:53 2007



[defaultboot]
defaultmenu = menu

:menu
default = 1
prompt = 1
target = /boot/zipl
timeout = 10
1 = ipl

[ipl]
target = /boot/zipl
image = /boot/image
ramdisk = /boot/initrd
parameters = "root=/dev/dasda1 selinux=0 TERM=dumb elevator=cfq"

[dumpdasd]
target = /boot/zipl
dumpto = /dev/dasd??

[dumptape]
target = /boot/zipl
dumpto = /dev/rtibm0







-Original Message-
From: Mark Post [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 15, 2007 2:38 PM
To: Ayer, Paul W
Subject: RE: boot into single user mode?

>>> On Thu, Nov 15, 2007 at  2:31 PM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
> Ahh now that's starting to make sense ... 
> 
> here is the /etc/zipl.conf

And here's the updated version.  Rename your current one.  Copy this
into place.  Re-run zipl, and you're done.


Mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: boot into single user mode?

2007-11-15 Thread Ayer, Paul W
Hi Piotr,

I went with this suggestion. Works great on a sles 9 system.

This is only "just in case sysprog stuff" here so this is what I'll use.

RHEL 4 already has this and SLES 10 will soon too...

Thanks all...
Paul

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Piotr Kolasinski
Sent: Wednesday, November 14, 2007 3:52 PM
To: LINUX-390@vm.marist.edu
Subject: Re: boot into single user mode?

Hi !

Try to use LOADPARM PROMPT

Piotr


Ayer, Paul W napisał(a):
> Good afternoon,
>
> Running SLES 9 SP 3
> z/VM 5.2
>
>
> The way we start the z/Linux systems is;I 150
>
> In Red Hat there is a 15 second delay built in were you can enter a
> command
> to boot into single user mode. I used to hate this but now kind of like
> it.
>
> Is there a way to do this in SLES?
>
> Thanks,
> Paul
>
>
>
>  
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>
>
>   

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


boot into single user mode?

2007-11-14 Thread Ayer, Paul W
Good afternoon,

Running SLES 9 SP 3
z/VM 5.2


The way we start the z/Linux systems is;I 150

In Red Hat there is a 15 second delay built in were you can enter a
command
to boot into single user mode. I used to hate this but now kind of like
it.

Is there a way to do this in SLES?

Thanks,
Paul



 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: email history

2007-10-24 Thread Ayer, Paul W
Thanks Mark...

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Wednesday, October 24, 2007 2:37 PM
To: LINUX-390@vm.marist.edu
Subject: Re: email history

>>> On Wed, Oct 24, 2007 at  2:29 PM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
> I would not like to bring up a question if it's already been talked
> about.
> 
> Where or how do I look at the history log of messages?

The canonical source is http://www2.marist.edu/htbin/wlvindex?LINUX-VM
A lot of people experience slow response there.  I put gzipped copies of
each month at http://linuxvm.org/archives/  Other people go to
http://www.mail-archive.com/linux-390@vm.marist.edu/


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


email history

2007-10-24 Thread Ayer, Paul W
I would not like to bring up a question if it's already been talked
about.

Where or how do I look at the history log of messages?

Thanks,
Paul

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux password and the VM console

2007-10-02 Thread Ayer, Paul W
Sorry to have posted two time .. I never did see the first one show up.

At this time we only use the 3270 option should there be a boot problem,
or network issues that will not allow putty to work .. something like
that.

Our Linux on Intel based staff, each time the 3270 access is needed,
highlight the fact that the password can be seen and "this will not
float" and "and another reason why Linux on the mainframe is not so
good"  

Was just looking for options .. if there were any ... sounds like not

Thanks all ... 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Rich Smrcina
Sent: Tuesday, October 02, 2007 2:20 PM
To: LINUX-390@vm.marist.edu
Subject: Re: Linux password and the VM console

I saw both posts, so there is apparently no way to not let it show.
Perhaps the bigger question may be, what are you using the 3270
interface for?  It is not intended for day-to-day use and when it is
used, should be done in a secure place so that the password is not
exposed.

Ayer, Paul W wrote:
>
>
>
>
>
>
> Good Afternoon all,
>
>
>
> I had tried to ask the group yesterday but the email did not seem to
> make it.
>
>
>
> Our audit groups are having a problem what the fact that the Linux
> password can be seen when typed in ...
>
>
>
>
>
> Anyone have a way to not have the Linux password echo back to the VM
> console screen when it's typed in?
>
>
>
> The VM system "knows" not to show the VM password, but when the Linux
> password is entered it's just data.
>
>
>
> Anyone have a way around this?
>
>
>
> Thanks,
>
> Paul ...
>
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

--
Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service:  360-715-2467
rich.smrcina at vmassist.com
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2008 - Chattanooga - April 18-22, 2008

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Linux password and the VM console

2007-10-02 Thread Ayer, Paul W
 

 

 

Good Afternoon all,

 

I had tried to ask the group yesterday but the email did not seem to
make it.

 

Our audit groups are having a problem what the fact that the Linux
password can be seen when typed in ...

 

 

Anyone have a way to not have the Linux password echo back to the VM
console screen when it's typed in?

 

The VM system "knows" not to show the VM password, but when the Linux
password is entered it's just data.

 

Anyone have a way around this?

 

Thanks,

Paul ...

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


FW: Linux password and the VM console

2007-10-01 Thread Ayer, Paul W
 

 

Good Morning all,

 

Anyone have a way to not have the Linux password echo back to the VM
console screen when it's typed in?

 

The VM system "knows" not to show the VM password, but when the Linux
password is entered it's just data.

 

Anyone have a way around this?

 

Thanks,

Paul ...

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Linux password and the VM console

2007-10-01 Thread Ayer, Paul W
 

Good Morning all,

 

Anyone have a way to not have the Linux password echo back to the VM
console screen when it's typed in?

 

The VM system "knows" not to show the VM password, but when the Linux
password is entered it's just data.

 

Anyone have a way around this?

 

Thanks,

Paul ...



 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: channel bonding

2007-09-19 Thread Ayer, Paul W
Hi Alan,

Thank you .. just what we needed.

Have a great day !

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Alan Altmark
Sent: Wednesday, September 19, 2007 10:59 AM
To: LINUX-390@vm.marist.edu
Subject: Re: channel bonding

On Wednesday, 09/19/2007 at 10:47 EDT, "Ayer, Paul W"
<[EMAIL PROTECTED]> wrote:

> At this time in Vswitch only one OSA is really active and passing
data.
>
> With (IEEE 802.3ad Link Aggregation) both OSA's would be moving data?

With a z9 and z/VM 5.3, yes, you can have up to 8 OSAs moving data
simultaneously for a single VSWITCH.  (That's a theoretical maximum of
80Gb/s.)

The physical switch is configured to bind the ports together into a
single
port group.

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: channel bonding

2007-09-19 Thread Ayer, Paul W
Hi Alan,

Just to be sure I understand.
 
At this time in Vswitch only one OSA is really active and passing data.

With (IEEE 802.3ad Link Aggregation) both OSA's would be moving data?

Paul...

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Alan Altmark
Sent: Wednesday, September 19, 2007 10:25 AM
To: LINUX-390@vm.marist.edu
Subject: Re: channel bonding

On Wednesday, 09/19/2007 at 09:16 EDT, "Ayer, Paul W"
<[EMAIL PROTECTED]> wrote:
> Thanks for the input.
>
> But still if in a Vswitch only one OSA is really working at time into
> the network then channel bonding is of no use.
>
> Either go with no Vswitch and use two real OSA's, or two Vswitches
with
> a live OSA in each would be needed it seems to me...

If you have a z9, the VSWITCH can perform channel bonding (IEEE 802.3ad
Link Aggregation) itself.  Standard channel bonding requires that both
sides cooperate in the effort.

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: channel bonding

2007-09-19 Thread Ayer, Paul W
Hi Mike,

Thanks for the input. 

But still if in a Vswitch only one OSA is really working at time into
the network then channel bonding is of no use.

Either go with no Vswitch and use two real OSA's, or two Vswitches with
a live OSA in each would be needed it seems to me...

Paul...

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Young, Mike
Sent: Tuesday, September 18, 2007 3:39 PM
To: LINUX-390@vm.marist.edu
Subject: Re: channel bonding

I guess it depends if those virtual interfaces are going to different
VLANs.  If your network team is using "VLAN tagging", then each of those
virtuals could travel different networks (perhaps to a DR site?).

Doesn't help much for *real* interface bonding, but that's one use for
it.

Mike.

 -Original Message-
From:   Linux on 390 Port [mailto:[EMAIL PROTECTED]  On Behalf Of
Ayer, Paul W
Sent:   Tuesday, September 18, 2007 2:34 PM
To: LINUX-390@VM.MARIST.EDU
Subject:channel bonding

Good afternoon all,

Have been having good success getting channel bonding going.

We also have Vswitch as well. 

But it dawns on me that channel bonding and Vswitch (the way we have
them)  really don't go together.

In Vswitch we have two OSA's one active and one backup. If in VM we
setup two sets
of virtual NIC that become eth0 and eth1 going into the same Vswitch we
really are only
Going to use one OSA...

So my thinking is that what we really need it two Vswitches with one OSA
in each.
No backup OSA needed, but would be nice to have. 

Then when we channel bond the eth0 and eth1 they really use to different
OSA's and
we can then get double the data flow.

Anyone else doing an channel bonding with Vswitches as well?
Also doing via RHEL 4.4

Any input would be helpful.

Thanks,
Paul...



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


channel bonding

2007-09-18 Thread Ayer, Paul W
Good afternoon all,

Have been having good success getting channel bonding going.

We also have Vswitch as well. 

But it dawns on me that channel bonding and Vswitch (the way we have
them)  really don't go together.

In Vswitch we have two OSA's one active and one backup. If in VM we
setup two sets
of virtual NIC that become eth0 and eth1 going into the same Vswitch we
really are only
Going to use one OSA...

So my thinking is that what we really need it two Vswitches with one OSA
in each.
No backup OSA needed, but would be nice to have. 

Then when we channel bond the eth0 and eth1 they really use to different
OSA's and
we can then get double the data flow.

Anyone else doing an channel bonding with Vswitches as well?
Also doing via RHEL 4.4

Any input would be helpful.

Thanks,
Paul...



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


issuing a shutdown to linux before IPL'ing VM

2007-08-06 Thread Ayer, Paul W
Good afternoon,

 

We are looking at ways to issue a z/Linux level shutdown (either "init
0" or "shutdown -h now"  type command) before doing a VM shutdown.

 

Has anyone had to address this? Any samples or documentation would be
greatly appreciated. 

 

Thank you,

 

Paul 

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: hipersockets + route update command allows one DNS name

2007-07-27 Thread Ayer, Paul W
Thanks Mark,

After I sent the note I was thinking that too. Now how to I say FTP XYZ
and make it use one path or the other.

Oh well, the users and applications will need to be really flexible
since we plan to be able to move an instance between more than one CPU
so sometimes the Hipersockets DNS name will work and sometimes they will
need to use the wide area DNS name instead.

Thanks to everyone all for your input.

Paul

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Friday, July 27, 2007 2:11 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: hipersockets + route update command allows one DNS name

>>> On Fri, Jul 27, 2007 at 11:08 AM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
> This seems to work fine. 

> Please tell me where I may be in error or have a possible problem
> waiting to happen.

-snip-
> pings and trace routes now work fine via the path they should for the
> same DNS name ...

> ping -c 1 -I eth0 agzls013
> PING agzls013 (192.168.127.5) from 192.168.32.139 eth0: 56(84) bytes
of
> data.
> 64 bytes from agzls013 (192.168.127.5): icmp_seq=0 ttl=59 time=2.44 ms
> --- agzls013 ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 2.446/2.446/2.446/0.000 ms, pipe 2


> ping -c 1 -I hsi0 agzls013
> PING agzls013 (192.168.127.5) from 12.1.102.9 hsi0: 56(84) bytes of
> data.
> 64 bytes from agzls013 (192.168.127.5): icmp_seq=0 ttl=64 time=1.07 ms
> --- agzls013 ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 1.078/1.078/1.078/0.000 ms, pipe 2

Things are working for your artificial test because you're forcing the
ping command to use a particular interface.  What will force the
application to do that?  (Answer: nothing.)

Give the HiperSocket interfaces a different name and use those.  That
really is how things are supposed to work.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


hipersockets + route update command allows one DNS name

2007-07-27 Thread Ayer, Paul W
This seems to work fine. 

 

Please tell me where I may be in error or have a possible problem
waiting to happen.

 

>From DNS name is agzls008 with and IP address of 192.168.32.139

 

To DNS name is agsl013 with and IP of 192.168.127.5

 

 

Background 

 

On agzls008 I have this ifconfig

 

eth0  Link encap:Ethernet  HWaddr 02:EE:EE:00:00:08

  inet addr:192.168.32.139  Bcast:192.168.32.255
Mask:255.255.255.0

  inet6 addr: fe80::2ee:ee00:200:8/64 Scope:Link

  UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1

  RX packets:1744660 errors:0 dropped:0 overruns:0 frame:0

  TX packets:1750006 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:1000

  RX bytes:2396827546 (2.2 GiB)  TX bytes:299073761 (285.2 MiB)

 

hsi0  Link encap:Ethernet  HWaddr 00:00:00:00:00:00

  inet addr:12.1.102.9  Bcast:12.1.102.255  Mask:255.255.255.0

  inet6 addr: fe80::ff:fe00:0/64 Scope:Link

  UP BROADCAST RUNNING NOARP MULTICAST  MTU:8192  Metric:1

  RX packets:934 errors:0 dropped:0 overruns:0 frame:0

  TX packets:1329 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:1000

  RX bytes:1467473 (1.3 MiB)  TX bytes:1755404 (1.6 MiB)

 

And route

 

Kernel IP routing table

Destination Gateway Genmask Flags Metric RefUse
Iface

12.1.102.0  *   255.255.255.0   U 0  00
hsi0

192.168.32.0*   255.255.255.0   U 0  00
eth0

169.254.0.0 *   255.255.0.0 U 0  00
hsi0

default 192.168.32.10.0.0.0 UG0  00
eth0

 

 

 

On agzls013 I have this ifconfig

 

eth0  Link encap:Ethernet  HWaddr 02:EE:EE:00:00:0D

  inet addr:192.168.127.5  Bcast:192.168.127.255
Mask:255.255.255.0

  inet6 addr: fe80::2ee:ee00:100:d/64 Scope:Link

  UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1

  RX packets:9364726 errors:0 dropped:0 overruns:0 frame:0

  TX packets:9896086 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:1000

  RX bytes:1245988200 (1.1 GiB)  TX bytes:13804039577 (12.8 GiB)

 

hsi0  Link encap:Ethernet  HWaddr 00:00:00:00:00:00

  inet addr:12.1.102.14  Bcast:12.1.102.255  Mask:255.255.255.0

  inet6 addr: fe80::ff:fe00:0/64 Scope:Link

  UP BROADCAST RUNNING NOARP MULTICAST  MTU:8192  Metric:1

  RX packets:392 errors:0 dropped:0 overruns:0 frame:0

  TX packets:449 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:1000

  RX bytes:1229297 (1.1 MiB)  TX bytes:1767379 (1.6 MiB)

 

And route

 

Kernel IP routing table

Destination Gateway Genmask Flags Metric RefUse
Iface

12.1.102.0* 255.255.255.0   U 0  0
0 hsi0

192.168.127.0   * 255.255.255.0   U 0  0
0 eth0

169.254.0.0  * 255.255.0.0 U 0  0
0 hsi0

default 192.168.127.1   0.0.0.0 UG0  00
eth0

 

 

ping from agzls008 to agzls013 via eth0 - works fine as it should

(traceroute -I eth0 shows out and in the osa's)

 

PING agzls013 (192.168.127.5) from 192.168.32.139 eth0: 56(84) bytes of
data.

64 bytes from agzls013 (192.168.127.5): icmp_seq=0 ttl=59 time=2.58 ms

 

--- agzls013 ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 2.588/2.588/2.588/0.000 ms, pipe 2

 

 

 

ping from agzls008 to agzls013 via hsi0 - fails

(traceroute -I hsi0 goes no where)

 

PING agzls013 (192.168.127.5) from 12.1.102.9 hsi0: 56(84) bytes of
data.

 

--- agzls013 ping statistics ---

1 packets transmitted, 0 received, 100% packet loss, time 0ms

 

 

 

Added to the route

 

route add -net 192.168.127.0 netmask 255.255.255.0 gw 12.1.102.1 dev
hsi0

 

route now shows

 

Destination Gateway Genmask Flags Metric Ref
Use Iface

12.1.102.0  *255.255.255.0   U 0  0
0 hsi0

192.168.32.0  *255.255.255.0   U 0  0
0 eth0

192.168.127.0   12.1.102.1   255.255.255.0   UG0  00
hsi0

169.254.0.0   * 255.255.0.0 U 0  0
0 hsi0

default192.168.32.1  0.0.0.0 UG0  0
0 eth0

 

 

 

 

pings and trace routes now work fine via the path they should for the
same DNS name ...

 

 

 

ping -c 1 -I eth0 agzls013

PING agzls013 (192.168.127.5) from 192.168.32.139 eth0: 56(84) bytes of
data.

64 bytes from agzls013 (192.168.127.5): icmp_seq=0 ttl=59 time=2.44 ms

 

--- agzls013 ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 2.446/2.446/2.446/0.000 ms, pipe 2

 

 

 

 

ping -c 1 -I hsi0 agzls013

PIN

Re: Hipersockets

2007-07-27 Thread Ayer, Paul W
Hi Mike,

Since this is an internal only network the ip address should not matter
at all (my thought anyway), plus if we were to use a real routable
address that could become a problem if a session to that address were
made over the
OSA (not hipersockets path) ... ??? but I guess if were to reserve a
10.*.*.* (* something) for z/linux only then that would be ok. 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael MacIsaac
Sent: Friday, July 27, 2007 8:50 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Hipersockets

Paul,

> setup the hipersocket network as 12. for testing and so it stands out
Would it be better to use 10.? 12. is a real class A IP address range.
10.
is the private class A range (RFC 1918 I believe).

"Mike MacIsaac" <[EMAIL PROTECTED]>   (845) 433-7061

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Hipersockets

2007-07-26 Thread Ayer, Paul W
Good day,

I have seen a few notes here before but they were mostly for not working
links.

Here is my problem have z/linux working for both normal in/out the OSA
to the network and also have now
setup the hsi0 for Hipersockts links. 

Pings, traceroutes, ftp's, ssh's all work fine using addresses or the
DNS name for the OSA path (192 addresses).

So things look good.

My problem is DNS or name resolution..

I have two systems in the DNS as zlinuxA that resolves to IP address
192.168.32.1
and zlinuxB that resolves to ip address 192.168.32.2

They use eth0 with the given addresses on a Vswitch for the normal (non
HS) network.

The hsio addresses are set to 12.168.32.1 and 12.168.32.2 (setup the
hipersocket network as 12. for testing and so it stands out)

If from zlinuxA I say FTP zlinuxB then it will always use the 192
address as that what will resolve.
If from zlinuxA I say FTP 12.168.32.2 then it will use the hipersocket
path.

We know that we can add 2nd DNS entry of say zlinuxB-Hs that resolves to
the 12 address but the could be cumbersome.

Should I add a DNS z/Linux system inside the z/VM as a first check that
would resolve the same name to a 12
Then if not found there somehow go out to the network DNS. Should I try
to use the old HOSTFILEs type datasets?

How have others addresses this?

Any ideas or this is how we did it would be great! 

Thanks,
Paul



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: mkinitrd bug ?

2007-06-24 Thread Ayer, Paul W
Thanks Mark,

I guess I was thinking more on the lines of an enhancement request and
also
just sending out a warning on it. 

I know I'll never do a mkinitrd command again without doing a cat of the
fstag first .. adding a few disks is such a basic thing and then booting
and having it go straight to kernel panic is no fun at all ...


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Friday, June 22, 2007 5:28 PM
To: LINUX-390@vm.marist.edu
Subject: Re: mkinitrd bug ?

>>> On Fri, Jun 22, 2007 at  3:47 PM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
-snip-
> Everything is all set now and fixed ..  but what I am wondering is if
> mkinitrd or a forked process it kicks off
> 
> should at least give a warning message that the /etc/fstab is empty
and
> do not boot or you won't come back up 

Paul,

That sounds more like an enhancement request to me than a bug.  Checking
for a completely empty fstab file would be pretty easy.  Doing a
thorough job of checking the contents for broken entries would be a lot
more difficult, since I'm not aware of any generalized fstab checker
code out there.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


mkinitrd bug ?

2007-06-22 Thread Ayer, Paul W
Good afternoon,

 

Recently had a problem where after doing a mkinitrd and booting the
system it came up in panic mode (or should I way would not come up) ..

 

After some research found that someone who was intending to backup
/etc/fstab had actually had emptied it out.

This was done after a good boot so the system was up and working find.
The /etc/fstab was not deleted just empty.

 

I then came along and added some new disk and updated via mkinitrd ...
all fine no errors at all...

 

Booted the system and got (last few messages);

==

dasd(eckd): 0.0.0179: (4kB blks): 2403360kB at 48kB/trk compatible disk
layout  

 dasdap:VOL1/  0X0179: dasdap1


dasd(eckd): 0.0.0200: 3390/0A(CU:3990/01) Cyl:3338 Head:15 Sec:224


dasd(eckd): 0.0.0200: (4kB blks): 2403360kB at 48kB/trk compatible disk
layout  

 dasdaq:VOL1/  0X0200: dasdaq1


Loading dasd_fba_mod.ko module


Creating root device


Mounting root filesystem


mount: missing mount point


mount: error 2 mounting none


Switching to new root


switchroot: mount failed: 22


umount /initrd/dev failed: 2


Kernel panic - not syncing: Attempted to kill init!


HCPGIR450W CP entered; disabled wait PSW 00020001 8000 
00040DA0;

 

==

 

 

Everything is all set now and fixed ..  but what I am wondering is if
mkinitrd or a forked process it kicks off

should at least give a warning message that the /etc/fstab is empty and
do not boot or you won't come back up 

 

 

Paul 

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: RHEL 4 - FCP - tape drives

2007-06-05 Thread Ayer, Paul W
I am RHEL 4.4 here is a modinfo for tape_34xx and also zfcp 


[EMAIL PROTECTED] ~]# modinfo tape_34xx
filename:
/lib/modules/2.6.9-42.EL/kernel/drivers/s390/char/tape_34xx.ko
license:GPL
description:Linux on zSeries channel attached 3480 tape device
driver ($Revision: 1.21 $)
author: (C) 2001-2002 IBM Deutschland Entwicklung GmbH
alias:  ccw:t3490m*dt3490dm00*
alias:  ccw:t3480m*dt3480dm00*
depends:tape
vermagic:   2.6.9-42.EL SMP gcc-3.4


[EMAIL PROTECTED] ~]# modinfo zfcp
filename:
/lib/modules/2.6.9-42.EL/kernel/drivers/s390/scsi/zfcp.ko
parm:   loglevel:log levels, 8 nibbles: FC ERP QDIO CIO Config
FSF SCSI Other, levels: 0=none 1=normal 2=devel 3=trace
parm:   device:specify initial device
license:GPL
description:FCP (SCSI over Fibre Channel) HBA driver for IBM eServer
zSeries
author: Heiko Carstens <[EMAIL PROTECTED]>, Martin
Peschke <[EMAIL PROTECTED]>, Raimund Schroeder
<[EMAIL PROTECTED]>, Wolfgang Taphorn <[EMAIL PROTECTED]>,
Aron Zeh <[EMAIL PROTECTED]>, IBM Deutschland Entwicklung GmbH
alias:  ccw:t1731m03dt1732dm04*
alias:  ccw:t1731m03dt1732dm03*
depends:qdio,scsi_mod,scsi_transport_fc
vermagic:   2.6.9-42.EL SMP gcc-3.4
[



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Brad Hinson
Sent: Tuesday, June 05, 2007 11:45 AM
To: LINUX-390@vm.marist.edu
Subject: Re: RHEL 4 - FCP - tape drives

On Tue, 2007-06-05 at 09:29 -0600, Mark Post wrote:
> >>> On Tue, Jun 5, 2007 at  9:33 AM, in message
> <[EMAIL PROTECTED]>,
"Hall, Ken
> (GTI)" <[EMAIL PROTECTED]> wrote:
> > We just went through this.
> >
> > First, you need the lin_tape package from IBM.  That has the
> > device-specific drivers for the tape drives.  You might have to find
the
> > source RPM and rebuild it to get a version that matches your kernel.
>
> This doesn't sound right to me.  What distribution are you running?
>
>
> Mark Post

For RHEL 4, there are tape modules already built in:

# ls /lib/modules/2.6.9-42.EL/kernel/drivers/s390/char/*tape*
/lib/modules/2.6.9-42.EL/kernel/drivers/s390/char/tape_34xx.ko
/lib/modules/2.6.9-42.EL/kernel/drivers/s390/char/tape_class.ko
/lib/modules/2.6.9-42.EL/kernel/drivers/s390/char/tape.ko

# modinfo tape_34xx
filename:
/lib/modules/2.6.9-42.EL/kernel/drivers/s390/char/tape_34xx.ko
license:GPL
description:Linux on zSeries channel attached 3480 tape device
driver ($Revision: 1.21 $)
author: (C) 2001-2002 IBM Deutschland Entwicklung GmbH
alias:  ccw:t3490m*dt3490dm00*
alias:  ccw:t3480m*dt3480dm00*
depends:tape
vermagic:   2.6.9-42.EL SMP gcc-3.4



>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: RHEL 4 - FCP - tape drives

2007-06-05 Thread Ayer, Paul W
Hi Alan,

This was a problem at fist for me. I was trying to use the wwnn and wwpn
that I saw when the online was done. This is not what I use correct (as
it only got errors on the vm console) I would use the real wwnn and wwpn
for 
The tape drives I'm looking to get to .. correct ?

Paul


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Alan Altmark
Sent: Monday, June 04, 2007 5:58 PM
To: LINUX-390@vm.marist.edu
Subject: Re: RHEL 4 - FCP - tape drives

On Monday, 06/04/2007,  Brad Hinson <[EMAIL PROTECTED]> wrote:
> > I believe you set them up just as you would any other FCP lun:
> >
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/s390-multi-i
> > nstall-guide/s1-s390info-zfcp.html
> >
> > If you need to share the tape drive across multiple LPARs, you'll
need
> > to use NPIV:
> > http://linuxvm.org/present/SHARE107/S9257vs.pdf

NPIV has nothing to do with sharing across LPARs.  Sharing is simply a
matter of giving an multiple LPARs access to different subchannels the
same FCP chpid.

N_Port ID Virtualization (NPIV) assigns each subchannel on the FCP chpid
its own WWPN so that FC fabric access controls can be applied to each
LPAR
or guest individually at the subchannel level rather than at the chpid
level (as is done on machines without NPIV).  To use this support your
FC
switch must support NPIV.

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: RHEL 4 - FCP - tape drives

2007-06-05 Thread Ayer, Paul W
Hi Ray,

Yes that's what I did cd /sys/bus/scsi/devices and did an ls ... empty
also a cat /proc/scsi and cat /proc/scsi/scsi is empty too. lstape is
blank.

On the wwnn and wwpn side at first I was trying to use what filled in
there when I echo'ed 1 to online but then on the vm console I would see
an error.

Later I was able to get the real wwnn and for the tape_controler and the
wwpn for each of the two tape drives (putting them on 0.0.1a06 and
0.0.a107)
Now when I try to start them there are no errors and also when I boot
the
System the boot messages say that SCSI is stating ok.

I'm still a bit unsure as to how to setup the /etc/zfcp.conf format and
am hopping that is my problem but again following the steps I the doc 
works fine for all the /sys/bus/scsi/drivers stuff but not the devices
stuff.

A vmcp q fcp does show 1a06 and 1a07 are attached.
 


Thanks,


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Raymond Higgs
Sent: Monday, June 04, 2007 6:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RHEL 4 - FCP - tape drives

Linux on 390 Port  wrote on 06/04/2007 03:08:28
PM:

> Hi Brad,
>
> Thanks for the info.
>
> I have been using the 1st document and all items work fine when doing
> the commands to /sys/bus/drivers ... but when I move over to the
> /sys/bus/scsi/devices .. is always empty.
>
> Paul
>

Paul,

If you're having problems with commands like these:

# cat /sys/bus/scsi/devices/0\:0\:1\:0/hba_id
0.0.010a
# cat /sys/bus/scsi/devices/0\:0\:1\:0/wwpn
0x5005076300c18154
# cat /sys/bus/scsi/devices/0\:0\:1\:0/fcp_lun
0x5719

# cat /sys/bus/scsi/devices/0\:0\:1\:0/block/dev
8:0
# cat /sys/bus/scsi/devices/0\:0\:1\:0/block/sda1/dev
8:1

There are extra '\' characters in there.  The SCSI device IDs should be
written like 0:0:1:0.  Go into the directory, and do an ls to see what
your SCSI device IDs look like.  Mine look like this:

[EMAIL PROTECTED]:cd /sys/bus/scsi/devices
[EMAIL PROTECTED]:ls
0:0:0:0  1:0:0:0  2:0:0:0  3:0:0:0
[EMAIL PROTECTED]:cat /sys/bus/scsi/devices/3:0:0:0/hba_id
0.0.c403
[EMAIL PROTECTED]:cat /sys/bus/scsi/devices/3:0:0:0/wwpn
0x500507630510477a
[EMAIL PROTECTED]:cat /sys/bus/scsi/devices/3:0:0:0/fcp_lun
0x40114081

Thanks,

Ray Higgs
System z FCP Development
Bld. 706, B24
2455 South Road
Poughkeepsie, NY 12601
(845) 435-8666,  T/L 295-8666
[EMAIL PROTECTED]

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: RHEL 4 - FCP - tape drives

2007-06-04 Thread Ayer, Paul W
Hi Brad,

Thanks for the info. 

I have been using the 1st document and all items work fine when doing
the commands to /sys/bus/drivers ... but when I move over to the
/sys/bus/scsi/devices .. is always empty.

Paul



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Brad Hinson
Sent: Monday, June 04, 2007 2:33 PM
To: LINUX-390@vm.marist.edu
Subject: Re: RHEL 4 - FCP - tape drives

I believe you set them up just as you would any other FCP lun:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/s390-multi-i
nstall-guide/s1-s390info-zfcp.html

If you need to share the tape drive across multiple LPARs, you'll need
to use NPIV:
http://linuxvm.org/present/SHARE107/S9257vs.pdf

(although the NPIV link above isn't working for me right now.  Mark, can
you confirm?)

-Brad

On Mon, 2007-06-04 at 07:42 -0400, Ayer, Paul W wrote:
>
> Good Morning,
>
>
>
> Having fun trying do define and put on line some tape drives via FCP.
>
>
>
> I have searched but have not yet found doc I can use that shows a good
> example
>
> of how to define this.
>
>
>
> Can someone direct me to some doc on this (cookbook or REL4 stuff
maybe)
>
>
>
> Thank you,
>
>
>
> Paul
>
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
--
Brad Hinson <[EMAIL PROTECTED]>
Technical Account Manager
Red Hat, Inc.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


RHEL 4 - FCP - tape drives

2007-06-04 Thread Ayer, Paul W
 

Good Morning,

 

Having fun trying do define and put on line some tape drives via FCP.

 

I have searched but have not yet found doc I can use that shows a good
example 

of how to define this.

 

Can someone direct me to some doc on this (cookbook or REL4 stuff maybe)

 

Thank you,

 

Paul 

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: changing the default gateway address

2007-06-01 Thread Ayer, Paul W
Thank you!

And for the flow too .. 

Paul

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Friday, June 01, 2007 11:58 AM
To: LINUX-390@vm.marist.edu
Subject: Re: changing the default gateway address

 >>> On Fri, Jun 1, 2007 at 11:36 AM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 

> If I wanted to change the default gateway for routing and did not want
> to use yast.

> What file would I look at to update?

> Running SLES9 SP3

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
148.100.96.00.0.0.0 255.255.255.128 U 0  00
hsi0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00
lo
0.0.0.0 148.100.96.10.0.0.0 UG0  00
hsi0

# grep -r 148.100.96.1 /etc
/etc/sysconfig/network/routes:default 148.100.96.1 - -
/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4000:BROADCAST="148.100.96
.127"
/etc/resolv.conf:nameserver 148.100.96.1


I would say /etc/sysconfig/network/routes


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


changing the default gateway address

2007-06-01 Thread Ayer, Paul W
 

Good morning,

 

If I wanted to change the default gateway for routing and did not want
to use yast.

 

What file would I look at to update?

 

Running SLES9 SP3

 

Thank you,

 

 

Paul


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


boot error

2007-05-02 Thread Ayer, Paul W
 

 

Good Morning,

 

Anyone ever come across this error at boot time.


Before the boot I formatted and added 53 3390 packs and when I tried to
update the /etc/modprobe.conf file, but the / file system was full.

So I could not update that.

 

Did the reboot thinking that oh well the disks will just go away (as
they will not be added to the start up) and the boot would not work ...

 

Running RHEL 4.4

 

Error below;

 

 

[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a /


/:


The superblock could not be read or does not describe a correct ext2


filesystem.  If the device is valid and it really contains an ext2


filesystem (and not swap or ufs or something else), then the superblock


is corrupt, and you might try running e2fsck with an alternate
superblock:

e2fsck -b 8193 


 


   WARNING: Your /etc/fstab does not contain the fsck passno


field.  I will kludge around things for you, but you


should fix your /etc/fstab file as soon as you can.


 


fsck.ext2: Is a directory while trying to open /


[FAILED]


 


*** An error occurred during the file system check.


*** Dropping you to a shell; the system will reboot


*** when you leave the shell.


*** Warning -- SELinux is active


*** Disabling security enforcement for system recovery.


*** Run 'setenforce 1' to reenable.


Give root password for maintenance


(or type Control-D to continue):


 

 

Paul 

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


boot error

2007-05-02 Thread Ayer, Paul W
Good Morning,

 

Anyone ever come across this error at boot time.


Before the boot I formatted and added 53 3390 packs and when I tried to
update the /etc/modprobe.conf file, but the / file system was full.

So I could not update that.

 

Did the reboot thinking that oh well the disks will just go away (as
they will not be added to the start up) and the boot would not work ...

 

Running RHEL 4.4

 

Error below;

 

 

[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a /


/:


The superblock could not be read or does not describe a correct ext2


filesystem.  If the device is valid and it really contains an ext2


filesystem (and not swap or ufs or something else), then the superblock


is corrupt, and you might try running e2fsck with an alternate
superblock:

e2fsck -b 8193 


 


   WARNING: Your /etc/fstab does not contain the fsck passno


field.  I will kludge around things for you, but you


should fix your /etc/fstab file as soon as you can.


 


fsck.ext2: Is a directory while trying to open /


[FAILED]


 


*** An error occurred during the file system check.


*** Dropping you to a shell; the system will reboot


*** when you leave the shell.


*** Warning -- SELinux is active


*** Disabling security enforcement for system recovery.


*** Run 'setenforce 1' to reenable.


Give root password for maintenance


(or type Control-D to continue):


 

 

Paul 

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: adding 3390 disks

2007-04-30 Thread Ayer, Paul W
Hi Mark,

We will be doing all LVM actually for this 120g one PV with three lv's 

We have FCP but it was decided here to not use the SAN at all and just
3390's ... so there will be a lot of this ... we are building out a new 
Pilot area so we are stuck with mod3's now ... later I've told them we
Must have mod 3's .. 9's .. 27's .. and 54's . 

It was stated that 3390 would be better than san for us and out of
region
DR stuff ... 

So what I did to day was put them online, format, fdasd , update
modprobe and zipl ... so they are ready .. next we can lvm them up ...

Thanks,
Paul
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Monday, April 30, 2007 11:29 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: adding 3390 disks

>>> On Mon, Apr 30, 2007 at  7:37 AM, in message
<[EMAIL PROTECTED]>,
"Ayer,
Paul W" <[EMAIL PROTECTED]> wrote: 
-snip-
> We are using 3390 mod 3's here and I have to add 120g of disk space so
> that's 53 disks ... 

Paul,

Does that have to be one 120GB file system?  If so, that means using
LVM, which means you will only be running mke2fs once, and updating
/etc/fstab once.

If you foresee this happening more than once, you might be better off
getting management to pay for an FCP adapter so you can hook up to the
open systems side of a storage array.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


adding 3390 disks

2007-04-30 Thread Ayer, Paul W
Good Morning,

 

Does anyone have a nice script for adding 3390 disk to a z/Linux system?

 

We are running RH 4.4 and from the doc there are a few steps.

 

1-   put the disk online

2-   find the name given to the disk .. like dasdb

3-   format dasdb 

4-   fdasd 

5-   mke2fs

6-   mount it , update fstab  

7-   On and on and on

 

 

We are using 3390 mod 3's here and I have to add 120g of disk space so
that's 53 disks ... 

I've stated on a script for this but if someone has crossed this and has
one that would be great !

 

Thanks,

 

 

Paul 

 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


FW: can a max file size be set when using lvm

2007-03-22 Thread Ayer, Paul W
Well I have done some work and now have something that is getting closer

to what we would need here. This looks just like our non z systems. So
our
service areas would be happy-er 

lvm> lvscan
  ACTIVE'/dev/VolGroup00/LogVol00' [1.00 GB] inherit
  ACTIVE'/dev/VolGroup00/opt' [2.00 GB] inherit
  ACTIVE'/dev/VolGroup00/tmp' [2.00 GB] inherit
  ACTIVE'/dev/VolGroup00/usr' [6.00 GB] inherit
  ACTIVE'/dev/VolGroup00/usr_local' [512.00 MB] inherit
  ACTIVE'/dev/VolGroup00/var' [3.00 GB] inherit
  ACTIVE'/dev/VolGroup00/LogVol01' [1.44 GB] inherit

The mount point for each is /usr or /opt ... / is on LogVol00

* With /var now set to 3.00 GB does this allow /var to ONLY get as big
as
  3.00 GB and stop?  OR would should each mount point be in it's own vol

  Group to achieve that?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


  1   2   >