Saturday, January 6, 2018

Steps to add NFS/ZFS mount point to OEM monitoring


1.       Login to the server and check the nfs mount point using “df –h “:--

 []-->df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00      -- Local
/dev/sda1                                      -- Local
amxnfs02:/nfs                                                  --NFS
amxnfs02:/nfs                
amxp1zfs-data:/export               --ZFS         
                     

2.       Login to OEM console and search with the hostname by putting the hostname in “search target name

3.       Click on the target name mentioned as host in OEM



4.       Click on host >>> monitoring >>> metric and collection setting.
5.       Click on edit button of file system ;---




6.       Click on add button of the right end corner






7.       Then click on the search button and check the file system under current monitoring





Steps to add the NFS mount point in OEM :---



a.  Login to the server and check if the agent is running by “ ps –ef|grep emag”
b.  Check the status of the emagent and make sure that the target is GREEN in OEM  :---

c.  Step the agent in OEM by using emctl stop agent :--

 []-->./emctl stop agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Stopping agent ..... stopped.
[applmgr@amx:/u01/app/oracle/agent12c_new/core/12.1.0.5.0/bin]
[]-->

d.   Take the backup of the emd.properties file .

[applmgr@amx:/u01/app/oracle/agent12c_new/agent_inst/sysman/config]
[]-->cp emd.properties emd.properties_bkp_01052018
[applmgr@amx:/u01/app/oracle/agent12c_new/agent_inst/sysman/config]
[]-->

e.  Modify the emd.properties and add the parameter EM_MONITOR_ALL_DISKS=true and start the emagent.

[applmgr@amx:/u01/app/oracle/agent12c_new/agent_inst/sysman/config]
[]-->cat emd.properties|grep EM_MONITOR_ALL_DISKS
EM_MONITOR_ALL_DISKS=true
[applmgr@amx:/u01/app/oracle/agent12c_new/agent_inst/sysman/config]
[]-->

[applmgr@amx:/u01/app/oracle/agent12c_new/core/12.1.0.5.0/bin]
[]-->./emctl start agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Starting agent .................... started.
[applmgr@amx:/u01/app/oracle/agent12c_new/core/12.1.0.5.0/bin]
[]-->

f.  Uploaad the agent once after starting the agent

[]-->emctl upload agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
[applmgr@amx:/u01/app/oracle/agent12c_new/core/12.1.0.5.0/bin]
[]-->


g.  Click on enterprise (at left corner) >>>>  configuration >>>> Refresh host configuration .
h.  Re login  to OEM console and validate the changes same as Step 2 to Step 7 and it make take time to update the changes .
i.  Once the changes are affected need to add the NFS mount point to OEM with warning threshold as 20 and critical threshold as 5 and click on continue.





j.  Once clicked on continue , then clink on OK to save the changes and then click on OK to confirm the changes  .




No comments:

Post a Comment