I have a project where I need to integrate ProxMox (a cluster made with 4 or 5 servers) with an external cloud management platform.
Some questions:
a) is possible, through api, to spawn up and down some new VMs based on a golden image? These VMs must use the golden image as base and "copied" to the node's local disks. Any example or docs about this?
b) as I have some services that are redundant by their nature (like mail MXs, DNS, ....) how can I ensure that these VMs are never executed on the same node? In example: dns1 and dns2 must always executed on different nodes, and never on the same. Only in case just one node is available, both VMs should be run toghether. These VMs must be stored on a GlusterFS by using libgfapi
c) is possible to set some VMs as not "redundant"? In example, all VMs created by software in step "a" must die if the node die. All VMs created in step "b" (i create them manually) must be protected and moved across the whole cluster.
d) We are using Gluster for both golden image hosting (standard fuse mount to read from) and shared image hosting. Gluster seems to be supported in ProxMox, but is possible to use the libgfapi for VMs and not the FUSE mount? Direct access by qemu through libgfapi is faster then fuse.
Some questions:
a) is possible, through api, to spawn up and down some new VMs based on a golden image? These VMs must use the golden image as base and "copied" to the node's local disks. Any example or docs about this?
b) as I have some services that are redundant by their nature (like mail MXs, DNS, ....) how can I ensure that these VMs are never executed on the same node? In example: dns1 and dns2 must always executed on different nodes, and never on the same. Only in case just one node is available, both VMs should be run toghether. These VMs must be stored on a GlusterFS by using libgfapi
c) is possible to set some VMs as not "redundant"? In example, all VMs created by software in step "a" must die if the node die. All VMs created in step "b" (i create them manually) must be protected and moved across the whole cluster.
d) We are using Gluster for both golden image hosting (standard fuse mount to read from) and shared image hosting. Gluster seems to be supported in ProxMox, but is possible to use the libgfapi for VMs and not the FUSE mount? Direct access by qemu through libgfapi is faster then fuse.