bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource

status 9618: resolved fixed
This commit is contained in:
anthony 2011-04-27 15:59:34 -07:00
parent bbc470ed4f
commit 2ebc943712
1 changed files with 2 additions and 0 deletions

View File

@ -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';