Add hypervisor capability storage_motion_supported for VMware 5.0 and 5.1

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/11952812
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/11952812
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/11952812

Branch: refs/heads/vmware-storage-motion
Commit: 119528125dcf09b4e123bf68f31a1b4bc2065aea
Parents: 4da5afb
Author: Sateesh Chodapuneedi <sate...@apache.org>
Authored: Wed May 15 04:40:27 2013 +0530
Committer: Sateesh Chodapuneedi <sate...@apache.org>
Committed: Fri May 24 15:23:17 2013 +0530

----------------------------------------------------------------------
 setup/db/db/schema-410to420.sql |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/11952812/setup/db/db/schema-410to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql
index 885eff4..98c1740 100644
--- a/setup/db/db/schema-410to420.sql
+++ b/setup/db/db/schema-410to420.sql
@@ -27,6 +27,8 @@ ALTER TABLE `cloud`.`hypervisor_capabilities` ADD COLUMN 
`storage_motion_support
 UPDATE `cloud`.`hypervisor_capabilities` SET `max_hosts_per_cluster`=32 WHERE 
`hypervisor_type`='VMware';
 INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, 
hypervisor_version, max_guests_limit, security_group_enabled, 
max_data_volumes_limit, storage_motion_supported) VALUES (UUID(), 'XenServer', 
'6.1.0', 50, 1, 13, 1);
 INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, 
hypervisor_version, max_guests_limit, security_group_enabled, 
max_hosts_per_cluster) VALUES (UUID(), 'VMware', '5.1', 128, 0, 32);
+UPDATE `cloud`.`hypervisor_capabilities` SET `storage_motion_supported`=true 
WHERE id=16;
+UPDATE `cloud`.`hypervisor_capabilities` SET `storage_motion_supported`=true 
WHERE id=11;
 DELETE FROM `cloud`.`configuration` where name='vmware.percluster.host.max';
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 
'AgentManager', 'xen.nics.max', '7', 'Maximum allowed nics for Vms created on 
Xen');
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 
'management-server', 'midonet.apiserver.address', 'http://localhost:8081', 
'Specify the address at which the Midonet API server can be contacted (if using 
Midonet)');

Reply via email to