Virtualisation

Virtualisation enables running multiple operating systems on a single physical machine.

Clustering

After installing PVE on each node, log in to the first node, browse to Datacenter -> Cluster and click Create Cluster. Once complete, get Join Information and copy the Join Information.

Log in to each node, browse to Datacenter -> Cluster, click Join Information and paste the Join Information into the Join Information field. Once joined, you will manage the

Authentication

First ensure LDAP directory (Private) is ready, then browse to Datacenter -> Permissions -> Realms and click Add -> LDAP Server. Enter the following information:

  • Realm: peacehaven.carrier.family
  • Base Domain Name: dc=peacehaven,dc=carrier,dc=family
  • User Attribute Name: uid
  • Default: false
  • Server: store0.peacehaven.carrier.family
  • Fallback Server: ``
  • Port: Default
  • Mode: LDAPS
  • Verify Certificate: true
  • Require TFA: false
  • Comment: Peacehaven directory

Next, configure a sync job to keep the local user and group cache up to date. In the Realm Sync Jobs section, click Add and enter the following:

  • Realm: Peacehaven directory
  • Schedule: 21:00
  • Enable Job: true
  • Scope: Users and Groups
  • Enable New: Yes
  • Remove Vanished Options:
    • ACL: true
    • Entry: true
    • Properties: true
  • Job Comment: Sync entire Peacehaven directory

Now we need to create the groups in the directory and assign them permissions in PVE:

Group CNGroup descriptionPVE role
virt.adminFull administrators of the Proxmox VE clusterAdministrator
virt.image-buildAdminister VMs and images in the Proxmox VE clusterPVEVMAdmin, PVEDatastoreAdmin, PVESDNAdmin

Storage

Each node needs a ZFS zpool and dataset. Browse to each Datacenter -> node entry -> Disks -> ZFS and click Create: ZFS. Enter the following information:

  • Name: data
  • Add Storage: true
  • RAID Level: Mirror or an appropriate RAIDZ level
  • Compression: on
  • ashift: 12

Once complete, browse back to Datacenter -> Storage. Click Add -> ZFS and enter the following information:

  • ID: disks
  • ZFS Pool: data/disks
  • Content: Disk image, Container
  • Nodes: All (No restrictions)
  • Enable: true
  • Thin provision: false
  • Block Size: 8k

We won't be able to place content here until we additionally create a directory, so click Add -> Directory and enter the following information:

  • ID: data-disks
  • Directory: /data/disks
  • Content: Disk image, ISO image
  • Nodes: All (No restrictions)
  • Enable: true
  • Shared: false

Children
  1. Proxmox VE

Backlinks