SFS - real weird problem
This is an issue with the same code as from my previous question but now I have got something really weird :- Sorry for the long background explanation but the process that I have inherited (and hacked around with is as follows) :- a) Server 1 (5 similar severs looking in different places) Wakes up every 2 minutes and does the following :- - looks for logs to upload to the SFS repository. Each log will be complete since midnight (not just new data). - creates a user lock file for each log it finds - uploads the log to a temporary name (in the SFS pool) - Erases the fn 1LOG file (if it exists) - Renames the fn LOG file to fn 1LOG (if it exists) - Renames the tempoary file (just uploaded) to fn LOG - Removes the User lock file This complex procedure is because Server 2 might be examining the file. b) Server 2 (10 servers, each dealing with different logs) wakes up every 50 seconds and does the following :- - Looks in the SFS repository for logs that have more lines than currently processed - If there is a user lock file then it ignore the file until next time - It scans each line (from the last one processed to the end) and will take various actions (such as cataloguing tapes used). - It then records a line pointer for how far it got. Originally, Server 1 did not mess around with renames but just overwrote the log in the SFS repository but we were getting a number of lock ups so I changed it and this has significantly improved the situation - but we still get the occasional lock up. The code in Server 2 is very messy, delicate sensitive so I don't want to mess with it if I can avoid it. What we are seeing now is that, occasionally, the Rename of the temporary file to fn LOG gives RC=28 with DMSRND1311E Object already exists. In the error handling routine I do a listfile and the object is not shown. I also do a query locks and get a 'No Locks held'. Just in case of a timing issue, I then retry the RENAME upto 5 times with a 5 second delay - with no improvement. The really weird thing is that, once this happens, it will keep happening for ever a day until the server is recycled (IPL CMS). Then the condition gets cleared. I can understand that there may be a initial timing issue but, as no SFS locks are shown, I cannot understand what it is that is not being cleared, I would be very grateful if anyone can make any suggestions what may be happening here? Colin Allinson VM Systems Support Amadeus Data Processing GmbH
Re: SFS - real weird problem
Colin, is it possible, that the files are not closed properly? Try a 'FINIS * *' fm before you rename the files. You say that after an IPL CMS the error condition is cleared. this may be an indicator for a not correctly closed file. kind regards Franz Josef Pohlen Am 15.02.2010 17:54, schrieb Colin Allinson: This is an issue with the same code as from my previous question but now I have got something really weird :- Sorry for the long background explanation but the process that I have inherited (and hacked around with is as follows) :- a) Server 1 (5 similar severs looking in different places) Wakes up every 2 minutes and does the following :- - looks for logs to upload to the SFS repository. Each log will be complete since midnight (not just new data). - creates a user lock file for each log it finds - uploads the log to a temporary name (in the SFS pool) - Erases the /fn 1LOG// / file (if it exists) - Renames the /fn LOG/ file to /fn 1LOG/ (if it exists) - Renames the tempoary file (just uploaded) to/ fn LOG/ - Removes the User lock file This complex procedure is because Server 2 might be examining the file. b) Server 2 (10 servers, each dealing with different logs) wakes up every 50 seconds and does the following :- - Looks in the SFS repository for logs that have more lines than currently processed - If there is a user lock file then it ignore the file until next time - It scans each line (from the last one processed to the end) and will take various actions (such as cataloguing tapes used). - It then records a line pointer for how far it got. Originally, Server 1 did not mess around with renames but just overwrote the log in the SFS repository but we were getting a number of lock ups so I changed it and this has significantly improved the situation - but we still get the occasional lock up. The code in Server 2 is very messy, delicate sensitive so I don't want to mess with it if I can avoid it. What we are seeing now is that, occasionally, the Rename of the temporary file to/ fn LOG/ gives RC=28 with /DMSRND1311E Object already exists. /In the error handling routine I do a listfile and the object is not shown. I also do a query locks and get a 'No Locks held'. Just in case of a timing issue, I then retry the RENAME upto 5 times with a 5 second delay - with no improvement. The really weird thing is that, once this happens, it will keep happening for ever a day until the server is recycled (IPL CMS). Then the condition gets cleared. I can understand that there may be a initial timing issue but, as no SFS locks are shown, I cannot understand what it is that is not being cleared, I would be very grateful if anyone can make any suggestions what may be happening here? / / *Colin Allinson** VM Systems Support* Amadeus Data Processing GmbH
Linux on z/VM
I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy
Re: Linux on z/VM
Hi, Billy. Yes, both vendors offer free trial downloads of their respective Linux distributions for z/VM. You can download and install SLES 11 and/or RHEL 5.4 directly from their web sites; you should be able to follow the links off of their home pages. There are other, non-commercial Linxu distributions available for z/VM, including Centos and Debian as well. They're really 'free'. Good luck. On 02/15/2010 12:22 PM, Billy Bingham wrote: I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544
Re: Linux on z/VM
On 02/15/2010 12:22 PM, Billy Bingham wrote: I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy You can get a trial of both Novell and RedHat Linux for System z that come with install support and maintenance for a certain amount of time. I think Novell is 120 days. -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY
Re: Linux on z/VM
Note that trial means trial period for support. The license is free, you can run it as long as you wish, for any purpose. Seems odd on a mainframe, but true. And I personally recommend SLES over RedHat. If nothing else, YAST makes it far easier to manage. -Paul On Feb 15, 2010, at 12:30 PM, Rich Smrcina wrote: On 02/15/2010 12:22 PM, Billy Bingham wrote: I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy You can get a trial of both Novell and RedHat Linux for System z that come with install support and maintenance for a certain amount of time. I think Novell is 120 days. -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY
Re: Linux on z/VM
Paul, So you're saying that if I download SLES 11 Eval Version it comes with a 180 day trial for support, but the software license is free and I can continue to use it past the 180 day period? Sounds like a winner if so. Thanks, Billy On 15 Feb 2010 at 13:31, Paul Raulerson wrote: Note that trial means trial period for support. The license is free, you can run it as long as you wish, for any purpose. Seems odd on a mainframe, but true. And I personally recommend SLES over RedHat. If nothing else, YAST makes it far easier to manage. -Paul On Feb 15, 2010, at 12:30 PM, Rich Smrcina wrote: On 02/15/2010 12:22 PM, Billy Bingham wrote: I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy You can get a trial of both Novell and RedHat Linux for System z that come with install support and maintenance for a certain amount of time. I think Novell is 120 days. -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY
Re: Linux on z/VM
Hi, Billy. Yes that is exactly what Paul is saying, and for what it is worth, SLES is the more popular Linux distribution for the mainframe. On 02/15/2010 02:52 PM, Billy Bingham wrote: Paul, So you're saying that if I download SLES 11 Eval Version it comes with a 180 day trial for support, but the software license is free and I can continue to use it past the 180 day period? Sounds like a winner if so. Thanks, Billy On 15 Feb 2010 at 13:31, Paul Raulerson wrote: Note that trial means trial period for support. The license is free, you can run it as long as you wish, for any purpose. Seems odd on a mainframe, but true. And I personally recommend SLES over RedHat. If nothing else, YAST makes it far easier to manage. -Paul On Feb 15, 2010, at 12:30 PM, Rich Smrcina wrote: On 02/15/2010 12:22 PM, Billy Bingham wrote: I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy You can get a trial of both Novell and RedHat Linux for System z that come with install support and maintenance for a certain amount of time. I think Novell is 120 days. -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544
Re: Linux on z/VM
Billy, Why not get some experience with a free version of SUSE 11.2 before you implement it on z/VM. Down load a DVD image of the distro and install it on your PC where you can fool around the install before you install SLES 11 to you Z system. --- On Mon, 2/15/10, Billy Bingham billy.bingham...@suddenlink.net wrote: From: Billy Bingham billy.bingham...@suddenlink.net Subject: Linux on z/VM To: IBMVM@LISTSERV.UARK.EDU Date: Monday, February 15, 2010, 1:22 PM I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy
Re: Linux on z/VM
I don't have access to a z on which I can do this. Would it be OK to load in on Hercules/390, just for learning purposes? My group keeps pushing for zLinux, but the current Linux people (Intel) want nothing to do with it. Likely, IMO, due to their perception of lack of control over the hardware. Which would be true. I wouldn't want a Lintel person, no matter how good, to be setting up z/VM or even the VM directory. Of course, they would be root, not my group (z/OS Tech Services). And they might not want to due to other considerations, such as backups et al. On Mon, 2010-02-15 at 19:08 -0600, Paul Raulerson wrote: Yes, that is exactly so. You can use it for any purpose, production, test, or development, on as many instances as you like. It *is* a winner, really. We run transactional production loads on on zLinux. :) By the way, it is easy to install and configure, especially under z/VM. Google for the z/VM cookbooks. They are excellent guides, and they provide a really good base to move forward and produce highly customized images from. -Paul On Feb 15, 2010, at 2:52 PM, Billy Bingham wrote: Paul, So you're saying that if I download SLES 11 Eval Version it comes with a 180 day trial for support, but the software license is free and I can continue to use it past the 180 day period? Sounds like a winner if so. Thanks, Billy On 15 Feb 2010 at 13:31, Paul Raulerson wrote: Note that trial means trial period for support. The license is free, you can run it as long as you wish, for any purpose. Seems odd on a mainframe, but true. And I personally recommend SLES over RedHat. If nothing else, YAST makes it far easier to manage. -Paul On Feb 15, 2010, at 12:30 PM, Rich Smrcina wrote: On 02/15/2010 12:22 PM, Billy Bingham wrote: I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy You can get a trial of both Novell and RedHat Linux for System z that come with install support and maintenance for a certain amount of time. I think Novell is 120 days. -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY
Re: Linux on z/VM
Hi, John. Yes, it is certainly possible (and legal!) to install SLES11 or RHEL54 on Hercules. If running Linux directly under Hercules (i.e., no z/VM) on a recent 64-bit, 2GHz+ Intel box, performance is acceptable. Of course Hercules does not support some of the newer zArchitecture features that Linux can exploit, e.g., OSA hardware adapters, but that might not be a problem with what you are trying to do. Have a good one. On 02/15/2010 07:52 PM, John McKown wrote: I don't have access to a z on which I can do this. Would it be OK to load in on Hercules/390, just for learning purposes? My group keeps pushing for zLinux, but the current Linux people (Intel) want nothing to do with it. Likely, IMO, due to their perception of lack of control over the hardware. Which would be true. I wouldn't want a Lintel person, no matter how good, to be setting up z/VM or even the VM directory. Of course, they would be root, not my group (z/OS Tech Services). And they might not want to due to other considerations, such as backups et al. On Mon, 2010-02-15 at 19:08 -0600, Paul Raulerson wrote: Yes, that is exactly so. You can use it for any purpose, production, test, or development, on as many instances as you like. It *is* a winner, really. We run transactional production loads on on zLinux. :) By the way, it is easy to install and configure, especially under z/VM. Google for the z/VM cookbooks. They are excellent guides, and they provide a really good base to move forward and produce highly customized images from. -Paul On Feb 15, 2010, at 2:52 PM, Billy Bingham wrote: Paul, So you're saying that if I download SLES 11 Eval Version it comes with a 180 day trial for support, but the software license is free and I can continue to use it past the 180 day period? Sounds like a winner if so. Thanks, Billy On 15 Feb 2010 at 13:31, Paul Raulerson wrote: Note that trial means trial period for support. The license is free, you can run it as long as you wish, for any purpose. Seems odd on a mainframe, but true. And I personally recommend SLES over RedHat. If nothing else, YAST makes it far easier to manage. -Paul On Feb 15, 2010, at 12:30 PM, Rich Smrcina wrote: On 02/15/2010 12:22 PM, Billy Bingham wrote: I would like to install Linux on z/VM, but I'm not sure what distribution to use. Is there a free version of SuSE or RedHat Linux that I can download to do this? Do I need to license a distribution from the vendor (SuSE or RedHat)? Thanks, Billy You can get a trial of both Novell and RedHat Linux for System z that come with install support and maintenance for a certain amount of time. I think Novell is 120 days. -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544
Re: Linux on z/VM
John McKown wrote: I don't have access to a z on which I can do this. Would it be OK to load in on Hercules/390, just for learning purposes? My group keeps pushing for zLinux, but the current Linux people (Intel) want nothing to do with it. Likely, IMO, due to their perception of lack of control over the hardware. Which would be true. I wouldn't want a Lintel person, no matter how good, to be setting up z/VM or even the VM directory. Of course, they would be root, not my group (z/OS Tech Services). And they might not want to due to other considerations, such as backups et al. John, I went through this last summer. The only z/Linux that I got to work under Hercules/390 was the Centos version. The problem was a lack of support for the newer networking stuff. Lloyd
Re: SFS - real weird problem
Franz Josef Pohlen fjpohlen-maill...@gmx.de wrote: is it possible, that the files are not closed properly? Try a 'FINIS * *' fm before you rename the files. You say that after an IPL CMS the error condition is cleared. this may be an indicator for a not correctly closed file. Thanks for the idea. It is a good thought and I will try that. Because this is very intermittent it may be some days before I know if it has worked. Colin Allinson VM Systems Support Amadeus Data Processing GmbH