GithubHelp home page GithubHelp logo

isabella232 / pg_jobmon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cfpb/pg_jobmon

0.0 0.0 0.0 25 KB

RPM Spec file for pg_jobmon

License: Creative Commons Zero v1.0 Universal

Shell 100.00%

pg_jobmon's Introduction

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

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy

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/#

pg_jobmon's People

Contributors

olivermel avatar tanderegg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.