Input parameters for the provision tool
Fill in all required parameters in input/provision_config.yml, input/provision_config_credentials.yml, input/software_config.json, and input/network_spec.yml.
Caution
Do not remove or comment any lines in the above mentioned .yml files.
Parameter |
Details |
|---|---|
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). |
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 value: |
default_lease_time
Required |
Default lease time for IPs assigned by DHCP. Range: 21600-86400 Default value: |
ntp_support
Required |
Caution In a restricted network or proxy environment, it is not recommended to set up an NTP server on the OIM due to potential failures in connecting to the public NTP pools. |
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 |
|
Note
The
input/provision_config_credentials.ymlfile is encrypted on the first execution of thediscovery_provision.ymlorlocal_repo.ymlplaybooks.To view the encrypted parameters:
ansible-vault view provision_config_credentials.yml --vault-password-file .provision_credential_vault_key
To edit the encrypted parameters:
ansible-vault edit provision_config_credentials.yml --vault-password-file .provision_credential_vault_key
Parameter |
Details |
|---|---|
cluster_os_type
Required |
|
cluster_os_version
Required |
|
repo_config
Required |
Note
|
softwares
Required |
Note The accepted names for software is taken from |
Network Name |
Parameters for the network |
Parameter details |
|---|---|---|
Note This name cannot be modified. This is mandatory for discovery and provisioning of the cluster nodes. |
nic_name
Mandatory |
The name of the NIC on which the administrative network is accessible to the OIM. |
netmask_bits
Mandatory |
The 32-bit “mask” used to divide an IP address into subnets and specify the network’s available hosts. |
|
static_range
Mandatory |
The static range of IPs to be provisioned on target nodes. |
|
dynamic_range
Mandatory |
The dynamic range of IPs to be provisioned on target nodes. |
|
correlation_to_admin
Mandatory |
|
|
admin_uncorrelated_node_start_ip
Optional |
|
|
network_gateway
Mandatory |
The network gateway IP is the assigned IP address of the NIC that connects a local network to external networks. |
|
DNS
Optional |
The IP of the extrernal DNS server. A DNS server, or Domain Name System server, translates domain names into IP addresses that computers use to identify each other on the network. |
|
MTU
Mandatory |
Maximum transmission unit (MTU) is a measurement in bytes of the largest data packets that an Internet-connected device can accept. |
|
Note This name cannot be modified. This is mandatory while using the BMC discovery mechanism. |
nic_name
Mandatory |
The name of the NIC on which the administrative network is accessible to the OIM. |
netmask_bits
Mandatory |
The 32-bit “mask” used to divide an IP address into subnets and specify the network’s available hosts. |
|
static_range
Mandatory |
The static range of IPs to be provisioned on target nodes. |
|
dynamic_range
Mandatory |
The dynamic range of IPs to be provisioned on target nodes. |
|
reassignment_to_static
Optional |
|
|
discover_ranges
Mandatory |
Note This is an optional field. User must not remove any of the fields even though it is optional. |
|
network_gateway
Mandatory |
The network gateway IP is the assigned IP address of the NIC that connects a local network to external networks. |
|
MTU
Mandatory |
Maximum transmission unit (MTU) is a measurement in bytes of the largest data packets that an Internet-connected device can accept. |
Note
If the
nic_nameis identical on both theadmin_networkand thebmc_network, it indicates a LOM setup. Otherwise, it’s a dedicated setup.BMC network details are not required when target nodes are discovered using a mapping file.
If
bmc_networkproperties are provided, target nodes will be discovered using the BMC method in addition to the methods whose details are explicitly provided inprovision_config.yml.The strings
admin_networkandbmc_networkin theinput/network_spec.ymlfile should not be edited. Also, the propertiesnic_name,static_range, anddynamic_rangecannot be edited on subsequent runs of the provision tool.netmask_bitsare mandatory and should be same for bothadmin_networkandbmc_network(that is, between 1 and 32; 1 and 32 are also acceptable values).
Caution
Do not assign the subnet 10.4.0.0/24 to any interfaces in the network as nerdctl uses it by default.
All provided network ranges and NIC IP addresses should be distinct with no overlap in the
input/network_spec.yml.Ensure that all the iDRACs are reachable from the OIM.
A sample of the input/network_spec.yml where nodes are discovered using a mapping file 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"
A sample of the input/network_spec.yml where nodes are discovered using BMC discovery mechanism is provided below:
---
Networks:
- admin_network:
nic_name: ""
netmask_bits: ""
static_range: ""
dynamic_range: ""
correlation_to_admin: true
admin_uncorrelated_node_start_ip: ""
network_gateway: ""
DNS: ""
MTU: ""
- bmc_network:
nic_name: "eno1"
netmask_bits: "16"
static_range: "10.3.0.1-10.3.0.200"
dynamic_range: "10.3.1.1-10.3.1.200"
reassignment_to_static: true
discover_ranges: ""
network_gateway: ""
MTU: "1500"
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.