Skip to content
Snippets Groups Projects
Commit bd485ef8 authored by ale's avatar ale
Browse files

add full cluster install procedure to README

parent f0b67dfa
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,46 @@ variable to what you've assigned to the cluster. The jobs will
automatically start as soon as the configuration is saved.
Full cluster install procedure
++++++++++++++++++++++++++++++
This assumes that you have an existing domain name (here
*example.com*) that you control, and that you will run the cluster
under a sub-domain (*radio.example.com*). Follow these steps to
bootstrap a new streaming cluster:
#. Make sure that, on each of your servers, the output of ``hostname
-f`` is the fully-qualified hostname of the machine, and that it
resolves to its public IP (possibly using ``/etc/hosts``).
#. On every server, run the above-mentioned steps to set up the APT
repository and install (do not configure) the ``etcd`` and
``radioai`` packages.
#. Pick one of your servers and add a delegation for
*radio.example.com* to it. For instance, with ``bind``::
radio IN NS 3600 machine1.example.com.
#. On *machine1*, edit ``/etc/default/etcd`` and set
``BOOTSTRAP=1``. Once you save the file, the ``etcd`` daemon will
start with an empty database.
#. On *machine1*, edit ``/etc/default/radioai`` and set
``DOMAIN=radio.example.com``. This will start the ``radiod`` and
``redirectord`` daemons, and you will be able to serve DNS records
for the *radio.example.com* zone. Check with::
$ ping -c1 radio.example.com
This should send a ping to *machine1*.
#. Set up all other machines, setting
``ETCD_SERVER=etcd.radio.example.com`` in ``/etc/default/etcd`` and
``DOMAIN=radio.example.com`` in ``/etc/default/radioai``.
Securing etcd
+++++++++++++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment