From 5116abbcc54880e0ee909012660dbfcd28f036de Mon Sep 17 00:00:00 2001 From: alena Date: Thu, 9 Jun 2011 17:19:04 -0700 Subject: [PATCH] DB upgrade merge from 224 branch --- 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 dafd73fbd74..4a2f1f87264 100644 --- a/setup/db/db/schema-222to224.sql +++ b/setup/db/db/schema-222to224.sql @@ -178,3 +178,5 @@ DROP TABLE `cloud`.`load_balancer`; UPDATE `cloud`.`nics` SET strategy='Create' where reserver_name='DirectNetworkGuru'; UPDATE storage_pool SET cluster_id=(SELECT cluster_id FROM host INNER JOIN storage_pool_host_ref WHERE host.id=storage_pool_host_ref.host_id AND storage_pool_host_ref.pool_id=storage_pool.id) WHERE pool_type='LVM'; + +UPDATE `cloud`.`service_offering` s, `cloud`.`disk_offering` d SET s.ha_enabled=1 where s.id=d.id and d.system_use=1