Steps to enable Monitoring in Classic 19c GoldenGate


Steps to enable Monitoring in Classic 19c GoldenGate 


Performance Metric server short form is PMSRVR 

Performance Metric Server is available in GoldenGate classic from version 12c(12.1.3.x) .
Before this version we need to write our own shell scripts to monitor if GoldenGate process are running or in ABEND mode .
With Classic architecture and MicroServices Architecture in 12c on wards Oracle
has done great job of monitoring the GoldenGate with help of PMSRVR utility .
By default it is available in Microservices installation

There are different tools available for Monitoring the GoldenGate
1.Oracle Enterprise Manager plugg-in with Monitor Agent
2.Performance Metric Server

What is the use of PMSRVR ?
  • You can monitor it from Browser this means you don't need to login to GoldenGate server and check it 
  • GUI based tool 
  • Based on Berkeley DB which is a embedded key-value database libraries providing scalable high-performance data management services to applications.
 Some of the files important to PMSRVR
  • Resources it get it from /u02/ogg_trg/dirprm/pmsrvr-resources.dat'
  • config Path: /u02/ogg_trg/dirprm/pmsrvr-config.dat
  • global Path: /u02/ogg_trg/dirprm/global.dat

Now lets configure it 
 
Login to ggsci
1. GGSCI (ggate1) 40> edit param ,/GLOBALS

ENABLEMONITORING UDP HTTPPORT 9004
2.save the file

ENABLEMONITORING is the parameter
UDP is protocol and HTTPPORT is 9004 is in one line

Remember to stop mgr and exit ggsci  else it will not work !!!

ggsci > stop mgr
ggsci > exit
./ggsci
ggsci > start manager

3.Start other process
GGSCI (ggate1) 8> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                          
JAGENT      STOPPED                                          
PMSRVR      RUNNING                                          
EXTRACT     RUNNING     EXTINT      00:00:00      00:37:33   
EXTRACT     RUNNING     PINT        00:00:00      00:00:09   


Open the browser

To access the PMSRVR page, just navigate to http://hostname:port/groups
This is the landing page for checking the status

http://ggate:9004/groups



You can get more information with 
GGSCI (ggate1) 19> info PMSRVR

PM Server is Running (HTTP Port TCP:ggate1.9004, Process ID 11687, Datastore BDB)

GGSCI (ggate1) 30> status PMSRVR

PM Server is Running (HTTP Port TCP:ggate1.9004, Process ID 11687, Datastore BDB)



Here you come to know which Datastore it is using (BDB -
Berkeley DB which is a embedded key-value database ) so its fast and does not consume much memory of host .

You can also check the PMSRVR.log file for more information location is same as your ggserror.log 


[oracle@ggate1 ogg_trg]$ ls -lart *.log
-rw-r----- 1 oracle oinstall 80718 Jan 16 23:07 ggserr.log
-rw-r----- 1 oracle oinstall 23712 Jan 16 23:32 pmsrvr.log
[oracle@ggate1 ogg_trg]$ pwd
/u02/ogg_trg



Hope this help in monitoring the GoldenGate 19c Classic infrastructure .







Comments

Popular posts from this blog

Configuring GGSCI Command Security CMDSEC in GoldenGate 19c classic