Networker

Re: [Networker] unexpected behaviour of savepnpc "timeout" value

2002-09-18 16:23:29
Subject: Re: [Networker] unexpected behaviour of savepnpc "timeout" value
From: "Mark Bradshaw (BTOpenWorld)" <notthehoople AT BTOPENWORLD DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 18 Sep 2002 21:32:55 +0100
Hi Nicole,

I've seen something similar which took a long time to fathom out. What we
were seeing was a saveset which was quietly hanging and not reporting that a
problem was being hit. Check all your savesets are reporting successful
completion in the savegroup log incase you've found the same problem.

In our case the "pstcmd" wasn't run until the timeout was hit because the
backup was still (sort of) running! It's just that NetWorker wasn't
reporting that there was a problem so it wasn't obvious.

Cheers

Mark

> Hi,
> I'm running Networker 5.5.1 on True64Unix 4.0f. I'm using the savepnpc
> command to run Oracle hot backup scripts before and after a backup
> happens on one of our Oracle machines.
>
> I have a file /nsr/res/oracle.res that looks like this:
> type: savepnpc;
> precmd: "/nsr/bin/oracle_backup.sh begin", "/bin/sleep 60";
> pstcmd: "/nsr/bin/oracle_backup.sh end", "/bin/sleep 5";
> timeout: "12:00pm";
>
>
> What I'm noticing is that my /nsr/bin/oracle_backup.sh runs when the backup
> starts (around 16:00), and the savegroup completion mail is sent around
> 4:30 AM, but the /nsr/bin/oracle_backup.sh script isn't run until 12:00.
>
> My understanding is that the pstcmd is supposed to run after the last
> saveset is completed, or when the timeout value is met.  Here is an
> excerpt from the savepnpc man page:
>
> "The pstcmd is to hold any commands that are needed to be run at the end of
> the save of the last save set.  The pst-processing commands will be run
> after the save of the last save set or the timeout condition, whichever
> comes first."
>
> Does anyone have any ideas as to why the pstcmd isn't being run at ~4:30AM
> when we get the savegroup completion email and it's waiting until 12:00?
> It seems like it used to work in the past.  I know we've added a lot
> more data to this machine, but that really shouldn't cause this problem.
>
> Thanks!
>
> Nicole Skyrca
> ClearBlue Technologies                   Phone: 315-453-2912 x5861
> 125 Elwood Davis Road                    Fax: 315-453-4594
> Syracuse, New York 13212
>
> --
> Note: To sign off this list, send a "signoff" command via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>