Inventory File Template

Template example

The host.ini file contains the inventory used by the various OCCNE deployment containers that will instantiate the OCCNE cluster.

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

Table B-14 OCCNE Variables

Var Name Description/Comment
occne_cluster_name Set to the OCCNE Cluster Name generated in step 2.1 above.
subnet_ipv4 Set to the subnet of the network used to assign IPs for OCCNE hosts
subnet_cidr Appears this is not used so does not need to be included. If it does need to be included, set to the cidr notation for the subnet. For example /24
netmask Set appropriately for the network used to assign IPs for OCCNE hosts.
broadcast_address Set appropriately for the network used to assign IPs for OCCNE hosts.
default_route Set to the IP of the TOR switch.
name_server 'none'
ntp_server Set to the IP of the TOR switch.
occne_repo_host Set to the hostname of the bootstrap host initially. This defaults to "bootstrap". It can remain as that value or the user can change it to their own specifications but they must adhere to hostname conventions.
occne_repo_host_address Set to the internal (ansible_host) IPv4 address of the occne_repo_host.
pxe_install_lights_out_usr Set to the user name configured for iLO admins on each host in the OCCNE Frame.
pxe_install_lights_out_passwd Set to the password configured for iLO admins on each host in the OCCNE Frame.
ilo_vlan_id Set to the VLAN ID of the ILO network For Ex: 2
ilo_subnet_ipv4 Set to the subnet of the ILO network used to assign IPs for Storage hosts
ilo_subnet_cidr Set to the cidr notation for the subnet. For example 24
ilo_netmask Set appropriately for the network used to assign ILO IPs for Storage hosts.
ilo_broadcast_address Set appropriately for the network used to assign ILO IPs for OCCNE hosts.
ilo_default_route Set to the ILO VIP of the TOR switch.
mgmt_vlan_id Set to the VLAN ID of the Management network For Ex: 4
mgmt_subnet_ipv4 Set to the subnet of the Management network used to assign IPs for Storage hosts
mgmt_subnet_cidr Set to the cidr notation for the Management subnet. For example 29
mgmt_netmask Set appropriately for the network used to assign Management IPs for Storage hosts.
mgmt_broadcast_address Set appropriately for the network used to assign Management IPs for Storage hosts.
mgmt_default_route Set to the Management VIP of the TOR switch.
signal_vlan_id Set to the VLAN ID of the Signalling network For Ex: 5
signal_subnet_ipv4 Set to the subnet of the Signalling network used to assign IPs for Storage hosts
signal_subnet_cidr Set to the cidr notation for the Signalling subnet. For example 29
signal_netmask Set appropriately for the network used to assign Signalling IPs for Storage hosts and MySQL SQL Node VM's.
signal_broadcast_address Set appropriately for the network used to assign Signalling IPs for Storage hosts and MySQL SQL Node VM's.
signal_default_route Set to the Signalling VIP of the TOR switch.
occne_snmp_notifier_destination Set to the address of SNMP trap receiver. For Ex: "127.0.0.1:162"