Networker

Re: [Networker] Stopping Groups from the command line

2004-01-30 11:27:06
Subject: Re: [Networker] Stopping Groups from the command line
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 30 Jan 2004 08:27:01 -0800
> > What I want to do is issue a command to stop any running groups, unload the
> > current volume, then stop the NetWorker service and finally shutdown my
> > server.
> >
> > Unloading the tape I can achieve with nsrjb, stopping the service I can
> > achieve with NET STOP, but how do I cancel any groups which may be running
> > prior to this.
>
> printf ". type:nsr group\nupdate stop now:true\n" | nsradmin -i -

Oops.  Just for completeness:  this will only stop groups that were
started from the scheduler or from a networker interface (gui or
nsradmin).  It will not stop any groups that were launched by running
'savegrp' directly.  If that were occuring, you'd have to find and kill
them explicitly.

--
Darren Dunham                                           ddunham AT taos DOT com
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

--
Note: To sign off this list, send a "signoff networker" 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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=