OIM Cleanup
The oim_cleanup.yml playbook can be utilized to roll back any configurations made on the OIM.
Tasks performed by the playbook
The oim_cleanup.yml playbook performs the following tasks:
Clean up all containers, log files, and metadata on the OIM node.
Rollback the firewall ports on the OIM node to its default setting.
Playbook Execution
Use the below command to execute the playbook:
ssh omnia_core
cd /omnia/utils
ansible-playbook oim_cleanup.yml
Note
After running the oim_cleanup.yml playbook:
Reboot the OIM node to ensure all changes take effect.
The playbook does not remove data stored under the NFS
server_share_path(Seestorage_config.yml).Reusing the same
server_share_pathfor new deployments can cause deployment failures or inconsistent Kubernetes/Slurm behavior.For a fresh deployment, either manually clean this directory or use a new NFS export/path.
The
omnia_corecontainer is not removed byoim_cleanup.yml.To delete it, log in to the OIM node and run:
omnia.sh --uninstall
Caution
After a clean-up, when re-provisioning your cluster by re-running the
discovery.ymlplaybook, ensure to use a differentadmin_nic_subnetininput/provision_config.ymlto avoid a conflict with newly assigned servers. Alternatively, disable any OS available in theBoot Option Enable/Disablesection of your BIOS settings (BIOS Settings>Boot Settings>UEFI Boot Settings) on all target nodes.On subsequent runs of
discovery.yml, if users are unable to log into the server, refresh the ssh key manually and retry.ssh-keygen -R <node IP>
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.