cloudstack/client
prachi ed9a11c6b6 API changes for Bug 3316 - Manual live migration of Virtual Machines
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer  will expose new API:
   Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService  will expose a new API:  UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)

------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
..
WEB-INF bug 3316: Added a processing message while migrating an instance. 2011-03-11 17:18:35 -08:00
bindir bug 8314 - Iptables is being appended with same set of rules again and again on each re-installation of the management 2011-02-03 11:39:13 -08:00
distro add missing files 2011-01-06 12:25:50 -05:00
tomcatconf API changes for Bug 3316 - Manual live migration of Virtual Machines 2011-03-11 17:49:53 -08:00
.classpath fixed all the broken thirdparty stuff 2011-01-31 10:51:01 -08:00
.project Source code committed 2010-08-11 09:13:29 -07:00