Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoradio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
autoradio
Commits
bd485ef8
Commit
bd485ef8
authored
11 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
add full cluster install procedure to README
parent
f0b67dfa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+40
-0
40 additions, 0 deletions
README.rst
with
40 additions
and
0 deletions
README.rst
+
40
−
0
View file @
bd485ef8
...
...
@@ -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
+++++++++++++
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment