bug 11393: insert agent.lb.enabled config parameter (if doesn't exist) as a part of db upgrade

status 11393: resolved fixed
This commit is contained in:
alena 2011-09-09 14:06:11 -07:00
parent f9b0962ad9
commit 5a67bfd7f0

View File

@ -13,3 +13,5 @@ ALTER IGNORE TABLE `cloud`.`user_vm_details` DROP FOREIGN KEY `fk_user_vm_detail
ALTER TABLE `cloud`.`user_vm_details` ADD CONSTRAINT `fk_user_vm_details__vm_id` FOREIGN KEY `fk_user_vm_details__vm_id`(`vm_id`) REFERENCES `vm_instance`(`id`) ON DELETE CASCADE;
DELETE FROM `cloud`.`configuration` where name='vmware.guest.nic.device.type';
INSERT IGNORE INTO configuration VALUES ('Advanced', 'DEFAULT', 'management-server', 'agent.lb.enabled', 'true', 'If agent load balancing enabled in cluster setup');