Umm, -s for the nsrjb command specifies the controlling server when nsrjb
is run on a storage node. I believe you meant the nsr_shutdown command?
Does this command indeed kill all savegroups and saves but leave networker
up and running??
Robert Maiello
Thomson Healthcare
On Fri, 30 Jan 2004 14:17:00 -0600, Chad Smykay <csmykay AT RACKSPACE DOT COM>
wrote:
>What you probably want is the following command:
>
>"nsrjb -s"
>
> -s Terminates any savegrp(1) (and nsrexec(1)) pro-
> cesses.
>
>This would really be the best thing to do for ALL groups.
>
>Hope this helps
>
>
>Chad Smykay, RHCE, LCNA
>Systems Storage Administrator
>Rackspace Managed Hosting (TM)
>210-892-4025 ext 1603
>Cell: 210-273-2344
>
>-----Original Message-----
>From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT
>EDU] On
>Behalf Of Davina Treiber
>Sent: Friday, January 30, 2004 10:02 AM
>To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
>Subject: Re: [Networker] Stopping Groups from the command line
>
>Paul Hansson wrote:
>> Hello everyone,
>>
>> I am using NetWorker 6.2, running on Windows 2000 server, and I am try
>> to write a script which will gracefully close down NetWorker if the
>> power fails and my server goes onto UPS power.
>>
>> 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.
>>
>> I imagine that I cannot unload the tape while a group is running, and
>> so that will cause my whole script to fail, and leave NetWorker
>> running (and possible accessing the tape), when my UPS software shuts down
>the server.
>>
>> Has anyone got any ideas or pointers as to how I can achieve this?
>>
>
>You can do an nsradmin command such as:
>
>print type:NSR group
>update stop now: True
>
>--
>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.
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
>--
>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.
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|