backup01: new server

Pushing this now as it's an outage of our backups and I want to get it
going asap. It's only affecting backup01.

Add dhcp entries for backup01's mgmt and eth0 interface.
Use eth0 instead of eno1.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-03-06 14:10:43 -08:00
parent d98e32a15b
commit 4c378b075a
2 changed files with 21 additions and 10 deletions

View file

@ -4,18 +4,18 @@ dns1: 10.3.163.33
dns2: 10.3.163.34
dns_search1: "iad2.fedoraproject.org"
dns_search2: "fedoraproject.org"
eno1_ipv4: 10.3.163.40
eno1_ipv4_gw: 10.3.163.254
eno1_ipv4_nm: 24
eno1_mac: "{{ mac0 }}"
eth0_ipv4: 10.3.163.40
eth0_ipv4_gw: 10.3.163.254
eth0_ipv4_nm: 24
eth0_mac: "{{ mac0 }}"
grokmirror_topdir: /fedora_backups/grokmirror
has_ipv4: yes
mac0: ec:f4:bb:d2:76:a0
mac0: 6c:fe:54:57:4d:00
network_connections:
- autoconnect: yes
ip:
address:
- "{{ eno1_ipv4 }}/{{ eno1_ipv4_nm }}"
- "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}"
dhcp4: no
dns:
- "{{ dns1 }}"
@ -23,11 +23,12 @@ network_connections:
dns_search:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
gateway4: "{{ eno1_ipv4_gw }}"
mac: "{{ eno1_mac }}"
name: eno1
gateway4: "{{ eth0_ipv4_gw }}"
mac: "{{ eth0_mac }}"
name: eth0
state: up
type: ethernet
mtu: 9000
nrpe_procs_crit: 1400
nrpe_procs_warn: 1200
weblate_backup_topdir: /fedora_backups/misc/weblate

View file

@ -1503,7 +1503,7 @@ host vmhost-02-mgmt {
option host-name "vmhost-02-mgmt";
}
host backup-mgmt {
hardware ethernet 74:E6:E2:FB:4D:FC;
hardware ethernet C8:4B:D6:8A:39:CC;
fixed-address 10.3.160.59;
option host-name "backup01";
}
@ -1772,5 +1772,15 @@ host bvmhost-a64-16 {
option subnet-mask 255.255.255.0;
}
host backup01 {
hardware ethernet 6c:fe:54:57:4d:00;
fixed-address 10.3.163.40;
option host-name "backup01.iad2.fedoraproject.org";
filename "uefi/grubx64.efi";
next-server 10.3.163.10;
option routers 10.3.163.254;
option subnet-mask 255.255.255.0;
}
## End of file