Files
proxmox-post-install/docs/04-architecture.md
Francesco Zimbolo 983688a388 Updated docs
2026-04-23 09:10:34 +00:00

1.4 KiB

04 - Pipeline Architecture

The deploy.yml playbook orchestrates the initialization via sequential phases utilizing include_role blocks to guarantee procedural execution order.

Phase 1: Repositories & Licensing (PVE 9 / Trixie)

Evaluates the pve_enterprise_key host variable per node. Complies with Debian Trixie standards by utilizing the deb822_repository module to write multi-line .sources configurations. Legacy .list files and unused Ceph repositories are aggressively purged to prevent APT cache duplication errors.

Phase 2: System Updates & JS Patches

Forces a dist-upgrade. Implements a regex replacement targeting proxmoxlib.js to nullify the ExtJS subscription prompt. Installs required DRBD headers. Checks for /var/run/reboot-required and issues a state-driven graceful reboot if necessary.

Phase 3: Proxmox Clustering (Skipped in Standalone Mode)

Generates 4096-bit RSA keys, constructs a full-mesh authorized_keys trust, and nullifies StrictHostKeyChecking for the defined subnets. Bootstraps Corosync via pvecm create on Node 01, followed by asynchronous pvecm add operations on worker nodes.

Phase 4: Linstor/DRBD Configuration (Conditional)

Wrapped in two feature flags (deploy_linstor and not is_standalone). Executes standard DRBD module loading, configures global LVM filters, sets up High Availability components, and injects backend parameters into /etc/pve/storage.cfg.