cloudstack/client/tomcatconf
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
..
catalina.policy.in Source code committed 2010-08-11 09:13:29 -07:00
catalina.properties.in Source code committed 2010-08-11 09:13:29 -07:00
classpath.conf.in Source code committed 2010-08-11 09:13:29 -07:00
commands.properties.in API changes for Bug 3316 - Manual live migration of Virtual Machines 2011-03-11 17:49:53 -08:00
components.xml.in Merge branch 'bareMetal' 2011-03-08 14:18:11 -08:00
context.xml.in Source code committed 2010-08-11 09:13:29 -07:00
db.properties.in Source code committed 2010-08-11 09:13:29 -07:00
ehcache.xml.in Source code committed 2010-08-11 09:13:29 -07:00
environment.properties.in Source code committed 2010-08-11 09:13:29 -07:00
log4j-cloud.xml.in Removed bad word from log4j config files. 2011-02-08 13:55:40 -08:00
logging.properties.in Source code committed 2010-08-11 09:13:29 -07:00
server.xml.in bug 6149: changed default AJP port to avoid random port assignment at startup. 2010-10-19 18:34:22 -07:00
tomcat-users.xml.in Source code committed 2010-08-11 09:13:29 -07:00
tomcat6.conf.in Enable JMX on tomcat config 2011-03-09 14:25:47 -08:00
web.xml.in Source code committed 2010-08-11 09:13:29 -07:00