Looking for the way how one XOT server on zLinux can manage more than 64 physical port and lines?

2011-12-16 Thread TaeMin Baek
Hello,

My customer has one 3746 box with more than 64 physical ports for
x.25(around 80 ports). They installed and are operating CCL with IBM X.25
Over TCP/IP for CCL software on Linux on System z under z/VM. They are
migrating x.25 line by line. They unplug the x.25 cable from 3746 and plug
into new routers(CISCO 3845 3EA, 48 ports per each).
But unfortunately XOT server can define only up to 64 ports by BM X.25
Over TCP/IP user's guide.
The customer doesn't want to create additianal linux server due to system
management workload.

Thus I am looking for the way how one XOT server on zlinux can manage more
than 64 ports?

Regards



Tae Min Baek
 Mmaa Bldg, 467-12 Dogok-Dong

Advisory IT Architect
 Seoul, 135700
z/Linux Team
 Korea
IBM Sales & Distribution, STG Sales


Phone:
+822-3781-8224


Mobile:
+82-010-4995-8224


e-mail:
tmb...@kr.ibm.com


<>

Re: Fedora 16 for IBM System z 64bit official release

2011-12-16 Thread Dan Horák
Bern VK2KAD píše v Pá 16. 12. 2011 v 10:49 +1100: 
> And the first to post a Hercules disk image of a clean install will get a 
> big thankyou from me   ;)

at http://fedora.danny.cz/s390/fedora-16/ you can find one, it's
compressed FBA DASD image, but with LVM instead of partitions (the
default installation of the "Minimal" variant), use on your own risk :-)


Dan

> --
> From: "DanHorák" 
> Sent: Thursday, December 15, 2011 10:09 PM
> To: 
> Subject: Fedora 16 for IBM System z 64bit official release
> 
> > There was still a longer delay after the Fedora 16 release for the
> > primary architectures than we would like to see, but at least we are
> > faster than with Fedora 15 and so here we are.
> >
> > As today, the Fedora IBM System z (s390x) Secondary Arch team proudly
> > presents the Fedora 16 for IBM System z 64bit official release!
> >
> > The links to the actual release are here:
> >
> > http://secondary.fedoraproject.org/pub/fedora-secondary/releases/16/Fedora/s390x/
> >
> > http://secondary.fedoraproject.org/pub/fedora-secondary/releases/16/Everything/s390x/os/
> >
> > and obviously on all mirrors that mirror the secondary arch content.
> >
> > The first directory contains the normal installation trees as well as
> > one DVD ISO with the complete release.
> >
> > Everything as usual contains, well, everything. :)
> >
> >
> > Additional information about known issues, the current progress and state
> > for future release, where and how the team can be reached and just
> > anything else IBM System z on Fedora related can be found here:
> >
> >
> > http://fedoraproject.org/wiki/Architectures/s390x/16
> > for architecture specific release notes
> >
> > and
> >
> > http://fedoraproject.org/wiki/Architectures/s390x
> > for the general information.
> >
> >
> > Thanks go out to everyone involved in making this happen!
> >
> >
> > Your Fedora/s390x Maintainers
> >
> > -- 
> > Dan Horák, RHCE
> > Senior Software Engineer, BaseOS
> >
> > Red Hat Czech s.r.o., Purkyňova 99, 612 45 Brno
> >
> > --
> > For LINUX-390 subscribe / signoff / archive access 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: Required packages on a zLinux server running Oracle vs "Put everything on"

2011-12-16 Thread Mauro Souza
There's a RedBook (http://www.redbooks.ibm.com/abstracts/sg247634.html) for
installing Oracle on System Z. It contains all the needed packages, so you
could install just those packages. Having a lot of superfluous packages can
slow your server down, use more memory and disk than it should, and create
room for vulnerabilities (for instance on that Apache installed by default
and never configured properly).

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Fri, Dec 16, 2011 at 1:43 AM, Marcy Cortes  wrote:

> The argument for not having them there is that you are subject to far less
> security patching.
> Now, some organizations don't seem to care about that.  Some others care
> more than one can ever imagine.
>
>
> Marcy
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
> CHAPLIN, JAMES (CTR)
> Sent: Thursday, December 15, 2011 3:20 PM
> To: LINUX-390@vm.marist.edu
> Subject: [LINUX-390] Required packages on a zLinux server running Oracle
> vs "Put everything on"
>
> I got into a discussion with a co-worker over packages that are
> installed on a zLinux oracle server. We are Running RHEL 5.7 at our
> site, and are using Oracle 10g (about to go to 11g). I noticed that our
> Oracle servers have an average of 1192 rpm packages installed and 91
> define system services compared to our other non-Oracle servers
> (application, java, MQ & Websphere) having only 450 - 480 installed rpm
> packages and 53 defined services.
>
>
>
> I am not an oracle expert. Can anyone point me to a list of required
> software packages to be installed to support Oracle 10g? If you have any
> suggestions or personal experiences with oracle and the zLinux base
> platform, your comments are welcome.
>
>
>
> Another statement was "It does not matter what we have installed, as
> long as Oracle is working", or don't touch unless it is broken. A sample
> of the over 600 packages are httpd (apache) and eklogin. Others like
> squid I believe is needed. I am just looking for a good baseline and
> argument to clean up these servers from unneeded software.
>
>
>
> James Chaplin
>
> Systems Programmer, MVS, zVM & zLinux
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

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


Re: Looking for the way how one XOT server on zLinux can manage more than 64 physical port and lines?

2011-12-16 Thread Robert J Brenneman
Can you run multiple parallel CCL processes on the same Linux guest and
attach more OSN devices to it?

--
Jay Brenneman

--
For LINUX-390 subscribe / signoff / archive access 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: Required packages on a zLinux server running Oracle vs "Put everything on"

2011-12-16 Thread Damian Gallagher
Oh, we can do better than that :-) On the assumption that you have a support 
contract, all you need is in this article:
Note 1086769.1 -Ensure you have prerequisite rpms to install Oracle Database 
and AS10g(midtier) on IBM: Linux on System z (s390x)

This provides an rpm which consists only of prereqs, thus ensuring you have the 
packages needed for the appropriate product. Run both sets, and you're good for 
E-Business Suite also.

It won't necessarily tell you what you have that's unnecessary, though.

Cheers
Damian 


-Original Message-
From: Mauro Souza [mailto:thoriu...@gmail.com] 
Sent: 16 December 2011 10:56
To: LINUX-390@vm.marist.edu
Subject: Re: Required packages on a zLinux server running Oracle vs "Put 
everything on"

There's a RedBook (http://www.redbooks.ibm.com/abstracts/sg247634.html) for
installing Oracle on System Z. It contains all the needed packages, so you
could install just those packages. Having a lot of superfluous packages can
slow your server down, use more memory and disk than it should, and create
room for vulnerabilities (for instance on that Apache installed by default
and never configured properly).

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Fri, Dec 16, 2011 at 1:43 AM, Marcy Cortes  wrote:

> The argument for not having them there is that you are subject to far less
> security patching.
> Now, some organizations don't seem to care about that.  Some others care
> more than one can ever imagine.
>
>
> Marcy
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
> CHAPLIN, JAMES (CTR)
> Sent: Thursday, December 15, 2011 3:20 PM
> To: LINUX-390@vm.marist.edu
> Subject: [LINUX-390] Required packages on a zLinux server running Oracle
> vs "Put everything on"
>
> I got into a discussion with a co-worker over packages that are
> installed on a zLinux oracle server. We are Running RHEL 5.7 at our
> site, and are using Oracle 10g (about to go to 11g). I noticed that our
> Oracle servers have an average of 1192 rpm packages installed and 91
> define system services compared to our other non-Oracle servers
> (application, java, MQ & Websphere) having only 450 - 480 installed rpm
> packages and 53 defined services.
>
>
>
> I am not an oracle expert. Can anyone point me to a list of required
> software packages to be installed to support Oracle 10g? If you have any
> suggestions or personal experiences with oracle and the zLinux base
> platform, your comments are welcome.
>
>
>
> Another statement was "It does not matter what we have installed, as
> long as Oracle is working", or don't touch unless it is broken. A sample
> of the over 600 packages are httpd (apache) and eklogin. Others like
> squid I believe is needed. I am just looking for a good baseline and
> argument to clean up these servers from unneeded software.
>
>
>
> James Chaplin
>
> Systems Programmer, MVS, zVM & zLinux
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

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

--
For LINUX-390 subscribe / signoff / archive access 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: Looking for the way how one XOT server on zLinux can manage more than 64 physical port and lines?

2011-12-16 Thread David Boyes
It would be far easier to put the SNA X.25 processing in to the routers and use 
CCL only as a NCP concentrator. Do you have the SNA enterprise support in the 
Cisco devices? What does your SNA configuration in the routers look like?


--
For LINUX-390 subscribe / signoff / archive access 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: Required packages on a zLinux server running Oracle vs "Put everything on"

2011-12-16 Thread CHAPLIN, JAMES (CTR)
Thanks, that was what I was looking for.

James Chaplin
Systems Programmer, MVS, zVM & zLinux
-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Damian Gallagher
Sent: Friday, December 16, 2011 9:47 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Required packages on a zLinux server running Oracle vs "Put
everything on"

Oh, we can do better than that :-) On the assumption that you have a
support contract, all you need is in this article:
Note 1086769.1 -Ensure you have prerequisite rpms to install Oracle
Database and AS10g(midtier) on IBM: Linux on System z (s390x)

This provides an rpm which consists only of prereqs, thus ensuring you
have the packages needed for the appropriate product. Run both sets, and
you're good for E-Business Suite also.

It won't necessarily tell you what you have that's unnecessary, though.

Cheers
Damian 


-Original Message-
From: Mauro Souza [mailto:thoriu...@gmail.com] 
Sent: 16 December 2011 10:56
To: LINUX-390@vm.marist.edu
Subject: Re: Required packages on a zLinux server running Oracle vs "Put
everything on"

There's a RedBook (http://www.redbooks.ibm.com/abstracts/sg247634.html)
for
installing Oracle on System Z. It contains all the needed packages, so
you
could install just those packages. Having a lot of superfluous packages
can
slow your server down, use more memory and disk than it should, and
create
room for vulnerabilities (for instance on that Apache installed by
default
and never configured properly).

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Fri, Dec 16, 2011 at 1:43 AM, Marcy Cortes
 wrote:

> The argument for not having them there is that you are subject to far
less
> security patching.
> Now, some organizations don't seem to care about that.  Some others
care
> more than one can ever imagine.
>
>
> Marcy
>
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
> CHAPLIN, JAMES (CTR)
> Sent: Thursday, December 15, 2011 3:20 PM
> To: LINUX-390@vm.marist.edu
> Subject: [LINUX-390] Required packages on a zLinux server running
Oracle
> vs "Put everything on"
>
> I got into a discussion with a co-worker over packages that are
> installed on a zLinux oracle server. We are Running RHEL 5.7 at our
> site, and are using Oracle 10g (about to go to 11g). I noticed that
our
> Oracle servers have an average of 1192 rpm packages installed and 91
> define system services compared to our other non-Oracle servers
> (application, java, MQ & Websphere) having only 450 - 480 installed
rpm
> packages and 53 defined services.
>
>
>
> I am not an oracle expert. Can anyone point me to a list of required
> software packages to be installed to support Oracle 10g? If you have
any
> suggestions or personal experiences with oracle and the zLinux base
> platform, your comments are welcome.
>
>
>
> Another statement was "It does not matter what we have installed, as
> long as Oracle is working", or don't touch unless it is broken. A
sample
> of the over 600 packages are httpd (apache) and eklogin. Others like
> squid I believe is needed. I am just looking for a good baseline and
> argument to clean up these servers from unneeded software.
>
>
>
> James Chaplin
>
> Systems Programmer, MVS, zVM & zLinux
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390
or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

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

--
For LINUX-390 subscribe / signoff / archive access 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, vis

Re: Required packages on a zLinux server running Oracle vs "Put everything on"

2011-12-16 Thread van Sleeuwen, Berry
I don't know if that would help too. Our Oracle "specialist" ran a script from 
Oracle to determine requirements and demanded that the requirements would be 
met otherwise he couldn't install Oracle. This is an SLES11 with Oracle 11. So 
now we have a guest with 4G memory, 2G /tmp and a lot of packages installed, 
including a full X-windows. Installing Oracle we had proved through measuring 
the system that he needed only 200M /tmp space and less than 1G memory. X is 
never being used. So even the Oracle scripts and books do not reflect the 
actual minimal requirements but still consider a stand-alone server running X. 
BTW, the server is now installed according to Oracle recommendations, running 
at over 55MIPS it is now a top5 machine in CPU consumption and 100% in Q3. No, 
the machine is not in use yet so this is the IDLE load.

Our SLES10 with Oracle 10 is a guest with a minimal installation, meaning the 
absolute minimum required to run a Linux guest and added a few packages such as 
sudo, sysstat etc. On top of that we've added: "cpp, gcc ,gcc-c++ , glibc-devel 
,libaio-devel ,libmudflap, libstdc++-devel, java-1_5_0-ibm-devel, expat-32bit, 
fontconfig-32bit ,freetype2-32bit, glibc-devel-32bit, openmotif, 
xorg-x11-libs-32bit, zlib-32bit". So this is the actual minimum requirement. 
Anything more is not required to install or run an Oracle. Also the guest runs 
2 oracle databases within 1G. Idle load at about 6MIPS and almost never in Q3. 
Conclusion, don't trust the requirements from Oracle, they are wrong. On the 
other hand, if you want to install using X then you indeed need a lot more than 
this.

Regards, Berry.

> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Damian Gallagher
> Sent: vrijdag 16 december 2011 15:47
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Required packages on a zLinux server running Oracle vs "Put
> everything on"
>
> Oh, we can do better than that :-) On the assumption that you have a
> support contract, all you need is in this article:
> Note 1086769.1 -Ensure you have prerequisite rpms to install Oracle
> Database and AS10g(midtier) on IBM: Linux on System z (s390x)
>
> This provides an rpm which consists only of prereqs, thus ensuring you have
> the packages needed for the appropriate product. Run both sets, and you're
> good for E-Business Suite also.
>
> It won't necessarily tell you what you have that's unnecessary, though.
>
> Cheers
> Damian
>
>
> -Original Message-
> From: Mauro Souza [mailto:thoriu...@gmail.com]
> Sent: 16 December 2011 10:56
> To: LINUX-390@vm.marist.edu
> Subject: Re: Required packages on a zLinux server running Oracle vs "Put
> everything on"
>
> There's a RedBook
> (http://www.redbooks.ibm.com/abstracts/sg247634.html) for installing
> Oracle on System Z. It contains all the needed packages, so you could install
> just those packages. Having a lot of superfluous packages can slow your
> server down, use more memory and disk than it should, and create room for
> vulnerabilities (for instance on that Apache installed by default and never
> configured properly).
>
> Mauro
> http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is
> both history, and a love letter from God.
>
>
> On Fri, Dec 16, 2011 at 1:43 AM, Marcy Cortes
>  > wrote:
>
> > The argument for not having them there is that you are subject to far
> > less security patching.
> > Now, some organizations don't seem to care about that.  Some others
> > care more than one can ever imagine.
> >
> >
> > Marcy
> >
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
> > CHAPLIN, JAMES (CTR)
> > Sent: Thursday, December 15, 2011 3:20 PM
> > To: LINUX-390@vm.marist.edu
> > Subject: [LINUX-390] Required packages on a zLinux server running
> > Oracle vs "Put everything on"
> >
> > I got into a discussion with a co-worker over packages that are
> > installed on a zLinux oracle server. We are Running RHEL 5.7 at our
> > site, and are using Oracle 10g (about to go to 11g). I noticed that
> > our Oracle servers have an average of 1192 rpm packages installed and
> > 91 define system services compared to our other non-Oracle servers
> > (application, java, MQ & Websphere) having only 450 - 480 installed
> > rpm packages and 53 defined services.
> >
> >
> >
> > I am not an oracle expert. Can anyone point me to a list of required
> > software packages to be installed to support Oracle 10g? If you have
> > any suggestions or personal experiences with oracle and the zLinux
> > base platform, your comments are welcome.
> >
> >
> >
> > Another statement was "It does not matter what we have installed, as
> > long as Oracle is working", or don't touch unless it is broken. A
> > sample of the over 600 packages are httpd (apache) and eklogin. Others
> > like squid I believe is needed. I am just looking for a good baseline
> > and argument to clean up these servers from unneeded soft

Re: cmsfs-fuse: mmap failed: Cannot allocate memory

2011-12-16 Thread Jan Glauber
On Thu, 2011-12-15 at 12:03 -0600, David Boyes wrote:
> Look at how DIAG 250 works in the CP Programming Services manual to
> get an idea of a way to approach this with minimum memory usage.

That sounds interesting. I'll add that to my things-to-improve list ;-

Jan

--
For LINUX-390 subscribe / signoff / archive access 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: lsscsi issue with RHEL5

2011-12-16 Thread Raymond Higgs
Scott,

Did you run mkinitrd?  That should include your changes in the initial ram 
disk that linux uses to boot.

Regards,

Ray Higgs
System z FCP Firmware Development
Bld. 706, B42
2455 South Road
Poughkeepsie, NY 12601
(845) 435-8666,  T/L 295-8666
rayhi...@us.ibm.com

Linux on 390 Port  wrote on 12/15/2011 10:51:40 
PM:

> From: "Shumate, Scott" 
> To: LINUX-390@vm.marist.edu
> Date: 12/15/2011 10:58 PM
> Subject: Re: lsscsi  issue with RHEL5
> Sent by: Linux on 390 Port 
> 
> Can you tell me why it loses the way I set it up manually?
> 
> I did update /etc/zfcp.conf with the following:
> 
> [root@wil-zstsintgdbprdbu01 by-path]# cat /etc/zfcp.conf
> 0.0.dc00   0x50060e800571f006   0x0020
> 0.0.dd00   0x50060e800571f016   0x0020
> 0.0.de00   0x50060e800571f007   0x0020
> 0.0.df00   0x50060e800571f017   0x0020
> 0.0.dc000x50060e800571f006  0x0026
> 
> When I readded the scsi disk it looks like this
> 
> [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D
> 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1
> 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2
> 0.0.dd00/0x50060e800571f016/0x0020 1:0:0:1
> 0.0.de00/0x50060e800571f007/0x0020 2:0:0:1
> 0.0.df00/0x50060e800571f017/0x0020 3:0:0:1
> 
> But when I reboot, it looks like this:
> 
> [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D
> 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1
> 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2
> 0.0.df00/0x50060e800571f017/0x0020 2:0:0:1
> 
> Does /etc/zfcp.conf control what it connects or is there another 
> place I need to look? 
> 
> 
> Thanks
> Scott
> 
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf 
> Of Steffen Maier
> Sent: Thursday, December 15, 2011 8:03 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: lsscsi issue with RHEL5
> 
> On 12/15/2011 11:47 PM, Shumate, Scott wrote:
> >   I have an issue with zfcp luns.  I 2 luns 1 100GB lun and 1 1GB lun.
> > The 100GB lun has 4 paths  /dev/sda, /dev/sdb, /dev/sdd, and /dev/sde.
> > The 1GB lun has one path /dev/sdc.  I want paths /dev/sda thru 
> > /dev/sdd for the 100GB lun and /dev/sde for the 1GB lun.  Is there 
> > anything I can do to make this happen?  I've manually removed the scsi 

> > disk and rebooted, but it still has the same issue.  What am I doing 
wrong?
> 
> No issue here. /dev/sdX are kernel device names allocated by no 
> particular rule a user can rely on. Therefore, udev provides 
> persistent device names implemented by means of symbolic links under
> /dev. For storage, those can be found under /dev/disk/by-.../...
> For those cases where I really need to refer to an individual path 
> of a zfcp attached SCSI disk, I usually rely on /dev/disk/by-path/
> ccw--zfcp-:.
> 
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/
> Online_Storage_Reconfiguration_Guide/persistent_naming.html
> and also the Section "SCSI device nodes" in the zfcp chapter in the 
> "Device Drivers, Features, and Commands" book on
> http://www.ibm.com/developerworks/linux/linux390/
> documentation_red_hat.html#rhel5
> 
> Just curious: Having configured multiple paths I presume you use 
> device-mapper multipathing on top which doesn't care about the 
> device names of individual paths.
> What do you need device names of underlying physical paths for?
> 
> > [root@wil-zstsintgdbprdbu01 ~]# cat /etc/zfcp.conf
> > 0.0.dc000x50060e800571f006  0x0020
> > 0.0.dd000x50060e800571f016  0x0020
> > 0.0.de000x50060e800571f007  0x0020
> > 0.0.df000x50060e800571f017  0x0020
> 
> This only contains persistent configuration for four paths to your 
> presumable 1GB LUN. However, where does the config for the one path 
> to the 100GB LUN come from?
> 
> > [root@wil-zstsintgdbprdbu01 ~]# lszfcp -D 
> > 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1 
> > 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2 
> > 0.0.dd00/0x50060e800571f016/0x0020 1:0:0:1 
> > 0.0.de00/0x50060e800571f007/0x0020 2:0:0:1 
> > 0.0.df00/0x50060e800571f017/0x0020 3:0:0:1
> >
> > [root@wil-zstsintgdbprdbu01 ~]# lsscsi
> > [0:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sda
> > [0:0:0:2]diskHITACHI  OPEN-V   6008  /dev/sdc
> > [1:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sdd
> > [2:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sde
> > [3:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sdb
> 
> Looks perfectly good to me.
> 
> Steffen
> 
> Linux on System z Development
> 
> IBM Deutschland Research & Development GmbH Vorsitzender des 
> Aufsichtsrats: Martin Jetter
> Geschäftsführung: Dirk Wittkopp
> Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294
> 
>

Re: lsscsi issue with RHEL5

2011-12-16 Thread Raymond Higgs
Scott,

I think this is the procedure that you are looking for:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-s390info-zfcp.html

Regards,

Ray Higgs
System z FCP Firmware Development
Bld. 706, B42
2455 South Road
Poughkeepsie, NY 12601
(845) 435-8666,  T/L 295-8666
rayhi...@us.ibm.com

Raymond Higgs/Poughkeepsie/IBM wrote on 12/16/2011 01:42:50 PM:

> From: Raymond Higgs/Poughkeepsie/IBM
> To: Linux on 390 Port 
> Date: 12/16/2011 01:42 PM
> Subject: Re: lsscsi  issue with RHEL5
> 
> Scott,
> 
> Did you run mkinitrd?  That should include your changes in the 
> initial ram disk that linux uses to boot.
> 
> Regards,
> 
> Ray Higgs
> System z FCP Firmware Development
> Bld. 706, B42
> 2455 South Road
> Poughkeepsie, NY 12601
> (845) 435-8666,  T/L 295-8666
> rayhi...@us.ibm.com
> 
> Linux on 390 Port  wrote on 12/15/2011 10:51:40 
PM:
> 
> > From: "Shumate, Scott" 
> > To: LINUX-390@vm.marist.edu
> > Date: 12/15/2011 10:58 PM
> > Subject: Re: lsscsi  issue with RHEL5
> > Sent by: Linux on 390 Port 
> > 
> > Can you tell me why it loses the way I set it up manually?
> > 
> > I did update /etc/zfcp.conf with the following:
> > 
> > [root@wil-zstsintgdbprdbu01 by-path]# cat /etc/zfcp.conf
> > 0.0.dc00   0x50060e800571f006   0x0020
> > 0.0.dd00   0x50060e800571f016   0x0020
> > 0.0.de00   0x50060e800571f007   0x0020
> > 0.0.df00   0x50060e800571f017   0x0020
> > 0.0.dc000x50060e800571f006  0x0026
> > 
> > When I readded the scsi disk it looks like this
> > 
> > [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D
> > 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1
> > 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2
> > 0.0.dd00/0x50060e800571f016/0x0020 1:0:0:1
> > 0.0.de00/0x50060e800571f007/0x0020 2:0:0:1
> > 0.0.df00/0x50060e800571f017/0x0020 3:0:0:1
> > 
> > But when I reboot, it looks like this:
> > 
> > [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D
> > 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1
> > 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2
> > 0.0.df00/0x50060e800571f017/0x0020 2:0:0:1
> > 
> > Does /etc/zfcp.conf control what it connects or is there another 
> > place I need to look? 
> > 
> > 
> > Thanks
> > Scott
> > 
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf 
> > Of Steffen Maier
> > Sent: Thursday, December 15, 2011 8:03 PM
> > To: LINUX-390@VM.MARIST.EDU
> > Subject: Re: lsscsi issue with RHEL5
> > 
> > On 12/15/2011 11:47 PM, Shumate, Scott wrote:
> > >   I have an issue with zfcp luns.  I 2 luns 1 100GB lun and 1 1GB 
lun.
> > > The 100GB lun has 4 paths  /dev/sda, /dev/sdb, /dev/sdd, and 
/dev/sde.
> > > The 1GB lun has one path /dev/sdc.  I want paths /dev/sda thru 
> > > /dev/sdd for the 100GB lun and /dev/sde for the 1GB lun.  Is there 
> > > anything I can do to make this happen?  I've manually removed the 
scsi 
> > > disk and rebooted, but it still has the same issue.  What am I 
> doing wrong?
> > 
> > No issue here. /dev/sdX are kernel device names allocated by no 
> > particular rule a user can rely on. Therefore, udev provides 
> > persistent device names implemented by means of symbolic links under
> > /dev. For storage, those can be found under /dev/disk/by-.../...
> > For those cases where I really need to refer to an individual path 
> > of a zfcp attached SCSI disk, I usually rely on /dev/disk/by-path/
> > ccw--zfcp-:.
> > 
> > http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/
> > Online_Storage_Reconfiguration_Guide/persistent_naming.html
> > and also the Section "SCSI device nodes" in the zfcp chapter in the 
> > "Device Drivers, Features, and Commands" book on
> > http://www.ibm.com/developerworks/linux/linux390/
> > documentation_red_hat.html#rhel5
> > 
> > Just curious: Having configured multiple paths I presume you use 
> > device-mapper multipathing on top which doesn't care about the 
> > device names of individual paths.
> > What do you need device names of underlying physical paths for?
> > 
> > > [root@wil-zstsintgdbprdbu01 ~]# cat /etc/zfcp.conf
> > > 0.0.dc000x50060e800571f006  0x0020
> > > 0.0.dd000x50060e800571f016  0x0020
> > > 0.0.de000x50060e800571f007  0x0020
> > > 0.0.df000x50060e800571f017  0x0020
> > 
> > This only contains persistent configuration for four paths to your 
> > presumable 1GB LUN. However, where does the config for the one path 
> > to the 100GB LUN come from?
> > 
> > > [root@wil-zstsintgdbprdbu01 ~]# lszfcp -D 
> > > 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1 
> > > 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2 
> > > 0.0.dd00/0x50060e800571f016/0x0020 1:0:0:1 
> > > 0.0.de00/0x50060e800571f007/0x0020 2

Re: ext3...

2011-12-16 Thread David Boyes
> and when i think about it all features and messages i get implies that fsck is
> "normal". other than mounting a FS in 2 places (and other stuff like
> that)  i do not expect FS corruption ever.
> all i am trying to say is that i expected more of linux and it looks 
> different.

Linux is pretty close to state of the art -- *for the Unix world.* AIX, HP-UX 
and Solaris are not much (if any) better.  Tandems are better -- but they're 
not mainstream Unix *at all* and they're *really* weird. 

Linux isn't (and won't ever be) as reliable as z/OS, and it won't progress in 
that direction(at least for a very, very long time) until we start demanding 
very detailed instrumentation capabilities that it took z/OS more than 40 years 
to acquire. We're dealing with different design points, and at the moment, 
"good enough" is exactly that. 

As I commented in my other note (and others agreed), the corruption you're 
seeing is not normal to Linux; it's something going on in your environment that 
is doing something behind Linux' back. I'd concentrate your effort on killing 
that problem.  

--
For LINUX-390 subscribe / signoff / archive access 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: lsscsi issue with RHEL5

2011-12-16 Thread Shumate, Scott
Yep, that was my issue.  Thanks for your help. 


Thanks
Scott

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Raymond 
Higgs
Sent: Friday, December 16, 2011 1:45 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: lsscsi issue with RHEL5

Scott,

Did you run mkinitrd?  That should include your changes in the initial ram disk 
that linux uses to boot.

Regards,

Ray Higgs
System z FCP Firmware Development
Bld. 706, B42
2455 South Road
Poughkeepsie, NY 12601
(845) 435-8666,  T/L 295-8666
rayhi...@us.ibm.com

Linux on 390 Port  wrote on 12/15/2011 10:51:40
PM:

> From: "Shumate, Scott" 
> To: LINUX-390@vm.marist.edu
> Date: 12/15/2011 10:58 PM
> Subject: Re: lsscsi  issue with RHEL5
> Sent by: Linux on 390 Port 
> 
> Can you tell me why it loses the way I set it up manually?
> 
> I did update /etc/zfcp.conf with the following:
> 
> [root@wil-zstsintgdbprdbu01 by-path]# cat /etc/zfcp.conf
> 0.0.dc00   0x50060e800571f006   0x0020
> 0.0.dd00   0x50060e800571f016   0x0020
> 0.0.de00   0x50060e800571f007   0x0020
> 0.0.df00   0x50060e800571f017   0x0020
> 0.0.dc000x50060e800571f006  0x0026
> 
> When I readded the scsi disk it looks like this
> 
> [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D 
> 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1 
> 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2 
> 0.0.dd00/0x50060e800571f016/0x0020 1:0:0:1 
> 0.0.de00/0x50060e800571f007/0x0020 2:0:0:1 
> 0.0.df00/0x50060e800571f017/0x0020 3:0:0:1
> 
> But when I reboot, it looks like this:
> 
> [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D 
> 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1 
> 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2 
> 0.0.df00/0x50060e800571f017/0x0020 2:0:0:1
> 
> Does /etc/zfcp.conf control what it connects or is there another place 
> I need to look?
> 
> 
> Thanks
> Scott
> 
> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of 
> Steffen Maier
> Sent: Thursday, December 15, 2011 8:03 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: lsscsi issue with RHEL5
> 
> On 12/15/2011 11:47 PM, Shumate, Scott wrote:
> >   I have an issue with zfcp luns.  I 2 luns 1 100GB lun and 1 1GB lun.
> > The 100GB lun has 4 paths  /dev/sda, /dev/sdb, /dev/sdd, and /dev/sde.
> > The 1GB lun has one path /dev/sdc.  I want paths /dev/sda thru 
> > /dev/sdd for the 100GB lun and /dev/sde for the 1GB lun.  Is there 
> > anything I can do to make this happen?  I've manually removed the 
> > scsi

> > disk and rebooted, but it still has the same issue.  What am I doing
wrong?
> 
> No issue here. /dev/sdX are kernel device names allocated by no 
> particular rule a user can rely on. Therefore, udev provides 
> persistent device names implemented by means of symbolic links under 
> /dev. For storage, those can be found under /dev/disk/by-.../...
> For those cases where I really need to refer to an individual path of 
> a zfcp attached SCSI disk, I usually rely on /dev/disk/by-path/ 
> ccw--zfcp-:.
> 
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/
> Online_Storage_Reconfiguration_Guide/persistent_naming.html
> and also the Section "SCSI device nodes" in the zfcp chapter in the 
> "Device Drivers, Features, and Commands" book on 
> http://www.ibm.com/developerworks/linux/linux390/
> documentation_red_hat.html#rhel5
> 
> Just curious: Having configured multiple paths I presume you use 
> device-mapper multipathing on top which doesn't care about the device 
> names of individual paths.
> What do you need device names of underlying physical paths for?
> 
> > [root@wil-zstsintgdbprdbu01 ~]# cat /etc/zfcp.conf
> > 0.0.dc000x50060e800571f006  0x0020
> > 0.0.dd000x50060e800571f016  0x0020
> > 0.0.de000x50060e800571f007  0x0020
> > 0.0.df000x50060e800571f017  0x0020
> 
> This only contains persistent configuration for four paths to your 
> presumable 1GB LUN. However, where does the config for the one path to 
> the 100GB LUN come from?
> 
> > [root@wil-zstsintgdbprdbu01 ~]# lszfcp -D 
> > 0.0.dc00/0x50060e800571f006/0x0020 0:0:0:1 
> > 0.0.dc00/0x50060e800571f006/0x0026 0:0:0:2 
> > 0.0.dd00/0x50060e800571f016/0x0020 1:0:0:1 
> > 0.0.de00/0x50060e800571f007/0x0020 2:0:0:1 
> > 0.0.df00/0x50060e800571f017/0x0020 3:0:0:1
> >
> > [root@wil-zstsintgdbprdbu01 ~]# lsscsi
> > [0:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sda
> > [0:0:0:2]diskHITACHI  OPEN-V   6008  /dev/sdc
> > [1:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sdd
> > [2:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sde
> > [3:0:0:1]diskHITACHI  OPEN-V   6008  /dev/sdb
> 
> Looks 

Re: Required packages on a zLinux server running Oracle vs "Put everything on"

2011-12-16 Thread Damian Gallagher
There is a difference between the installation requirements and the runtime, as 
is usual. Installation requires x , but runtime doesn't - and the docs state 
4GB as that's the amount needed to get a full install. If you're a min install, 
you might get away with 2GB without swapping to hard, but there we go. Once 
you've done the install, of course X isn't needed, but that will be for 
patching perhaps :-) 

Once you're into runtime, then YYMV -  it's your workload that generates the 
resource usage.

Cheers
Damian

 

-Original Message-
From: van Sleeuwen, Berry [mailto:berry.vansleeu...@atos.net] 
Sent: 16 December 2011 17:09
To: LINUX-390@vm.marist.edu
Subject: Re: Required packages on a zLinux server running Oracle vs "Put 
everything on"

I don't know if that would help too. Our Oracle "specialist" ran a script from 
Oracle to determine requirements and demanded that the requirements would be 
met otherwise he couldn't install Oracle. This is an SLES11 with Oracle 11. So 
now we have a guest with 4G memory, 2G /tmp and a lot of packages installed, 
including a full X-windows. Installing Oracle we had proved through measuring 
the system that he needed only 200M /tmp space and less than 1G memory. X is 
never being used. So even the Oracle scripts and books do not reflect the 
actual minimal requirements but still consider a stand-alone server running X. 
BTW, the server is now installed according to Oracle recommendations, running 
at over 55MIPS it is now a top5 machine in CPU consumption and 100% in Q3. No, 
the machine is not in use yet so this is the IDLE load.

Our SLES10 with Oracle 10 is a guest with a minimal installation, meaning the 
absolute minimum required to run a Linux guest and added a few packages such as 
sudo, sysstat etc. On top of that we've added: "cpp, gcc ,gcc-c++ , glibc-devel 
,libaio-devel ,libmudflap, libstdc++-devel, java-1_5_0-ibm-devel, expat-32bit, 
fontconfig-32bit ,freetype2-32bit, glibc-devel-32bit, openmotif, 
xorg-x11-libs-32bit, zlib-32bit". So this is the actual minimum requirement. 
Anything more is not required to install or run an Oracle. Also the guest runs 
2 oracle databases within 1G. Idle load at about 6MIPS and almost never in Q3. 
Conclusion, don't trust the requirements from Oracle, they are wrong. On the 
other hand, if you want to install using X then you indeed need a lot more than 
this.

Regards, Berry.

> -Original Message-
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Damian Gallagher
> Sent: vrijdag 16 december 2011 15:47
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Required packages on a zLinux server running Oracle vs "Put
> everything on"
>
> Oh, we can do better than that :-) On the assumption that you have a
> support contract, all you need is in this article:
> Note 1086769.1 -Ensure you have prerequisite rpms to install Oracle
> Database and AS10g(midtier) on IBM: Linux on System z (s390x)
>
> This provides an rpm which consists only of prereqs, thus ensuring you have
> the packages needed for the appropriate product. Run both sets, and you're
> good for E-Business Suite also.
>
> It won't necessarily tell you what you have that's unnecessary, though.
>
> Cheers
> Damian
>
>
> -Original Message-
> From: Mauro Souza [mailto:thoriu...@gmail.com]
> Sent: 16 December 2011 10:56
> To: LINUX-390@vm.marist.edu
> Subject: Re: Required packages on a zLinux server running Oracle vs "Put
> everything on"
>
> There's a RedBook
> (http://www.redbooks.ibm.com/abstracts/sg247634.html) for installing
> Oracle on System Z. It contains all the needed packages, so you could install
> just those packages. Having a lot of superfluous packages can slow your
> server down, use more memory and disk than it should, and create room for
> vulnerabilities (for instance on that Apache installed by default and never
> configured properly).
>
> Mauro
> http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is
> both history, and a love letter from God.
>
>
> On Fri, Dec 16, 2011 at 1:43 AM, Marcy Cortes
>  > wrote:
>
> > The argument for not having them there is that you are subject to far
> > less security patching.
> > Now, some organizations don't seem to care about that.  Some others
> > care more than one can ever imagine.
> >
> >
> > Marcy
> >
> > -Original Message-
> > From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of
> > CHAPLIN, JAMES (CTR)
> > Sent: Thursday, December 15, 2011 3:20 PM
> > To: LINUX-390@vm.marist.edu
> > Subject: [LINUX-390] Required packages on a zLinux server running
> > Oracle vs "Put everything on"
> >
> > I got into a discussion with a co-worker over packages that are
> > installed on a zLinux oracle server. We are Running RHEL 5.7 at our
> > site, and are using Oracle 10g (about to go to 11g). I noticed that
> > our Oracle servers have an average of 1192 rpm packages installed and
> > 91 define system services compared to our other non-Oracle

Re: Undeleting files

2011-12-16 Thread Tom Duerbusch
Thanks for the options.

I ended up using extundelete.

First flashcopy the 3390-3 that this directory was on.  Never take a
chance on making things worse.  Backup first.

The files lost were VSE Virtual Tape files.  I could mount the real
3420 volumes again and copy them to virtual tape, so that was my fall
back solution.

When I undeleted the files to an empty 3390-3, it filled up the volume.
 So I ended up allocating a 3390-9 to hold the undeleted files.  (used
35% of the mod 9)

extundelete came up with over 300 files.  Most of them failed in the
undelete process.  This seemed to be from older files that existed that
were deleted and the space reused, most likely by my virtual tapes.
The process didn't produce any filenames.  Everything was recreated as
"file.xxx" where xxx is a number, perhaps a directory block id
or something.

So I ended up running each file thru tapemap to see what was on it. 
Also, the tape hdr label would tell me the volser which is what I used
as a filename.

Long process.  Took about 4 hours to recover 59 tape files and map them
which also validated there was a trailing tapemark.

I had an existing "dir" list of the directory I accidently deleted.  So
I knew what files should be there and their filesize.

Only 1 file was not recoverable.  I think that was pretty good.

Good work for a Friday..

Tom Duerbusch
THD Consulting

>>> Rafael Godinez Perez  12/15/2011 4:05 AM >>>
El 14/12/11 23:00, Tom Duerbusch escribió:
> Where I know the answer to this question, generally.  I wonder if
this can be done in a very defined sitituation.
>
> I have disk "/dev/dasdb1", formatted with ext3.
> There is one directory on it.
> That directory had about 40 files on it of a few megabytes each.
> This is SLES 10 SP 2.
>
> I connected to the Linux image with WINSCP.
> I bought up that directory in one pane and in the other pane, I
bought up my thumb drive.
> I wanted to copy the files to my thumb drive.
>
> Instead of copying the files, I thought syncing the directories would
be easier.
> Well, I synced an empty directory to the Linux directory.  All files
are gone.
>
> In most cases, recovering deleted files is very dependant on if any
of the space or directory structure has been reused.  In this case, the
space hasn't been reused, but I don't know if the deletion of 40 files,
one at a time, would reuse the directory blocks or just mark them
available.
>
> Before I go too far in this
> Am I just out of luck?
> Or is there a decent chance I can recover these files?
>
> Thanks
>
> Tom Duerbusch
> THD Consulting
>
>
--
> For LINUX-390 subscribe / signoff / archive access 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/ 
You may want to try this tool.
It worked for me many times.

http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step 

HTH,
Rafa.

-- 
Rafael Godínez Pérez
Red Hat - Senior Solution Architect EMEA
RHCE, RHCVA, RHCDS
Tel: +34 91 414 8800 - Ext. 68815
Mo: +34 600 418 002

Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, Planta
3ºD, 28016 Madrid, Spain
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001,
Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941

--
For LINUX-390 subscribe / signoff / archive access 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: Required packages on a zLinux server running Oracle vs "Put everything on"

2011-12-16 Thread Rob van der Heij
On Fri, Dec 16, 2011 at 9:47 PM, Damian Gallagher
 wrote:

> There is a difference between the installation requirements and the runtime, 
> as is usual. Installation requires x , but runtime doesn't - and the docs 
> state 4GB as that's the amount needed to get a full install. If you're a min 
> install, you might get away with 2GB without swapping to hard, but there we 
> go. Once you've done the install, of course X isn't needed, but that will be 
> for patching perhaps :-)
>
> Once you're into runtime, then YYMV -  it's your workload that generates the 
> resource usage.

You're a brave man to stand straight like that with the guns pointed... ;-)

I think one needs to be very determined to go and uninstall packages
after installing Oracle (which AFAIK includes a check on whether you
have the proper stuff installed). It's tedious with YAST to say the
least, and your suggestion that I'd have to re-install stuff to apply
maintenance does not really help.

Doing the Oracle install with the GUI over a ssh -X connection to a
remote system was far from pleasant. It seems to me that it would be
helpful to be able to do the installation with an ncurses client and
maybe even a response file. Alternatively, get the web server up early
and drive the process through that.

-Rob

--
For LINUX-390 subscribe / signoff / archive access 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: Required packages on a zLinux server running Oracle vs "Put everything on"

2011-12-16 Thread Berry van Sleeuwen
Installing Oracle doesn't require X. The only reason Oracle guys want X 
is because they've learned how to do it on Windows and don't (want to) 
know the silent install method. Even more so, a silent install can be 
scripted, can be automated by the linux sysadmin, can make *their* 
install jobs obsolete.


We've installed a SLES10/Oracle 10 in 1G, without X using a silent 
install. And we run 2 DB's in that same 1G even while oracle states that 
you realy need 1G or more for every DB instance. No swapping involved, 
or at least no runtime swapping. Linux does have some memory offloaded 
into swap but that's rarely touched in runtime. A second, more or less 
the same, Oracle guest has 1G for 1 DB, it's a full production system 
and it swaps even less.


It all boils down to knowing what the requirements are, both for 
installing and runtime. Don't believe the (red)books or recommendations 
and scripting from suppliers. These just confirms that they've done it 
in this setup, not the minimum requirements. The only way is measuring 
or trail-and-error. Monitor your numbers, increase or decrease when 
needed. Like you state, the workload determines the requirements. The 
problem is: up is easy, down is a nightmare. The same is true for 
software install and remove. Both technical (how to remove software 
safely?) and for the "more is better" rule-of-thumb (it's not and we can 
prove it!).


Regards, Berry.

Op 16-12-11 21:47, Damian Gallagher schreef:

There is a difference between the installation requirements and the runtime, as 
is usual. Installation requires x , but runtime doesn't - and the docs state 
4GB as that's the amount needed to get a full install. If you're a min install, 
you might get away with 2GB without swapping to hard, but there we go. Once 
you've done the install, of course X isn't needed, but that will be for 
patching perhaps :-)

Once you're into runtime, then YYMV -  it's your workload that generates the 
resource usage.

Cheers
Damian



-Original Message-
From: van Sleeuwen, Berry [mailto:berry.vansleeu...@atos.net]
Sent: 16 December 2011 17:09
To: LINUX-390@vm.marist.edu
Subject: Re: Required packages on a zLinux server running Oracle vs "Put everything 
on"

I don't know if that would help too. Our Oracle "specialist" ran a script from 
Oracle to determine requirements and demanded that the requirements would be met 
otherwise he couldn't install Oracle. This is an SLES11 with Oracle 11. So now we have a 
guest with 4G memory, 2G /tmp and a lot of packages installed, including a full 
X-windows. Installing Oracle we had proved through measuring the system that he needed 
only 200M /tmp space and less than 1G memory. X is never being used. So even the Oracle 
scripts and books do not reflect the actual minimal requirements but still consider a 
stand-alone server running X. BTW, the server is now installed according to Oracle 
recommendations, running at over 55MIPS it is now a top5 machine in CPU consumption and 
100% in Q3. No, the machine is not in use yet so this is the IDLE load.

Our SLES10 with Oracle 10 is a guest with a minimal installation, meaning the absolute 
minimum required to run a Linux guest and added a few packages such as sudo, sysstat etc. 
On top of that we've added: "cpp, gcc ,gcc-c++ , glibc-devel ,libaio-devel 
,libmudflap, libstdc++-devel, java-1_5_0-ibm-devel, expat-32bit, fontconfig-32bit 
,freetype2-32bit, glibc-devel-32bit, openmotif, xorg-x11-libs-32bit, zlib-32bit". So 
this is the actual minimum requirement. Anything more is not required to install or run 
an Oracle. Also the guest runs 2 oracle databases within 1G. Idle load at about 6MIPS and 
almost never in Q3. Conclusion, don't trust the requirements from Oracle, they are wrong. 
On the other hand, if you want to install using X then you indeed need a lot more than 
this.

Regards, Berry.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Damian Gallagher
Sent: vrijdag 16 december 2011 15:47
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Required packages on a zLinux server running Oracle vs "Put
everything on"

Oh, we can do better than that :-) On the assumption that you have a
support contract, all you need is in this article:
Note 1086769.1 -Ensure you have prerequisite rpms to install Oracle
Database and AS10g(midtier) on IBM: Linux on System z (s390x)

This provides an rpm which consists only of prereqs, thus ensuring you have
the packages needed for the appropriate product. Run both sets, and you're
good for E-Business Suite also.

It won't necessarily tell you what you have that's unnecessary, though.

Cheers
Damian


-Original Message-
From: Mauro Souza [mailto:thoriu...@gmail.com]
Sent: 16 December 2011 10:56
To: LINUX-390@vm.marist.edu
Subject: Re: Required packages on a zLinux server running Oracle vs "Put
everything on"

There's a RedBook
(http://www.redbooks.ibm.com/abstracts/sg247634.html) for installing
Oracle on Syste