PG_JOBMON RPM built for RHEL 6.X
Description: This project to build an pg_jobmon spec file for building the pg_jobmon rpm package as an extension for Postgresql.
pg_jobmon is an extension to add the capability to log the progress of running functions and provide a limited monitoring capability to those logged functions
-
Technology stack:
When installed pg_jobmon will serve as an extension for Postgresql.
=======
Dependencies
The build process for the pg_jobmon rpm requires postgresql9.5-devel and postgresql9.5 (x86_64) packages.
You can check this link out if you don't have the postgresql9.5 packages on your system - http://tecadmin.net/install-postgresql-9-5-on-centos/#
And the package is intended for an x86_64 system.
Installation
Build RPM using Vagrant
1. The repo is cloned into a local sandbox
2. Run "vagrant up" to build the VM.
3. Run "vagrant ssh" to connect to VM.
4. Run rpmbuild -ba SPECS/pg_jobmon.spec --define 'pg_dir /usr/pgsql-9.5'--define '_suffix 95' to build the pg_jobmon rpm package.
Build RPM on server
1. Once repo is cloned, run "sh ./bootstrap.sh"
2. cd to ~/rpmbuild
3. Run rpmbuild -ba /SPECS/pg_jobmon.spec --define 'pg_dir /usr/pgsql-9.5' --define '_suffix 95'
Please note that "pg_dir" must be accessible in your environment path
Installing the RPM Install the built RPM by running "sudo yum install RPMS/x86_64/pg_jobmon95-1.3.1-1.el6.x86_64.rpm"
Configuration
Edit the SPEC file (SPEC/pg_jobmon.spec) to make necessary changes to the build configuration
=======
Usage
Please refer to the following links for usage details.
https://github.com/omniti-labs/pg_jobmon and
https://wiki.postgresql.org/images/0/08/Pgconfnyc2014_whenpgcantyoucan.pdf
Known issues
There is a compilation error that is displayed during the RPM build process.
This is corrected by setting the right path for pg_config
This is related to the build process and does not affect the usability of the package.
Getting help
If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.
Getting involved
For general instructions on how to contribute, please refer to CONTRIBUTING.
Open source licensing info
Credits and references
See below links
https://wiki.postgresql.org/images/0/08/Pgconfnyc2014_whenpgcantyoucan.pdf
https://github.com/omniti-labs/pg_jobmon
http://tecadmin.net/install-postgresql-9-5-on-centos/#