Skip to main content

Runtime and lock management based on Postgres for VmShepherd

Project description



Provides plugin for ``VmShepherd`` - driver allows to store runtime data and lock management in postgres database.


Simply use ``pip``.


pip install vmshepherd-runtime-postgres-driver

Library requires (as well as VmShepherd itself) python 3.6 or later.


Install package (in the same environment as VmShepherd) and configure ``VmShepherd`` like:


# ...

driver: PostgresDriver
host: (hostname -f)
database: vmshepherd
user: vmshepherd
password: vmshepherd

# ...

Available config options

.. csv-table::
:header: "Name", "Type", "Description", "Default value"
:widths: 15, 10, 40, 10

"host", "string", "Postgres DB host.", ""
"port", "integer", "Postgres DB port.", "5432"
"database", "string", "Postgres DB name.", ""
"user", "string", "Postgres auth user.", ""
"password", "string", "Postgres auth password.", ""
"pool_size", "integer", "Postgres connection pool size.","2"


Run tests:


make test

Create local DB in docker and start vmshepherd:


make db
make develop


`Apache License 2.0 <LICENSE>`_


0.0.1 (2018-03-15)

* Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vmshepherd-runtime-postgres-driver-0.0.1.tar.gz (20.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page