Discover the Cluster Nodes
The discovery.yml playbook discovers the probable bare-metal cluster nodes. This playbook is dependent on inputs from the mapping file and the following input files:
/opt/omnia/input/project_default/provision_config.yml/opt/omnia/input/project_default/network_spec.yml
Configurations made by the discovery.yml playbook
Discovers all target servers.
Configures the boot script based on the functional groups.
Configures the cloud-init based on the functional groups.
Deploys iDRAC telemetry service on the service cluster.
Deploys LDMS on the service cluster.
Playbook execution
Prerequisites
Before running the discovery.yml playbook, ensure that the images are created for each functional group defined in the mapping file. To verify that the images are created, run the following command on the OIM:
s3cmd ls -Hr s3://boot-images
To deploy the Omnia provision tool, execute the following commands:
ssh omnia_core
cd /omnia/discovery
ansible-playbook discovery.yml
Note
After executing
discovery.ymlplaybook, you can check the log files available at/opt/omnia/logfor more information.To identify any issues on the node booted, check the
/var/log/cloud-init-output.log.Omnia does not track the OS installation on the target node. User has verify the installation status manually.
Ansible playbooks by default run concurrently on 5 nodes. To change this, update the
forksvalue inansible.cfgpresent in the respective playbook directory.While the
admin_nicon cluster nodes is configured by Omnia to be static, the public NIC IP address should be configured by user.All ports required by OpenCHAMI will be opened (For a complete list, see Omnia Ports).
After running
discovery.yml, the file/opt/omnia/input/project_default/omnia_config_credentials.ymlwill be encrypted. To edit the file, use the command:ansible-vault edit omnia_config_credentials.yml --vault-password-file .omnia_config_credentials_keyPost execution of
discovery.yml, IPs/hostnames cannot be re-assigned by changing the mapping file.
Caution
In case of any IP route conflict between Admin network and additional NIC (for example: Internet NIC), delete the Admin route or configure the IP route priority based on your cluster requirements.
If the internet connection is required on the target node, configure it after the node is booted.
To avoid breaking the password-less SSH channel on the OIM, do not run
ssh-keygencommands post execution ofdiscovery.ymlto create a new key.Do not delete the Omnia shared path or the NFS directory.
Next steps:
After successfully running the
discovery.ymlplaybook, you can either manually PXE boot the nodes or use theset_pxe_boot.ymlplaybook. PXE booting allows the nodes to load diskless images from the Omnia Infrastructure Manager (OIM). For detailed steps on usingset_pxe_boot.yml, see Set PXE Boot Order.Execute
telemetry.ymlto start the telemetry collection.
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.
