Modified: for 9.2.2
The SBC registration with the EMS for ISO-based Installation is automated through the Ansible playbook. Ansible playbooks are frameworks that automate tasks with limited or no human involvement. One or more Ansible tasks are combined to make a play. Two or more plays are combined to create an Ansible playbook.
The Ansible playbook feature automates the following processes:
This feature enables the Ansible playbook triggers from outside (centos/ubuntu/RHEL) where the Ansible is installed and auto-register the SBC to the EMS. This is for the special case where the EMS info injection through the configuration drive is not possible. For example, the ISO case.
The Ansible playbook to automate the SBC Registration with the EMS is supported only on the SWe platforms such as KVM/VMware.
Perform the following procedures to ensure the SBC auto-registers to the EMS after every reboot during an ISO-based installation:
Ensure every cluster contains a unique cluster-ID.
Use Generate ID option or use the cluster name to generate the cluster-ID.
Download the EMS registration interface MOP package and extract it.
Change the directory to 'ems-registration-interface' directory:
cd ems-registration-interface
Configure the ansible connection to the SBC in ansible.cfg.
inventory.
Run the playbook:
ansible-playbook registerToEMS.yml
Check the status on the EMS Console to make sure the SBC is registered and online.