How to create master-slave federation using cluster?

Please, describe the problem here and provide additional information below (if applicable) …

— I want to learn about the work flow of master-slave federation in cluster management

Versions of the related components and OS (frontend, hypervisors, VMs): I’m using KVM hypervisor, openNebula 5.6.2, ubuntu OS for physical system, tty-linux for VM.

Steps to reproduce: work-flow of cluster master-slave

Current results: I have noted down some steps. Please go through it and suggest me if I’m wrong.

  1. OS image download
  2. create VM template
  3. create Virtual network
  4. create new VM
  5. add resource like cluster, zone,hosts to newly created VM.
  6. in both the systems(suppose there are only 2 systems) in /etc/one/oned.conf file, I need to mention which is master, which is slave and zoneid(need to do vim /tmp/zone.tmpl also)
  7. restart opennebula and opennebula-sunstone and login, top right corner there will be view --> cloud, so there VM VNC will be there, new services also can be created there.

Expected results: A cluster management scenario , where 1 system should act as MAster system , and others as slave system.