On Mon, Nov 26, 2012 at 4:06 AM, Mike McClurg <mike.mccl...@citrix.com>wrote:
> On 26/11/12 00:29, Black Bird wrote: > > I couldn't find the syntax you provided in the XS6.1 Admin Guide or the > > VM Users Guide so wouldn't have found found out without your help, so > > thanks. > > You're welcome. The docs team have been told to focus on documenting the > GUI, and not the CLI. This isn't ideal for XCP users, I know. > > > I tried the vdi-pool-migrate command which worked well with a VM running. > > > > I didn't try the new syntax for vm-migrate yet. Being able to move VMs > > live between pools (which would include single host pools), and to > > individual hosts within external pools, is a hugely useful capability > > for a number of reasons. The team which implemented this should be > > commended. > > You're welcome ;) I'll pass on your thanks to the rest of the team. > > Mike > > > So thanks again for your help. > > > > > > On Sat, Nov 24, 2012 at 1:40 AM, Mike McClurg <mike.mccl...@citrix.com > > <mailto:mike.mccl...@citrix.com>> wrote: > > > > On 23/11/12 13:20, Black Bird wrote: > > > reading the description of Storage XenMotion in the Xenserver VM > User > > > Guide, I get the impression that this function is only supported > > through > > > the use of XenCenter. > > > > > > Is there a way of achieving the same outcome using the command > line? > > > And should Storage XenMotion work on XCP or only on XenServer > > > Enterprise Edition? > > > > Storage XenMotion works on XCP, and can be executed from the command > > line or the XenAPI. > > > > The syntax for executing a storage motion from the command line is > 'xe > > vm-migrate remote-master=<network address> remote-user=<root> > > remote-password=<pass> vif=<vif uuid>:<remote network uuid> vdi=<vdi > > uuid>:<remote sr uuid> [destination-sr-uuid=<remote sr uuid>]'. If > you > > find that difficult to remember, try 'xe help vm-migrate'. > > > > It's also possible to move a VM's disks while the VM is running, > using > > the new command 'xe vdi-pool-migrate'. > > > > Mike > > > > > There's a team (Xenapi Admin Docs) that's working on writing manpages for all of the commandline utilities. The xe command has 361 subcommands and we're about 50 subcommands in currently. There's nothing public yet but we're working on it. Grant McWilliams http://grantmcwilliams.com/ Some people, when confronted with a problem, think "I know, I'll use Windows." Now they have two problems.
_______________________________________________ Xen-api mailing list Xen-api@lists.xen.org http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api