home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!BRCPRM.BITNET!MAINT
- Message-ID: <IBM-MAIN%92090308551195@RICEVM1.RICE.EDU>
- Newsgroups: bit.listserv.ibm-main
- Date: Thu, 3 Sep 1992 10:08:51 EDT
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- From: Mauricio Alvarenga <MAINT@BRCPRM.BITNET>
- Subject: Re: Managing links to inter-system VM minidisks
- In-Reply-To: Message of Wed, 2 Sep 1992 13:46:00 CDT from <A01DGU1@NIU>
- Lines: 37
-
- Dave, I don't know about any product, but I think you can do the following:
-
- - Make two machines (one in each system) with privilege class so they
- can use locate command, the machine will run DISC.
-
- - Make a 'LINK EXEC' that will send a msg(tell) to the machine that is running
- on the other system, the msg will contain userid and mdisk that wants to make
- the r/w link. After that it will enter wakeup waiting for a reply.
-
- - The disc machine will then do a locate command for that address. If the
- address doesn't exist then the link can be done. If the address exists
- you can see if it is in r/O (VDEVFLAG = VDEVBLOK+7 in HPO) and if so
- you still can give r/w to the other user. The disc machine will send
- a msg back to the userid running LINK EXEC with a return code that
- authorizes the r/w link.
-
- Dave I assume that you have the same userid for each user on both systems
- and that you don't allow r/w links beteween users (User A cannot link
- r/w to User B cause this would fool the exec for user B)
-
- If you do allow r/w links among users you can do:
-
- If user is in r/o, get VDEVLINK (VDEVBLOK+20) see if the address is the
- same of your vdevblok, if yes no more links. If the address is not
- equal what you have is the vdevblok of another user that is linking
- your mdisk so look at that vdevblok to see if it is r/o and if yes
- look at displacement '20'x. Do that until you find your vdevblok
- in that displacement (that will be the last link).
-
- Hope this helps
-
-
- __________________________________________________________________
- / \
- | Mauricio Alvarenga | Mineral Research Company - CPRM |
- | VM Consultant | Rio de Janeiro - Brasil |
- \__________________________________________________________________/
-