home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / misc / 4823 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  2.1 KB

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!sdd.hp.com!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!van-bc!mdavcr!eddie
  2. From: eddie@mdavcr.mda.ca (Man Sang Lui)
  3. Newsgroups: comp.unix.misc
  4. Subject: RS232 & networking and process logging
  5. Message-ID: <3930@map.mdavcr.mda.ca>
  6. Date: 4 Jan 93 22:34:06 GMT
  7. Lines: 38
  8.  
  9.  
  10. Hi
  11.  
  12. I am new to this group and I have some problems which might have already been
  13. solved by some wizards in this group.
  14.  
  15. I am currently having a SLC SPARCstation connected to a CD-ROM jukebox via 
  16. an RS232 (ttyb) and a SCSI ports. The jukebox has four CD-ROM drives and 
  17. four CDs can be loaded and accessed at the same time.  All the control
  18. commands (e.g. selecting a CD, rotating the carousel) are sent from the Sun
  19. workstation to the jukebox via the RS232 port.  The communication speed is
  20. 9600 bauds.  The actual mounting and the ejection of the CDs are done via
  21. the SCSI interface.  The jukebox and the workstation are also in a class B
  22. network.  I have already done some software design and development for the
  23. controlling program using C.  My questions are:
  24.  
  25. 1. In order for a host in the network to use the jukebox, a user has to use 
  26.    rlogin or telnet to log on to the SLC SPARCstation before s/he can run the 
  27.    controlling program.  Is there a way that I can incorporate this in my C 
  28.    program so that the jukebox is visible from any host in the network?  Is 
  29.    this a client-server based and/or networking problem?  What is the best 
  30.    way for me to tackle this?
  31.  
  32. 2. Assuming question no. 1 can be achieved, how do I deal with locking 
  33.    facility for multi-user access?
  34.  
  35. 3. If the jukebox is available on the network, I would like to keep a log 
  36.    file to record which user is using what and possibly show this to all
  37.    current users on the network.  In others words, when the controlling 
  38.    program is started by a user, it has to know which user is currently 
  39.    using what disc and for how long.  How should I approach this?
  40.  
  41. I should be much obliged if you could suggest some solutions or point me 
  42. in the right direction (e.g. public domain source).  Please e-mail me at
  43. eddie@mda.ca
  44.  
  45. Thanks in advance.
  46. Eddie 
  47.