Veritas-bu

Re: [Veritas-bu] Terminate backup job after a specified amount oftime

2008-04-28 18:56:31
Subject: Re: [Veritas-bu] Terminate backup job after a specified amount oftime
From: "Reynolds, Susan K." <SUSAN.K.REYNOLDS AT saic DOT com>
To: <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Mon, 28 Apr 2008 15:34:26 -0700
Our admins executed a kill script when we were back on 5.0 and occasionally had hanging processes (especially on Linux and HP-UX boxes) that ate up CPU...they made it a cron job. [hanging processes have not been an issue in 6.0 and beyond for us] That's how they did it.


From: veritas-bu-bounces AT mailman.eng.auburn DOT edu on behalf of A Darren Dunham
Sent: Sun 4/27/2008 11:06 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Terminate backup job after a specified amount oftime

On Sat, Apr 26, 2008 at 05:42:59PM -0400, Larry Mascarenhas wrote:
> Hello,
>
> I have a scenario whereby after a specified amount of time (say 8
> hours), I would like to terminate the backup job. At this point, we're
> entering the market hours and backups need to be stopped. Is there any
> available methodology in Netbackup to interrupt the backups after
> specified amount of time / at a specified time?

Not that I'm aware of.

> If there isn't, I'm looking for pointers as to how to identify the
> parent job (Gui is too easy. I'm looking for command line to script it)
> and from there get the time. Any other way to do this?

It is available in bpdbjobs -all_columns output, but it's in the
variable section after field 32, so it's not the simplest to parse.

--
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>