Input parameters for the provision tool
Fill in all required parameters in input/provision_config.yml
, provision_config_credentials.yml
, input/software_config.json
.
Caution
Do not remove or comment any lines in the input/provision_config.yml
file.
Parameter |
Details |
---|---|
public_nic
Required |
The nic/ethernet card that is connected to the public internet. Default values: |
iso_file_path
Required |
Path where user has placed the iso image that needs to be provisioned on target nodes. Accepted files are Rocky8-DVD or RHEL-8.x-DVD (full OS). iso_file_path should contain the provision_os and provision_os_version values in the filename. Default values: |
node_name
Required |
Default values: |
domain_name
Required |
|
pxe_mapping_file_path
Optional |
|
enable_switch_based
Required |
Caution If
|
switch_based_details
Optional |
|
disk_partition
Optional |
Default values: |
timezone
Required |
Timezone to be used during OS provisioning. Available timezones are provided here. Choices:
|
language
Required |
Language to be used during OS provisioning. Default values: |
default_lease_time
Required |
Default lease time for IPs assigned by DHCP. Range: 21600-86400 Default values: |
ubuntu_kernel_flavor
Optional |
|
Parameter |
Details |
---|---|
provision_password
Required |
|
postgresdb_password
Required |
|
bmc_username
Required |
|
bmc_password
Required |
|
switch_snmp3_username
Optional |
|
switch_snmp3_password
Optional |
|
docker_username
Optional |
|
docker_password
Optional |
|
Parameter |
Details |
---|---|
cluster_os_type
Required |
Default value: |
cluster_os_version
Required |
|
repo_config
Required |
Note
|
softwares
Required |
Note The accepted names for software is taken from |
Update the input/network_spec.yml
file for all networks available for use by the control plane.
The following
admin_nic
details are mandatory:
nic_name
: The name of the NIC on which the administrative network is accessible to the control plane.
netmask_bits
: The 32-bit “mask” used to divide an IP address into subnets and specify the network’s available hosts.
static_range
: The static range of IPs to be provisioned on target nodes.
dynamic_range
: The dynamic range of IPs to be provisioned on target nodes.
correlation_to_admin
: Boolean value used to indicate whether all other networks specified in the file (eg:bmc_network
) should be correlated to the admin network. For eg: if a target node is assigned the IP xx.yy.0.5 on the admin network, it will be assigned the IP aa.bb.0.5 on the BMC network. This value is irrelevant when discovering nodes using a mapping file.
admin_uncorrelated_node_start_ip
: Ifcorrelation_to_admin
is set to true but correlated IPs are not available on non-admin networks, provide an IP within thestatic_range
of the admin network that can be used to assign admin static IPs to uncorrelated nodes. If this is empty, then the first IP in thestatic_range
of the admin network is taken by default. This value is irrelevant when discovering nodes using a mapping file.
CIDR
: Classless or Classless Inter-Domain Routing (CIDR) addresses use variable length subnet masking (VLSM) to alter the ratio between the network and host address bits in an IP address.
MTU
: Maximum transmission unit (MTU) is a measurement in bytes of the largest data packets that an Internet-connected device can accept.
DNS
: A DNS server is a computer equipped with a database that stores the public IP addresses linked to the domain names of websites, enabling users to reach websites using their IP addresses.
VLAN
: A 12-bit field that identifies a virtual LAN (VLAN) and specifies the VLAN that an Ethernet frame belongs to. This value is not supported on admin and bmc networks.If the
nic_name
is the same on both the admin_network and the bmc_network, a LOM setup is assumed.BMC network details are not required when target nodes are discovered using a mapping file.
If
bmc_network
properties are provided, target nodes will be discovered using the BMC method in addition to the methods whose details are explicitly provided inprovision_config.yml
.
Caution
Do not assign the subnet 10.4.0.0/24 to any interfaces in the network as nerdctl uses it by default.
If a DNS server is available on the network, ensure that the ranges provided in the
input/network_spec.yml
file do not include the IP ranges of the DNS server.All provided network ranges and nic IP addresses should be distinct with no overlap in the
input/network_spec.yml
.
A sample is provided below:
---
Networks:
- admin_network:
nic_name: "eno1"
netmask_bits: "16"
static_range: "10.5.0.1-10.5.0.200"
dynamic_range: "10.5.1.1-10.5.1.200"
correlation_to_admin: true
admin_uncorrelated_node_start_ip: "10.5.0.50"
network_gateway: ""
DNS: ""
MTU: "1500"
- bmc_network:
nic_name: ""
netmask_bits: ""
static_range: ""
dynamic_range: ""
reassignment_to_static: true
discover_ranges: ""
network_gateway: ""
MTU: "1500"
Note
The
input/provision_config_credentials.yml
file is encrypted on the first run of the provision tool:To view the encrypted parameters:
ansible-vault view provision_config_credentials.yml --vault-password-file .provision_vault_key
To edit the encrypted parameters:
ansible-vault edit provision_config_credentials.yml --vault-password-file .provision_vault_key
The strings
admin_network
andbmc_network
in theinput/network_spec.yml
file should not be edited. Also, the propertiesnic_name
,static_range
, anddynamic_range
cannot be edited on subsequent runs of the provision tool.Netmask bits are mandatory and should be same for both the
admin_network
andbmc_network
(ie between 1 and 32; 1 and 32 are acceptable values).Ensure that the CIDR is aligned with the
netmask_bits
provided.The
discover_ranges
property of thebmc_network
can accept multiple comma-separated ranges.The
VLAN
property is optional but should be between 0 and 4095 (0 and 4095 are not acceptable values).
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.