feat: manage mon loopback0 #285
2
hieradata/nodes/ausyd1nxvm2040.main.unkin.net.yaml
Normal file
2
hieradata/nodes/ausyd1nxvm2040.main.unkin.net.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.23.40 # ceph-public loopback
|
||||||
2
hieradata/nodes/ausyd1nxvm2041.main.unkin.net.yaml
Normal file
2
hieradata/nodes/ausyd1nxvm2041.main.unkin.net.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.23.41 # ceph-public loopback
|
||||||
2
hieradata/nodes/ausyd1nxvm2042.main.unkin.net.yaml
Normal file
2
hieradata/nodes/ausyd1nxvm2042.main.unkin.net.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.23.42 # ceph-public loopback
|
||||||
2
hieradata/nodes/ausyd1nxvm2043.main.unkin.net.yaml
Normal file
2
hieradata/nodes/ausyd1nxvm2043.main.unkin.net.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.23.43 # ceph-public loopback
|
||||||
2
hieradata/nodes/ausyd1nxvm2044.main.unkin.net.yaml
Normal file
2
hieradata/nodes/ausyd1nxvm2044.main.unkin.net.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
networking_loopback0_ip: 198.18.23.44 # ceph-public loopback
|
||||||
@ -1,17 +1,60 @@
|
|||||||
---
|
---
|
||||||
|
hiera_include:
|
||||||
|
- frrouting
|
||||||
|
|
||||||
|
# networking
|
||||||
|
systemd::manage_networkd: true
|
||||||
|
systemd::manage_all_network_files: true
|
||||||
|
networking::interfaces:
|
||||||
|
eth0:
|
||||||
|
type: physical
|
||||||
|
forwarding: true
|
||||||
|
dhcp: true
|
||||||
|
loopback0:
|
||||||
|
type: dummy
|
||||||
|
ipaddress: "%{hiera('networking_loopback0_ip')}" # ceph public network
|
||||||
|
netmask: 255.255.255.255
|
||||||
|
mtu: 1500
|
||||||
|
|
||||||
|
# frrouting
|
||||||
|
frrouting::ospfd_router_id: "%{facts.networking.ip}"
|
||||||
|
frrouting::ospfd_redistribute:
|
||||||
|
- connected
|
||||||
|
frrouting::ospfd_interfaces:
|
||||||
|
eth0:
|
||||||
|
area: 0.0.0.0
|
||||||
|
loopback0:
|
||||||
|
area: 0.0.0.0
|
||||||
|
frrouting::daemons:
|
||||||
|
ospfd: true
|
||||||
|
|
||||||
# additional repos
|
# additional repos
|
||||||
profiles::yum::global::repos:
|
profiles::yum::global::repos:
|
||||||
- ceph:
|
ceph:
|
||||||
name: ceph
|
name: ceph
|
||||||
descr: ceph repository
|
descr: ceph repository
|
||||||
target: /etc/yum.repos.d/ceph.repo
|
target: /etc/yum.repos.d/ceph.repo
|
||||||
baseurl: https://edgecache.query.consul/ceph/yum/el%{facts.os.release.major}/%{facts.os.architecture}
|
baseurl: https://edgecache.query.consul/ceph/yum/el%{facts.os.release.major}/%{facts.os.architecture}
|
||||||
gpgkey: https://download.ceph.com/keys/release.asc
|
gpgkey: https://download.ceph.com/keys/release.asc
|
||||||
mirrorlist: absent
|
mirrorlist: absent
|
||||||
- ceph-noarch:
|
ceph-noarch:
|
||||||
name: ceph-noarch
|
name: ceph-noarch
|
||||||
descr: ceph-noarch repository
|
descr: ceph-noarch repository
|
||||||
target: /etc/yum.repos.d/ceph-noarch.repo
|
target: /etc/yum.repos.d/ceph-noarch.repo
|
||||||
baseurl: https://edgecache.query.consul/ceph/yum/el%{facts.os.release.major}/noarch
|
baseurl: https://edgecache.query.consul/ceph/yum/el%{facts.os.release.major}/noarch
|
||||||
gpgkey: https://download.ceph.com/keys/release.asc
|
gpgkey: https://download.ceph.com/keys/release.asc
|
||||||
mirrorlist: absent
|
mirrorlist: absent
|
||||||
|
frr-extras:
|
||||||
|
name: frr-extras
|
||||||
|
descr: frr-extras repository
|
||||||
|
target: /etc/yum.repos.d/frr-extras.repo
|
||||||
|
baseurl: https://packagerepo.service.consul/frr/el9/extras-daily/%{facts.os.architecture}/os
|
||||||
|
gpgkey: https://packagerepo.service.consul/frr/el9/extras-daily/%{facts.os.architecture}/os/RPM-GPG-KEY-FRR
|
||||||
|
mirrorlist: absent
|
||||||
|
frr-stable:
|
||||||
|
name: frr-stable
|
||||||
|
descr: frr-stable repository
|
||||||
|
target: /etc/yum.repos.d/frr-stable.repo
|
||||||
|
baseurl: https://packagerepo.service.consul/frr/el9/stable-daily/%{facts.os.architecture}/os
|
||||||
|
gpgkey: https://packagerepo.service.consul/frr/el9/stable-daily/%{facts.os.architecture}/os/RPM-GPG-KEY-FRR
|
||||||
|
mirrorlist: absent
|
||||||
|
|||||||
0
hieradata/roles/ceph/mon.yaml
Normal file
0
hieradata/roles/ceph/mon.yaml
Normal file
Loading…
Reference in New Issue
Block a user