I have been converting our HFS datasets to ZFS. We are now getting 
contention using ZFS where we were not when using HFS.

I have the same named task (DDL72HFS) running on several systems within 
the sysplex. 

The OMVS segment for DDL772HFS contains HOME(/u/DDL72HFS).

The first instance of DDL72HFS causes the ZFS to be mounted (via 
automount). Subsequent instances of DDL72HFS on other systems in the plex 
cause:

MII1038 ZFS      CONTENTION WITH ZFS OWNS EXCL  ON GLL6
MII1039 ZFS      NEEDS EXCL SYSDSN   UNIX.DDL72HFS
IKJ56225I DATA SET UNIX.DDL72HFS ALREADY IN USE, TRY LATER+
IEF196I IKJ56225I DATA SET UNIX.DDL72HFS ALREADY IN USE, TRY LATER+
IKJ56225I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER
IEF196I IKJ56225I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER
IOEZ00003E While opening minor device 17401, could not open dataset
UNIX.DDL72HFS.

We did not see this contention when the datasets were HFS, but since going 
to ZFS we get these messages. I am guessing that ZFS is using ENQ where 
HFS was not (or at least not the same ENQ - HFS vs VSAM). What I need to 
achieve is to remove the contention.

I could do this by:
a) adding a sysname qualifier to the automount policy in u.map e.g. 
UNIX.&SYSNAME..<uc-name>. 
b) changing the HOME setting to /tmp/ddl72hfs

Either of these would work for this particular task as it doesn't store 
anything 
in its Unix files. However, there are other instances of batch jobs that run on 
separate systems using the same userid that would need to store persistent 
data e.g. jobs run with USER=WHL and the OMVS segment for WHL has HOME
(/u/whl). This currently causes contention across the two systems for 
UNIX.WHL dataset. 

If I change either automount to add a system identifier or HOME to 
specify /tmp, I lose the persistence of the data that may be stored in the Unix 
files.

How have others managed this situation? Did I miss something?

Thanks

Andrew Metcalfe
Barclays Bank Plc

----------------------------------------------------------------------
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

Reply via email to