Project

General

Profile

The ungleich cdist trigger server guide » History » Version 1

Dominique Roux, 02/01/2019 10:30 AM

1 1 Dominique Roux
h1. The ungleich cdist trigger server guide
2
3
{{>toc}}
4
5
h2. What is cdist trigger server
6
7
The cdist trigger server can be used for autonomous configuration of hosts. Unlike the "normal" procedure of cdist, where a human being or a control server itself starts cdist for the configuration, the cdist trigger server waits until it gets triggered (therefore the name) by a host which wants to be configured. 
8
9
The trigger server takes the IP from the requester and first tries to resolve the IP to a FQDN (via the reverse zone). The FQDN (or the IP if reverse lookup didn't work out) is then used for the cdist configuration (same as @cdist config HOSTNAME@)
10
11
h2. Where do we use it
12
13
We at ungleich, we use the cdist trigger server currently for our server startup chain (See: [[The ungleich server OS setup]]
14
Where the netbooted server will trigger the trigger server and then gets fully configured.
15
16
h2. How to get
17
18
Cdist trigger server is currently in beta phase. This means you have to clone the repository ("cdist":github.com:ungleich/cdist.git) and checkout the beta branch
19
<pre>
20
git clone git@github.com:ungleich/cdist.git
21
cd cdist
22
git checkout beta
23
</pre>
24
25
h2. How to configure
26
27
The simplest usage is the following
28
29
<pre>
30
cdist trigger -b -H 3000 --ipv6
31
</pre>
32
33
This will start the server, listen on port 3000 and also enable IPv6
34
35
h2. Nice additional configurations
36
37
h2. Resources
38
39
# "cdist trigger man":https://www.nico.schottelius.org/software/cdist/man/beta/cdist-trigger.html
40
# "cdist preos man":https://www.nico.schottelius.org/software/cdist/man/beta/cdist-preos.html