- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Monitoring shadow set merge status
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
тАО04-08-2008 11:49 AM
тАО04-08-2008 11:49 AM
We are developing a procedure whereby a spare third shadow set disk is mounted into the existing two disk shadow set on a fixed interval basis. Once fully merged, we then want to dismount/remount (private) the 3rd shadow set member and perform an archive backup on our ADSM server.
I need to find the correct lexical that would allow us to check the merge status so we can safely dismount it once complete. I have initially tried using SHDW_MBR_MERGE_DONE, but this ended up going into a loop.
$ If F$GETDVI("''SHAD3_DISK'","SHDW_MBR_MERGE_DONE") .NES. "TRUE" THEN GOTO SHADOW_BUILD_STATUS
Is there a better way to have the procedure informed as to when the merge is 100% complete... thanks John
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 12:26 PM
тАО04-08-2008 12:26 PM
Re: Monitoring shadow set merge status
That item code returns an integer, not a boolean.
-- Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 10:58 PM
тАО04-08-2008 10:58 PM
Solutionwhat you are describing is a shadow FULL COPY operation not a shadow MERGE. So you need to wait until the SHADOW COPY is done on the 3rd member, before removing it from the shadowset.
Depending on your version of OpenVMS, you may also want to familiarize yourself with the shadowing minicopy concept available since V7.3. This will greatly speed up bringing the 3rd member back into the shadowset.
The following F$GETDVI item codes would be of interest to you:
SHDW_MBR_COPY_DONE - The percent of the copy operation completed on this member unit
SHDW_CATCHUP_COPYING - TRUE or FALSE to indicate whether the device is a member that is the target of a full copy operation
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 11:01 PM
тАО04-08-2008 11:01 PM
Re: Monitoring shadow set merge status
But don't you need SHDW_MBR_COPY_DONE instead because a copy is done with adding a disk to the shadow set ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 11:08 PM
тАО04-08-2008 11:08 PM
Re: Monitoring shadow set merge status
here is an example:
$ sho dev dsa0
Device Device Error Volume Free Trans Mnt
Name Status Count Label Blocks Count Cnt
DSA0: Mounted 0 AXPVMSSYS 3211650 450 1
$1$DKA200: (PFRWIW) ShadowSetMember 0 (member of DSA0:)
$1$DKB200: (PFRWIW) ShadowCopying 0 (copy trgt DSA0: 11% copied)
$ write sys$output f$getdvi("$1DKB200:","SHDW_MBR_COPY_DONE")
14
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 06:04 AM
тАО04-09-2008 06:04 AM
Re: Monitoring shadow set merge status
I will take what you have given me and test it out shortly.
FYI The version of VMS is 7.3-2. As regards the issue with mini copy, the current plan would see the third disk remain dismounted for a week at a time before repeating the exercise. Being the system disk, I'm not sure if the weekly copy is a little overkill, but Buisness has demanded that schedule for the moment.
This whole business arrose out of a situation where the server would not boot off the existing two disk system shadow disk...too long a story for here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 11:19 AM
тАО04-09-2008 11:19 AM
Re: Monitoring shadow set merge status
If that is the purpose of the exercise, then wouldn't it be more prudent to have a snapshot of the state from the last know working boot? If the system isn't booted for extended periods of time, the startup files could have been changed, deleted, etc. and your weekly snapshot will be of an untested configuration.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2008 04:23 AM
тАО04-10-2008 04:23 AM
Re: Monitoring shadow set merge status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2008 08:38 AM
тАО04-10-2008 08:38 AM
Re: Monitoring shadow set merge status
What is the purpose of taking a weekly snapshot, and what is the source of the snapshot? If it is the running system, and it hasn't been booted since the last snapshot, you have no guarantee that the snapshot is bootable.
If the purpose is to take a system backup, then, in my opinion, doing it your way is better than a backup/ignore=interlock.
If your system generally stay up for > 1 week, then I would still reconsider using minicopy. It always takes less time to do minicopy than a full copy, even if 100% of the disk has to be copied, due to the copy algorithm used by full copy. After learning that, I have wondered why it wasn't possible to have a 100% dirty bitmap created for the full copy case.
I thought the implied purpose was to have a known good system disk that could be used in case the live system shadow set would not boot.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 09:15 AM
тАО05-06-2008 09:15 AM
Re: Monitoring shadow set merge status
The once-a-week copy pattern may have sounded like overkill, but this was simply an initial demand from business after the initial two day loss of access to this system. Any further loss of access beyond that point would have generated losses in the tens of millions...
Thanks again to all those who contributed to the thread.
John