Inventory File Template
The
host.ini
file contains the inventory used by the various OCCNE deployment containers
that will instantiate the OCCNE cluster.
Template example
The inventory is composed of multiple groups (indicated by bracketed
strings):
- local: OCCNE ansible use. Do not modify.
- occne: list of servers in the OCCNE cluster that will be installed by the os_install container.
- k8s-cluster: list of servers in the kubernetes cluster.
- kube-master: list of servers that will be provisioned as kubernetes master nodes by the k8s_install container.
- kube-node: list of servers that will be provisioned as kubernetes worker nodes by the k8s_install container.
- etcd: list of servers that will be provisioned as part of kubernetes etcd cluster by the k8s_install container.
- data_store: list of servers that will be host the VMs of the MySQL database cluster, os_install container will install kvm on them.
- occne:vars: list of occne environment variables. Values for variables are required. See below for description.
OCCNE Variables
Variable | Definitions |
---|---|
occne_cluster_name | k8s cluster name |
nfs_host | IP address OS install nfs host (host running the os_install container) |
nfs_path | path to mounted OS install media on nfs host. This should always be set to /var/occne/ |
subnet_ipv4 | subnet of IP addresses available for hosts in the OCCNE cluster |
subnet_cidr | subnet_ipv4 in cidr notation format |
netmask | subnet_ipv4 netmask |
broadcast_address | broadcast address on the OCCNE cluster on which pxe server will listen |
default_route | default router in the OCCNE cluster |
next_server | IP address of TFTP server used for pxe boot (host running the os_install container) |
name_server | DNS name server for the OCCNE cluster |
ntp_server | NTP server for the OCCNE cluster |
http_proxy | HTTP Proxy server |
https_proxy | HTTPS Proxy server |
occne_private_registry | OCCNE private docker registry |
occne_private_registry_address | OCCNE private docker registry address |
occne_private_registry_port | OCCNE private docker registry port |
metallb_peer_address | address of the BGP router peer that metalLB connects to |
metallb_default_pool_protocol | protocol used to metalLB to announce allocated IP address |
metallb_default_pool_addresses | range of IP address to be allocated by metalLB from the default pool |
pxe_install_lights_out_usr | ILO user |
pxe_install_lights_out_passwd | ILO user password |
pxe_config_metrics_persist_size | (optional) Logical volume size for Metrics persistent storage, will override default of 500G |
pxe_config_es_data_persist_size | (optional) Logical volume size for ElasticSearch data persistent storage, will override default of 500G |
pxe_config_es_master_persist_size | (optional) Logical volume size for ElasticSearch master persistent storage, will override default of 500G |