original scripts glued into one
authorMiloš Mulač <mulac@civ.zcu.cz>
Tue, 25 Mar 2008 12:39:09 +0000 (12:39 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Tue, 25 Mar 2008 12:39:09 +0000 (12:39 +0000)
org.glite.lb.server/config/glite-lb-migrate_db2transactions [moved from org.glite.lb.server/config/glite-lb-migrate_server_db2proxy_server_db with 100% similarity]
org.glite.lb.server/config/glite-lb-migrate_proxy_db2proxy_server_db [deleted file]

diff --git a/org.glite.lb.server/config/glite-lb-migrate_proxy_db2proxy_server_db b/org.glite.lb.server/config/glite-lb-migrate_proxy_db2proxy_server_db
deleted file mode 100644 (file)
index 25fe402..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# This script is intendent to be used to extend proxy database to 
-# to be able to hold both bkserver and lbproxy jobs.
-# The operation should be non-destructive, i.e. all data should persist
-# and continue to be fully usable.
-
-#!/bin/bash
-
-
-# add columns for job membership (proxy/server) flags
-mysql -u lbserver lbproxy -e "ALTER TABLE jobs ADD proxy bool not null"
-mysql -u lbserver lbproxy -e "ALTER TABLE jobs ADD server bool not null"
-
-# flag all jobs as proxy jobs
-mysql -u lbserver lbproxy -e "update jobs set proxy='1'"
-mysql -u lbserver lbproxy -e "update jobs set server='0'"
-
-# something more clever should come here
-#      - rename DB to lbserver20
-#      - or copy all fields to lbserver20 DB