Checking if all UNIX Filesystems were mounted successfully at IPL
Hi folks. I'm looking for a way of automatically verifying that all Filesystems specified in BPXPRMxx were successfully mounted at IPL. We've currently got a rather ugly REXX that chains through MVS control blocks to locate the BPXPRMxx members, extract the filesystem names, substitute system symbols and then compare the results against the mount table via the getmntent syscall service. Please tell me that there's an easier and more reliable way. Regards, Fred Schmidt Senior Systems Programmer Department of Corporate and Information Services (DCIS) Data Centre Services (DCS) Northern Territory Government Email [EMAIL PROTECTED] Phone(08) 89 99 6891 Fax (08) 89 99 7493 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Fred Schmidt > Sent: Wednesday, August 10, 2005 10:08 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Checking if all UNIX Filesystems were mounted > successfully at IPL > > > Hi folks. > > I'm looking for a way of automatically verifying that all Filesystems > specified in BPXPRMxx were successfully mounted at IPL. > > We've currently got a rather ugly REXX that chains through > MVS control > blocks to locate the BPXPRMxx members, extract the filesystem names, > substitute system symbols and then compare the results > against the mount > table via the getmntent syscall service. > > Please tell me that there's an easier and more reliable way. > > Regards, > Fred Schmidt > Senior Systems Programmer > Department of Corporate and Information Services (DCIS) > Data Centre Services (DCS) > Northern Territory Government Check out the REXX routine "getmntent". It runs in a "syscall" or UNIX environment. It will return, in a stem variable, all of the mounted filesystems. at http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZB651/3.66 If you don't like REXX, then try the equivalent HLASM (or COBOL or PL/I) callable routine BPX1GMN/BPX4GMN at http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZB151/2.24 6 in "C" use w_getmntent() at http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/EDCLB150/3.97 0 -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its' content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
Use this command at zOS console: d omvs,f -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] Behalf Of Fred Schmidt Sent: Wednesday, August 10, 2005 11:08 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Checking if all UNIX Filesystems were mounted successfully at IPL Hi folks. I'm looking for a way of automatically verifying that all Filesystems specified in BPXPRMxx were successfully mounted at IPL. We've currently got a rather ugly REXX that chains through MVS control blocks to locate the BPXPRMxx members, extract the filesystem names, substitute system symbols and then compare the results against the mount table via the getmntent syscall service. Please tell me that there's an easier and more reliable way. Regards, Fred Schmidt Senior Systems Programmer Department of Corporate and Information Services (DCIS) Data Centre Services (DCS) Northern Territory Government Email [EMAIL PROTECTED] Phone(08) 89 99 6891 Fax (08) 89 99 7493 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
On Thu, 11 Aug 2005 12:37:34 +0930, Fred Schmidt <[EMAIL PROTECTED]> wrote: >Hi folks. > >I'm looking for a way of automatically verifying that all Filesystems >specified in BPXPRMxx were successfully mounted at IPL. >Please tell me that there's an easier and more reliable way. > I suppose that depends on your definition of "reliable". An easy way would be to search SYSLOG for the error message issued when a filesystem can't be mounted. I forget the message number, but I've seen it before. In that case, you're relying on the assumption that any failure to mount would result in the error message. I'm not sure how valid that is, but it seems fairly safe to me. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
I don't know if or how your IPL procedure is automated. Mine is via IEAVMXIT. When an HFS is not mounted during OMVS initialization either BPXF002I or BPXF008I is issued complete with the DSN of the HFS that was not mounted. The IPL procedure notes the exception and display a message in turquoise. After the IPL procedure completes, it displays the exceptions once more. If the operator is paying attention, one will have time to correct the error. If not, the users will let you know. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
Fred, I sympathize. I had the same problem. I support USS here at Met Life and we handled this problem in the following manner: Only the critical USS HFSs are included in BPXPRMxx at most maybe 10 - 12 HFSs. (This is to avoid having to use change control to update it whenever a new file system requires mounting.) We use our automation package (BMC AutoOperator) to trap any BPXF135E error messages at IPL time and generate an email for notification. We run bookmanger on our web site and to make it easier for the BookManager administrator, so I wrote a rexx exec that runs from a proc at IPL time and mounts all BOOKMANAGER HFSs. The exec generates an email to me on any mount failures. The same exec is also used to manage the list, featuring rebuild, list, mount and unmount functions. I haven't done it yet, but this exec could be easily modified to handle all mounts except ROOT. If you'd like a copy of the exec, let me know and I'll send it to you. Jim Holloway Internet: mailto:[EMAIL PROTECTED] "Fred Schmidt" <[EMAIL PROTECTED]> Sent by: "IBM Mainframe Discussion List" 08/10/2005 11:07 PM Please respond to "IBM Mainframe Discussion List" To: IBM-MAIN@BAMA.UA.EDU cc: Subject: [IBM-MAIN] Checking if all UNIX Filesystems were mounted successfully at IPL Hi folks. I'm looking for a way of automatically verifying that all Filesystems specified in BPXPRMxx were successfully mounted at IPL. We've currently got a rather ugly REXX that chains through MVS control blocks to locate the BPXPRMxx members, extract the filesystem names, substitute system symbols and then compare the results against the mount table via the getmntent syscall service. Please tell me that there's an easier and more reliable way. The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
On Thu, 11 Aug 2005 12:37:34 +0930, Fred Schmidt <[EMAIL PROTECTED]> wrote: >Hi folks. > >I'm looking for a way of automatically verifying that all Filesystems >specified in BPXPRMxx were successfully mounted at IPL. > >We've currently got a rather ugly REXX that chains through MVS control >blocks to locate the BPXPRMxx members, extract the filesystem names, >substitute system symbols and then compare the results against the mount >table via the getmntent syscall service. > >Please tell me that there's an easier and more reliable way. Maybe the z/os HealthChecker has a check for this? -Rob -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
I think it should! This is another example (like IPL link list set establishment) where we need to raise a requirement for BCP to save the data about weather the most recent operation especially for one done at IPL failed, completed, or completed with errors and then have it reported in the Health Checker. Best Regards, Sam Knutson, GEICO Performance and Availability Management mailto:[EMAIL PROTECTED] (office) 301.986.3574 "Think big, act bold, start simple, grow fast..." -Original Message- Maybe the z/os HealthChecker has a check for this? -Rob <> This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Checking if all UNIX Filesystems were mounted successfully at IPL
Run a omvs script called from a batch job df -Rob. This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html