How Do I Fix the Error "The collector is not installed" When a Discovery Task Fails?
Symptom
After the MgC Agent and resource credential were associated, the deep collection failed, and the failure cause was "The collector is not installed."
Possible Causes
Possible causes are:
- The MgC Agent server's capacity is too small to run the collector. The recommended specifications are 4 vCPUs and 8 GB of memory.
- The collector was offline even though the MgC Agent server's capacity was sufficient.
Solutions
- The MgC Agent server's capacity is too small.
Upgrade the MgC Agent server's specifications or install the MgC Agent on a server with a larger capacity. Then perform a deep collection again.
- The collector was offline.
The following table lists the collectors integrated in the MgC Agent. The server collector is used as an example to explain the method, which applies to other collectors as well.
Collector
Collected Resource
Process
Installation Directory
rda-collector-platform
VMware-based private cloud platforms
rda-collector-platform.exe
<installation-path>\Edge\tools\plugins\collectors
rda-collector-server
Server
rda-collector-server.exe
rda-collector-kubernetes
Container
rda-collector-kubernetes.exe
- Restarting the Windows collector
- Go to the bin directory in the collector installation directory on the MgC Agent server, for example, C:\Edge\tools\plugins\collectors\rda-collector-server\bin.
- Double-click start.bat to start the server collector.
- Open Task Manager. On the details page, check the status of rda-collector-server.exe. If the status is Running, the collector is started.
- Return to the MgC console, locate the source resource, and click Collect Again in the Deep Collection column to collect the resource information again.
- Restarting the Linux collector
- Log in to the MgC console and check if the MgC Agent is executing any deep collection, intranet scanning, or VMware VM discovery tasks. If it is, perform subsequent operations after the tasks are complete.
- Log in to the Linux server where the MgC Agent is installed.
- Apply environment variables.
source /etc/profile
- Restart the MgC Agent.
bash /opt/cloud/Edge/scripts/start.sh
- Check whether the collector process runs properly.
ps -ef | grep -v grep | grep rda-collector-server
- Return to the MgC console, locate the source resource, and click Collect Again in the Deep Collection column to collect the resource information again.
- Restarting the Windows collector
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot