Micro Focus Expert
Micro Focus Expert
68 views

(UCMDB Support Tip) - Agents have many /root/.discagnt/aioptionrc files with random 4 characters

ISSUE:

Agents have many /root/.discagnt/aioptionrc files with random 4 character extensions. 

This happens on the servers which have a shared home dir on a nfs drive.

This has caused Locked Scanner errors and scans failing.

It is happening when SSH was being used for scanning.

 

WORKAROUND:

When the home dir is on a shared nfs drive with a number of servers.

Also SSH is being used for the connection instead of UD agent.

Please change the following at the globalSettings.xml file in adapter management.

false

This setting needs to be changed to true.

What it would do - it would start adding the host name into the home path that is used to store agent options and scan files, etc.

This way each target would get a unique directory for its own files as intended.

The setting is documented here:

https://docs.microfocus.com/itom/Universal_Discovery_Content_Pack:2020.02/GlobalSetXml

Also, the following needs to be changed in such situations:

Modify the sudoer configuration to the following to get udscan to run under different home directories.

/home/udadm/.discagnt/*scan/home/udadm/.discagnt/*agentinstall.sh/home/udadm/.discagnt/*agentupgrade.sh/home/udadm/.discagnt*/.discagnt/*scan/home/udadm/.discagnt*/*agentinstall.sh/home/udadm/.discagnt*/.discagnt/*agentupgrade.sh

 

 

 

 

MICRO FOCUS Software Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please hit the Kudo botton, if you find this post useful.
Tags (1)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.