Re: 2nd level zVM
Yes, I had tried following the procedure described in the pdf but it does seems incomplete (deliberate?). For example I managed to get it up boot but I couldn't get CMS to start: 03:14:54 ipl 190 DMSWSP327I The installation saved segment could not be loaded z/VM V5.4.02008-10-13 07:27 DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSVMLIB does not exist DMSACP113S A(191) not attached or invalid device address Ready; T=0.01/0.01 03:14:55 The documentation says to use the MAINT account to do a SAMPNSS ... but the sample USER DIRECTORY given in the doc didn't define any MAINT to do this. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: 2nd level zVM
On Fri, Oct 9, 2009 at 10:17 AM, Chan Kok Leong c...@chankle.net wrote: For example I managed to get it up boot but I couldn't get CMS to start: 03:14:54 ipl 190 DMSWSP327I The installation saved segment could not be loaded z/VM V5.4.0 2008-10-13 07:27 DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSVMLIB does not exist DMSACP113S A(191) not attached or invalid device address Ready; T=0.01/0.01 03:14:55 The Ready; shows that CMS did start... ;-) be it that you get private copies of that code rather than the shared copy. The SAMPNNS is on the MAINT 193 disk but that only helps you to define the CMS NSS (so you can IPL CMS rather than IPL 190). Since your system started with empty spool, you need VMFBLD to build all your NSS files again. IIRC that is: VMFBLD SEGBLD ESASEGS (ALL 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
Re: How to share files/disk between 2 LPARS
Lee, Maybe a stupid question, but have you compared the minidisk definitions on both Linuxes and checked if all the different layers say R/W ? From each Linux: # vmcp q v address # vmcp q md address location # cat cat /sys/devices/css*/*/0.0.address/readonly Also, I hope your planning to use a shared directory and at least xlink protection between your z/VM systems for the shared volumes. Ronald van der Laan -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: 2nd level zVM
For example I managed to get it up boot but I couldn't get CMS to start: 03:14:54 ipl 190 DMSWSP327I The installation saved segment could not be loaded z/VM V5.4.02008-10-13 07:27 DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSVMLIB does not exist DMSACP113S A(191) not attached or invalid device address Ready; T=0.01/0.01 03:14:55 I have managed to do this to several z/VM systems over the years. The way it always happens to me is having two systems running that can both see each other's disks. It seems the volumes other than the IPL volume are referenced by labels (volsers), not real device numbers (rdevs). So I believe the system with the higher rdevs starts spooling and paging to another system's volumes. There are a few ways to avoid this: 1) Use Offline_at_IPL in SYSTEM CONFIG to prevent each system from seeing the other systems' disks. 2) Relabel the W01, W02 (No W01 and W02 volumes if using 3390-9s), SPL and PAG volumes at install time, at the start of the INSTDVD EXEC, for example. 3) Relabel all 5 volumes (3 for 3390-9s) immediately after install. #1 and #2 have the side effect of having mutiple volumes with the default label of the res pack (540RES for example). If a z/OS system can also see these volumes, the sysadmins get upset because it slows down a z/OS IPL. If that isn't a problem, #2 is probably the easiest. #3 can be tricky, so it is documented in the Virtualization Cookbooks (http://www.redbooks.ibm.com/abstracts/sg247493.html for SLES or http://www.redbooks.ibm.com/abstracts/sg247492.html for RHEL), section 4.11 Hope this helps. Mike MacIsaac mike...@us.ibm.com (845) 433-7061 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Multipathing for ECKD devices
Brad Hinson wrote: This is just the new format for output from lsdasd. It is now PAV-aware, so it knows that (in this example) disks 206 and 207 are aliases. You can still use these devices (base+alias) in a multipath, using the device-mapper-multipath package. As a reminder, for RHEL this procedure is outlined here: http://kbase.redhat.com/faq/docs/DOC-3413 -Brad Brad, Thanks for the reply. I have followed the doc, but my results differ from that doc. Starting at item 11 on; multipathd will not create the mpio device in /dev/mapper. I foollow the same procedure (multipath.conf, etc.) on sles10 sp2, it works. I try it in sles11 or rhel 5.4, it does not. Thanks - Please consider the environment before printing this email and any attachments. This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: 2nd level zVM
You need to restore the share segment from the old system to the new. The spxtape command will backup and restore DCSS and save system. Question, on your IPL volume, do you have spool space allocated. In the old days I use to have two vm sysyem to manage. This was one of things I need to do when make the 2nd system the same as the 1st. - Original Message - From: Chan Kok Leong [c...@chankle.net] Sent: 10/09/2009 04:17 PM ZE8 To: LINUX-390@VM.MARIST.EDU Subject: Re: 2nd level zVM Yes, I had tried following the procedure described in the pdf but it does seems incomplete (deliberate?). For example I managed to get it up boot but I couldn't get CMS to start: 03:14:54 ipl 190 DMSWSP327I The installation saved segment could not be loaded z/VM V5.4.02008-10-13 07:27 DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSPIPES does not exist DMSDCS1083E Saved segment CMSVMLIB does not exist DMSACP113S A(191) not attached or invalid device address Ready; T=0.01/0.01 03:14:55 The documentation says to use the MAINT account to do a SAMPNSS ... but the sample USER DIRECTORY given in the doc didn't define any MAINT to do this. -- 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 Visit our website at http://www.nyse.com Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc.
Math Error
I've reported this to the vendor but I found this error a bit astonishing: # ksh -vx poo.ksh date=0605 + date=0605 ((mm=${date}/100)) + ((mm=0605/100)) echo ${mm} + echo 3 3 exit 0 + exit 0 I get this result on SLES 10. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Math Error
0605 as an octal number is 389. So 389/100 = 3 when truncated. On 10/9/09 9:30 AM, Scully, William P william.scu...@ca.com wrote: I've reported this to the vendor but I found this error a bit astonishing: # ksh -vx poo.ksh date=0605 + date=0605 ((mm=${date}/100)) + ((mm=0605/100)) echo ${mm} + echo 3 3 exit 0 + exit 0 I get this result on SLES 10. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Math Error
On 10/9/2009 at 9:38 AM, Neale Ferguson ne...@sinenomine.net wrote: 0605 as an octal number is 389. So 389/100 = 3 when truncated. And just to be explicit about _why_ it's being interpreted as an octal number, it's because of the leading zero. 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
Re: Math Error
Some examples from other OS implementations, which show (even within a vendor) differing results. Is AIX right or is SLES 10 right? I'm not sure. SuSE (or probably the level of Korn Shell) changed (I think) between SLES 9 and SLES 10. AIX and Solaris seem to be acting as a human expects. # ksh poo.ksh 3 # cat poo.ksh date=0600 ((mm=${date}/100)) echo ${mm} exit 0 # uname -a Linux usilap13 2.6.16.60-0.39.3-smp #1 SMP Mon May 11 11:46:34 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux - ksh poo.ksh 3 cat poo.ksh date=0600 ((mm=${date}/100)) echo ${mm} exit 0 uname -a Linux usilscuwi01 2.6.16.60-0.39.3-default #1 Mon May 11 11:46:34 UTC 2009 i686 i686 i386 GNU/Linux -- ksh poo.ksh 6 cat poo.ksh date=0600 ((mm=${date}/100)) echo ${mm} exit 0 uname -a Linux usild40a 2.4.21-278-default #1 SMP Mon Mar 7 18:07:14 UTC 2005 s390 unknown --- $ ksh poo.ksh 6 $ cat poo.ksh date=0600 ((mm=${date}/100)) echo ${mm} exit 0 $ uname -a AIX usil0c20 3 5 00CC15EE4C00 --- $ ksh poo.ksh 6 $ cat poo.ksh date=0600 ((mm=${date}/100)) echo ${mm} exit 0 $ uname -a SunOS new-usilsg00 5.9 Generic_122300-08 sun4u sparc SUNW,Ultra-60 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Friday, October 09, 2009 10:01 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Math Error On 10/9/2009 at 9:38 AM, Neale Ferguson ne...@sinenomine.net wrote: 0605 as an octal number is 389. So 389/100 = 3 when truncated. And just to be explicit about _why_ it's being interpreted as an octal number, it's because of the leading zero. 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
REXEC / RSH
Does anyone have any experience running remote linux commands from MVS batch? I have found that MVS TSO has REXEC and RSH, but I am been unsuccessful executing a remote command on linux. I can use rexec/rsh from one linux system to another, but not from MVS. Any help on using these commands, or other suggestions on how to execute remote commands will be much appreciated. Russell Jones ANPAC -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: REXEC / RSH
On Oct 9, 2009, at 10:34 AM, Jones, Russell wrote: Does anyone have any experience running remote linux commands from MVS batch? I have found that MVS TSO has REXEC and RSH, but I am been unsuccessful executing a remote command on linux. I can use rexec/rsh from one linux system to another, but not from MVS. Any help on using these commands, or other suggestions on how to execute remote commands will be much appreciated. I would guess that your Linux guest doesn't have rexec/rsh installed. WIth good reason: they're astonishingly insecure. If they're on the same physical machine as your MVS machine then you may not care, since there's no physical wire to be sniffed between them. As far as I know they do still exist in modern distros and you should be able to install them. OTOH, if you have a little budget, you could license NJE for Linux and have a very easy way to submit remote jobs to Linux. Adam -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: REXEC / RSH
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=(,) //STDENV DD * L=userid S=linux.whatever.com CMD=ls -al O1=StrictHostKeyChecking=no /* For this to work, you must have OpenSSH on the mainframe side. And establish SSH keys between Unix System Services and the Linux machine. If you Google ssh keys you'll find lots of sites on how to do that. Also, check out the offering from Dovetail: http://dovetail.com/index.html Fancier version of doing some of the same thing. Tom Stewart z/OS Support Services John Deere -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Jones, Russell Sent: Friday, October 09, 2009 10:34 AM To: LINUX-390@VM.MARIST.EDU Subject: REXEC / RSH Does anyone have any experience running remote linux commands from MVS batch? I have found that MVS TSO has REXEC and RSH, but I am been unsuccessful executing a remote command on linux. I can use rexec/rsh from one linux system to another, but not from MVS. Any help on using these commands, or other suggestions on how to execute remote commands will be much appreciated. Russell Jones ANPAC -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: REXEC / RSH
Hello, If you use rexec from two Linux, looks like the Linux side are ok. From the MVS side, I used this Job to test this kind of work, but my test was from to send a command (NETSTAT in this test) from MVS to VM (OP1 machine). Nothing needed at MVS side. Adjust for your environment and test it: //STP1 EXEC PGM=REXEC,REGION=512K, // PARM='-l OP1-p pwop1 target_IP NETSTAT HOME' //SYSPRINT DD SYSOUT=* //SYSTCPD DD DSN=SYS1.PARMLIB.SHARED(DATA02),DISP=SHR Regards, Clovis | | From: | | | |Jones, Russell russell.jo...@anpac.com | | | | To:| | | |LINUX-390@VM.MARIST.EDU | | | | Date: | | | |09/10/2009 12:31 | | | | Subject: | | | |REXEC / RSH | | | | Sent by: | | | |Linux on 390 Port LINUX-390@VM.MARIST.EDU | | Does anyone have any experience running remote linux commands from MVS batch? I have found that MVS TSO has REXEC and RSH, but I am been unsuccessful executing a remote command on linux. I can use rexec/rsh from one linux system to another, but not from MVS. Any help on using these commands, or other suggestions on how to execute remote commands will be much appreciated. Russell Jones ANPAC -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 inline: graycol.gifinline: ecblank.gif