Highlighted
Absent Member.. Absent Member..
Absent Member..
917 views

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:

For example:

-hp-ud-agent-linux-x86.rpm

- Acstrust.cert

-Agentca.pem

-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

--isnative

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

 

For MacOS

Installation Files: /Library/StartupItems/HPDiscoveryAgent

 

For AIX

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.

"HP Support
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'
Labels (1)
Tags (1)
0 Likes
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.