From 2ebc943712a9c440f8cefd0fe086623bcd259f10 Mon Sep 17 00:00:00 2001 From: anthony Date: Wed, 27 Apr 2011 15:59:34 -0700 Subject: [PATCH] bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource status 9618: resolved fixed --- setup/db/db/schema-222to224.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/db/schema-222to224.sql b/setup/db/db/schema-222to224.sql index f01df54b60f..f46ea3efb0a 100644 --- a/setup/db/db/schema-222to224.sql +++ b/setup/db/db/schema-222to224.sql @@ -153,6 +153,8 @@ ALTER TABLE `cloud`.`storage_pool` MODIFY COLUMN `uuid` varchar(255) UNIQUE; ALTER TABLE `cloud`.`user_statistics` DROP KEY `account_id`; ALTER TABLE `cloud`.`user_statistics` ADD UNIQUE KEY `account_id` (`account_id`,`data_center_id`, `public_ip_address`, `device_id`,`device_type`); +UPDATE `cloud`.`host` SET resource='com.cloud.hypervisor.xen.resource.XenServer56FP1Resource' WHERE resource='com.cloud.hypervisor.xen.resource.XenServer56FP1PremiumResource'; + UPDATE `cloud`.`vm_instance` SET ha_enabled=0 WHERE type='ConsoleProxy';