Re: x86 to z CPU comparison for calculating IFLs needed

2010-01-04 Thread Stewart Thomas J
comparison for calculating IFLs needed On Monday 04 January 2010 16:46, Stewart Thomas J wrote: >/proc/sys/kernel/HZ must be a SLES thing, don't see that on RHEL. Red >Hat folks have ideas on where to find the equivalent? That would be /proc/sys/kernel/hz_timer - MacK. ---

Re: x86 to z CPU comparison for calculating IFLs needed

2010-01-04 Thread Stewart Thomas J
z CPU comparison for calculating IFLs needed >>> On 1/4/2010 at 3:53 PM, Stewart Thomas J >>> wrote: > Regarding jiffies, we found this earlier: > http://linux.die.net/man/7/time > "On x86 the situation is as follows: on kernels up to and including > 2.4.x,

Re: x86 to z CPU comparison for calculating IFLs needed

2010-01-04 Thread Stewart Thomas J
measuring one "batch" process. Real work would have lots of processes, switching between workloads at even 1000's of times per second. The cache technology in the z10 will be vastly superior, and will provide better CPU numbers when measuring an environment closer to a production

x86 to z CPU comparison for calculating IFLs needed

2010-01-04 Thread Stewart Thomas J
Need some assistance on understanding a workload comparison. Here is what we have: We run a business workload (Java/WebSphere) for one week on an HP DL585 G5 server four Quad-Core AMD Opteron Processors, model 8389 (2.9GHz) on Red Hat Enterprise Linux 4 kernel version 2.6.9. This is virtualized

Re: FTP/TLS from zOS problems

2009-12-23 Thread Stewart Thomas J
If I remember correctly, what you want to do is search for "FTP client reply code 234" on a web search engine. I think you need to break this into mmnnn, where mm is a command code and nnn is the FTP client reply code. Most of these are standard codes, so 234 is documented in the RFC for the AUT

Re: question about sleep setting for linux virtual server start automatically

2009-11-04 Thread Stewart Thomas J
The general idea is to avoid bringing your system to it's knees by starting to many Linux systems simultaneously. This sleep breaks the startups a little bit apart to relieve some of the pressure. A Linux boot is a fairly intensive process compared to one sitting idle once everything has started

Re: REXEC / RSH

2009-10-09 Thread Stewart Thomas J
This is how I do it - highly recommend using SSH instead of R-anything. Makes your security auditors happy. //SFTPPRF1 EXEC PGM=BPXBATCH,PARM=('SH ssh -o $O1 -l $L $S $CMD') //STDOUT DD SYSOUT=(,) //STDERR DD SYSOUT=(,)

Re: Has anyone looked into a "console server"

2009-09-30 Thread Stewart Thomas J
For each VM LPAR, I have the Linux users with SECUSER to OPERATOR. And OPERATOR is running PROP, so all of my Linux console logs are consolidated to the one PROP file. The cool part is that each message is prepended with a timestamp and the userid so I can separate them. I created a Rexx log bro

Re: PHP to DB2 connection

2009-08-26 Thread Stewart Thomas J
Haven't tried from zLinux yet, but I've done a lot with PHP and DB2 on z/OS. Good Redbook that might give some additional pointers if you haven't seen it: http://www.redbooks.ibm.com/abstracts/sg247218.html?Open There are also several flavors of drivers like ibm_db2, PDO_IBM/PDO_ODBC, and Unifi

Re: Question regarding Oracle Licensing

2009-08-11 Thread Stewart Thomas J
A z10 processor has 4 cores, but each IFL/ZIIP/ZAAP/GP is really only one of those cores. So licensing for an IFL should count as one Oracle license (1 core). One other thing you'll find is that they have a multiplier depending on the core type/speed. I think the multiplier for z hardware is 100

Re: SuSE install from z/OS

2009-07-13 Thread Stewart Thomas J
I don't see that type of option on the mount command man pages for z/OS Unix. Same as with FTP, it would also require "smarts" for translating (or not) if the option did (does) exist. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent:

Re: SuSE install from z/OS

2009-07-13 Thread Stewart Thomas J
Haven't tried SUSE, but did try z/VM install via FTP from z/OS Unix filesystem. Couldn't get it to work - don't remember the exact issues. Ended up just installing an FTP server on my PC and installing from that. There are lots of free ones. Saved me a few steps and time in the long run. Just

Re: Linux live CD for z/Linux?

2009-06-23 Thread Stewart Thomas J
We "rolled our own" recovery Linux system (aka "virtual live cd"). We simply created a guest with a minimal Linux install and no LVM. Then via the beauty of shared disk, if a system fails we just shut down the failed guest and link our recovery system's disk to the guest as well. We IPL from th

Re: RED HAT 5.2 KICKSTART

2009-06-09 Thread Stewart Thomas J
We put our kickstart on an HTTP server and not an FTP server, so we do this: KS=http://abc.myserver.com/Public/kickstart/ks-linux123.cfg RUNKS=1 Then in the actual kickstart we have this parm to point to the FTP install files: url --url ftp://123.456.789.123/s390x/AS4u6 Maybe you can do it all

Re: zVM RACF database synchronization

2009-06-04 Thread Stewart Thomas J
I think DIRMAINT satellite support might require RSCS, which needs a license ($$$)...? Could be wrong, but I believe that was my impression when I looked at it. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of David Boyes Sent: Thursday, June 04,

Re: zVM RACF database synchronization

2009-06-04 Thread Stewart Thomas J
We do synchronization of password changes for a subset of our users using some home grown exits. If a user is in a particular "VM" RACF group on z/OS, the exit kicks off a z/OS batch job step that essentially does a remote call to each of our z/VM systems to invoke a script to make the password

Re: How to determine which lpar a linux guest is hosted on ?

2009-02-19 Thread Stewart Thomas J
On my RHEL4 system, I use cat /proc/sysinfo and it indicates the LPAR name and guest name. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Bernie Wu Sent: Thursday, February 19, 2009 9:09 AM To: LINUX-390@VM.MARIST.EDU Subject: How to determine

Re: Size of Linux DASD under Z/VM?

2009-02-18 Thread Stewart Thomas J
k on z/VM 5.3, maybe 12-18 months ago. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Adam Thornton Sent: Wednesday, February 18, 2009 10:12 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Size of Linux DASD under Z/VM? On Feb 18, 2009, at 10:02

Re: Size of Linux DASD under Z/VM?

2009-02-18 Thread Stewart Thomas J
I've heard several people mention using EDEV with FCP. We tested FCP and EDEV was simple to set up and get working. Giving it to Linux seemed like it took a bit more work. We had an IBM consultant come in and told us to never use EDEV for Linux guests. Is anyone using EDEV FBA in production toda

Re: HCP for zLinux Question

2009-02-11 Thread Stewart Thomas J
We drive a lot of CMS/CP commands and Rexx scripts from Linux. I use the following: http://www.vm.ibm.com/download/packages/descript.cgi?LXCMS This is a client/server package that allows you to set up one or more userids on z/VM to process commands from a Linux machine. The neat part that I fou

Re: SFTP Authentication Question

2008-12-23 Thread Stewart Thomas J
Here are my setup steps for SSH keys if they help. SSH Login Without Password One of the neat features of SSH is the ability to exchange keys between servers for authentication without a password prompt. To set this up, do the following: 1. Use putty to SSH into the server you want

[no subject]

2008-12-02 Thread Stewart Thomas J
Sounds a little like our Red Hat rep who told our Linux guys yesterday that IBM is likely to get rid of z/VM in favor of KVM, because "why would IBM want to support multiple virtualization platforms". This kind of misinformation from reps at these vendors sure make it hard to sell mainframe Lin

Re: Connect to DB2 with PHP

2008-10-23 Thread Stewart Thomas J
With more recent versions of DB2, a TCP/IP based listener is built right in, if configured by your DB2 admins. I can do a netstat on our z/OS system and all of the DB2 for z/OS subsystems are listening on some ports we defined. I can connect directly to DB2 from say, a WebSphere server on Linux

Re: Connect to DB2 with PHP

2008-10-23 Thread Stewart Thomas J
I don't have experience from Linux, but PHP on z/OS has a DB2 driver. Just wanted to make sure you knew that. So you could do your PHP-ing on z/OS (if feasible) or an ugly solution might be to do a PHP to PHP call from Linux to z/OS. Although I'm guessing there is some kind of driver to remotely

Re: SFTP for JAVA

2008-10-10 Thread Stewart Thomas J
I don't know that these are free, but for reference we did research this some time ago and I still had these in my notes: ... but I was looking into it at one point and jcraft was one on my list I remember: http://www.jcraft.com Another appears to be http://www.jscape.com (google search). Th

Re: SFTP running batch - using no password.

2008-10-09 Thread Stewart Thomas J
D] On Behalf Of Mark Post Sent: Thursday, October 09, 2008 5:37 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: SFTP running batch - using no password. >>> On 10/9/2008 at 6:14 PM, in message <[EMAIL PROTECTED]>, Stewart Thomas J <[EMAIL PROTECTED]> wrote: -snip- > Generally you&

Re: SFTP running batch - using no password.

2008-10-09 Thread Stewart Thomas J
How did you set up your keys? To run sftp in batch you have to either set up keys or wrap your sftp processing in some kind of Expect script, either using expect in Linux or something like the Perl Expect module. Generally you'd want to use a key exchange setup, unless the client/server user acc

Re: NFS - z/OS and Linux

2008-09-24 Thread Stewart Thomas J
If this helps, here is how I have mine mounted: >From our RHEL server named ldxzvm03 in /etc/fstab: hiper-cpur:/hfs/u/abcdef,binary/sftp/abcdef/center3 nfs rw,hard,intr 0 0 hiper-cpur is the Hipersocket IP of a z/OS LPAR. On the z/OS side, we have the following defined in the NFS export

Re: SFTP versus FTP

2008-07-09 Thread Stewart Thomas J
For reference, these are what you'll be looking for in your od output: CRLF - Carriage Return Line Feed (ASCII x'0D0A', escape sequence '\n'). Used on Windows (DOS) platforms. CR- Carriage Return (ASCII x'0D', escape sequence '\r'). Early Mac, before it became Unix based. LF - Line Feed

Re: Costing Model for Linux-390

2008-07-01 Thread Stewart Thomas J
Best way to be equitable is via usage based charging, ala cell phone billing. First goal is to get a figure for the total costs that you want to recover from all your customers and over what period. Let's say it's 100 dollars over 1 year. Then you figure out some categories to charge back for. C

Re: DFDSS Backups

2008-06-24 Thread Stewart Thomas J
I struggled with this too. The full-pack disks for Linux write out a semi-standard VTOC that z/OS understands so it can see the various partitions as data sets that it can backup individually. If the minidisk starts anywhere other than cyl 0, Linux will put a VTOC there but it isn't in the right

Re: I need a source for a good quantity of the foam Tux penguins

2008-06-10 Thread Stewart Thomas J
If you have some skills on your hands or maybe a girl scout troop looking for some badges and some time to volunteer, you could "roll your own": http://www.free-penguin.org/ __ Tom Stewart Infrastructure Analyst John Deere - z/OS Support Services em: [EMAIL PROTE

Re: fstab and other small, critical file recoveries

2008-05-29 Thread Stewart Thomas J
Agree with the comments for #1/#3, but get where Mike is coming from. I've had a couple "early mornings" when we are on the phone with the Linux and z/VM groups trying to figure out why a server won't come up. As the z/VM person, lots of times I'm providing them console logs and such with the er

Re: z/VM 5.1 to 5.3 upgrade ( a little handholding requested)

2008-05-14 Thread Stewart Thomas J
rest to the shops that do have a VM systems programmer. As a consultant, each place I go to, is entirely different from most other shops that I've been to. Tom Duerbusch THD Consulting Law of Cat Acceleration A cat will accelerate at a constant rate, until he gets good and ready t

Re: z/VM 5.1 to 5.3 upgrade ( a little handholding requested)

2008-05-14 Thread Stewart Thomas J
Just wanted to add to this - I'm also a z/OS person turn z/VM person. Yeah these are two different OS'es but the z/OS maintenance/upgrade is so easy sometimes when the OS is just on a few disk volumes and you take the LPAR down, point to the new sysres, and bring it back up. To back off, you do

Re: z/OS notification to Linux

2008-05-13 Thread Stewart Thomas J
We use a couple ways. The rich man's way is to use a job scheduler with agents that can run on Linux and be notified. The poor man's way is to use SSH between z/OS and Linux. In one case I have a batch job that runs on the mainframe that puts a file on an NFS mount to Linux in step #1. Then in

Re: Howto enable PHP to use LDAP

2008-05-05 Thread Stewart Thomas J
I don't know about Suse, but with Red Hat (RHEL4) LDAP support comes configured with PHP. I'm doing lookups to an LDAP server and didn't do anything special to set it up. Try setting up a small PHP page to do a phpinfo() function and then look through the output of that. For example mine shows --w

Re: What distribution and why?

2008-04-10 Thread Stewart Thomas J
We run RHEL on z because that is what we run on Intel. It was easier for our Linux admins to know just one distro, and we can reuse a lot of the same processes and Red Hat features across the platforms. Sometimes it bites us when certain product vendors only support Suse on z, or when there is

WebSphere sizing on Linux for System z

2008-03-27 Thread Stewart Thomas J
We are looking at moving our WebSphere workload from z/OS to Linux. We have lots of 4way x86 Linux boxes running WebSphere - each instance capable of running dozens (nearly 100 in some cases) of application servers (JVMs) with many GB of memory. On WebSphere for z/OS, an LPAR might have 32 appl