I was afraid of that (re: setting browse/retention to 1 day)...
I am trying to figure out the commands and script to perform the manual
expiring of the existing savesets. Rather than expiring them, couldn't they
be just deleted using "nsrmm"?
Here's what I've been testing.
# mminfo -ot -q 'client=client_to_be_deleted' -r ssid | xargs -i nsrmm -v -S
{} -dy
I believe this deletes the media references, however I don't think it
eliminates the index references(?). Am I on the right track with this?
As was suggested, to remove the index directory, specifically you're
referring to (on Solaris) the directory /nsr/client_to_be_deleted, correct?
Can this be deleted while Networker is running, or would/should I shut down
Networker first? I suspect it should be shut first, but not HAVING to shut
it down would be nice too.
-Tom
On Fri, 4 Dec 2009 11:02:05 -0500, Francis Swasey <Frank.Swasey AT UVM DOT EDU>
wrote:
>On 12/4/09 8:49 AM, Tom Birkenbach wrote:
>> I want to do some cleanup and essentially purge some clients from
Networker. Ultimately, I wish to delete a client from Networker. However,
my concern is that if I simply delete the client, its index and other
references will remain. I suspect I would need to manually expire all the
savesets and THEN delete the client.
>>
>> Previously I would set the properties of the client to "Day" for browse
and retention, which is fine, but I'd like to do this without waiting a day.
>> Any thoughts or suggestions on how best to purge a client from Networker?
>
>
>To really purge the client, you will need to go out and manually expire
>all the existing savesets, and then remove the client definition, and
>then remove the index directory. If you change the browse/retention
>time to 1 day, that will not change the existing saveset's
>browse/retention time -- only new savesets will have the different
>browse/retention time.
>
>Sorry....
>
>--
>Frank Swasey | http://www.uvm.edu/~fcs
>Sr Systems Administrator | Always remember: You are UNIQUE,
>University of Vermont | just like everyone else.
> "I am not young enough to know everything." - Oscar Wilde (1854-1900)
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
|