home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22255 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  6.8 KB

  1. Path: sparky!uunet!olivea!charnel!rat!usc!rpi!batcomputer!munnari.oz.au!manuel.anu.edu.au!sserve!actew.oz.au!ins_wayne
  2. From: ins_wayne@actew.oz.au (Wayne Myles)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Striping and Shadowing
  5. Message-ID: <1993Jan28.180133.193@actew.oz.au>
  6. Date: 28 Jan 93 23:01:33 GMT
  7. References: <76FB3BE080600321@THINK2.LakeheadU.Ca>
  8. Organization: ACT Electricity & Water
  9. Lines: 153
  10.  
  11. In article <76FB3BE080600321@THINK2.LakeheadU.Ca>, OCCHILL@ROWDI.LakeheadU.Ca (Geoff Hill) writes:
  12.  
  13. >     We are considering buying DEC's disk striping and/or shadowing
  14. >     software and would be interested in other people's experiences    
  15. >     with these products.   Our VMS environment will probably be
  16. >     a VAX 4000/100 with 4 (or possibly 5) SCSI disks.
  17.  
  18.   [Take all of this with a grain of salt; I'm a bit over-the-top
  19.   when it comes to preserving my data! :-)]
  20.  
  21.   Call me paranoid, but I'm no fan of SCSI for coal-face
  22.   operations; for small systems, yes, but not mission-critical,
  23.   bet-the-company software.
  24.  
  25.   The basic problem is that few SCSI disks support all of DSA.  I
  26.   seem to recall that DEC's later SCSI disks support forced-error
  27.   flagging.  This, you want.  Also, SCSI disks tend to have
  28.   different failure modes; the RA and RF disks I've seen fail,
  29.   usually give warning.  All the SCSI disks I've seen fail are
  30.   one-off catastophes.  No retries, no warnings, just crashes.
  31.  
  32.   Ask about the integrity characteristics of the disks you look
  33.   at; how big are the ECCs?  RA disks are 170 bit, RF disks 264.
  34.   An RA disk can correct 8 bad bytes in a block as a result. 
  35.   Compare this to a SCSI disk, and weep!
  36.  
  37.   Make your salescritters work for YOU for a change! :-)
  38.  
  39.   Keep in mind, also, a "feature" of Phase I shadowing, supposedly
  40.   corrected in Phase II, that if a bad-block develops in the
  41.   INDEX.SYS or BITMAP.SYS files, it will mark your entire
  42.   shadowset as read-only!
  43.  
  44.   Phase I doesn't support SCSI anyway, from memory; that was a
  45.   recent addition to Phase II.  Take a look at the release notes
  46.   from VMS 5.4-3 onwards for copious detail; don't take my word
  47.   for it.  There's some very subtle bug/feature behaviour too.
  48.  
  49. >    1) Disk Striping:
  50. >         - how effective in improving disk I/O ?
  51. >         - how reliable is it ?
  52. >         - How easy is it to install and use ?
  53. >         - any disadvantages ?
  54.  
  55.   I haven't played with it myself, but the reports I've heard are
  56.   good.  The improvements seem to scale as expected, it's
  57.   reliable, and easy to install.  Start with freshly initialised
  58.   disks, if you can.  Regard this as hearsay.
  59.  
  60. >     2) Volume Shadowing:
  61. >         - how effective in improving disk I/O ?
  62.  
  63.   It doesn't necessarily.  It is primarily an availability/
  64.   reliability mechanism.  In fact, it slows down write operations,
  65.   since ALL members must complete the write I/O before the shadow
  66.   operation can complete.  Read operations will (theoretically)
  67.   complete in 1/n th of the time, given n spindles.
  68.  
  69.   A good rule of thumb is that if your read-ratio (reads over
  70.   writes) is less than 75%, you'll probably take a noticeable
  71.   performance hit.  Above that, you'll probably notice an
  72.   improvement.  We have some prime targets, with read ratios over
  73.   90% and huge I/O rates.  Some day...   ($$$)
  74.  
  75. >         - how reliable is it ?
  76.  
  77.   Phase I? A pain (see above note about hard errors in critical
  78.   files) but otherwise bulletproof.  Shadow-copies can really ruin
  79.   your performance.
  80.  
  81.   Phase II?  See the VMS Release Notes.  There's some real
  82.   doozies, like being able to mount the same disk into more than
  83.   one shadowset!  Copy/Merge operations have less severe impact on
  84.   the system/cluster.
  85.  
  86.   Another major plus: A Phase II shadowed system disk does not need to be
  87.   shadow-copied every boot!  All members are mounted early enough
  88.   that no merge is required under most circumstances.
  89.  
  90.   Generally, if you follow the rules, it is bulletproof.  Just be
  91.   careful, and plan your virtual unit numbers ahead of time.
  92.  
  93. >         - How easy is it to install and use ?
  94.  
  95.   Very easy.  You won't believe how easy :-)
  96.  
  97. >         - can you have more than one shadow volume ?
  98.  
  99.   All our disks are shadowed in the main cluster.  Some of our
  100.   other clusters have shadowed system disks.  Another benefit of
  101.   Phase II is that it supports many more shadow units.  More than
  102.   you could reasonably use.  Many of our disks are one-member
  103.   shadowsets, which means that (given the right version of
  104.   VAXsim-PLUS) you can configure "hot spare" disks.
  105.  
  106.   This is a BIG plus.  What it means is that you can mount a
  107.   "spare" disk into a low-priority shadowset, and if/when another
  108.   disk seems to be failing, VAXsim will automagically dismount it
  109.   from one set, and mount it into the failing one.
  110.  
  111.   Then, your friendly local DEC Engineer can dismount the bad
  112.   disk, fix it, remount it, and off you go - without taking the
  113.   system/application down.
  114.  
  115.   We haven't quite got that working yet; It requires VAXsim V2.???
  116.   for Phase II - it's on our list of things to do :-)
  117.  
  118. >     3) Mixture of 1 & 2:
  119. >       
  120. >        If both Disk Striping and Volume Shadowing are installed,
  121. >        e.g. a shadow set of 2 disks is striped across 2 other disks,
  122. >         - how easy is this to set up ?
  123. >         - would we get improved I/O from shadowed reads *plus*
  124. >           improved I/O from striped reads ? 
  125.  
  126.   Er, I hope you mean to make a stripeset out of shadowsets.  
  127.   I don't think the reverse is possible. I could be wrong.
  128.   If I remember correctly, a stripeset is simply a collection of
  129.   cylinders on a virtual/physical disk or disks that appears as a
  130.   logical disk drive, with the sectors interleaved across the
  131.   members.
  132.  
  133.   It should be no harder than remembering to mount the shadowset
  134.   before the stripeset.  In theory, reads would be a bigger "win"
  135.   and the writes at least as good.
  136.  
  137.   The main thrust of shadowing is reliability; of striping, throughput.
  138.  
  139.   You'll want to have the stripe members on different controllers,
  140.   if possible.  Same with shadow members.  Stripe-members, because
  141.   you're trying to increase throughput - using the same cable
  142.   won't give you much.  Shadow-members, because you want
  143.   reliability and availability; if one cable or controller dies,
  144.   you want to keep rolling.
  145.  
  146. >     Will either of these products work with non-DEC drives ?
  147.  
  148.   Hmm. I don't see why not, but be careful of that "forced-error
  149.   flag" support; if you don't have it, you could end up using
  150.   corrupt data and not know it.  Try before you buy!
  151.  
  152.   Of course, it goes without saying that the members of a given
  153.   shadow-set should be of the same type, and preferably the same
  154.   rev disk & controller.  Belt, Braces and a piece of string, to be
  155.   sure! :-)
  156.  
  157.   Good luck!
  158.  
  159. -- 
  160. Wayne Myles               | Email: wayne@actew.oz.au, ins_wayne@actew.oz.au
  161. System Manager/PostMaster |        wsm@pippin.actew.oz.au  (all via UUCP)
  162. ACT Electricity & Water   |        wsm@ccadfa.cc.adfa.oz.au  (Internet)
  163. GPO Box 366, Canberra ACT 2601, Australia.  Ph: +61-6-248-3143 (w) Fax: x3439
  164.