Proxmox SDR Installation
SDR
Die scope7-Proxmox Appliance kann mit SDR (Secure Disaster Recovery) in den Auslieferungszustand zurückversetzt werden.
SDR besteht aus einem USB-Stick, der mit der Appliance mitgeliefer wird und sogenannten AppliPacks, welche die zu instalierende Software enthält. AppliPacks können einfach gegen neue Versionen der mitgelieferten Software oder gegen andere von SECUDOS gelieferten Softwareinstallationen ausgetauscht werden. Dazu wird das neue AppliPack von der Webseite heruntergeladen und als applipack.sdr auf den Stick gespeichert.
Um SDR zu starten muss die Appliance von dem SDR-Stick gebootet werden. Danach wird ohne weitere Interaktionen die Appliance neu installiert.
Alle auf der Appliance gespeicherten Daten gehen dabei verloren!
Das Booten des SDR-Sticks erfolgt normalerweise automatisch beim Hochfahren einer Appliance. Einige Appliances müssen über ein Boot-Menue konfiguriert werden um vom SDR-Stick zu booten. Der Aufruf des Boot-Menues erfolgt normalerweise durch Tastendruck F7.
Der erste Start der Appliance nach einer Installation dauert länger als normal und es wird immer noch (mindestens) ein Reboot erfolgen.
Proxmox Prekonfiguration
Die SDR-Installation für Proxmox bietet die Möglichkeit an eine Konfiguration für die Installation des Proxmox-Systems mit auf den SDR-Stick abzulegen. Damit kann die neue Installation mit einer individuellen Konfiguration erfolgen.
Dazu muss eine Datei namens pxbootup.cfg mit auf den SDR-Stick gespeichert werden. Der Aufbau der Datei ist wie folgt:
#
# PXRECONF configuration file
#
# PROXMOX system configuration set on first boot
#
global:
hostname: pxx # Hostname without domain
domain: landitec.de # Domain of the system
email: pxx@landitec.de # Root EMail address
timezone: Europe/Berlin # timezone
#
# Network
#
network:
dns:
search domain: landitec.de # Search Domain
server1 : 192.168.3.1 # DNS server 1
server2 : 192.168.3.1 # DNS server 2
server3 : 192.168.3.1 # DNS server 3
hosts: # additional hosts entries
- address: 10.2.2.2 # IP address
hostname: my.test.tld # canonical hostname
alias: my # alias
device: # Devices
- name: enport2 # ethernet port name
autostart: true # (optional) autostart bridge (default: true)
comment: Device # (optional) comment (default: "")
address: 192.168.3.5/24 # (optional) IPv4/netmask
gateway: 192.168.3.1 # (optional) IPv4 gateway
address6: fd9e:21a7:a92c:2323::11/7 # (optional) IPv6/netmask
gateway6: fd9e:21a7:a92c:2323::1 # (optional) IPv6 gateway
mtu: 1500 # (optional) maximum transmission unit (default: 1500)
linux-bridge: # Linux bridges
- name: vmbr0 # name must be vmbrX starting by 0
autostart: true # (optional) autostart bridge (default: true)
comment: Bridge # (optional) comment (default: "")
address: 192.168.3.5/24 # (optional) IPv4/netmask
gateway: 192.168.3.1 # (optional) IPv4 gateway
address6: fd9e:21a7:a92c:2323::11/7 # (optional) IPv6/netmask
gateway6: fd9e:21a7:a92c:2323::1 # (optional) IPv6 gateway
ports: enport1 # (optional) ethernet ports seperated by spaces
fd: 0 # (optional) bridge forward delay (default: 0)
vlan-aware: false # (optional) vlan aware bridge (default: false)
vids: 2-4094 # (optional) bridge port vids (default: "")
mtu: 1500 # (optional) maximum transmission unit (default: 1500)
linux-bond: # Linux bonds
- name: bond0 # name must be bondX starting by 0
autostart: true # (optional) autostart bond (default: true)
comment: Bond # (optional) comment (default: "")
address: 192.168.3.5/24 # (optional) IPv4/netmask
gateway: 192.168.3.1 # (optional) IPv4 gateway
address6: fd9e:21a7:a92c:2323::11/7 # (optional) IPv6/netmask
gateway6: fd9e:21a7:a92c:2323::1 # (optional) IPv6 gateway
mtu: 1500 # (optional) maximum transmission unit (default: 1500)
slaves: enport2 enport3 # (optional) ethernet ports seperated by spaces
mode: 802.3ad # (optional) balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb
hashpolicy: layer2 # (optional) layer2, layer3+4, layer2+3 (for balance-xor, 802.3ad)
primary: enport2 # (optional) primary port (for: active-backup)
# Either add the VLAN number to an existing interface name, or choose your own name and set the
# VLAN raw device (for the latter ifupdown1 supports vlanXY naming only)
linux-vlan: # Linux VLANs
- name: vlan0 # name must be vlanX starting by 0 or existing interface
autostart: true # (optional) autostart VLAN (default: true)
comment: VLAN # (optional) comment (default: "")
address: 192.168.3.5/24 # (optional) IPv4/netmask
gateway: 192.168.3.1 # (optional) IPv4 gateway
address6: fd9e:21a7:a92c:2323::11/7 # (optional) IPv6/netmask
gateway6: fd9e:21a7:a92c:2323::1 # (optional) IPv6 gateway
mtu: 1500 # (optional) maximum transmission unit (default: 1500)
raw device: enport2 # (optional) ethernet port
tag: 3 # (optional) VLAN tag
storage:
- name: zvmpool # name of storage
type: zfs # storage type: zfs, (lvm)
disks: nvme0n1 # disk devices, separated by spaces
raid: raidz # ZFS Raid level: raid10, raidz, raid2
compression: true # ZFS compression
ashift: 12 # ZFS ashift (default: 12)
thin: true # Thin provision
gallery:
address: 192.168.3.6/24 # (optional) IPv4/netmask
gateway: 192.168.3.1 # (optional) IPv4 gateway
address6: fd9e:21a7:a92c:2323::11/7 # (optional) IPv6/netmask
gateway6: fd9e:21a7:a92c:2323::1 # (optional) IPv6 gateway
bridge: vmbr0 # (optional) Bridge to attache network (default: vmbr0)
# Local Variables:
# mode: yaml
# End: