Hi, The admin cannot select the SPM host. It is selected automatically.
On Tue, Oct 15, 2019 at 12:45 PM <[email protected]> wrote: > System currently has 1 DC, 1 cluster, 2 active hosts in cluster and 1 > domain. > > Host1 is SPM, through UI I can set Host2 to SPM, Host1 becomes Non-SPM > host. > > Through the SDK I can use > SpmBuilder spmBuilder = new SpmBuilder().priority(7); > sysService.hostsService().hostService(host.id > ()).update().host(host().spm(spmBuilder)).send(); > to update host SPM priority. > > I cannot find a way to use the SDK to change the Host to SPM mode > directly, despite using spm().status in a similar manner as above for the > priority. How can I achieve this? > > TIA > _______________________________________________ > Devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/[email protected]/message/RWO7O6WQUREVUU62GUREQVT7SH22Z6QA/ >
_______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/VE56HRGJ6NQUDGBRHZKK7LND6TXE24HG/
