- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Volume shadowing question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 03:51 AM
тАО11-05-2003 03:51 AM
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 & $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:
1)$ mount/system DSA0: /shadow=($1$dua1,$1$dua2) label
2) mount/system DSA0: /shadow=($1$dua2,$1$dua1) label
Can I assume my new data will not be lost in either case ?
Also please clarify me about the difference between shadow copying and shadow merging.
Thanks & regards,
Lokesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 05:47 AM
тАО11-05-2003 05:47 AM
SolutionYou 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&2.
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...
Short version on how it works:
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:
- Volume label ("should" be the same)
- Volume correctly dismounted
- Backup revision number
- Shadow set generation number
The shadow set generation number represents the time and event that caused the shadow set to change state. Such events are:
Addition of a volume
Removal of a volume due to HW error
Removal of volume by buser request
When entire shadowset is dismounted.
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 06:09 AM
тАО11-05-2003 06:09 AM
Re: Volume shadowing question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 02:50 PM
тАО11-05-2003 02:50 PM
Re: Volume shadowing question
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.
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.
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.
That said, you should avoid reducing any shadowset below 2 member
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 04:06 AM
тАО11-06-2003 04:06 AM
Re: Volume shadowing question
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 12:44 PM
тАО11-06-2003 12:44 PM
Re: Volume shadowing question
Basically, Shadowing has to present the same semantics as a JBOD to the world:
1) Reading the same blocks should always return the same data
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.
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).
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.
There's more info on the algorithms and their performance implications in my presentation on Volume Shadowing Merge & Copy Performance at http://www2.openvms.org/kparris/