vitastor/docs/installation/proxmox.en.md

1.5 KiB

Documentation → Installation → Proxmox VE


Читать на русском

Proxmox VE

To enable Vitastor support in Proxmox Virtual Environment (6.4 and 7.1 are supported):

  • Add the corresponding Vitastor Debian repository into sources.list on Proxmox hosts (buster for 6.4, bullseye for 7.1)
  • Install vitastor-client, pve-qemu-kvm, pve-storage-vitastor (* or see note) packages from Vitastor repository
  • Define storage in /etc/pve/storage.cfg (see below)
  • Block network access from VMs to Vitastor network (to OSDs and etcd), because Vitastor doesn't support authentication
  • Restart pvedaemon: systemctl restart pvedaemon

/etc/pve/storage.cfg example (the only required option is vitastor_pool, all others are listed below with their default values):

vitastor: vitastor
    # pool to put new images into
    vitastor_pool testpool
    # path to the configuration file
    vitastor_config_path /etc/vitastor/vitastor.conf
    # etcd address(es), required only if missing in the configuration file
    vitastor_etcd_address 192.168.7.2:2379/v3
    # prefix for keys in etcd
    vitastor_etcd_prefix /vitastor
    # prefix for images
    vitastor_prefix pve/
    # use NBD mounter (only required for containers)
    vitastor_nbd 0

* Note: you can also manually copy patches/PVE_VitastorPlugin.pm to Proxmox hosts as /usr/share/perl5/PVE/Storage/Custom/VitastorPlugin.pm instead of installing pve-storage-vitastor.