UCMDB Support Tip: UNIX Systems Manual Agent Installation
What steps to follow when performing an UNIX manual Agent installation:
Step 1: Export the UD Agent installation files.
a. Go to Administration > Package Manager and export the UDAgentManagement archive file.
b. Extract the UD Agent installation file(s) that are appropriate for the platform of your discovery nodes from the following location in the archive file:
discoveryResources\ud_agents and the agentinstall.sh file.
c. Check the size of the files and if they are 0 or very small go to the Discovery Probe server itself \hp\UCMDB\DataFlowProbe\runtime\probeManager\discoveryResources\ud_agents
NOTE: The file name indicates the platform, the xml file will show the version and build of the UD agent.
Step 2.Export the certificates for the agent to use:
In Data Flow Management, go to Data Flow Probe Setup > Domains and Probes. In the relevant domain, select the UD protocol credential whose certificate you want to export, and click Export Public Certificates. There can be different certificates that can be used in different domains however, for better manageability, it is best to use one certificate across the board, at least for initial installations.
These files are: Acstrust.cert. This file is the public certificate file of the Data Flow Probe. And Agentca.pem. This file contains the public and private certificate file of the Universal Discovery Agent.
Step 3. Copy the platforms installation file and the certificates and the agentinstall.sh file to a dir on the remote system where you want to install the agent:
-agentinstall.sh should be in the same dir on the Linux system as an example under ./home/root/
Step 4: Logon to the system as root or root equivalent if you will be using sudo commands please review the HP uCMDB Data Flow Management Guide page 170.
Step 5: Make the agentinstall.sh file executable, “>chmod 755 agentinstall.sh” command can be used. There are a number of options that can be used with agentinstall.sh, please reference to page 184 of HP uCMDB Data Flow Management Guide for the options that can be used.
Step 6: The following command can be used to install the agent to its default locations with very limited options use:
./agentinstall.sh --port 2738 hp-ud-agent-linux-x86.rpm >install.log.
The agentinstall.sh file has options that you can set and use as below:
filename [--help] [--url0 ipaddress] [--url1 ipaddress] [--url2 ipaddress] [--port number] [--timeout
seconds] [--cert path] [--usage] [--softwareutilization] [--softwareutilizationonly] [--period days]
[--home path] [--upgrade] [--uninstall] [--clean] [--temp] [--user] [--group] packagename
You can find their explanations in the HP uCMDB Data Flow Management Guide pages 185-187
The default locations would be:
For Platforms: Linux/Solaris/HPUX/Unix
Installation Files: /opt/HP/Discovery
Utilization Data Files: $HOME/.discagnt/Perf ($HOME can be changed with the –Home option when installing the agent)
Unique ID: UD_UNIQUE_ID entry in $HOME/.discagnt/aioptionrc
Installation Files: /Library/StartupItems/HPDiscoveryAgent
Installation Files: /usr/lpp/HP/Discovery
Once the agent is installed you can use the commands to check if it is working or not. :
>ps –ef |grep discagnt (to check if the discagnt is working)
>netstat –an |grep 2738
(Check the port 2738 or 7738 if it is listening)
From the UCMDB UI - Data Flow Probe Setup - credentials -UDA -click on the credential and then right click, choose Check UD agent entering the IP of the device you have just installed the agent.
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."
Click the KUDOS star on the left to say 'Thanks'