Giter Club home page Giter Club logo

idproxy-ansible-role's Introduction

ID Resolver Proxy Ansible Role & Example Playbook

Install, configure, and load the resolver database for JScholarship Identifier Resolver Proxy.

The Identifier Resolving Proxy Server (IDproxy) acts as a proxy for content in JScholarship, the institutional repository of the Sheridan Libraries at Johns Hopkins University, and redirects to content that has been migrated from JScholarship into other service applications (e.g., the Lester S. Levy Sheetmusic Collection). The resolver also handles Shibboleth authentication, which makes it easier to make changes to the proxied DSpace instance and allows us to avoid directly connecting the DSpace server to the Internet.

Usage

  • $ ansible-playbook [--vault-password-file <vault-password-file>] [-K] -i <dataverse-host-name>, [-u <ssh-username>] idproxy.pb
  • e.g.: $ ansible-playbook --vault-password-file ~/.ansible/.vault-pw -K -i idproxy05.my.org, idproxy.pb

Notes

  • The comma after the hostname is needed if only one host is listed, which is probably the typical case.
  • This role currently requires CentOS 7 and deploys all services on the same machine.
  • Some content in this Ansible role is encrypted as Ansible Vaults.

Result

After completing this installation, you should have a working ID Proxy installation.

Mappings Files

  • The idproxy-load phase expects one or more files in the /files/resolver folder.
    • To be included in the resolution database, the filenames must end with mappings.txt (e.g., levy-id-mappings.txt).
    • The record structure for these files should be:
    • As new collections are migrated out of JScholarship, new mapping files can be added to this directory.

Adding a New Collection

  • Add a new rewrite rule to /templates/httpd/jhir.vhost.conf.j2 and /templates/httpd/ssl.conf.j2. This line can be added after the existing resolver rewrite lines in each of these files. For example, the mod_rewrite rule for the Levy collection is:
  • Add a mappings file to the /files/resolver folder.
  • TODO: Create a playbook to run just the idproxy-load phase to update the mappings database.

Key components

  • Shibboleth Service Provider
    • Configuration location: /etc/shibboleth
    • systemctl {start|stop|restart|status} shibd

  • Apache httpd
    • Configuration location: /usr/local/solr/example/solr/collection1/conf/schema.xml
    • systemctl {start|stop|restart|status} httpd

idproxy-ansible-role's People

Contributors

tdilauro avatar

Watchers

James Cloos avatar  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.