Re: Cloning a Sysres and ZFS
Hi Tom, We already include it like OMVS.RESPR1.ROOT but the DDDEF only has the path. The below shows a DDDEF taken from the apply, it still means I need to make sure I got the mount right and the ZONEEDIT unlike the standard DDDEFs that use the volser to make sure the correct dataset is updated. DDDEF NFSCUTIL PATH'/Service/usr/lpp/NFS/IBM/ and PATHHFS OMVS.RESDD2.ROOT Thanks James -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tom Marchant Sent: 18 January 2016 15:46 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Cloning a Sysres and ZFS On Mon, 18 Jan 2016 14:41:32 +0000, Chambers, James wrote: >Is there a better way to deal with the HFS or ZFS DDDEFs? Include the SYSRES VOLSER as part of the dsname. When you mount it, you can use &SYSRES in the mount specification. -- Tom Marchant -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN "BANKEMFB" made the following annotations. -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. Permanent TSB plc. is regulated by the Central Bank of Ireland and is a tied Assurance Agent for Irish Life Assurance plc. Permanent TSB plc. registered in Dublin under No. 222332. Registered office is: 56-59, St. Stephen’s Green, Dublin 2, Ireland. == -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Cloning a Sysres and ZFS
Hi John, You mention using ZONEEDIT to point the DDDEFs into Never-Never Land to stop production dataset being updated by accident. All our DDDEFs use the volume so the targets always points at the correct datasets but this doesn't work for our HFS or ZFS because they need to be mounted at /Service. We then ZONEEDIT the DDDEFs to point at /Service instead of /, this needs to be changed back to / when finished. This works but when I was starting out applying maintenance to Zos I did make a mistake and had not done the ZONEEDIT to change / to /Service and mount the HFS because it wasn't an issue for the other products I did SMPE for at the time. Is there a better way to deal with the HFS or ZFS DDDEFs? Thanks James -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John Eells Sent: 18 January 2016 14:05 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Cloning a Sysres and ZFS To expand on that thought a bit: - You can name the usercatalog using the volume name. - You can use SYMBOLICRELATE on DEFINE ALIAS to point to the catalog thusly named in the master catalog on the production system. - If you have more than one volume in your target volume set, you can derive system symbols for the other volumes from the system-provided &SYSR1 symbol, given that you name them in a way that makes the volume names derivable (such as ZOSR1, ZOSR2, etc.). - You can put the SMP/E CSI data set on the sysres, too, and catalog it in the same catalog. This has four benefits. First, you have the inventory matching the data sets on the same volume, so they stay in sync. Second, you can get information from the zones that match the data sets any time without worrying about selecting the "right" zones to match the system's level. Third, z/OSMF's Software Management needs the zones for reporting to help answer questions like "where do I NOT have this fix" and "when do I lose support for the products I have deployed"? Fourth, you can at need clone and install service to the production level of software without the need to have any other system available. (If you worry about updating production data sets by accident, use ZONEEDIT to point all the DDDEFs into Never-Never Land.) Also, you can use a similar technique for subsystem (e.g., DB2) data sets, except that you will need to change the symbols yourself because the system will not build them for you. Since you can use SETLOAD IEASYM and IEASYMU2 to update the active symbols on z/OS V2.1 and up, you can even dynamically switch back and forth at need. van der Grijn, Bart , B wrote: > Hi James, > > We clone our sysres (maintained in sandbox) every month to generate IPL > volumes for the Dev and Prod LPARs. Almost all datasets on the sysres volume > are in a user catalog on that same sysres, including the VERSION zFS. We > don't have a single zFS in the master catalog. We're 2.1 now, but have had > this setup for a number of releases, so I don't see any reason why you would > need your zFS in Master for your 1.13 systems. -- John Eells IBM Poughkeepsie ee...@us.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN "BANKEMFB" made the following annotations. -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. Permanent TSB plc. is regulated by the Central Bank of Ireland and is a tied Assurance Agent for Irish Life Assurance plc. Permanent TSB plc. registered in Dublin under No. 222332. Registered office is: 56-59, St. Stephen?s Green, Dublin 2, Ireland. == -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to l
Re: Cloning a Sysres and ZFS
Hi Bart, Thanks the below is exactly what I was looking to find out. I think the reason the HFS are all in the master catalog is it worked and nobody thought to change it, now that we are converting to ZFS we need to change it. Thanks James -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of van der Grijn, Bart (B) Sent: 18 January 2016 12:35 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Cloning a Sysres and ZFS Hi James, We clone our sysres (maintained in sandbox) every month to generate IPL volumes for the Dev and Prod LPARs. Almost all datasets on the sysres volume are in a user catalog on that same sysres, including the VERSION zFS. We don't have a single zFS in the master catalog. We're 2.1 now, but have had this setup for a number of releases, so I don't see any reason why you would need your zFS in Master for your 1.13 systems. Bart -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Chambers, James Sent: Monday, January 18, 2016 5:04 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Cloning a Sysres and ZFS Hi, We use a process of cloning on our Dev lpar to create new Sysres before we apply maintenance, it has worked fine for Zos 1r13 but we only used HFS. We have started to use ZFS for 2r1 which is fine if the Sysres is for the same Lpar the clone process is run on but I am now cloning a Sysres for another Lpar. I can't get the ZFS datasets accessible in both master catalogs at the same time, I know now that it is because they are Vsam datasets so cannot be in 2 catalogs. I want them to be in both so I can apply maintenance on our Dev lpar rather than risk a mistake or accident causing a problem in production. Can they be in a user catalog? I know they are not now because they are used very early on in the IPL but is it an option? Is there an easy way to move ZFS datasets between 2 master catalogs? The only option I can think of at the moment is running the clone process from the current Sysres to a new one in the prod lpar so everything will be in the prod catalog. Thanks James James Chambers IT Operations & IBM Support Team Lead 56/59 St. Stephen's Green, Dublin 2 Ph: +353 1 669 5127 "BANKEMFB" made the following annotations. -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. Permanent TSB plc. is regulated by the Central Bank of Ireland and is a tied Assurance Agent for Irish Life Assurance plc. Permanent TSB plc. registered in Dublin under No. 222332. Registered office is: 56-59, St. Stephen?s Green, Dublin 2, Ireland. == -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN "BANKEMFB" made the following annotations. -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we
Cloning a Sysres and ZFS
Hi, We use a process of cloning on our Dev lpar to create new Sysres before we apply maintenance, it has worked fine for Zos 1r13 but we only used HFS. We have started to use ZFS for 2r1 which is fine if the Sysres is for the same Lpar the clone process is run on but I am now cloning a Sysres for another Lpar. I can't get the ZFS datasets accessible in both master catalogs at the same time, I know now that it is because they are Vsam datasets so cannot be in 2 catalogs. I want them to be in both so I can apply maintenance on our Dev lpar rather than risk a mistake or accident causing a problem in production. Can they be in a user catalog? I know they are not now because they are used very early on in the IPL but is it an option? Is there an easy way to move ZFS datasets between 2 master catalogs? The only option I can think of at the moment is running the clone process from the current Sysres to a new one in the prod lpar so everything will be in the prod catalog. Thanks James James Chambers IT Operations & IBM Support Team Lead 56/59 St. Stephen's Green, Dublin 2 Ph: +353 1 669 5127 "BANKEMFB" made the following annotations. -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. Permanent TSB plc. is regulated by the Central Bank of Ireland and is a tied Assurance Agent for Irish Life Assurance plc. Permanent TSB plc. registered in Dublin under No. 222332. Registered office is: 56-59, St. Stephen?s Green, Dublin 2, Ireland. == -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN