- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Backup /NoAssist in Batch jobs.
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
тАО02-29-2008 08:42 AM
тАО02-29-2008 08:42 AM
Re: Backup /NoAssist in Batch jobs.
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 08:52 AM
тАО02-29-2008 08:52 AM
Re: Backup /NoAssist in Batch jobs.
it should be sufficient, to disable some operator classes on OPA0:. Backup sends this operator request to CENTRAL, DEVICES, TAPES and DISKS operator classes, so if you would issue a REPLY/DISABLE=(CENTRAL,DEVICES,TAPES,DISKS) on OPA0: you would still get the rest of the operator messages, but backup will fail/exit with %BACKUP-F-NOOPER.
You can set up an OPC$OPA0_CLASSES logical in SYLOGICALS.COM to specify the desired OPCOM class for OPA0: during startup.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 08:57 AM
тАО02-29-2008 08:57 AM
Re: Backup /NoAssist in Batch jobs.
One of the easiest ways to see if an operator is active (somewhere) in the cluster is:
REQUEST /REPLY "ignore me"
If that pauses, you have an operator. (You can then tailor that command to test for the operators enabled for the specific operator classes of interest, too.)
You could go look for operator flags on the devices, but that's (more) work.
Most folks disable the console as an operator (usually via SYLOGICALS.*, though also via the older DEFINE and REPLY/DISABLE two-step), but there are a number of systems with the console enabled as an operator.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 01:28 PM
тАО02-29-2008 01:28 PM
Re: Backup /NoAssist in Batch jobs.
$! Lists currently enabled opertor stations
$! V1.0 September 1987 Jess Goodman
$! V2.0 April 1993 Jess Goodman - Modified to use F$DEVICE
$ WRITE SYS$OUTPUT -
"Username Process Name PID Operator Terminal"
$LOOP:
$ DEVICE = F$DEVICE(,"TERM") !Check all terminal devices
$ IF DEVICE .NES. "" !At end of list?
$ THEN !No, check it
$ IF F$GETDVI( DEVICE, "OPR")
$ THEN
$ PID = F$GETDVI( DEVICE, "PID")
$ USERNAME = F$GETJPI( PID, "USERNAME")
$ PRCNAM = F$GETJPI( PID, "PRCNAM")
$ NC = F$LEN(PRCNAM)
$ PRCNAM[NC,18-NC] := " " !Blank fill
$ PORT = F$GETDVI( DEVICE, "TT_ACCPORNAM")
$ IF PORT.NES."" THEN PORT = "("+PORT+")"
$ DEVICE = F$GETDVI(DEVICE,"DEVNAM") - "_" !Get rid of _node
$ NC = F$LEN(DEVICE)
$ DEVICE[NC,9-NC] := " " !Blank fill
$ WRITE SYS$OUTPUT USERNAME, " ", PRCNAM, PID, " ",DEVICE, PORT
$ ENDIF
$ GOTO LOOP
$ ENDIF
$ EXIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2008 12:45 PM
тАО03-02-2008 12:45 PM
Re: Backup /NoAssist in Batch jobs.
Maybe I've missed something here... I can't figure out what you're trying to achieve or under what circumstances. I'm looking for the "big picture", not in terms of BACKUP return statii.
You're starting an unattended backup job, then something happens (?) and you want your procedure to respond (?)...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 04:57 AM
тАО03-03-2008 04:57 AM
Re: Backup /NoAssist in Batch jobs.
The basic problem is that; During a backup of multiple disks, running in batch, a Fatal Parity error occurs (which seems to be related to a bad tape, since it is reproducable using the same tape.). Instead of "bombing out", the backup command then goes to a
%BACKUP-E-FATALERR, fatal error on $2$MGA5:[]ND03.BCK;
-SYSTEM-F-PARITY, parity error
%BACKUP-I-OPERSPEC
%BACKUP-I-OPERASSIST, operator assistance has been requested
Of course, there is no Operator to respond to this, and even if there was, all they could probably do is to terminate the job.
My problem is/was that I couldn't use the "On Error..." syntax to trap the problem because the Backup Image is still running until the operator responds with a "quit". In addition, I couldn't get past the Operator Request, because the script is running in batch.
I am pleased to say that thanks to Volker's suggestion (define/user SYS$COMMAND OPA0:), I am now able to get past the Operator Request, and also use the "On ERROR..." syntax to trap the problem.
Since I am using an MSL5000 tape library, I can now have the script remove the defective tape, store it back in an available slot, grab and load a spare tape, and restart the backup at an appropriate place.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 05:10 AM
тАО03-03-2008 05:10 AM
Re: Backup /NoAssist in Batch jobs.
Define/User SYS$COMMAND OPA0:
This generates an Image dump as follows;
$ On ERROR then goto ERROR_CHECK
$!
$ Define/User Sys$Command OPA0
$ Backup -
/Image -
/NoAssist -
/NoCRC -
/Density=SDLT -
/Ignore=(Label,InterLock) -
DSA101: $2$MGA1:OpenVMS.Bck/Save_Set
%BACKUP-E-FATALERR, fatal error on $2$MGA1:[]OPENVMS.BCK;
-SYSTEM-F-PARITY, parity error
%BACKUP-F-ABORT, operator requested abort on fatal error
-RMS-E-FNF, file not found
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=0000000000000848, PC=00000000000F0ECC, PS=0000001B
Improperly handled condition, image exit forced.
Signal arguments: Number = 0000000000000005
: : :
: : :
SP = 000000007AE25AC0 PC = 00000000000F0ECC PS = 000000000000001B
%BACKUP-F-LABELERR, error in tape label processing on $2$MGA1:[]OPENVMS.BCK;
-SYSTEM-F-PARITY, parity error
$ ERROR_CHECK:
$!
$ Write sys$output $Severity," ",$Status
4 %X10A3810C
Although the Image dump is ugly, It does allow me to get to the ERROR_CHECK label where I can deal with the problem.
Thanks to all.
Dave
- « Previous
-
- 1
- 2
- Next »