We want to use RDM datastores in our current production setup. We have several disks from our hypervisors and the idea is to use a RDM datastore for some specific internal VMs managed by the oneadmin user.
The question is about the scheduler, when we create a new image within a RDM datastore we should specify the PATH like:
PATH=/dev/sde
but this path should be available from any host in our setup? or is the scheduler able to detect which disks are available from each hypervisor? should we create a specific cluster for these kind of datastores?
I have another question also related with the DRM datastores.
It would be possible to specify the real disk path instead of the operating system device name? like:
This is a bit safer because the disk name could change, but the disk path prevails.
I have tried that but unfortunately the symbolic link from the hypervisor does match with the real disk path when the VM is deployed:
The scheduler wont check if the device exists or not in the destination host/datastore. It will just check if the destination match or not the sched requirements. As you said you can create a new cluster containing the hosts and datastores with these devices for managing this.
Thanks a lot for the reply. I think we found the issue with the path, the problem was the colons, we have to escape the colons to set correctly the path for libvirt. Somehow the destination link was truncated.