proxmox-ve.md 2.0 KB


title: Proxmox VE breadcrumbs:

  • title: Configuration
  • title: Linux Server --- {% include header.md %}

Using

{:.no_toc}

  • Proxmox VE 6

Initial Setup

TODO

  1. See Debian Server: Initial Setup.
    • TODO: Differences.
  2. Setup the PVE repos (assuming no subscription):
    • In /etc/apt/sources.list.d/pve-enterprise.list, comment out the Enterprise repo.
    • In /etc/apt/sources.list, add the PVE No-Subscription repo. See Package Repositories.
    • Update the package index.
  3. Disable the console MOTD:
    • Disable pvebanner.service.
    • Clear or update /etc/issue (e.g. use use the logo).
  4. Disable IPv6 NDP (TODO Move to Debian?):
    • It's enabled on all bridges by default, meaning the node may become accessible to untrusted bridged networks even when no IPv4 or IPv6 addresses are specified.
    • TODO
    • Reboot (now or later) and make sure there's no unexpected neighbors (ip -6 n).

Setup SPICE Console

  1. In the VM hardware configuration, set the display to SPICE.
  2. Install the guest agent:
    • Linux: spice-vdagent
    • Windows: spice-guest-tools
  3. Install a SPICE compatible viewer on your client:
    • Linux: virt-viewer

Cluster

  • /etc/pve will get synchronized across all nodes.
  • High availability:
    • Clusters must be explicitly configured for HA.
    • Provides live migration.
    • Requires shared storage (e.h. Ceph).

Simple Setup

  1. Setup a management network for the cluster.
    • Either isolated or firewalled with internet access.
  2. Setup each node.
  3. Add each other host to each host's hostfile.
    • So that IP addresses can be more easily changed.
    • Use short hostnames, not FQDNs.
  4. Create the cluster on one of the nodes: pvecm create <name>
  5. Join the cluster on the other hosts: pvecm add <name>
  6. Check the status: pvecm status

High Availability Setup

Ceph

{% include footer.md %}