How can I restore communication between Collector and Windows agent after reinstalling the Collector?
Problem
If you have reinstalled the Management, Indexer and Collector servers without restoring the configuration, you have 2 options to re-initialize the communication between the Collector and the Windows Filer agent:Solution
- Option A:
1. (Recommended option) Uninstall agent software from windows file server machine from “Add/Remove Programs control panel” and then carry out the “Add Windows File Server” option from console again.
2. If customer does not want to uninstall package from windows file server for some reason, perform the manual steps described in Option B.
- Option B:
1. Log into the windows file server with admin privileges.
2. Stop all data insight services.
3. Copy $data/keys/commd.keystore to a tmp location, e.g. C:\temp\commd.keystore. OR copy one from management server’s datafolder.
4. Delete all files/folders from $data folder except following:
$data/conf/register.conf
$data/conf/nodename.conf
5. Launch DataInsight/bin/RegisterWorkerNode.exe and register this node with the management sever using the commd.keystore file from step 3.
6. Next, log into the management console and select “Add->Windows File Server”. In this form, deselect the option “Let data Insight install agent automatically”. This will show a list of agents which are not associated with any file server. Select the one you just registered in step 5. Proceed with saving the filer.
7. Optionally, edit the filer from console and reselect the option “Let data insight install the agent automatically”.