# Ansible Inventory: LINSTOR on Proxmox VE 9 # # This is the complete inventory file for the example cluster described in: # "Ansible Inventory Groups for LINSTOR" # # Cluster summary: # - Two Proxmox VE 9 hosts with LINSTOR storage pools (combined node types) # - One Proxmox QDevice host without a LINSTOR storage pool (diskless satellite) # - Highly available (HA) LINSTOR controller service on both Proxmox hosts --- # LINSTOR controller nodes (combined node types) linstor_controllers: hosts: proxmox-0: ansible_host: 192.168.223.130 # Ansible communication linstor_ip: "{{ ansible_host }}" # LINSTOR management proxmox_ip: "{{ ansible_host }}" # Proxmox vmbr0 replication_ip: 192.168.222.130 # DRBD replication proxmox-1: ansible_host: 192.168.223.131 linstor_ip: "{{ ansible_host }}" proxmox_ip: "{{ ansible_host }}" replication_ip: 192.168.222.131 # Proxmox QDevice host (non-LINSTOR group) # Referenced as a child group of linstor_satellites # https://pve.proxmox.com/wiki/Cluster_Manager#_corosync_external_vote_support pve_qdevice: hosts: proxmox-qdevice: ansible_host: 192.168.223.138 linstor_ip: "{{ ansible_host }}" proxmox_ip: "{{ ansible_host }}" replication_ip: 192.168.222.138 # LINSTOR satellite nodes # Includes linstor_controllers as children (combined node types) # Includes pve_qdevice as children (diskless quorum node) linstor_satellites: children: linstor_controllers: pve_qdevice: # All LINSTOR cluster members linstor_cluster: children: linstor_controllers: linstor_satellites: # OPTIONAL: LINSTOR diskful/diskless satellite sub-groups # Replace the linstor_satellites group above with: # linstor_diskful_satellites: # children: # linstor_controllers: # # linstor_diskless_satellites: # children: # pve_qdevice: # # linstor_satellites: # children: # linstor_diskful_satellites: # linstor_diskless_satellites: # Shared cluster variables all: vars: linstor_sp: 'sp0' # Optional LINSTOR API call override to LINSTOR cluster member vs localhost # https://kb.linbit.com/linstor/linstor-python-api-client-installation/#using-a-linstor-cluster-node-as-the-ansible-control-node # linstor_api_delegate: "{{ groups['linstor_controllers'][0] }}" linstor_api_delegate: localhost linstor_storage_pools: - name: "{{ linstor_sp }}" type: lvmthin vg: drbdpool vg_thinpool: thinpool physical_devices: - /dev/nvme0n1 - /dev/nvme1n1 - /dev/nvme2n1 nodes: - proxmox-0 - proxmox-1