Re: Reducing Linux virtual machine size
Tom Duerbusch wrote: Hi Ray. I tried your script on some of my images. Works fine, except when Oracle is involved. linux62:~ # ps -eo pmem | awk '{pmem += $1};END {print pmem =pmem%}'; pmem =1347.1% I do have a lot of swap blocks allocated. This is due to a batch type run, that is run off hours. During the day, when users are on, we swap very little. So if this does include swap pages, I don't think the script would give me what I need, during normal processing. Do you agree? Or am off track here? Thanks Tom Duerbusch THD Consulting Mrohs, Ray ray.mr...@usdoj.gov 7/23/2010 1:45 PM Start up all your Linux procs and then run this little script. #! /bin/sh ps -eo pmem | awk '{pmem += $1}; END {print pmem = pmem%}'; It will give you a ballpark percentage of current memory utilization. I tuned some Apache/ftp servers down to 100M with no ill effects. To (maybe) alleviate the problem with oracle, add a sort step: ps -eo pmem,cmd | sort -u -k2 | awk '{pmem += $1}; END {print pmem = pmem%}'; This sorts by the second (and subsequent) key and drops duplicates. Be aware it has its own problem, if you have lots of different copies of a program (bash maybe) with the same commandline arguments, it will be counted once. You could also experiment with start time and any other sort keys that seem attractive. -- Cheers John -- spambait 1...@coco.merseine.nu z1...@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: iucvconn with invalid DNS in target server problem
I have tried UseDNS no, maybe I should retry with a reboot between just to be sure, but the manpages states that no here does not mean ssh will not do any lookups. About using ssh, it might be possible to start telnet instead. The setup according to the docs is to add a few lines in /etc/inittab, and the result is that the normal login pgm will start and prompt me for userid and pw, as a respond to the iucvconn. The inittab file looks like this (my added lines): # Added by Tore Agblad for Terminal Server IUCV support, this is a target # server. 2010-07-20 i0:2345:respawn:/usr/bin/iucvtty lnxhvc0 i1:2345:respawn:/usr/bin/iucvtty lnxhvc1 i2:2345:respawn:/usr/bin/iucvtty lnxhvc2 i3:2345:respawn:/usr/bin/iucvtty lnxhvc3 i4:2345:respawn:/usr/bin/iucvtty lnxhvc4 i5:2345:respawn:/usr/bin/iucvtty lnxhvc5 is:1:S:once:/usr/bin/iucvtty slnxterm -- /sbin/sulogin so here is the place that controls what will happen. There is not so much info about this in the Terminal Server docs so I need dig into some more manuals for this. Unless someone else knows ?? ___ Tore Agblad Volvo Information Technology Infrastructure Mainframe Design Development, Linux servers Dept 4352 DA1S SE-405 08, Gothenburg Sweden Telephone: +46-31-3233569 E-mail: tore.agb...@volvo.com http://www.volvo.com/volvoit/global/en-gb/ -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: den 4 augusti 2010 01:38 To: LINUX-390@VM.MARIST.EDU Subject: Re: iucvconn with invalid DNS in target server problem On 8/3/2010 at 10:14 AM, Agblad Tore tore.agb...@volvo.com wrote: When logging in the orginial login pgm is called (ssh) and ssh uses DNS servers to do lookups of ip-addresses. If no answer from DNS server(s) the timeout is longer than the timeout from iucvconn, thus resulting in a timeout from iucvconn when trying to login = No login. From my reading on the topic, I don't see anywhere that SSH gets involved, except for the terminal server itself. That is, you SSH to the terminal server guest, which puts you into a ts-shell session. From there, you issue a connect command to connect you to the target system. The target system shouldn't be doing any reverse DNS lookups, so you should be fine. If that's not what you are seeing, you should open up a service request. 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: iucvconn with invalid DNS in target server problem
On Wed, Aug 04, 2010 at 09:10:43AM +0200, Agblad Tore wrote: I have tried UseDNS no, maybe I should retry with a reboot between just to be sure, but the manpages states that no here does not mean ssh will not do any lookups. Right, UseDNS affects ssh only. The inittab file looks like this (my added lines): # Added by Tore Agblad for Terminal Server IUCV support, this is a target # server. 2010-07-20 i0:2345:respawn:/usr/bin/iucvtty lnxhvc0 Using the lnxhvc0 terminal identifier with iucvtty might cause conflicts when the IUCV HVC device driver is also used. I would suggest to use other terminal IDs here, for example, lnx0, lnx1... i1:2345:respawn:/usr/bin/iucvtty lnxhvc1 i2:2345:respawn:/usr/bin/iucvtty lnxhvc2 i3:2345:respawn:/usr/bin/iucvtty lnxhvc3 i4:2345:respawn:/usr/bin/iucvtty lnxhvc4 i5:2345:respawn:/usr/bin/iucvtty lnxhvc5 is:1:S:once:/usr/bin/iucvtty slnxterm -- /sbin/sulogin Regarding the timeouts you see: - For the DNS timeout, I suspect that the login program does some DNS lookups. I will check the how iucvtty calls login. However, could you try this inittab entry instead (note the -- /bin/login change): i1:2345:respawn:/usr/bin/iucvtty lnx1 -- /bin/login Please let me know if this works for you. - iucvconn does not have a timeout, thus, it might be that the DNS timeout is longer than the default timeout the login program waits for user input. so here is the place that controls what will happen. There is not so much info about this in the Terminal Server docs so I need dig into some more manuals for this. If you need more information or if you think the documentation should be updated, please let me know. Thanks and best regards, Hendrik -- Hendrik Brueckner brueck...@linux.vnet.ibm.com | IBM Deutschland Research Development GmbH Linux on System z Development | Schoenaicher Str. 220, 71032 Boeblingen IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschaeftsfuehrung: Dirk Wittkopp Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: iucvconn with invalid DNS in target server problem
Hi Hendrik. I have made some digging myself since last mail. So I figured SSH is not involved here at all. Haven't tried your suggestion yet, but will. However the man pages says that default for iucvtty is to use /bin/login. So I took a look in the login source, and it does a gethostname() that obviously need the DNS. Probably IP default behaviour is to end gesthostname request with error code if DNS is missing, without any delay. and the login pgm accepts this, just warns I think. I would like an option to login: dont_gethostname That would solve the problem I guess. Thank's for your advice about the conflict. It works fine here with the names I have, but not for lnxhvc0 for some reason. I did use these names becasue this is the defaults used by ts-shell if none specified ( I read it somewhere in the docs ) /Tore ___ Tore Agblad Volvo Information Technology Infrastructure Mainframe Design Development, Linux servers Dept 4352 DA1S SE-405 08, Gothenburg Sweden Telephone: +46-31-3233569 E-mail: tore.agb...@volvo.com http://www.volvo.com/volvoit/global/en-gb/ -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Hendrik Brueckner Sent: den 4 augusti 2010 10:45 To: LINUX-390@VM.MARIST.EDU Subject: Re: iucvconn with invalid DNS in target server problem On Wed, Aug 04, 2010 at 09:10:43AM +0200, Agblad Tore wrote: I have tried UseDNS no, maybe I should retry with a reboot between just to be sure, but the manpages states that no here does not mean ssh will not do any lookups. Right, UseDNS affects ssh only. The inittab file looks like this (my added lines): # Added by Tore Agblad for Terminal Server IUCV support, this is a target # server. 2010-07-20 i0:2345:respawn:/usr/bin/iucvtty lnxhvc0 Using the lnxhvc0 terminal identifier with iucvtty might cause conflicts when the IUCV HVC device driver is also used. I would suggest to use other terminal IDs here, for example, lnx0, lnx1... i1:2345:respawn:/usr/bin/iucvtty lnxhvc1 i2:2345:respawn:/usr/bin/iucvtty lnxhvc2 i3:2345:respawn:/usr/bin/iucvtty lnxhvc3 i4:2345:respawn:/usr/bin/iucvtty lnxhvc4 i5:2345:respawn:/usr/bin/iucvtty lnxhvc5 is:1:S:once:/usr/bin/iucvtty slnxterm -- /sbin/sulogin Regarding the timeouts you see: - For the DNS timeout, I suspect that the login program does some DNS lookups. I will check the how iucvtty calls login. However, could you try this inittab entry instead (note the -- /bin/login change): i1:2345:respawn:/usr/bin/iucvtty lnx1 -- /bin/login Please let me know if this works for you. - iucvconn does not have a timeout, thus, it might be that the DNS timeout is longer than the default timeout the login program waits for user input. so here is the place that controls what will happen. There is not so much info about this in the Terminal Server docs so I need dig into some more manuals for this. If you need more information or if you think the documentation should be updated, please let me know. Thanks and best regards, Hendrik -- Hendrik Brueckner brueck...@linux.vnet.ibm.com | IBM Deutschland Research Development GmbH Linux on System z Development | Schoenaicher Str. 220, 71032 Boeblingen IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschaeftsfuehrung: Dirk Wittkopp Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- 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: iucvconn with invalid DNS in target server problem
Hi Tore, On Wed, Aug 04, 2010 at 11:06:28AM +0200, Agblad Tore wrote: I have made some digging myself since last mail. So I figured SSH is not involved here at all. Haven't tried your suggestion yet, but will. However the man pages says that default for iucvtty is to use /bin/login. That's correct but iucvtty passes some additional parameters to login, the -h option which causes the DNS lookup... Try to specify the login program directy as suggested. So I took a look in the login source, and it does a gethostname() that obviously need the DNS. Probably IP default behaviour is to end gesthostname request with error code if DNS is missing, without any delay. and the login pgm accepts this, just warns I think. In the meantime, I also looked into the sources. My suspicion is that the gethostbyname() times out. But the DNS timeout is greater than the timeout login waits for user input. This (login) timeout is triggered through an alarm signal (SIGALRM) that is registered before gethostbyname is called. The alarm signal handler might then interrupt the gethostbyname() call and exits the login program. I would like an option to login: dont_gethostname That would solve the problem I guess. Thank's for your advice about the conflict. It works fine here with the names I have, but not for lnxhvc0 for some reason. Maybe because the IUCV HVC device is already active and accepts connections for terminal ID lnxhvc0. You might add another inittab entry: h0:2345:respawn:/sbin/mingetty hvc0 You then can try to connect to lnxhvc0 with ts-shell or iucvconn. I did use these names becasue this is the defaults used by ts-shell if none specified ( I read it somewhere in the docs ) For ts-shell, lnxhvc0 is the default. It is the terminal ID of the first terminal device of the IUCV HVC device driver which is available with recent linux distributions. Regards, Hendrik -- For LINUX-390 subscribe / signoff / archive access 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: iucvconn with invalid DNS in target server problem. It works fine now !
Hi Hendrik. Thanks for the clarification of the details about how it all works. I did test with -- /bin/login and Yes, it works perfect now :)) I also tried with having mingetty hvc0 together with iucvtty lnxhvc0 but lnxhvc0 is not responding, Cntrl+C works to get out from it. However, that is no problem, I just use lnxhvc1-5, that's more than enough. About the documentation there is only one thing I like to add, and that is a discription of the effect of not adding -- /bin/login, or why you should add it. If possible I would prefer to have that -h option removed inside iucvtty because the main reason for using this is then there is network problem of any kind, and then you don't want any dnslookup done. Again Thanks very much for your detailed answers ! You saved my day :) Best Regards Tore ___ Tore Agblad Volvo Information Technology Infrastructure Mainframe Design Development, Linux servers Dept 4352 DA1S SE-405 08, Gothenburg Sweden Telephone: +46-31-3233569 E-mail: tore.agb...@volvo.com http://www.volvo.com/volvoit/global/en-gb/ -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Hendrik Brueckner Sent: den 4 augusti 2010 12:29 To: LINUX-390@VM.MARIST.EDU Subject: Re: iucvconn with invalid DNS in target server problem Hi Tore, On Wed, Aug 04, 2010 at 11:06:28AM +0200, Agblad Tore wrote: I have made some digging myself since last mail. So I figured SSH is not involved here at all. Haven't tried your suggestion yet, but will. However the man pages says that default for iucvtty is to use /bin/login. That's correct but iucvtty passes some additional parameters to login, the -h option which causes the DNS lookup... Try to specify the login program directy as suggested. So I took a look in the login source, and it does a gethostname() that obviously need the DNS. Probably IP default behaviour is to end gesthostname request with error code if DNS is missing, without any delay. and the login pgm accepts this, just warns I think. In the meantime, I also looked into the sources. My suspicion is that the gethostbyname() times out. But the DNS timeout is greater than the timeout login waits for user input. This (login) timeout is triggered through an alarm signal (SIGALRM) that is registered before gethostbyname is called. The alarm signal handler might then interrupt the gethostbyname() call and exits the login program. I would like an option to login: dont_gethostname That would solve the problem I guess. Thank's for your advice about the conflict. It works fine here with the names I have, but not for lnxhvc0 for some reason. Maybe because the IUCV HVC device is already active and accepts connections for terminal ID lnxhvc0. You might add another inittab entry: h0:2345:respawn:/sbin/mingetty hvc0 You then can try to connect to lnxhvc0 with ts-shell or iucvconn. I did use these names becasue this is the defaults used by ts-shell if none specified ( I read it somewhere in the docs ) For ts-shell, lnxhvc0 is the default. It is the terminal ID of the first terminal device of the IUCV HVC device driver which is available with recent linux distributions. Regards, Hendrik -- For LINUX-390 subscribe / signoff / archive access 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: iucvconn with invalid DNS in target server problem. It works fine now !
On Wed, Aug 04, 2010 at 01:21:13PM +0200, Agblad Tore wrote: Hi Hendrik. Thanks for the clarification of the details about how it all works. Sure. No problem ;-) I did test with -- /bin/login and Yes, it works perfect now :)) Great! I also tried with having mingetty hvc0 together with iucvtty lnxhvc0 but lnxhvc0 is not responding, Cntrl+C works to get out from it. However, that is no problem, I just use lnxhvc1-5, that's more than enough. Ok. Whenever you start using the kernel device driver and run into problems, please contact me. About the documentation there is only one thing I like to add, and that is a discription of the effect of not adding -- /bin/login, or why you should add it. Actually, I feel reluctant to add the /bin/login example. The intention of is to specify an alternate login program, for example to use /sbin/sulogin. Of course, you are free to specify other programs. If possible I would prefer to have that -h option removed inside iucvtty because the main reason for using this is then there is network problem of any kind, and then you don't want any dnslookup done. I also prefer this approach and that's why it should not go into the documentation. I will take care of that change. Again Thanks very much for your detailed answers ! You saved my day :) You are welcome! ;-) Best regards, Hendrik -- For LINUX-390 subscribe / signoff / archive access 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/
Linux on Z and z/VM Track at Ohio Linuxfest, 9/10-12
Folks, There will be a Linux on Z and z/VM track at Ohio Linuxfest on September 10-12, 2010 in Columbus, Ohio. The track will include FREE intros to z/VM and Linux on Z, open source tools for z/VM and Linux on Z, and many other large-system related topics. Many of the fine people on this list will be present in person, and there's a special QA free-for-all scheduled to get one-on-one consulting help with your deployments and issues. The show is free, but if you want to attend the Big Systems Track (size does matter...8-)), you need to check the box on the registration form. Registration is available at http://ohiolinux.org/. I'll be giving a presentation on Nifty CMS Tools You Didn't Know Existed, But Should Install Right NOW!, and if there is enough interest, there'll be cool t-shirts. See you there! -- db David Boyes Sine Nomine Associates -- For LINUX-390 subscribe / signoff / archive access 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: kernel: page allocation failure recommendations
On 8/4/2010 at 12:56 PM, Peter E. Abresch Jr. - at Pepco peabre...@pepco.com wrote: We are running the following Linux: Linux linuxp01 2.6.5-7.315-s390x #1 SMP Wed Nov 26 13:03:18 UTC 2008 s390x s390x s390x GNU/Linux with SLES-9-s390x-SP4 + online updates under /VM Version 5 Release 4.0, service level 0902 (64-bit). Linux is defined with 768MB of memory. We recently implemented CICS Transaction Gateway version 6.0.1 fix pack and since then are seeing some page fault errors. However, I am not really seeing memory shortage issues with the z/VM monitor or the Linux free ?m errors. I am thinking about lowering vm.swappiness from 60. What does everyone think, is that worth doing? Any other recommendations? We are limited on memory resources but if push came to shove, I could increase from 768MB to 1024MB and increase the swap space accordingly. I know, I know, all this stuff is old, but we are in the process of upgrading. It's old even for a SLES9 SP4 system. There have been 6 kernel updates since 2.6.5-7.315 was issued two years ago. Some of those included memory management fixes. (Hint.) I have attached a copy of the zipped log for review. Thanks as always. After applying this command to the unzipped file: iconv -f EBCDICUS -t US-ASCII -c messages.txt | sed -e s/Aug /\nAug /g | less I was able to look at the messages file. The problem you're seeing is a result of memory fragmentation, not a total shortage. Aug 2 01:14:47 linuxp01 kernel: sh: page allocation failure. order:0, mode:0x50 Aug 2 01:14:47 linuxp01 kernel: sh: page allocation failure. order:0, mode:0x50 Aug 2 01:14:47 linuxp01 kernel: sh: page allocation failure. order:0, mode:0x50 Aug 4 09:00:07 linuxp01 kernel: cclclnt: page allocation failure. order:4, mode:0xd0 The first three messages indicate that the kernel wasn't able to find a single 4K page free to satisfy the allocation request. I don't know that playing with the swappiness setting will help at all. I suspect not, but I'm not a kernel hacker. I think adding more virtual storage might delay the onset of the problem, but not necessarily eliminate it. At least give the 2.6.5-7.322 kernel a try. 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/
diskdump?
I've set panic_on_oom - but i want to capture a disk dump of the running system; however there is no diskdump service on SLES 390x (i'm used to RHEL on intel).. Can someone point me in the right direction? -- For LINUX-390 subscribe / signoff / archive access 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: diskdump?
Daniel, Instructions for capturing a dump, say for sles10, or rhel5, can be found in: Linux on System z, Using the Dump Tools - May 2009 at http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/docu/l26ddt02.pdf Mike O'Reilly IBM Linux Change Team __ Daniel Tate daniel.t...@gmai l.com To Sent by: Linux on LINUX-390@vm.marist.edu 390 Port cc linux-...@vm.mar ist.edu Subject diskdump? 08/04/2010 12:42 PM Please respond to Linux on 390 Port linux-...@vm.mar ist.edu I've set panic_on_oom - but i want to capture a disk dump of the running system; however there is no diskdump service on SLES 390x (i'm used to RHEL on intel).. Can someone point me in the right direction? -- For LINUX-390 subscribe / signoff / archive access 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/ inline: ecblank.gifinline: graycol.gifinline: pic21135.gif
Re: input requested on running SAP on z/Linux
Mark, Is it ok to let this person know we would be willing to talk to him. (This is the original e-mail.) Ron bruce.light...@its.ms.gov wrote: We are in the research and planning stage of a project that will probably be an SAP implementation with DB2 as the database back-end. Currently, we run DB2 on AIX, Linux under z/VM, Linux under VMWare, and on z/OS ( plus a new Win 2008r2 server). We also run a passel of WebSphere application servers on AIX and Linux under VMWare. With that as background, I am looking for input from current SAP shops on the process of determining the platform for implementing SAP - both the app server portion and the DB portion. Why should I choose/avoid Linux on Z for any portion ( I will admit that I am biased toward Linux on Z ) and is there a benefit from running on DB2 LUW over DB2 z/OS or vice-versa ? I have a couple of RedBooks but any decent whitepapers, RedBooks, RedPieces, etc will be gratefully accepted. Thanks, Bruce Lightsey Mississippi Dept. of Information Technology Services 301 N. Lamar St., Suite 508 Jackson, Ms 39201-1495 mailto:bruce.light...@its.ms.gov -- For LINUX-390 subscribe / signoff / archive access 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/
NFS and AutoFS - a how to question
Here is a scenario that I was just asked about: NFS Server A exports /data NFS Server B exports /data Several client servers mount /data The questions are: How to keep NFS Server A and B in sync On the client servers, if NFS Server A is down, how to mount /data from NFS Server B (and vice versa) Any advice/wisdom would be greatly appreciated Lionel Lionel B. Dyck z/Linux Specialist IBM Corporation Global Technology Services - Kaiser Account Work: 925-926-5332 E-Mail: ld...@us.ibm.com AIM: lbdyck | Yahoo IM: lbdyck | GTalk: lbdyck -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: NFS and AutoFS - a how to question
On 8/4/2010 at 04:30 PM, Lionel Dyck ld...@us.ibm.com wrote: Here is a scenario that I was just asked about: NFS Server A exports /data NFS Server B exports /data Several client servers mount /data The questions are: How to keep NFS Server A and B in sync On the client servers, if NFS Server A is down, how to mount /data from NFS Server B (and vice versa) You're looking at an HA cluster using shared storage between the two NFS servers, and VIPA to provide the clients with a single IP address/DNS name to access. 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/
Re: NFS and AutoFS - a how to question
One other point - the two NFS Servers are on different CEC's/LPARs for availability and the storage may not be share-able . but yes - it is an HA cluster Thanks Lionel Lionel B. Dyck z/Linux Specialist IBM Corporation Global Technology Services - Kaiser Account Work: 925-926-5332 E-Mail: ld...@us.ibm.com AIM: lbdyck | Yahoo IM: lbdyck | GTalk: lbdyck From: Mark Post mp...@novell.com To: LINUX-390@vm.marist.edu Date: 08/04/2010 01:37 PM Subject:Re: NFS and AutoFS - a how to question Sent by:Linux on 390 Port LINUX-390@vm.marist.edu On 8/4/2010 at 04:30 PM, Lionel Dyck ld...@us.ibm.com wrote: Here is a scenario that I was just asked about: NFS Server A exports /data NFS Server B exports /data Several client servers mount /data The questions are: How to keep NFS Server A and B in sync On the client servers, if NFS Server A is down, how to mount /data from NFS Server B (and vice versa) You're looking at an HA cluster using shared storage between the two NFS servers, and VIPA to provide the clients with a single IP address/DNS name to access. 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: NFS and AutoFS - a how to question
On 8/4/2010 at 04:45 PM, Lionel Dyck ld...@us.ibm.com wrote: One other point - the two NFS Servers are on different CEC's/LPARs for availability and the storage may not be share-able . iSCSI will make it shareable. 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/
Re: NFS and AutoFS - a how to question
Another point - the dasd is all mainframe (eckd) dasd :-) Thanks Lionel B. Dyck z/Linux Specialist IBM Corporation Global Technology Services - Kaiser Account Work: 925-926-5332 E-Mail: ld...@us.ibm.com AIM: lbdyck | Yahoo IM: lbdyck | GTalk: lbdyck From: Mark Post mp...@novell.com To: LINUX-390@vm.marist.edu Date: 08/04/2010 01:55 PM Subject:Re: NFS and AutoFS - a how to question Sent by:Linux on 390 Port LINUX-390@vm.marist.edu On 8/4/2010 at 04:45 PM, Lionel Dyck ld...@us.ibm.com wrote: One other point - the two NFS Servers are on different CEC's/LPARs for availability and the storage may not be share-able . iSCSI will make it shareable. 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: NFS and AutoFS - a how to question
On 8/4/2010 at 05:00 PM, Lionel Dyck ld...@us.ibm.com wrote: Another point - the dasd is all mainframe (eckd) dasd :-) Doesn't matter. iSCSI doesn't really care what the underlying architecture is, so long as it's a block device. 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/
Re: NFS and AutoFS - a how to question
ECKD shop here... Nothing wrong with that - Where are your 2 lpars? Why can't they share? If you do not have physical access to both, you will need to replicate it over a network. What that network is depends... You can send it over an IP with DRBD. You can replicate it with HW with PPRC. I doubt you'd want to stop PPRC for a server blip though.. That's a whole nother set of fun. But way easier if you can just cable both those CECs to the same local eckd dasd. You can set up your NFS server to use the SLES High Availability Extensions and move that function from one server to another. But, the one waiting in the wings has to have file system available to him. I'm not sure how writes in progess would deal with this though. I guess using NFS it would just fail on the client side and he'd have to retry his work. You might want to google HA NFS and see what things others are doing to support that. Marcy -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Lionel Dyck Sent: Wednesday, August 04, 2010 2:01 PM To: LINUX-390@vm.marist.edu Subject: Re: [LINUX-390] NFS and AutoFS - a how to question Another point - the dasd is all mainframe (eckd) dasd :-) Thanks Lionel B. Dyck z/Linux Specialist IBM Corporation Global Technology Services - Kaiser Account Work: 925-926-5332 E-Mail: ld...@us.ibm.com AIM: lbdyck | Yahoo IM: lbdyck | GTalk: lbdyck From: Mark Post mp...@novell.com To: LINUX-390@vm.marist.edu Date: 08/04/2010 01:55 PM Subject:Re: NFS and AutoFS - a how to question Sent by:Linux on 390 Port LINUX-390@vm.marist.edu On 8/4/2010 at 04:45 PM, Lionel Dyck ld...@us.ibm.com wrote: One other point - the two NFS Servers are on different CEC's/LPARs for availability and the storage may not be share-able . iSCSI will make it shareable. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: kernel: page allocation failure recommendations
I quite liked this from one of the kernel devs: quote But please bear in mind, this page allocation failure message is purely a developer diagnostic thing. The reason it is there is so that if some random toaster driver oopses over a failure to handle an allocation failure, the person who reports the bug can say I saw an allocation failure and then your driver crashed. Which tells the driver developer where to look. /quote Although recoverable, I'd be looking at adding storage to the guest. I can't see swappiness helping in this context - but I don't see it harming either, and I generally agree with the sentiment that it should be lower in a z/ environment. Getting up to date on the kernel would also be a good idea as Mark suggested - lots of reports on late 2.5 and early 2.6 kernels. Shane ... (interestingly I don't see this post on the maillist archive) Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote on 05/08/2010 02:56:54 AM: We are running the following Linux: Linux linuxp01 2.6.5-7.315-s390x #1 SMP Wed Nov 26 13:03:18 UTC 2008 s390x s390x s390x GNU/Linux with SLES-9-s390x-SP4 + online updates under /VM Version 5 Release 4.0, service level 0902 (64-bit). Linux is defined with 768MB of memory. We recently implemented CICS Transaction Gateway version 6.0.1 fix pack and since then are seeing some page fault errors. However, I am not really seeing memory shortage issues with the z/VM monitor or the Linux free –m errors. I am thinking about lowering vm.swappiness from 60. What does everyone think, is that worth doing? Any other recommendations? We are limited on memory resources but if push came to shove, I could increase from 768MB to 1024MB and increase the swap space accordingly. I know, I know, all this stuff is old, but we are in the process of upgrading.
AUTO: Nik Johnston/UK/IBM is away from the office (returning 10/08/2010)
I am out of the office until 10/08/2010. I am currently out of the office, on annual vacation. If it is urgent then please contact Andy Rowarth or Colm Feighoney for all ITS ITSA / DiP matters. For matters relating to the Comag Transition Services implementation project, please contact Adam Mitchell (07785 373920) or George Earp (07702 677878). Note: This is an automated response to your message Re: kernel: page allocation failure recommendations sent on 5/8/10 3:08:39. This is the only notification you will receive while this person is away. -- For LINUX-390 subscribe / signoff / archive access 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/