<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Volume shadowing question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111265#M61210</link>
    <description>The replies to the original question have been good at summarizing some procedural issues with using Shadowing.&lt;BR /&gt;&lt;BR /&gt;Can someone explain something I've never understood:  Why is a "Copy" shadow operation really a type of Merge?  At least from what I've read, adding a new member to an existing shadow would seem to require simply a straight copy from an existing member to the new disk, but I've seen references saying that this scenario is too simple and a type of merge is actually done in this case.</description>
    <pubDate>Thu, 06 Nov 2003 12:06:53 GMT</pubDate>
    <dc:creator>Jack Trachtman</dc:creator>
    <dc:date>2003-11-06T12:06:53Z</dc:date>
    <item>
      <title>Volume shadowing question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111261#M61206</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;I have a query regarding volume shadowing on VMS. Consider a scnerio where a shadow disk DSA1 is having two shadow member named $1$DUA1 &amp;amp; $1$DUA2 . Now suppose I dismount one shadow member $1$DUA2  from the shadow set and after two days, I reboot the system ( Assume that during these two day some new data is written on shadow disk ) . What will happen after the reboot , if my system startup file contains the following line:&lt;BR /&gt;&lt;BR /&gt;1)$ mount/system DSA0: /shadow=($1$dua1,$1$dua2) label&lt;BR /&gt;&lt;BR /&gt;2) mount/system DSA0: /shadow=($1$dua2,$1$dua1) label&lt;BR /&gt;&lt;BR /&gt;Can I assume my new data will not be lost in either case ? &lt;BR /&gt;&lt;BR /&gt;Also please clarify me  about the difference between shadow copying and shadow merging.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Wed, 05 Nov 2003 11:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111261#M61206</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2003-11-05T11:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Volume shadowing question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111262#M61207</link>
      <description>Lokesh,&lt;BR /&gt;You can trust OpenVMS shadowing will ensure your data will be intact and that the copy operation will be done from the correct source in both example 1&amp;amp;2.&lt;BR /&gt;If you add a /CONFIRM you will be prompted after shadowing has decided which way to do it, But you probably don't want to have /confirm in your startup file...&lt;BR /&gt; &lt;BR /&gt;Short version on how it works:&lt;BR /&gt;The mechanism used at shadow set mount time to make this determination, the Shadow Set Generation Algorithm, is based on four pieces of informationstored on each disk volume:&lt;BR /&gt;- Volume label ("should" be the same)&lt;BR /&gt;- Volume correctly dismounted&lt;BR /&gt;- Backup revision number&lt;BR /&gt;- Shadow set generation number&lt;BR /&gt;The shadow set generation number represents the time and event that caused the shadow set to change state. Such events are:&lt;BR /&gt;Addition of a volume&lt;BR /&gt;Removal of a volume due to HW error&lt;BR /&gt;Removal of volume by buser request&lt;BR /&gt;When entire shadowset is dismounted.&lt;BR /&gt; &lt;BR /&gt;I'll look for more details or a pointer to a presentation I will post to prevent to much typing, But you've probably got the basic idea why VMS are able to handle your shadowset correctly.&lt;BR /&gt;&lt;BR /&gt;Shadow merge is used when shadowing sw determines that the members of a shadow set are equally valid, BUT inconsistent. They may differ by a few incomplete write request after a system crash or similar.</description>
      <pubDate>Wed, 05 Nov 2003 13:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111262#M61207</guid>
      <dc:creator>Åge Rønning</dc:creator>
      <dc:date>2003-11-05T13:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Volume shadowing question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111263#M61208</link>
      <description>You could find more about Copy/Merge in the OpenVMS FAQ at &lt;A href="http://h71000.www7.hp.com/wizard/faq/vmsfaq_021.html#volshad" target="_blank"&gt;http://h71000.www7.hp.com/wizard/faq/vmsfaq_021.html#volshad&lt;/A&gt;</description>
      <pubDate>Wed, 05 Nov 2003 14:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111263#M61208</guid>
      <dc:creator>Åge Rønning</dc:creator>
      <dc:date>2003-11-05T14:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Volume shadowing question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111264#M61209</link>
      <description>Ã ge is correct, shadowing will do its best to ensure that only the latest data is used to reform the shadow set.&lt;BR /&gt;&lt;BR /&gt;However, there is one circumstance where you could lose data. That is if $1$DUA1 is unavailable at the time the MOUNT command is issued. Since $1$DUA2 is a valid disk, if Volume Shadowing software cannot see $1$DUA1, there is no way to know that there is a later copy of the data and the shadowset will be established using $1$DUA2. If $1$DUA1 is added later, it will be overwritten.&lt;BR /&gt;&lt;BR /&gt;You can protect yourself against this scenario using the /POLICY qualifier on your MOUNT command. MOUNT/POLICY=REQUIRE_MEMBERS specifies that all proposed members be available before the shadowset is formed. The MOUNT command will fail if any members are missing.&lt;BR /&gt;&lt;BR /&gt;You may also wish to use /POLICY=MINICOPY. MINICOPY means when a member is removed, Volume Shadowing software keeps track of changes to the disk. When the member is returned to the shadowset, only the changes need be copied.&lt;BR /&gt;&lt;BR /&gt;That said, you should avoid reducing any shadowset below 2 member</description>
      <pubDate>Wed, 05 Nov 2003 22:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111264#M61209</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2003-11-05T22:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Volume shadowing question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111265#M61210</link>
      <description>The replies to the original question have been good at summarizing some procedural issues with using Shadowing.&lt;BR /&gt;&lt;BR /&gt;Can someone explain something I've never understood:  Why is a "Copy" shadow operation really a type of Merge?  At least from what I've read, adding a new member to an existing shadow would seem to require simply a straight copy from an existing member to the new disk, but I've seen references saying that this scenario is too simple and a type of merge is actually done in this case.</description>
      <pubDate>Thu, 06 Nov 2003 12:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111265#M61210</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2003-11-06T12:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Volume shadowing question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111266#M61211</link>
      <description>The I/O algorithms for Copy and Merge are indeed similar to a large degree.  For details and the rationale behind them, see Scott Davis' Digital Technical Journal at &lt;A href="http://www.research.compaq.com/wrl/DECarchives/DTJ/DTJ301/DTJ301SC.TXT" target="_blank"&gt;http://www.research.compaq.com/wrl/DECarchives/DTJ/DTJ301/DTJ301SC.TXT&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Basically, Shadowing has to present the same semantics as a JBOD to the world:&lt;BR /&gt;1) Reading the same blocks should always return the same data&lt;BR /&gt;2) When something is written to a set of blocks, once the write is signalled as completed, that new data is returned to all subsequent requests for that block range; in other words, older data is never allowed to be returned after newer data has been returned once.&lt;BR /&gt;&lt;BR /&gt;Shadowing has to meet these requirements despite the fact that there are actually 2 or 3 disks present, and that for performance reasons we are normally allowed to read from any one of the members (since they're always supposed to be identical).&lt;BR /&gt;&lt;BR /&gt;So special care is required to handle cases like simultaneous reads and writes from different nodes in the cluster even while a Copy or Merge is going on (and even the possibility of a shadowed system disk where a node that is not even in the cluster at the moment may be either booting, or writing a crash dump file, at the same time as nodes in the cluster are using the shadowset).  This is why the algorithms tend to be a bit non-intuitive.&lt;BR /&gt;&lt;BR /&gt;There's more info on the algorithms and their performance implications in my presentation on Volume Shadowing Merge &amp;amp; Copy Performance at &lt;A href="http://www2.openvms.org/kparris/" target="_blank"&gt;http://www2.openvms.org/kparris/&lt;/A&gt;</description>
      <pubDate>Thu, 06 Nov 2003 20:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/volume-shadowing-question/m-p/3111266#M61211</guid>
      <dc:creator>Keith Parris</dc:creator>
      <dc:date>2003-11-06T20:44:23Z</dc:date>
    </item>
  </channel>
</rss>

