Tom,
We have run into something similar where the DEVCTRL/ONLINE utility terminated properly but the tape was not back online immediately. Vstore would start but assumed there was no tape mounted and ready. We ended up writing a short command file that looped for a few minutes until SHOWDEV showed that tape was ready e.g. "@7 AVAIL@(Nolabel)@1600@" pattern in Qedit. I can send you a copy if needed but it requires Qedit. I'm sure you could write one with something else.
So, the job would do:
:ONLINE 7
:DEV7OK
:VSTORE
Hope this helps.
_________________________________
François Desrochers
Speedware, QA Analyst
E-mail: [log in to unmask]
Web site: www.speedware.com
_________________________________
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of Tom Brandt
Sent: Tuesday, October 25, 2005 10:57 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] DDS back online after :STORE
Jeff,
Here is the relevant parts of my backup job. This uses a DDS with autoreply enabled for that device. It works fine. The only differences I see is that I don't have the "load=online" parameter in my devctrl command, and my version of ONLINE is different.
!DEVCTRL 7 COMPRESSION=ENABLE
!DEVCTRL 7 EJECT=DISABLE
!RUN BULDACCT.PUB.SYS;INFO="@"
!comment
!comment The file fulldate.jobs contains the last date a full backup was !comment performed. If does not exist, or if today is Monday, perform a !comment full backup.
!comment
!if hpday = 2 or (not (finfo("fulldate.jobs","exists"))) then ! STORE @[log in to unmask],@[log in to unmask]@[log in to unmask]@.SYS;*T;DIRECTORY;PROGRESS
! purge fulldate.jobs
! build fulldate.jobs;rec=-10,,f,ascii;disc=1
! file fulldate=fulldate.jobs,old;dev=disc
! setvar lastdate '!hpmonth' + '/' + '!hpdate' + '/' + '!hpyyyy'
! echo !lastdate>*fulldate
!else
! file fulldate=fulldate.jobs,old;dev=disc
! input lastdate<*fulldate
! STORE @[log in to unmask],@[log in to unmask]@[log in to unmask]@.SYS;*T;DIRECTORY;dates>=!lastdate;PROGRESS
!endif
!PURGE BULDJOB1
!PURGE BULDJOB2
!STREAM NETJSTRT.JOBS
!ONLINE 7
!DEVCTRL 7 EJECT=ENABLE
!VSTORE *T;@[log in to unmask]@;ONERR=QUIT
!DEVCTRL 7 EJECT=DISABLE
This is my online version:
ONLINE 97A Copyright (c) 1991 Allegro Consultants, Inc. (650) 369-2303
At 10:33 AM 10/25/2005, Jeff Kell wrote:
>I'm reasonably certain this has been asked before, and I've tried to
>follow some examples, but I'm at Witt's End. [There is a letter here.]
>
>I've tried to reincarnate our :VSTORE-after-:STORE method of backup and
>verify, but with autoreply set on the tape drive now. We've never used
>autoreply before (long story) and I'm having trouble with the sequence
>of events in the backup job that results in getting a tape request
>waiting for a reply, rather than finding the mounted tape. The guts of
>the job does this:
>
>>#tellop Backup job is beginning...
>>#devctrl.mpexl.telesup 7 compression=enable eject=disable load=online
>>#back7x24
>>#tellop Backup job is complete.
>>#pause 60
>>#tellop Verifying...
>>online.util.lps 7
>>#pause 30
>>#devctrl.mpexl.telesup 7 compression=enable eject=enable load=online
>>#vstore *backup;@[log in to unmask]@;progress=1
>
>I've tried this, as well as doing the devctrl before the
>online.util.lps, various pauses, and can't get a consistent result.
>More often than not, it doesn't work, and there is a reply pending in the morning for the vstore.
>
>The version of "online" is:
>
>>ONLINE A0a Copyright (c) 1991 Allegro Consultants, Inc. (408) 252-2330
>
>I tried without online at first, and threw it in there later in hopes
>it would help. It did, but still not consistently.
>
>Can anyone share their solution to achieve the desired result?
--
Tom Brandt
Northtech Systems, Inc.
130 S. 1st Street, Suite 220
Ann Arbor, MI 48104-1343
http://www.northtech.com/
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
Notice: This transmission is for the sole use of the intended recipient(s) and may contain information that is confidential and/or privileged. If you are not the intended recipient, please delete this transmission and any attachments and notify the sender by return email immediately. Any unauthorized review, use, disclosure or distribution is prohibited.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|