Re: How to find a memory leak?

2015-07-10 Thread Pavelka, Tomas
I replied to Mike and Alan yesterday evening but it does not show in the archives. I am assuming it got lost and I am resending. Sorry if this is a duplicate. If vmcp is called with a buffer of 1M and the last slab in /proc/buddyinfo is 0, would it not be reasonable to nudge the kernel to

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Berthold Gunreben
Hi Tito, the reason is, that this machine also serves as terminal server. In the cookbook, it is also used to show the different setups of RHEL and SLES for LNXADMIN, but the main reason is to run the IUCV terminal server. Berthold On Thu, 9 Jul 2015 22:00:19 -0300 Tito Garrido

Re: How to find a memory leak?

2015-07-10 Thread Christian Borntraeger
Am 09.07.2015 um 19:16 schrieb Michael MacIsaac: I'm going to stop here for now. I've learned a lot about Linux memory from this thread (but that's easy when you don't know much to begin with :)). I guess a question to the Linux developers in Germany would be: If vmcp is called with a

Re: How to find a memory leak?

2015-07-10 Thread Karsten Hopp
That's a huge security hole, btw. Don't do that! echo newroot:x:0:0:root:/root:/bin/bash | /usr/bin/tee /etc/passwd a similiar command for /etc/shadow and you've gained root. Am 09.07.2015 um 18:06 schrieb Michael MacIsaac: Let me answer my own question. Perhaps kludgy, but by adding 'tee'

Re: How to find a memory leak?

2015-07-10 Thread Michael MacIsaac
OK, y'all convinced me that always using a 1M buffer for vmcp is not the best idea. I appreciate all the feedback. Here's my first take at a bash function to retry a vmcp command with a few boundary test cases: # cat testvmcp #!/bin/bash function zVerbose { echo $@ }

Re: How to find a memory leak?

2015-07-10 Thread Bruce Hayden
The message sent to stderr is not documented in the device drivers book. It tells you about the response code of 2, but the description of that response code doesn't say anything about the error message to stderr or that the message tells you how long the output was. For use in scripts, it would

Re: How to find a memory leak?

2015-07-10 Thread Michael MacIsaac
That's a huge security hole, btw. Don't do that! this is an attempt to be more security minded, not less. Only admins would have access to those sudo commands. For example, if I am root and issue the command: echo newroot:x:0:0:root:/root:/bin/bash /etc/passwd then who added the newroot user?

Re: How to find a memory leak?

2015-07-10 Thread Christian Borntraeger
Am 10.07.2015 um 13:19 schrieb Christian Borntraeger: Anothing thing: 1M is quite large (the larges contiguous memory that Linux wants to allocate as slab). So try to not use that unless you need it. If you want to know how much memory is needed, then vmcp gives you back the result of the

Re: How to find a memory leak?

2015-07-10 Thread Pavelka, Tomas
Only admins would have access to those sudo commands. But the sudoers line shows an intent to restrict access to tee only: %zoom ALL=NOPASSWD:/usr/bin/tee The hole that Karsten has shown is that the line in sudoers is really the security equivalent of: %zoom ALL=NOPASSWD:ALL Whether it is a

bacula vs amanda

2015-07-10 Thread Dave Jones
Hello, all. I would like to poll the group on this question: Given a choice between Linux backup applications Bacula and Amanda running in a Intel Linux environment, which would you select? The environment is openSuSE 13.x on IBM/Lenovo Intel system running headless...that is with no GUI

Re: bacula vs amanda

2015-07-10 Thread DeWayne Thomas
Dave, In 2008, I looked at several options to backup the machines on my home network. I settled on bacula, because at the time it had the most options and was the easiest to configure(from my point of view). Since that time, I've been backing up Linux clients and servers, Windows servers and

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Michael MacIsaac
Tito, Why not 4 LNXADMIN USERS or 1 relocating if needed... As Berthold mentioned, the Linux terminal server needs one Linux system per z/VM. If you also use these servers as LDAP or DNS servers, you may want one to be primary and others secondary/tertiary. A couple of other solutions that fit

Re: IP Configuration

2015-07-10 Thread Mauro Souza
Hi people, We always clone SLES penguins here, so they need to get an identity on boot. We made this (rather kludgy) script: --snip-- #!/bin/bash # script name: configvm.sh chccwdev -e 191 21 /dev/null udevadm settle DISC=/dev/disk/by-path/ccw-0.0.0191 sleep 1 # Get data from USER.CONFIG

IP Configuration

2015-07-10 Thread Romney White
I believe that a lot of customers have developed their own schemes for dynamically configuring Linux guest IP addresses during boot, accommodating different environments (such as production, DR, and test). Does anyone have such a mechanism that they would be willing to share (scripts,

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Tito Garrido
hmmm So If I have to install/clone linux 4 times, keep it synced... why not 4 LNXADMIN USERS or 1 relocating if needed? The IUCV ANY statement doesn't allow me to relocate this server? I am supposing that we are creating LNXADMIN as a IUCV server for the 4 members. Regards, Tito On Fri, Jul

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Alan Altmark
On Friday, 07/10/2015 at 10:26 EDT, Tito Garrido titogarr...@gmail.com wrote: hmmm So If I have to install/clone linux 4 times, keep it synced... why not 4 LNXADMIN USERS or 1 relocating if needed? The IUCV ANY statement doesn't allow me to relocate this server? I am supposing that we are

Re: How to find a memory leak?

2015-07-10 Thread Alan Altmark
On Friday, 07/10/2015 at 08:20 EDT, Bruce Hayden bjhay...@gmail.com wrote: The message sent to stderr is not documented in the device drivers book. It tells you about the response code of 2, but the description of that response code doesn't say anything about the error message to stderr or

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Tito Garrido
Thank Berthold! One more question, it uses a subconfig with 2 minidisks for each member. When we install it on member 1 does it propagate the installation for the other minidisks? I didn't see any comment about the subconfig minidisks regarding the data. Regards, Tito On Fri, Jul 10, 2015 at

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Scott Rohling
No - you will have to copy the disk yourself. These are meant to be completely different disks - they won't be synced for you. The LNXADMIN on each SSI member needs it's own R/W disks. Scott Rohling On Fri, Jul 10, 2015 at 6:33 AM, Tito Garrido titogarr...@gmail.com wrote: Thank Berthold!

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Michael MacIsaac
And they must have separate IP addresses, host names, etc. For a two member SSI, I just install Linux twice. If you plan to have a 4-member SSI or multiple SSI clusters, you may consider setting up a 'golden admin Linux' system that can be cloned or built in some fashion. -Mike M On Fri, Jul

White paper on creating a SFS server

2015-07-10 Thread David Boyes
I was in the middle of something else and had to transfer a couple 3390 disk images to another system. By the time I dumped them with DDR and VMARCed them, they were just a little bit too large to transfer using FTP - the system has only 3390 mod 3s, and the files were too big for one volume.

Re: How to find a memory leak?

2015-07-10 Thread Stewart, Lee
The same could be said of VM... Well, most of it Lee Stewart ● VM System Support ● Visa ● Phone: 6(750)4601 - +1-303-389-4601 ● lstew...@visa.com -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Alan Altmark Sent: Friday, July 10, 2015

Re: bacula vs amanda

2015-07-10 Thread DeWayne Thomas
Dave, Let me try the reply again... In 2008, I looked at several options to backup the machines on my home network. I settled on bacula, because at the time it had the most options and was the easiest to configure(from my point of view). Since that time, I've been backing up Linux clients and

Re: bacula vs amanda

2015-07-10 Thread Mark Post
On 7/10/2015 at 11:19 AM, Dave Jones d...@vsoft-software.com wrote: Given a choice between Linux backup applications Bacula and Amanda running in a Intel Linux environment, which would you select? The environment is openSuSE 13.x on IBM/Lenovo Intel system running headless...that is with

Re: LNXADMIN as IDENTITY

2015-07-10 Thread Tito Garrido
Thank you guys for clarifying! On Fri, Jul 10, 2015 at 11:56 AM, Michael MacIsaac mike99...@gmail.com wrote: Tito, Why not 4 LNXADMIN USERS or 1 relocating if needed... As Berthold mentioned, the Linux terminal server needs one Linux system per z/VM. If you also use these servers as

Re: How to find a memory leak?

2015-07-10 Thread Rick Troth
Same thing *has* been said of VM ... by an IBMer ... to me ... as he deflected a legit inquiry/requirement. On 07/10/2015 11:59 AM, Stewart, Lee wrote: The same could be said of VM... Well, most of it Lee Stewart ● VM System Support ● Visa ● Phone: 6(750)4601 - +1-303-389-4601 ●

Re: How to find a memory leak?

2015-07-10 Thread Alan Altmark
On Friday, 07/10/2015 at 03:03 EDT, Rick Troth r...@casita.net wrote: Same thing *has* been said of VM ... by an IBMer ... to me ... as he deflected a legit inquiry/requirement. I certainly hope that's ancient history. If not, feel free to contact me offline and maybe we can figure out what

Re: bacula vs amanda

2015-07-10 Thread Dave Jones
That's a good point, Markand another point is that to build bacula from source requires that the gcc-c++ compiler and libraries be available. Have a good weekend, too. DJ On 07/10/2015 12:05 PM, Mark Post wrote: On 7/10/2015 at 11:19 AM, Dave Jones d...@vsoft-software.com wrote: Given a