Networker

Re: [Networker] Post-client save script issue

2006-06-28 12:56:21
Subject: Re: [Networker] Post-client save script issue
From: Brett Monroe <mr.bmonroe AT GMAIL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 28 Jun 2006 09:52:12 -0700
Ahh, I see.  That make sence...I'm not sure why I though it would wait for
all clients to finish.  Thanks a bunch.

Thanks
--Brett

On 6/28/06, Stuart Whitby <swhitby AT dataprotectors.co DOT uk> wrote:

You're not doing anything wrong - the savepnpc script is designed to run
on the server it's running on and does not wait for other clients to finish.

What you *can* do to get around this is to use savepnpc to start a script
which will look for the nsrexec which talks to that other client, or look
for that client's nsrindexd -ADD process, then run further commands when
that process no longer exists.  Something along the lines of

while [ "X$( ps -ef | grep ADD | grep <client> )" = "X" ]
do
   sleep 60
done
   sleep 60         # to add extra time for any post-save cleanup
   <other commands that you want run on NW server after client save is
done>

HTH,

Stuart.

________________________________

From: Legato NetWorker discussion on behalf of Brett Monroe
Sent: Wed 28-Jun-06 16:43
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Post-client save script issue



Hey all,

I'm new to this group and am so relieved to find it.  I've been using
Networker for only about a year and a half now so please bear with me if I
ask stupid questions.  Here is my first one. :)

I have a backup group defined that has two clients associated to it.  One
client is for a filesystem on the server itself and the other is for a
filesystem on a remote client.  Now I'd like to run a post processing
script
via savpnpc on the server's client but only when the remote client has
finished backing up its filesystem (the servers fs finishes in a mater of
minutes and the remote can take a few hours).

Currently we have a number of servers set up in this exact same fashion
that
work great but I just set up two new groups on two different servers and
they both ran their savpnpc's post client script on the server when the
server's client finished (it did not wait for the other client to finish).
Am I doing something blindingly wrong here?  Am I providing enough
information?

For what its worth, I am using Networker 7.1.3 on Solaris 9.

Thanks,
--Brett

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type
"signoff networker" in the
body of the email. Please write to [email protected] you 
have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER





To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER