Alex Huang
|
3047929367
|
Merged
|
2013-05-10 16:21:43 -07:00 |
|
Min Chen
|
539824797c
|
Refactor listTemplatesCmd and listIsoCmd to use db view.
|
2013-04-19 16:10:09 -07:00 |
|
Devdeep Singh
|
21ce3befc8
|
Storage motion for Xenserver changes: 1. Implemented Api findStoragePoolsForMigration. Added a new response objects to list storage pools available for migration. 2. Updated migrateVolume api for allowing migrating volumes of running vms. These changes are integrated into the latest storage refactoring changes. 3. Added the implementation for findHostsForMigration api. It lists the hosts to which an instance can be migrated, including hosts from within and across clusters to which an instance may be migrated with storage motion. The work of migrating a volume of a running vm is also done in copyAsync. 4. Updated the listHosts api for backward compatibility. 5. Added the implementation for migrateVirtualMachineWithVolume api. It migrates an instance with its volumes within a cluster and also across clusters. Also introduced a new XenServerStorageMotionStrategy for migrating volumes of a vm. When a vm is being migrated with its volumes, the vm is put in migrating state and a request is send to the volume manager to migrate the vm and its volumes. Volume manager calls into the volume service which forwards the request to data motion service after moving all the volumes to migrating state. Data motion service enumerates the strategies and the request reaches the XenServerStorageMotionStrategy. It calls in to the resource to complete the operation. 6. Resolved an issue where storage xenmotion of 2nd VM created from the same template to a host was failing with duplicate_vm exception. Made changes to remove the mac_seed key value pair from other_config when vms are created. This is was storage motion to fail. 7. Updated the db upgrade schema script. 8. Added the right permissions in commands.properties 9. Marvin tests for testing storage motion. Following scenarios are tested. 9.1. A virtual machine is migrated to another host. Its volumes are also migrated to another storage pool. 9.2. Just the volumes of a vm are migrated to another storage pool while the vm continues to run on the same host. 10. Unit tests for testing migration of a vm with its volumes.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
|
2013-04-19 11:36:42 +05:30 |
|
Prachi Damle
|
3403b54773
|
Added AffinityGroup View in order to include VM details while listing AffinityGroups.
|
2013-04-11 13:23:23 -07:00 |
|
Prachi Damle
|
09a6eb735d
|
Changes to return affinity groups information during listVMsCmd
|
2013-04-11 13:23:20 -07:00 |
|
Min Chen
|
848fea6069
|
Add ListImageStoresCmd api.
|
2013-04-08 11:36:53 -07:00 |
|
Min Chen
|
a872d6d306
|
Renamed internal classes to use "imageStorexxx" instead of previous
"imageDataStorexxx". Add new addImageStoreCmd to use 3 image store
provider plugins.
|
2013-04-05 17:33:35 -07:00 |
|
Min Chen
|
7699485b4f
|
Create DB view for Image Data Store.
|
2013-04-05 11:18:33 -07:00 |
|
Min Chen
|
5147fb16ac
|
CLOUDSTACK-1253: Remove @author tag.
|
2013-02-15 10:42:06 -08:00 |
|
Min Chen
|
26be5ce2df
|
CLOUDSTACK-355: create DB view for ZoneResponse to fix count for
listZonesByCmd.
|
2013-01-22 16:39:45 -08:00 |
|
Min Chen
|
6e40c33628
|
CLOUDSTACK-355: create DB view for ServiceOfferingResponse to fix count
for ListServiceOfferingsCmd.
|
2013-01-21 15:25:49 -08:00 |
|
Min Chen
|
6db719d58b
|
CLOUDSTACK-355: Create DB view to fix count issue for
listDiskOfferingsCmd.
|
2013-01-21 10:50:10 -08:00 |
|
Min Chen
|
74c15a22a0
|
Create DB view for ListStoragePools API performance optimization.
Signed-off-by: Min Chen <min.chen@citrix.com>
|
2013-01-08 12:33:18 -08:00 |
|
Min Chen
|
daeb4abcca
|
Create DB views for AsyncJobResponse to speed up listAsyncJobsCmd.
Signed-off-by: Min Chen <min.chen@citrix.com>
|
2013-01-03 15:35:26 -08:00 |
|
Min Chen
|
ebfb90e217
|
Create DB view for Account to speed up ListAccountsCmd, and add missing async job information for some response objects.
Signed-off-by: Min Chen <min.chen@citrix.com>
|
2013-01-02 17:38:58 -08:00 |
|
Min Chen
|
21c1623a03
|
Create DB view for Volume to speed up ListVolumesCmd.
Signed-off-by: Min Chen <min.chen@citrix.com>
|
2012-12-25 17:08:50 -08:00 |
|
Min Chen
|
e7fa1a86fb
|
Create DB views to improve ListHostsCmd performance.
Signed-off-by: Min Chen <min.chen@citrix.com>
|
2012-12-22 21:47:05 -08:00 |
|
Min Chen
|
c167ad45e3
|
Move view based VO and Dao classes to cloud-server module to hide the
details from API client, also extract query related methods into
QueryService interface.
|
2012-12-14 10:47:58 -08:00 |
|