"Block migraton" option on the VM´s Advanced tab
-
Hi, what exactly is the purpose of the "Block migration" setting on the Advanced tab of the VM configuration?

I tried to look it up in the documentation at https://docs.xen-orchestra.com, but I had no luck finding it there. Thank you in advance for the explanation.
-
@abudef You can't migrate VM's between hosts and Disks between storages.
-
@manilx Thanks, how simple! I confused myself by thinking of "Block" as a noun, not a verb imperative, being influenced by the NBD term

-
Ah yes I see, I wonder if we could make it more clear.
-
Pinging @thomas-dkmt
-
@abudef @olivierlambert @thomas-dkmt I agree. I read
blockthe same way... how about disable or prevent. (French? empêcher) -
Disable or prevent are indeed a lot better.
-
If I had my choice, Prevent Migration is more understandable.
Disable Migration, while it means the same thing, doesn't naturally come out of the English language.
-
Food for thoughts @thomas-dkmt
-
@olivierlambert @DustinB Thanks! It's always helpful to have a native speaker's perspective.
-
@thomas-dkmt said in "Block migraton" option on the VM´s Advanced tab:
@olivierlambert @DustinB Thanks! It's always helpful to have a native speaker's perspective.
Happy to help, worth noting that if a setting like this is enabled on a given VM, there should also be some sort of visual indication on the home screen of XO to annotate that these VMs won't move unless this is disabled.
-
-
@abudef The English translation is meant to be "Prevent Migration".
I think some lines were crossed ha.
-
@DustinB said in "Block migraton" option on the VM´s Advanced tab:
@abudef The English translation is meant to be "Prevent Migration".
I think some lines were crossed ha.
I agree it really needs to actually read "Prevent Migration", that will then make it pretty clear.
-
Looks to be correct on the current release of XO from Source and reads as "Prevent Migration"
-
Hi! Is there a VM parameter that saves this "Block migration" UI button?
I wasn't able to identify which one it is with command:
xe vm-param-list uuid=<VMuuid>Thank you!
-
I never remember the exact option myself, we should document it @thomas-dkmt
In the meantime, @Team-XAPI-Network can give the answer

-
@panzersrmm said in "Block migraton" option on the VM´s Advanced tab:
Hi! Is there a VM parameter that saves this "Block migration" UI button?
I wasn't able to identify which one it is with command:
xe vm-param-list uuid=<VMuuid>Thank you!
How do you mean? Is the XO option not persistent?
XO sets these parameters:
# xe vm-list uuid=$UUID params=blocked-operations blocked-operations (MRW) : pool_migrate: true; migrate_send: trueWhich you can set like this yourself:
# xe vm-param-set uuid=$UUID blocked-operations:migrate_send=true # xe vm-param-set uuid=$UUID blocked-operations:pool_migrate=true -
It is persistent but people usually want to modify it manually in some cases
Thanks @andriy.sultanov ! -
@andriy.sultanov said in "Block migraton" option on the VM´s Advanced tab:
@panzersrmm said in "Block migraton" option on the VM´s Advanced tab:
Hi! Is there a VM parameter that saves this "Block migration" UI button?
I wasn't able to identify which one it is with command:
xe vm-param-list uuid=<VMuuid>Thank you!
How do you mean? Is the XO option not persistent?
XO sets these parameters:
# xe vm-list uuid=$UUID params=blocked-operations blocked-operations (MRW) : pool_migrate: true; migrate_send: trueWhich you can set like this yourself:
# xe vm-param-set uuid=$UUID blocked-operations:migrate_send=true # xe vm-param-set uuid=$UUID blocked-operations:pool_migrate=true@andriy.sultanov Thank you for your answer! That's what I was looking for. I was looking directly at the VM parameters, with
xe vm-param-list uuid=$UUIDand I was directly searching for "blocked_migration". Now I know what to look for.
@olivierlambert Thank you for pinging the appropriate team for the answer.
-
P panzersrmm referenced this topic