wiki:SystemAdministration/Hosts/clarinvm.ics.muni.cz

Version 9 (modified by Willem Elbers, 9 years ago) (diff)

--

Services

  • Collectd
  • Docker
    • Containers
      • nginx proxy
      • docker registry (registry.clarin.eu)
      • nexus maven repoistory (nexus.clarin.eu)
      • influxdb + grafana, collectd metrics storager

Collectd

Reporting of statistics

LoadPlugin network
<Plugin network>
        Server "147.251.9.199" "8096"
</Plugin>

Services

Apache proxy

#Create
sudo docker \
    create \
    --name shibboleth-sp-proxy \
    --link nexus:nexus \
    -v /apache2/html/:/var/www/html \
    -v /apache2/accounts:/etc/apache2/accounts \
    -v /root/certstore/wildcard-clarin-eu:/etc/apache2/certs \
    -p 80:80 \
    -p 443:443 \
    docker.clarin.eu/shibboleth-catalog-sp:1.0.3

#Run
sudo docker start shibboleth-sp-proxy

Docker registry

sudo docker \
    create \
    --name registry2 \
    -p 172.17.42.1:5001:5000 \
    -v /srv/docker-registry:/var/lib/registry/ \
    registry:2.1.1

#Backup from docker registry volume container 
sudo docker run -ti --rm --volumes-from registry_volume -v /srv/docker-registry:/backup debian cp -r /srv/registry-data/docker/ /backup/