im
im copied to clipboard
Feature to request same type of VMs running in different physical nodes
I'm thinking of a new feature for IM: the possibility to request the virtual machines of a certain type of node are running in different physical nodes.
Suppose the following scenario: We have a distributed storage system well-configured with redundancy and deployed in HA. If all the VMs that compose the storage infrastructure are running in the same physical node and this node goes down, the storage will be lost. Thus, although the administrator configured the storage with redundancy, the storage can be lost.
Maybe a solution can be implemented as a new field in system specification at the RADL to indicate that the VMs of that type of node must be allocated in different (if it is possible) physical nodes. From the technical point of view, we can check the node affinity policies (https://docs.openstack.org/senlin/pike/scenarios/affinity.html).
Server Groups functionality is not implemented in Libcloud OpenStack driver, we should add it: Docs:
- https://docs.openstack.org/senlin/pike/scenarios/affinity.html
- https://docs.openstack.org/api-ref/compute/?expanded=create-server-group-detail#list-server-groups