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:
- Login AVDF Console as administrator user
- Download the Host Monitor Agent for Linux Platform
- Upload the downloaded file to the target Database server
- Unzip the Host Monitor Agent from root user on Target Database Server
- Install the Host Monitor agent
- 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
- Check Host Monitor status from AVDF console
Login AVDF Console as administrator user:
Here in my case AVDF administrator user is avadmin.
Download the Host Monitor Agent for Linux Platform:
Go to the Agents tab then Downloads tab and click on Download for Linux server.
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.
Unzip the Host Monitor Agent from root user on Target Database Server:
Install the Host Monitor agent:
Go to the Agent home location and execute below command to install.
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).
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
Transfer generated hmcert.crt file:
Transfer generated hmcert.crt from AV Server to /usr/local/hm on this machine.
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 Database Firewall server:
To require a Signed Certificate for Host Monitor Connections to the Firewall
- 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 - Restart/start hostmonitor
Successfully completed hostmonitor setup.
Host Monitor is now installed.
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…
- How to install Oracle Audit Vault Server
- How to install Oracle Database Firewall Server
- How to Register Database Firewall with Audit Vault Server
- How to install Audit Vault Agent on Linux
- How to install Host Monitor Agent on Linux
- How to Register a target database on AVDF console
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