The UI-backend components providing LDMS-SOS data access over HTTP.
2.8K
This image contains Web Service (UI back-end) components (based on Django) that provides LDMS-SOS data access over HTTP (served by uwsgi).
$ docker run -d --name=<CONTAINER_NAME> --network=host --privileged
-v /on-host/dsosd.conf:/opt/ovis/etc/dsosd.conf # dsosd.conf file, required to connect to dsosd
-v /on-host/settings.py:/opt/ovis/ui/sosgui/settings.py # sosdb-ui Django setting file
ovishpc/ldms-ui # the image name
[ --http-socket=<ADDR>:<PORT> ] # addr:port to serve, ":80" by default
[ OTHER uWSGI OPTIONS ]
ovishpc/ldms-ui execute uwsgi process with sosgui (the back-end
GUI WSGI module) application module. It is the only process in the container.
The uwsgi in this container by default will listen to port 80. The
--http-socket=ADDR:PORT will override this behavior. Other options given to
docker run will also be passed to the uwsgi command as well.
The sosgui WSGI application requires two configuration files:
dsosd.conf: containing a list of hostnames of dsosd, one per line. See
here for an example.settings.py: containing a WSGI application settings. Please pay attention
to DSOS_ROOT and DSOS_CONF. See here
for an example.## On a service node
# Pull the container image
$ docker pull ovishpc/ldms-ui
# Start ldms-ui container, using host network namespace
$ docker run -d --name=ui --network=host --privileged \
-v /HOST/dsosd.conf:/opt/ovis/etc/dsosd.conf \
-v /HOST/settings.py:/opt/ovis/ui/sosgui/settings.py \
ovishpc/ldms-ui
Content type
Image
Digest
sha256:a2b8628b0…
Size
555.2 MB
Last updated
4 months ago
docker pull ovishpc/ldms-web-svc