Quickstart Docker Swarm

What is Docker Swarm Mode? A swarm is a cluster of Docker engines, or nodes, where you deploy services. What is a node? A node is an instance of the Docker engine participating in the swarm. You can also think of this as a Docker node. You can run one or more nodes on a single physical computer or cloud server, but production swarm deployments typically include Docker nodes distributed across multiple physical and cloud machines. ...

January 24, 2017 · 4 min · pixelchrome

Quickstart Guide How to Install Docker a Raspberry Pi

Docker on my Raspberry PI Cluster Installation See here https://docs.docker.com/engine/installation/linux/debian/ Purge any older repositories (not necessary with a clean, new debian installation) $ apt-get purge "lxc-docker*" $ apt-get purge "docker.io*" Update package information, ensure that APT works with the https method, and that CA certificates are installed. $ apt-get update $ apt-get install apt-transport-https ca-certificates gnupg2 Add the new GPG key. $ sudo apt-key adv \ --keyserver hkp://ha.pool.sks-keyservers.net:80 \ --recv-keys 58118E89F3A912897C070ADBF76221572C52609D Edit /etc/apt/sources.list.d/docker.list deb https://apt.dockerproject.org/repo debian-jessie main Verify that APT is pulling from the right repository. ...

January 6, 2017 · 2 min · pixelchrome

Quickstart Guide How to Install Ganglia on a Raspberry Pi Cluster

Masternode # sudo apt-get install ganglia-monitor ganglia-webfrontend # sudo cp /etc/ganglia-webfrontend/apache.conf /etc/apache2/sites-enabled/ganglia.conf Configuration Masternode # sudo vi /etc/ganglia/gmetad.conf Change data_source data_source "CluPi" 60 localhost # sudo vi /etc/ganglia/gmond.conf [...] cluster { name = "CluPi" ## use the name from gmetad.conf owner = "unspecified" latlong = "unspecified" url = "unspecified" } [...] udp_send_channel { #mcast_join = 239.2.11.71 host = 192.168.1.161 port = 8649 ttl = 1 } udp_recv_channel { #mcast_join = 239.2.11.71 port = 8649 #bind = 239.2.11.71 } Restart the services # sudo service ganglia-monitor restart # sudo service gmetad restart # sudo service apache2 restart Client Installation # sudo apt-get install -y ganglia-monitor Client Configuration # sudo vi /etc/ganglia/gmond.conf [...] cluster { name = "CluPi" ## Cluster name owner = "unspecified" latlong = "unspecified" url = "unspecified" [...] [...] udp_send_channel { #mcast_join = 239.2.11.71 ## Comment host = 1.1.1.1 ## IP address of master node port = 8649 ttl = 1 } [...] Comment out the udp_recv_channel section with /* ... */ ...

December 11, 2016 · 1 min · pixelchrome