Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] VDI affinity for SR #5385

Open
TristisOris opened this issue Jan 23, 2024 · 2 comments
Open

[feature request] VDI affinity for SR #5385

TristisOris opened this issue Jan 23, 2024 · 2 comments

Comments

@TristisOris
Copy link

Prioritise to choose VDI SR depend on storage class.

We have all-flash SR and HDD SR. High load and important VMs should run on flash storage, others on HDD.
At first time i can move all VDIs manually, but after any migration (especially batch migration) the default SR would be chosen.

Each pool have own dedicated physical SR: pool1 - hdd1, ssd1. pool2 - hdd2, ssd2, .. etc.
So when i (or load balancer, disaster recovery, etc) migrate any VM with ssd tag from pool1-ssd1 to pool2 - it automatically move VDI to ssd2 SR.

discusion https://xcp-ng.org/forum/topic/8252/tag-based-selection-for-multiple-vdi-storages

@MrGrymReaper
Copy link

This really could also be able to provide support for choosing VDI SR depending on not just storage class, but also other criteria.

@robhoes
Copy link
Member

robhoes commented Jan 31, 2024

The API for cross-pool storage migration, which is VM.migrate_send has an argument to map each VDI of the VM to an SR on the target pool. So a client, such as XenCenter or XenOrchestra, should be able to offer this choice to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants