Host Monitor Agent installation on Linux

Host Monitor Agent installation on Linux: In this article we will explain how we can install Host Monitor Agent on Linux database server. Here we will perform this activity on Oracle AVDF 20.10 version. In this article all IP Addresses blurred for security purpose.

Steps to Install Host Monitor Agent on Linux:

  1. Login AVDF Console as administrator user
  2. Download the Host Monitor Agent for Linux Platform
  3. Upload the downloaded file to the target Database server
  4. Unzip the Host Monitor Agent from root user on Target Database Server
  5. Install the Host Monitor agent
  6. Post Installation tasks
    • Transfer hmcsr.csr file to AVS Server
    • Generate a signed cert file
    • Transfer generated hmcert.crt file
    • Execute below commands as root on Target Database server
    • Execute below commands as root on Database Firewall server
  7. Check Host Monitor status from AVDF console

Login AVDF Console as administrator user:

Here in my case AVDF administrator user is avadmin.

Login AVDF Console as administrator user

Download the Host Monitor Agent for Linux Platform:

Go to the Agents tab then Downloads tab and click on Download for Linux server.

Download the Host Monitor Agent for Linux Platform

Upload the downloaded file to the target Database server:

Copy the downloaded agent-linux-x86-64-hmon-one.zip file to the target Database server.

Upload the downloaded file to the target Database server

Unzip the Host Monitor Agent from root user on Target Database Server:

Unzip the Host Monitor Agent from root user

Install the Host Monitor agent:

Go to the Agent home location and execute below command to install.

Install the Host Monitor agent

Post Installation tasks:

Transfer hmcsr.csr file to AVS Server:

Transfer /usr/local/hm/hmcsr.csr file to /usr/local/dbfw/etc directory of AVS Server (using root credential of AVS Server).

Transfer hmcsr.csr file to AVS Server
Generate a signed cert file:

At AVS Server, login as root and generate a signed cert by executing /usr/local/dbfw/bin/generate_casigned_hmcert.sh

Generate a signed cert file
Transfer generated hmcert.crt file:

Transfer generated hmcert.crt from AV Server to /usr/local/hm on this machine.

Transfer generated hmcert.crt file
Execute below commands as root on Target Database server:

As root,on this machine run –
a) chown root:root /usr/local/hm/hmcert.crt
b) chmod 400 /usr/local/hm/hmcert.crt

Execute below commands as root on Target Database server
Execute below commands as root on Database Firewall server:

To require a Signed Certificate for Host Monitor Connections to the Firewall

  1. At DBFW, login as root and run the following command:
    cp /usr/local/dbfw/etc/controller.crt /usr/local/dbfw/etc/fw_ca.crt
    chown arbiter:arbiter /usr/local/dbfw/etc/fw_ca.crt
    chmod 400 /usr/local/dbfw/etc/fw_ca.crt
    systemctl restart monitor
  2. Restart/start hostmonitor
    Successfully completed hostmonitor setup.
    Host Monitor is now installed.
Execute below commands as root on Database Firewall server

Check Host Monitor status from AVDF console:

Check Host Monitor status from AVDF console

Now Host Monitor Agent installation on Linux has been successfully completed…!!!

Click on below link for another AVDF related details…

I hope my written content will helped you. Your suggestions/feedback are most welcome from orakldba.com. Keep learning… Have a great day!!!
Please comment here for your any query related to above content. You can write to mail me through my Email.


Email :- orakldba@gmail.com
LinkedIn :- https://linkedin.com/in/prasantakirtaniya
Twitter :- https://twitter.com/prasantadba
Facebook Page :- https://www.facebook.com/orakldba
Website :- https://orakldba.com
ACE Profile :- https://ace.oracle.com/apex/ace/profile/prasantakirtaniya
Oracle Community :- https://community.oracle.com/customerconnect/profile/discussions/prasantakirtaniya

Leave a Comment