From 8a9b1f70b89a55290c42e10e33bb8e20ef765566 Mon Sep 17 00:00:00 2001 From: Sanjay Tripathi Date: Thu, 6 Feb 2014 17:42:14 +0530 Subject: [PATCH] CLOUDSTACK-5953: In hypervisor_capabilities, max_guests_limit are not correct for XS 6.2 or other specific version hypervisor. (cherry picked from commit bba6b77177a6404f1d27f7adc278b46fe00759f0) Signed-off-by: Animesh Chaturvedi --- setup/db/db/schema-421to430.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/db/schema-421to430.sql b/setup/db/db/schema-421to430.sql index 316cbe94613..43e94db1d80 100644 --- a/setup/db/db/schema-421to430.sql +++ b/setup/db/db/schema-421to430.sql @@ -828,6 +828,8 @@ CREATE TABLE `cloud`.`network_acl_item_details` ( ALTER TABLE `cloud`.`alert` ADD COLUMN `name` varchar(255) DEFAULT NULL COMMENT 'name of the alert'; +UPDATE `cloud`.`hypervisor_capabilities` set max_guests_limit='150' WHERE hypervisor_version='6.1.0'; +UPDATE `cloud`.`hypervisor_capabilities` set max_guests_limit='500' WHERE hypervisor_version='6.2.0'; UPDATE `cloud`.`hypervisor_capabilities` SET `max_data_volumes_limit`=13 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(), 'Hyperv', '6.2', 1024, 0, 64, 0);