Networker

Re: [Networker] How to delete a client file index?

2011-02-07 10:05:25
Subject: Re: [Networker] How to delete a client file index?
From: Len Philpot <Len.Philpot AT CLECO DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 7 Feb 2011 08:58:48 -0600
> George Sinclair 
> 
> I have some old clients that I want to remove from disk because they're 
> taking up space and licenses. I have their NSR client resource 
> information saved, including the clientid - not that I couldn't get that 

> from the media database - but just in case. I also have full backups of 
> their indexes. I don't need these anymore.
> 
> Can I just remove the NSR client resources from NMC and then run 'nsrck 
> -R -Y client'. Is that all I need to do? Is that the correct order?
> 
> Also, why not just run 'rm -rf client'. I mean, aside from the obvious 
> possibility for horrible mistype, does the nsrck command accomplish 
> anything more or better?
> 
> Even if NW was somehow trying to prune the index when you ran it, what 
> difference would it make if you don't need it anymore?

The few times I've done this (long ago*), I've was advised (by Sun 
support, back when they were still Sun and supported Networker :-/ ) to:

1. Delete the client from the management interface (nwadmin in those days)
2. Stop Networker
3. Delete, rename or move the client directory(s)
4. Restart Networker

* We seem to have the luxury of clients going away far too rarely... 
usually they're showing up instead  :-)

FWIW.

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 with 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

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