2

I have Citrix XenServer 6.2 Is it possible to use the xe vm-migrate command without having a pool?

My command:

xe vm-migrate vm=movetest host=newhost --live --force

Error: Host newhost not found

Vince
  • 153
  • 1
  • 7
  • Tried with IP and Hostname for remote-master, took attention to correct spelling and correct copied uuid. Still got Error: No matching VMs found. but I found a [script](http://djlab.com/2013/01/migrate-a-xenserver-vm-without-a-pool-or-shared-storage/#comment-814) that did the trick: –  May 27 '15 at 14:03

1 Answers1

4
host= should be used when migrating to another host in the pool.
When migrating outside the pool(no pool) you should use these options:
remote-username=
remote-master=
remote-password=
Raboo
  • 93
  • 4
  • Yes, that works. `xe vm-migrate remote-master=xxx remote-username=xxx remote-password=xxx vm=xxx live=true force=true` Thank you :) – Vince Nov 26 '13 at 09:15
  • That does not seem to work unless you are in the same pool? Whatever I try, I always get a "could not find vm". Tried with vm or uuid, both fail. –  May 26 '15 at 11:36
  • That's strange.. It worked for me. Are you using a dns name or the ip address for `remote-master`? Please try both. And also check the correct spelling of your vm (don't know if case sensitive). – Vince May 26 '15 at 11:50