changed ansible config, disabled pxe

This commit is contained in:
Lucas Pleß 2020-01-12 14:39:37 +01:00
parent fd00e35dba
commit 7f7eac1d07
7 changed files with 64 additions and 6 deletions

View File

@ -7,3 +7,18 @@ ADD general Info for Cluster here
Enthält die Smart-Daten für die Festplatten in den Storage Servern, kann aber auch noch um weitere Daten erweitert werden. Die Daten können mit dem Skript blastor.sh, welches automatisch auf das einstecken neuer Platten reagiert, automatisch generiert und abgelegt werden.
Die Daten können anschließend mit dem Skript smartGUI.py durchsucht werden. Dafür muss "python3" und "python-support" installiert sein. Möglich ist sowohl eine Suche nach konkreten Seriennummern, als auch nach Mehreren Festplatten, die eine bestimmte Eigenschaft erfüllen.
## network
master server enp0s8 is WAN with DHCP-Client, it forwards traffic from LAN to WAN and does currently no NAT.
nodes network (LAN) (10.10.0.0/23) is on enp0s9
Nodes are configured from 10.10.0.100 and above
dhcp range is 10.10.1.1-10.10.1.250

View File

@ -9,3 +9,31 @@ network_interfaces:
nameservers:
- 1.1.1.1
- 1.0.0.1
telegraf_agent_version: 1.13.1
telegraf_agent_output:
- type: influxdb
config:
- urls = ["http://10.10.0.1:8086"]
- database = "telegraf"
- precision = "s"
- retention_policy = ""
- write_consistency = "any"
- timeout = "5s"
telegraf_plugins_default:
- plugin: cpu
config:
- percpu = true
- totalcpu = true
- fielddrop = [ "time_*" ]
- plugin: disk
config:
- ignore_fs = ["tmpfs", "devtmpfs", "cifs", "nfs"]
- plugin: diskio
- plugin: kernel
- plugin: mem
- plugin: processes
- plugin: swap
- plugin: system
- plugin: netstat
- plugin: net

View File

@ -6,3 +6,5 @@ sshkeys:
publish_ssh_key: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvyZgx/+b0YU+CqDXLPbgOoRmpiyKYDkAsfXMpZ+aKVCtGZzmg8OeIVUDv1lbq+qQwNl+fOi7/V+U8w7BpyVUSf5Pn+ld/+eQK1IgkjsDyfdsFiXr4stzCDjpOzRTs/fludZ4WXEtBRJ0IsfX6VJWU2xXBZKrgw62XnbUv/I0hzpckf9Ug9RsCOdS70FfrmRxh2rCEpVdukS4KNyq8MHkwIQM381k26wvsAH6fhNJucICeBIDzfcP61bg4zWLiKQ+q+5c4U7cRoz/N0G2FNOWwQHooQueVC7+SY3Vh2o9AGG2H+Lbrg03e5NSSUBJa2ixZM933evno1yniv/NiTYbGw== lucas@luwo
- name: blastor
publish_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFNMlzpRFjkANy1tVafcLpkidbu1GF8cmmJK8dTwMZY4 fabian@fabian-T460s
- name: rootmaster
publish_ssh_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzB14Kgqtq38jwO5xGpYEzbFnPVNNM16G782rGsM2hPNGBxgCIaQ5wTyLl5GCCGR7yQESmSphTpnTnh+pcw0QqvBvbxHrLe691lvkdUhXBnz3Y22sFu294D99+X8gZgm/cS6yXkb/Bq5upzKrUCFpKoMkiPT560OduxiyN+922fyVCUNcVsYyd+6YCZGj1kdzK/dsax99L9aOeYsCCe5s1717xIIK+MakT7o8nqv/mVuMrWiuhE6fJ6lgv1TXNhhJhxxd8aXIQlr0jXHCS89Lt7qNW/FnyTY5OqHHTqd02O/l82XRnnI9ASZqUfGD27EhWovB6cjibNbooYpwIfCbz root@master

View File

@ -1,6 +1,6 @@
# {{ ansible_managed }}
127.0.0.1 localhost localhost.localdomain {{ inventory_hostname }}
::1 localhost localhost.localdomain
127.0.0.1 {{ inventory_hostname }} localhost
::1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback

View File

@ -11,6 +11,7 @@
roles:
- { role: dresden-weekly.network-interfaces, tags: 'interfaces' }
- { role: hostname, tags: 'hostname' }
- { role: dj-wasabi.telegraf, tags: 'telegraf', become: yes }
remote_user: debian
become_method: su
become: true

View File

@ -9,4 +9,16 @@ include "/home/debian/hpc-cluster/dhcp/ctdo.conf";
```
configure dhcp server to only serve on second interface:
/etc/default/isc-dhcp-server
```
INTERFACESv4="enp0s9"
```
there is a node-js tool "Glass ISC-DHCP" available:
http://10.10.0.1:3000/

View File

@ -6,7 +6,7 @@ max-lease-time 7200;
ddns-update-style none;
authoritative;
filename "pxelinux.0";
#filename "pxelinux.0";
subnet 10.10.0.0 netmask 255.255.254.0 {
range 10.10.1.1 10.10.1.250;
@ -130,7 +130,7 @@ host node28 {
fixed-address 10.10.0.128;
}
host node29 {
hardware ethernet 00:30:48:bc:84:62;
hardware ethernet 00:30:48:bc:86:46;
fixed-address 10.10.0.129;
}
host node30 {