home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / bit / listserv / ibmmain / 2082 < prev    next >
Encoding:
Text File  |  1992-09-03  |  2.3 KB  |  49 lines

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