Appendix C. Understanding the gluster_network_inventory.yml file

C.1. Configuration parameters for creation of gluster network

  • vars

    he_fqdn
    FQDN of the hosted engine VM
    he_admin_password
    Password for RHV Manager Administration Portal.
    datacenter_name
    RHV datacenter name. Usually Red Hat Hyperconverged Infrastructure for Virtualization deployment adds all 3 hosts to Default cluster in Default datacenter.
    cluster_name
    RHV cluster name.
    boot_protocol
    Whether to use DHCP or static networking. .
    version (optional)
    Whether to use IPv4 or IPv6 networking. v4 is the default, and is assumed if this parameter is omitted. The other valid value is v6. Mixed networks are not supported.
    mtu_value (optional)
    Specifies the Maximum Transmission Unit for the network, the largest packet or frame size that can be sent in a single transaction. The default value is 1500. Increasing this to 9000 on networks that support Jumbo frames greatly improves throughput.
  • cluster_nodes

    host
    Host’s public network FQDN, which is mentioned in Red Hat Virtualization Administration Portal.
    interface
    Network interface or the bond, corresponding to storage or backend network.

C.2. Example gluster_network_inventory.yml

all:
 hosts:
  localhost:
 vars:
  he_fqdn: rhv-manager.example.com
  he_admin_password: xxxxxxxxxx
  datacenter_name: Default
  cluster_name: Default
  boot_protocol: dhcp
  version: v4
  mtu_value: 9000

  # For dhcp boot_protocol
  cluster_nodes:
	- {host: host1-frontend.example.com, interface: eth1}
	- {host: host2-frontend.example.com, interface: eth1}
	- {host: host3-frontend.example.com, interface: eth1}