Git Product home page Git Product logo

perfsonar-testpoint-docker's Introduction

perfSONAR 4.X Testpoint docker container

NOTE: This now seems to be working. Testers needed. Please submit problems to: https://github.com/perfsonar/perfsonar-testpoint-docker/issues

The docker container runs all perfSONAR 4.x Services in the "Testpoint" bundle, as described at: http://docs.perfsonar.net/install_options.html

This can be used to run perfSONAR 4.x Testpoint services on any OS that supports docker.

Download the container:

docker pull perfsonar/testpoint

To register your perfSONAR testpoint, start a container shell, and edit the file /etc/perfsonar/lsregistrationdaemon.conf with the location and administrator information for your site.

If this host will be part of a centrally configured mesh, also edit the file /etc/perfsonar/meshconfig-agent.conf, and update the 'configuration_url'.

docker run -it perfsonar/testpoint /bin/bash

After editing the configuration files, exit the container and commit the change.

docker commit -m "added config settings" containerID perfsonar/testpoint

Run the container:

docker run --privileged -d --net=host perfsonar/testpoint

Systemd based container (optional)

Besides the default version based on supervisord, there is also a testpoint container based on systemd.

To run this version:

docker pull perfsonar/testpoint:systemd
docker run -d --net=host --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:ro perfsonar/testpoint:systemd

Or, build and run it using docker-compose:

docker-compose -f docker-compose.systemd.yml build
docker-compose -f docker-compose.systemd.yml up -d

Testing

Test the perfSONAR tools from another host with pscheduler and owamp installed:

owping hostname

pscheduler task clock --source hostname --dest localhost pscheduler task throughput --dest hostname

Troubleshooting

To get a shell in the Docker container on your host, run 'docker ps -a' to get your container ID, and then run:

docker exec -it containerID bash

Notes:

The perfSONAR hostname/IP is assumed to be the same as the base host. To use a different name/IP for the perfSONAR container, see: https://docs.docker.com/articles/networking/ It also assumes the base host is running NTP, and not running httpd, postgres, or anything else listening on the list of ports below.

Security:

make sure the following ports are allowed by the base host: pScheduler: 443 ; owamp:861, 8760-9960 See: http://www.perfsonar.net/deploy/security-considerations/

perfsonar-testpoint-docker's People

Contributors

arlake228 avatar bltierney avatar danielneto avatar laeti-tia avatar mfeit-internet2 avatar middelkoopt avatar rsubhamr 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.