I have a couple of clients that i need to destroy. That means removing everything from networker relevant to this client. Indexes, client IDs, etc.
There are also a couple of clients that have been deleted from networker console, but their indexes and probably their client ids are still registered somewhere in networker. I need to remove these as well.
So how do i do this? I do not want to encounter a problem with duplicate client ids in the future if i ever needed to add those same clients again.
You need to delete the indexes, client id etc manually. You wont be able to delete the client id unless all the realted backup for this client is removed (expired) from mm.
I believe you should remove the client index directory manually after deleting the client in networker (either through Management Console or nsradmin), the client directory is normally located in /index/ unless overridden in the client config (index path).
It is properbly also wise to remove the location/directory where networker was installed on the client after uninstalling the client.
You dont need to delete old backups in order to remove a client. If you have done that it is fine as removing those backups will free up space in your filesystem.
You only have to delete the client in NMC, if you cant do that then it would be the time to remove it using nsradmin
Many thanks
David Pravia | Senior Networker Support | EMEA, Mon-Fri 08:00 - 16:30 GST
Seems you have received some really good information here.
In a nutshell a streamlined 10 step process have I have found to be successfull in deleting clients from NW is described below:
1. Perform a full bootstrap backup (if the NW Server is in the groupname TEST then a command line backup would besavegrp -l full -O -G TEST . Please ensure to record the ssid for that full bootstrap backup for future uses)
2. On the client stop nsr services (nsrexecd) . If the client will no longer be backed up by NW, you may consider uninstalling the binary or (on Windows Clients) just changing the Service startup to Manual or Disabled.
- On NW Server
3. delete the client in NMC 4. stop nsr services
5. delete the client's index folder (install_dir\nsr\index\client_name)
6. clear the cache by renaming \nsr\tmp\ folder to \nsr\tmp_old_todaysdate
7. start nsr services
8. temporarily set the Autostart function on all Groups to Disabled (it is best to perform the following when NW is idle)
9. run the following commands to verify, fix and purge the index and mdb records
nsrck -L6
nsrim -X
10. set the Autostart function on groups that was changed in step 8 back to Enabled.
It is my experience that the abovementioned process helps to prevent the possibility of corruption and conflicts after a client removal.
delete client and corresponding savesets once and for all howto
If name resolution for client isn't possible anymore create a dummy entry in /etc/hosts on networker server. If client has been deleted via NMC create it once again.
AA=hostname of Networker client to be deleted
execute on Networker server:
for xxx in `mminfo -av -r "ssid(53)" -c AA`; do nsrmm -d -S $xxx -y; echo $xxx; done
nsrck -YR AA rm -r /nsr/index/AA nsrim -c AA -X
after that delete client in NMC
if you have used software administration feature and clients is still in inventory list execute this:
nsradmin -d /nsr/res/cpdb print name: AA nsradmin> delete (answer with yes for each confirmation) nsradmin> quit
Daniea3
123 Posts
5404
0
Posted July 28th, 2010 03:00
You need to delete the indexes, client id etc manually. You wont be able to delete the client id unless all the realted backup for this client is removed (expired) from mm.
Regards,
Arun
.