Configuring Agents on Oracle Enterprise Manager 24ai
Step 01 - Check
./emctl status oms -details
Oracle Enterprise Manager 24ai Release 1
Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved.
Console Server Host : <redacted>
HTTP Console Port : 7788
HTTPS Console Port : 7803
HTTP Upload Port : 4889
HTTPS Upload Port : 4903
EM Instance Home : /home/u01/app/oracle/middleware_24ai/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /home/u01/app/oracle/middleware_24ai/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://<redacted>:7803/em
Upload URL: https://<redacted>:4903/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host : <redacted>
Admin Server HTTPS Port: 7102
Admin Server is RUNNING
Extended Domain Name : EMExtDomain1
Extended Admin Server Host : <redacted>
Extended Admin Server HTTPS Port: 7016
Extended Admin Server is RUNNING
Oracle Management Server Information
Managed Server Instance Name: EMGC_OMS1
Oracle Management Server Instance Host: <redacted>
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up
Step 02 - Add the '/etc/hosts' entry of the EM server to all the target servers.
Entry on all '/etc/hosts' of the target servers:
# EM_24ai
<ip-of-EM-server> <hostname-of-EM-server> <hostname-alias>
Step 03 - Add the '/etc/hosts' entry of the target servers to the EM server.
Entry on EM server:
#Server 1
<ip-of-server1> <hostname-of-server1> <hostname-alias>
#Server 2
<ip-of-server2> <hostname-of-server2> <hostname-alias>
#Server 3
<ip-of-server3> <hostname-of-server3> <hostname-alias>
#Server 4
<ip-of-server4> <hostname-of-server4> <hostname-alias>
Step 03 - Create a directory names EM_24AI_AGENT on all target servers. Give correct permission and ownership (to oracle user)
mkdir -p /u01/app/EM_24AI_Agent
chown oracle:oinstall /u01/app/EM_24AI_Agent
Step 04 - Log in to the Console and start configuring the agents
https://<EM-server-ip>:7803/em
1. Navigate to Setup > Add Target > Add Targets Manually
1. Navigate to Setup > Add Target > Add Targets Manually
2. Select Install Agent on Host
3. Select Add and enter the correct details of the target server
5. Use named credential and use the oracle users or the specific EM user’s credentials of the target server.
6. Add the correct entries
9. The agents are successfully configured and the hosts are successfully added to the EM for monitoring.
Refer the below guide on how to add databases to the EM:
Comments
Post a Comment