Networker

[Networker] unexpected behaviour of savepnpc "timeout" value

2002-09-05 10:57:00
Subject: [Networker] unexpected behaviour of savepnpc "timeout" value
From: Nicole Skyrca <nskyrca AT APPLIEDTHEORY DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 5 Sep 2002 10:50:17 -0400
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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