From 5e3921519ad99b25ae7625c84cafd4e72948ae10 Mon Sep 17 00:00:00 2001 From: Edison Su Date: Wed, 12 Sep 2012 20:47:20 -0700 Subject: [PATCH] CLOUDSTACK-57, CLOUDSTACK-14 remove unnecessary build/deploy folder, and add CAStorSDK-1.3.1-CS40.jar into rpm/deb build system Conflicts: debian/cloud-deps.install wscript_build --- build/build-cloud-plugins.xml | 1 - build/build-cloud.xml | 18 +- .../branding/default/images/favicon.ico | Bin 1406 -> 0 bytes .../branding/default/images/header_logo.gif | Bin 5319 -> 0 bytes .../branding/godaddy/images/header_logo.gif | Bin 3047 -> 0 bytes .../branding/nframe/images/header_logo.gif | Bin 2774 -> 0 bytes .../branding/superb/images/header_logo.gif | Bin 2837 -> 0 bytes build/deploy/db/deploy-db.sh | 126 ---- build/deploy/db/log4j.properties | 24 - build/deploy/deploy-agent.sh | 232 -------- build/deploy/deploy-console-proxy.sh | 90 --- build/deploy/deploy-server.sh | 121 ---- build/deploy/deploy-simulator.sh | 200 ------- build/deploy/install-storage-server.sh | 149 ----- build/deploy/install.sh | 155 ----- .../consoleproxy/conf/consoleproxy.properties | 23 - .../deploy/production/db/server-setup-dev.xml | 550 ------------------ build/deploy/production/db/templates-dev.sql | 30 - .../premium/conf/log4j-cloud_usage.xml | 85 --- .../conf/log4j-cloud_usage.xml.template | 85 --- .../premium/conf/usage-components.xml | 67 --- .../server/conf/agent-update.properties | 18 - .../server/conf/cloud-localhost.pk12 | Bin 1597 -> 0 bytes .../deploy/production/server/conf/ehcache.xml | 544 ----------------- .../production/server/conf/log4j-cloud.xml | 131 ----- .../server/conf/log4j-cloud.xml.template | 107 ---- .../deploy/production/server/conf/server.xml | 149 ----- build/package.xml | 23 - cloud.spec | 1 + 29 files changed, 2 insertions(+), 2927 deletions(-) delete mode 100644 build/deploy/branding/default/images/favicon.ico delete mode 100644 build/deploy/branding/default/images/header_logo.gif delete mode 100644 build/deploy/branding/godaddy/images/header_logo.gif delete mode 100644 build/deploy/branding/nframe/images/header_logo.gif delete mode 100644 build/deploy/branding/superb/images/header_logo.gif delete mode 100755 build/deploy/db/deploy-db.sh delete mode 100644 build/deploy/db/log4j.properties delete mode 100755 build/deploy/deploy-agent.sh delete mode 100644 build/deploy/deploy-console-proxy.sh delete mode 100755 build/deploy/deploy-server.sh delete mode 100644 build/deploy/deploy-simulator.sh delete mode 100755 build/deploy/install-storage-server.sh delete mode 100644 build/deploy/install.sh delete mode 100644 build/deploy/production/consoleproxy/conf/consoleproxy.properties delete mode 100644 build/deploy/production/db/server-setup-dev.xml delete mode 100644 build/deploy/production/db/templates-dev.sql delete mode 100644 build/deploy/production/premium/conf/log4j-cloud_usage.xml delete mode 100644 build/deploy/production/premium/conf/log4j-cloud_usage.xml.template delete mode 100644 build/deploy/production/premium/conf/usage-components.xml delete mode 100644 build/deploy/production/server/conf/agent-update.properties delete mode 100644 build/deploy/production/server/conf/cloud-localhost.pk12 delete mode 100755 build/deploy/production/server/conf/ehcache.xml delete mode 100755 build/deploy/production/server/conf/log4j-cloud.xml delete mode 100644 build/deploy/production/server/conf/log4j-cloud.xml.template delete mode 100755 build/deploy/production/server/conf/server.xml diff --git a/build/build-cloud-plugins.xml b/build/build-cloud-plugins.xml index 5b995655f4a..207ef7113c8 100755 --- a/build/build-cloud-plugins.xml +++ b/build/build-cloud-plugins.xml @@ -119,7 +119,6 @@ - diff --git a/build/build-cloud.xml b/build/build-cloud.xml index e68d97acd44..1b25fac8796 100755 --- a/build/build-cloud.xml +++ b/build/build-cloud.xml @@ -61,7 +61,6 @@ - @@ -113,17 +112,12 @@ - - - - - @@ -374,7 +368,7 @@ - + @@ -487,17 +481,9 @@ - - - - - - - - @@ -505,8 +491,6 @@ - - diff --git a/build/deploy/branding/default/images/favicon.ico b/build/deploy/branding/default/images/favicon.ico deleted file mode 100644 index 97a1e14bd3c4f1e0e4d48011ce1d89d7e1fab606..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1406 zcmZQzU<5(|0R}M0U}azs1F|%L7$l?s#Ec9aKoZP=&`9jvWtAj8AMlNp|#Uc~VG+XsXhqpZ;o7!85p7XnO- zoWN3pk&S_q5#%{`Mif39BMP6H2bIss$iv0R!obYP$N|z1)XV|ItgMWTEL=b{85y~O RVoaQjj9fq=pglty007J=A3Xp7 diff --git a/build/deploy/branding/default/images/header_logo.gif b/build/deploy/branding/default/images/header_logo.gif deleted file mode 100644 index a1eb06dbf8fce4e942c12185cf9740e673a1e38e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5319 zcmWkxdt6M37r*z;otZnY=1xTqO{PLha;2BZPS5oyrm#hpVcUdVZcicYZJKHnYbveQ zBey)(5+*|4w+BV3DLoX+kVlf--lfO<{Lc4$&R^%B@A-bu=X}nO%lzFJZmtHLfMEd0 z%{|i6H5OXXH1_S=lJvW0o_x?eYCc>t*x%Uq3-o(d46r*g#KgK_vwuc4Gpa)>&NxuqL{np z@&D$Qy?oQ&5^&_f~1(a`~V#5nq< zaooMnU7a63e6&ffO1b&MCh4B+XiaW0Wrbgyf?w_Ed_O)u?2z{OySxJfLoF?>=cWgk9`To zQTK$gRg;sGUQEcQxoRCD~K*Lih4Y@s*^D)uSV{qNILIKR^(K_>Tu6mpeXx9WK)i zeD3P~^rfqt?#a*3KV5K&neecxs(NL9GMZ;exjXo;o%=#4oybB zuDf?<_^YlWQ?GyaZ`Lt8C+nhxPSmJ$SbHkdDz*~7>A$tkxxN0u1HB$#&DIekfelM- zD@v0YqVrgKW(@uCqd6-x%cy+6Yxwy$X%_LFZ_*`cc~)*)D`gLjSvuf}g%*Jel-lOx z<*r**Mk$sN2Q?IA(^(2Ep3%8E#objYOPy|=N1n-+%|N~RR(E?T26N45rSS}WwI7mX zu?@;yJ5}z@cTGdfjl;Y@u{lm>=oRxA1W@kM;M)NrmemakuInBRh_r;ulrECr=&hpI zmY~@Pf(HBYEMF?6V#QnQrzVK*Eh#lvG8mx5Hs-95ghy{H7g+{;@V(Fwdo2Q)q0)Dx z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Q&!{~|;S sa{o3h3wShFvUI;z{F~*2q14!(B2V(@kapzV(XI7^t74UTY&P)wA2sSt2LJ#7 diff --git a/build/deploy/branding/nframe/images/header_logo.gif b/build/deploy/branding/nframe/images/header_logo.gif deleted file mode 100644 index d1ac0e0e8ca2877148dc92d1cb87836600d07fe3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2774 zcmW+#c|26>8-HtzEtHhX8Y0quB#dpimP*lCp3n0<-|aca=ubm6b^Axa04xANkPjyaj37{gKnMbm6^;`) zM&KxcBLoh}CWaFjMqns`Ap{1fX&3<11;=5~&@GG- z<^g5GZ5RjC1Pw!nP&EXDqTwc#1$97Thz+3uc_MNewqXq)fER;7LVu7JRtO+J4l>vE zdy~!e6Ou8nUxl1q51LGUJv(xBJr42+>kdhzb(KCXfLDUyK~IoM&pnmy zmI|~3!7*Q;;tLLVuCA^Dc^9DQ4peS|qdwq>H&F8fsto##B%l=tGy?$b_PbACH|PXW z^+E)V!?u}6NLfekyBMc_J;|JrVIQ976<-qcsEV0g_qh0DVQt6zFT?Ev<3r=K^9xJM zE2~p;zgO4R_Csz!{tJMY02_EEjPoB?hw_Sil8euOQWL&K&Lr8mAk83Tr0POXLqU2y zQ~ZTD<3m_xUuI8tHeJ;>9Vz|-qJnDxvV}ILoam2jfAy>u$ z`f%XHwf?Gr+PTheO&)~5>nRP7c5t3@a5g}GYL@b&E$L*CcI9oZU!6&Ahc4-aj#z$q z=uNS|%HuzkGB3p#36^UL-4aQO(c0MSC`1#^(C62tQX?Mu1<54Z*?+CxyG6BocZRIP zObcSJHkRXSt~Si#2@bEjup==-&d)}cp~%j1P+#mon$-2Ojm>FG0%4Bcx2HPf?hS6h z(paN8RwrrS_mmE*{Zv!$4d>#&yqjs|Q#7DUS5OjDzsOEBr!Di&4+mSa6Ec|Ag^Vk) zN9sxkRVDh=&={%-!_t*^s)lK_wiw4s7nu!3=}wOpGan~MS}{|?^%%)%e7SEfNTTib zJlS0Tg`St(4~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a/build/deploy/branding/superb/images/header_logo.gif b/build/deploy/branding/superb/images/header_logo.gif deleted file mode 100644 index 4dee91633aca26b49435e056e68dae725f45567a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2837 zcmb`C`#;kQ1INGLuWdGrF@)CReoc-$qqH&1{TeD235nd#;mFB0w;7>aqT_yv#BmLk zlT9m^(Bw7}qr_3+2uVD9p7Z<-&*z8tkMH;EV{2z)iuXSNY=BANpKWYxBqb$P3!_e- zKHb~fD=#nKVQNxbTze_a230uX#=S|nLpE@z-7dN9naoKqib-*m2-+xW|?FA2T8 zmUu^<-(RnGB#eYVUD)hSbZ&mTvDb6+^~MiAg-T0KNwvaZgi0*l6c=Fc{^{I;yhVcbTGqJT5gX|j zbMLo>6!Xy_@>qK^93g300tMr+^2^UaQRI}R5K{Cr8jeIVtd6jY?%Ckh;8sFrj*)&Y zNSGZ)!_K}dn{FO&n-6#0%{^vCM~fyf;=prtNl5mutQKbSV4j9YgKtP18^TyYBtIqv z0AUhJ2gj?$rt0`turOx@KXjf7WDYNSqCk3}67z#jTB~USn^7E_pWmq1X}Brcq_1xq zeNX^fN^^~Qk)P|8Jlu}P?yY1%9T{)i=rYW%=7nC0fWW995h);mh7CXp-pR5tIHim* zg+XF6=FfrOkQF>!x)=xNcb!wL@zyUr?WVhy4v$Hb71zSW<74onD~zHwwx_|m7+UwY zm`H=&m-d6OSj=}`owNw8+99WGk+jqfiLjqsO!G(&6{c2As+{8y;!zYk#CeE&dEaCch}Oz=46n&Y*n`i66MB*YCD<>On znXnQ^Z$FySD^DzTGvDmCV&q!JdR_^}x#|{6I~YH>ddVe75`MzJtW$35iBNW@^ z&y)S#g9I^52#v@3>YnkP##v<%3TM34UEzsUmx7E(3}%1#hx#8hY0|XhBEgqt%0^Ru z9tC$Y)!tqekch>A0BqGgjSyh8Id9Uw9z#4YuOUIfw-&u0@RZj`)e7NNA@~8}8@CFt zSIj}C)fgzG?Tg25BDvzm@bKHAsI{&d=O@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ok$+~8LGe$HZfL7LIfj~(~brGH1y$INyFt( x`g0`)(IbtP6j~A6pbA%8p{fkP^n&5Xy=hwAG;J&2 - exit 1; -fi - -if [ ! -f $1 ]; then - echo "Error: Unable to find $1" - exit 2 -fi - -if [ "$2" != "" ]; then - if [ ! -f $2 ]; then - echo "Error: Unable to find $2" - exit 3 - fi -fi - -if [ ! -f create-database.sql ]; then - printf "Error: Unable to find create-database.sql\n" - exit 4 -fi - -if [ ! -f create-schema.sql ]; then - printf "Error: Unable to find create-schema.sql\n" - exit 5 -fi - -if [ ! -f create-index-fk.sql ]; then - printf "Error: Unable to find create-index-fk.sql\n" - exit 6; -fi - -PATHSEP=':' -if [[ $OSTYPE == "cygwin" ]] ; then - export CATALINA_HOME=`cygpath -m $CATALINA_HOME` - PATHSEP=';' -else - mysql="mysql" - service mysql status > /dev/null 2>/dev/null - if [ $? -eq 1 ]; then - mysql="mysqld" - service mysqld status > /dev/null 2>/dev/null - if [ $? -ne 0 ]; then - printf "Unable to find mysql daemon\n" - exit 7 - fi - fi - - echo "Starting mysql" - service $mysql start > /dev/null 2>/dev/null - -fi - -echo "Recreating Database." -mysql --user=root --password=$3 < create-database.sql > /dev/null 2>/dev/null -mysqlout=$? -if [ $mysqlout -eq 1 ]; then - printf "Please enter root password for MySQL.\n" - mysql --user=root --password < create-database.sql - if [ $? -ne 0 ]; then - printf "Error: Cannot execute create-database.sql\n" - exit 10 - fi -elif [ $mysqlout -ne 0 ]; then - printf "Error: Cannot execute create-database.sql\n" - exit 11 -fi - -mysql --user=cloud --password=cloud cloud < create-schema.sql -if [ $? -ne 0 ]; then - printf "Error: Cannot execute create-schema.sql\n" - exit 11 -fi - -mysql --user=cloud --password=cloud cloud < create-schema-premium.sql -if [ $? -ne 0 ]; then - printf "Error: Cannot execute create-schema-premium.sql\n" - exit 11 -fi - -if [ "$1" != "" ]; then - mysql --user=cloud --password=cloud cloud < $1 - if [ $? -ne 0 ]; then - printf "Error: Cannot execute $1\n" - exit 12 - fi -fi - -if [ "$2" != "" ]; then - echo "Adding Templates" - mysql --user=cloud --password=cloud cloud < $2 - if [ $? -ne 0 ]; then - printf "Error: Cannot execute $2\n" - exit 12 - fi -fi - - -echo "Creating Indice and Foreign Keys" -mysql --user=cloud --password=cloud cloud < create-index-fk.sql -if [ $? -ne 0 ]; then - printf "Error: Cannot execute create-index-fk.sql\n" - exit 13 -fi diff --git a/build/deploy/db/log4j.properties b/build/deploy/db/log4j.properties deleted file mode 100644 index a25bde40c7e..00000000000 --- a/build/deploy/db/log4j.properties +++ /dev/null @@ -1,24 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.Target=System.out -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n -log4j.appender.stdout.threshold=ERROR -log4j.rootLogger=INFO, stdout -log4j.category.org.apache=INFO, stdout diff --git a/build/deploy/deploy-agent.sh b/build/deploy/deploy-agent.sh deleted file mode 100755 index ff4fd3c596c..00000000000 --- a/build/deploy/deploy-agent.sh +++ /dev/null @@ -1,232 +0,0 @@ -#!/usr/bin/env bash -# -# install.sh -- installs an agent -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -usage() { - printf "Usage: %s: -d [directory to deploy to] -t [routing|storage|computing] -z [zip file] -h [host] -p [pod] -c [data center] -m [expert|novice|setup]\n" $(basename $0) >&2 -} - -mode= -host= -pod= -zone= - -deploydir= -confdir= -zipfile= -typ= - -#set -x - -while getopts 'd:z:t:x:m:h:p:c:' OPTION -do - case "$OPTION" in - d) deploydir="$OPTARG" - ;; - z) zipfile="$OPTARG" - ;; - t) typ="$OPTARG" - ;; - m) mode="$OPTARG" - ;; - h) host="$OPTARG" - ;; - p) pod="$OPTARG" - ;; - c) zone="$OPTARG" - ;; - ?) usage - exit 2 - ;; - esac -done - -printf "NOTE: You must have root privileges to install and run this program.\n" - -if [ "$typ" == "" ]; then - if [ "$mode" != "expert" ] - then - printf "Type of agent to install [routing|computing|storage]: " - read typ - fi -fi -if [ "$typ" != "computing" ] && [ "$typ" != "routing" ] && [ "$typ" != "storage" ] -then - printf "ERROR: The choices are computing, routing, or storage.\n" - exit 4 -fi - -if [ "$host" == "" ]; then - if [ "$mode" != "expert" ] - then - printf "Host name or ip address of management server [Required]: " - read host - if [ "$host" == "" ]; then - printf "ERROR: Host is required\n" - exit 23; - fi - fi -fi - -port= -if [ "$mode" != "expert" ] -then - printf "Port number of management server [defaults to 8250]: " - read port -fi -if [ "$port" == "" ] -then - port=8250 -fi - -if [ "$zone" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Availability Zone [Required]: " - read zone - if [ "$zone" == "" ]; then - printf "ERROR: Zone is required\n"; - exit 21; - fi - fi -fi - -if [ "$pod" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Pod [Required]: " - read pod - if [ "$pod" == "" ]; then - printf "ERROR: Pod is required\n"; - exit 22; - fi - fi -fi - -workers= -if [ "$mode" != "expert" ]; then - printf "# of workers to start [defaults to 3]: " - read workers -fi -if [ "$workers" == "" ]; then - workers=3 -fi - -if [ "$deploydir" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Directory to deploy to [defaults to /usr/local/vmops/agent]: " - read deploydir - fi - if [ "$deploydir" == "" ]; then - deploydir="/usr/local/vmops/agent" - fi -fi -if ! mkdir -p $deploydir -then - printf "ERROR: Unable to create $deploydir\n" - exit 5 -fi - -if [ "$zipfile" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Path of the zip file [defaults to agent.zip]: " - read zipfile - fi - if [ "$zipfile" == "" ]; then - zipfile="agent.zip" - fi - -fi -if ! unzip -o $zipfile -d $deploydir -then - printf "ERROR: Unable to unzip $zipfile to $deploydir\n" - exit 6 -fi - -#if ! chmod -R +x $deploydir/scripts/*.sh -#then -# printf "ERROR: Unable to change scripts to executable.\n" -# exit 7 -#fi -#if ! chmod -R +x $deploydir/scripts/iscsi/*.sh -#then -# printf "ERROR: Unable to change scripts to executable.\n" -# exit 8 -#fi -#if ! chmod -R +x $deploydir/*.sh -#then -# printf "ERROR: Unable to change scripts to executable.\n" -# exit 9 -#fi - -if [ "$mode" == "setup" ]; then - mode="expert" - deploydir="/usr/local/vmops/agent" - confdir="/etc/vmops" - /bin/cp -f $deploydir/conf/agent.properties $confdir/agent.properties - if [ $? -gt 0 ]; then - printf "ERROR: Failed to copy the agent.properties file into the right place." - exit 10; - fi -else - confdir="$deploydir/conf" -fi - -if [ "$typ" != "" ]; then - sed s/@TYPE@/"$typ"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Type is not set\n" -fi - -if [ "$host" != "" ]; then - sed s/@HOST@/"$host"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: host is not set\n" -fi - -if [ "$port" != "" ]; then - sed s/@PORT@/"$port"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Port is not set\n" -fi - -if [ "$pod" != "" ]; then - sed s/@POD@/"$pod"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Pod is not set\n" -fi - -if [ "$zone" != "" ]; then - sed s/@ZONE@/"$zone"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Zone is not set\n" -fi - -if [ "$workers" != "" ]; then - sed s/@WORKERS@/"$workers"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Workers is not set\n" -fi - -printf "SUCCESS: Installation is now complete. If you like to make changes, edit $confdir/agent.properties\n" -exit 0 diff --git a/build/deploy/deploy-console-proxy.sh b/build/deploy/deploy-console-proxy.sh deleted file mode 100644 index 662520f4ad5..00000000000 --- a/build/deploy/deploy-console-proxy.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/usr/bin/env bash -# -# Deploy console proxy package to an existing VM template -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -usage() { - printf "Usage: %s: -d [work directory to deploy to] -z [zip file]" $(basename $0) >&2 -} - -deploydir= -zipfile= - -#set -x - -while getopts 'd:z:' OPTION -do - case "$OPTION" in - d) deploydir="$OPTARG" - ;; - z) zipfile="$OPTARG" - ;; - ?) usage - exit 2 - ;; - esac -done - -printf "NOTE: You must have root privileges to install and run this program.\n" - -if [ "$deploydir" == "" ]; then - printf "ERROR: Unable to find deployment work directory $deploydir\n" - exit 3; -fi -if [ ! -f $deploydir/consoleproxy.tar.gz ] -then - printf "ERROR: Unable to find existing console proxy template file (consoleproxy.tar.gz) to work on at $deploydir\n" - exit 5 -fi - -if [ "$zipfile" == "" ]; then - zipfile="console-proxy.zip" -fi - -if ! mkdir -p /mnt/consoleproxy -then - printf "ERROR: Unable to create /mnt/consoleproxy for mounting template image\n" - exit 5 -fi - -tar xvfz $deploydir/consoleproxy.tar.gz -C $deploydir -mount -o loop $deploydir/vmi-root-fc8-x86_64-domP /mnt/consoleproxy - -if ! unzip -o $zipfile -d /mnt/consoleproxy/usr/local/vmops/consoleproxy -then - printf "ERROR: Unable to unzip $zipfile to $deploydir\n" - exit 6 -fi - -umount /mnt/consoleproxy - -pushd $deploydir -tar cvf consoleproxy.tar vmi-root-fc8-x86_64-domP - -mv -f consoleproxy.tar.gz consoleproxy.tar.gz.old -gzip consoleproxy.tar -popd - -if [ ! -f $deploydir/consoleproxy.tar.gz ] -then - mv consoleproxy.tar.gz.old consoleproxy.tar.gz - printf "ERROR: failed to deploy and recreate the template at $deploydir\n" -fi - -printf "SUCCESS: Installation is now complete. please go to $deploydir to review it\n" -exit 0 diff --git a/build/deploy/deploy-server.sh b/build/deploy/deploy-server.sh deleted file mode 100755 index fe77174998d..00000000000 --- a/build/deploy/deploy-server.sh +++ /dev/null @@ -1,121 +0,0 @@ -#!/usr/bin/env bash -# -# deploy.sh -- deploys a management server -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -usage() { - printf "Usage: %s: -d [tomcat directory to deploy to] -z [zip file to use]\n" $(basename $0) >&2 -} - -dflag= -zflag= -tflag= -iflag= - -deploydir= -zipfile="client.zip" -typ= - -#set -x - -while getopts 'd:z:x:h:' OPTION -do - case "$OPTION" in - d) dflag=1 - deploydir="$OPTARG" - ;; - z) zflag=1 - zipfile="$OPTARG" - ;; - h) iflag="$OPTARG" - ;; - ?) usage - exit 2 - ;; - esac -done - -if [ "$deploydir" == "" ] -then - if [ "$CATALINA_HOME" == "" ] - then - printf "Tomcat Directory to deploy to: " - read deploydir - else - deploydir="$CATALINA_HOME" - fi -fi - -if [ "$deploydir" == "" ] -then - printf "Tomcat directory was not specified\n"; - exit 15; -fi - -printf "Check to see if the Tomcat directory exist: $deploydir\n" -if [ ! -d $deploydir ] -then - printf "Tomcat directory does not exist\n"; - exit 16; -fi - -if [ "$zipfile" == "" ] -then - printf "Path of the zip file [defaults to client.zip]: " - read zipfile - if [ "$zipfile" == "" ] - then - zipfile="client.zip" - fi -fi -if ! unzip -o $zipfile client.war -then - exit 6 -fi - -rm -fr $deploydir/webapps/client - -if ! unzip -o ./client.war -d $deploydir/webapps/client -then - exit 10; -fi - -rm -f ./client.war - -if ! unzip -o $zipfile lib/* -d $deploydir -then - exit 11; -fi - -if ! unzip -o $zipfile conf/* -d $deploydir -then - exit 12; -fi - -if ! unzip -o $zipfile bin/* -d $deploydir -then - exit 13; -fi - -printf "Adding the conf directory to the class loader for tomcat\n" -sed 's/shared.loader=$/shared.loader=\$\{catalina.home\},\$\{catalina.home\}\/conf\ -/' $deploydir/conf/catalina.properties > $deploydir/conf/catalina.properties.tmp -mv $deploydir/conf/catalina.properties.tmp $deploydir/conf/catalina.properties - -printf "Installation is now complete\n" -exit 0 diff --git a/build/deploy/deploy-simulator.sh b/build/deploy/deploy-simulator.sh deleted file mode 100644 index b2bfecdaa5f..00000000000 --- a/build/deploy/deploy-simulator.sh +++ /dev/null @@ -1,200 +0,0 @@ -#!/usr/bin/env bash -# -# install.sh -- installs an agent -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -usage() { - printf "Usage: %s: -d [directory to deploy to] -z [zip file] -h [host] -p [pod] -c [data center] -m [expert|novice|setup]\n" $(basename $0) >&2 -} - -mode= -host= -pod= -zone= - -deploydir= -confdir= -zipfile= -typ= - -#set -x - -while getopts 'd:z:x:m:h:p:c:' OPTION -do - case "$OPTION" in - d) deploydir="$OPTARG" - ;; - z) zipfile="$OPTARG" - ;; - m) mode="$OPTARG" - ;; - h) host="$OPTARG" - ;; - p) pod="$OPTARG" - ;; - c) zone="$OPTARG" - ;; - ?) usage - exit 2 - ;; - esac -done - -printf "NOTE: You must have root privileges to install and run this program.\n" - -if [ "$mode" == "setup" ]; then - mode="expert" - deploydir="/usr/local/cloud/agent-simulator" - confdir="/etc/cloud" - /bin/cp -f $deploydir/conf/agent.properties $confdir/agent.properties - if [ $? -gt 0 ]; then - printf "ERROR: Failed to copy the agent.properties file into the right place." - exit 10; - fi -else - confdir="$deploydir/conf" -fi - -if [ "$host" == "" ]; then - if [ "$mode" != "expert" ] - then - printf "Host name or ip address of management server [Required]: " - read host - if [ "$host" == "" ]; then - printf "ERROR: Host is required\n" - exit 23; - fi - fi -fi - -port= -if [ "$mode" != "expert" ] -then - printf "Port number of management server [defaults to 8250]: " - read port -fi -if [ "$port" == "" ] -then - port=8250 -fi - -if [ "$zone" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Availability Zone [Required]: " - read zone - if [ "$zone" == "" ]; then - printf "ERROR: Zone is required\n"; - exit 21; - fi - fi -fi - -if [ "$pod" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Pod [Required]: " - read pod - if ["$pod" == ""]; then - printf "ERROR: Pod is required\n"; - exit 22; - fi - fi -fi - -workers= -if [ "$mode" != "expert" ]; then - printf "# of workers to start [defaults to 3]: " - read workers -fi -if [ "$workers" == "" ]; then - workers=3 -fi - -if [ "$deploydir" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Directory to deploy to [defaults to /usr/local/cloud/agent-simulator]: " - read deploydir - fi - if [ "$deploydir" == "" ]; then - deploydir="/usr/local/cloud/agent-simulator" - fi -fi -if ! mkdir -p $deploydir -then - printf "ERROR: Unable to create $deploydir\n" - exit 5 -fi - -if [ "$zipfile" == "" ]; then - if [ "$mode" != "expert" ]; then - printf "Path of the zip file [defaults to agent-simulator.zip]: " - read zipfile - fi - if [ "$zipfile" == "" ]; then - zipfile="agent-simulator.zip" - fi - -fi -if ! unzip -o $zipfile -d $deploydir -then - printf "ERROR: Unable to unzip $zipfile to $deploydir\n" - exit 6 -fi - -if ! chmod +x $deploydir/*.sh -then - printf "ERROR: Unable to change scripts to executable.\n" - exit 9 -fi - -if [ "$host" != "" ]; then - sed s/@HOST@/"$host"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: host is not set\n" -fi - -if [ "$port" != "" ]; then - sed s/@PORT@/"$port"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Port is not set\n" -fi - -if [ "$pod" != "" ]; then - sed s/@POD@/"$pod"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Pod is not set\n" -fi - -if [ "$zone" != "" ]; then - sed s/@ZONE@/"$zone"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Zone is not set\n" -fi - -if [ "$workers" != "" ]; then - sed s/@WORKERS@/"$workers"/ $confdir/agent.properties > $confdir/tmp - /bin/mv -f $confdir/tmp $confdir/agent.properties -else - printf "INFO: Workers is not set\n" -fi - -printf "SUCCESS: Installation is now complete. If you like to make changes, edit $confdir/agent.properties\n" -exit 0 diff --git a/build/deploy/install-storage-server.sh b/build/deploy/install-storage-server.sh deleted file mode 100755 index 5d1ed05cad6..00000000000 --- a/build/deploy/install-storage-server.sh +++ /dev/null @@ -1,149 +0,0 @@ -#!/usr/bin/env bash -# -# install-storage-server.sh: Installs a VMOps Storage Server -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -choose_correct_filename() { - local default_filename=$1 - local user_specified_filename=$2 - - if [ -f "$user_specified_filename" ] - then - echo $user_specified_filename - return 0 - else - if [ -f "$default_filename" ] - then - echo $default_filename - return 0 - else - echo "" - return 1 - fi - fi -} - -install_opensolaris_package() { - pkg_name=$1 - - pkg info $pkg_name >> /dev/null - - if [ $? -gt 0 ] - then - # The package is not installed, so install it - pkg install $pkg_name - return $? - else - # The package is already installed - return 0 - fi -} - -exit_if_error() { - return_code=$1 - msg=$2 - - if [ $return_code -gt 0 ] - then - echo $msg - exit 1 - fi -} - -usage() { - printf "Usage: ./install-storage-server.sh " -} - -AGENT_FILE=$(choose_correct_filename "./agent.zip" $1) -exit_if_error $? "Please download agent.zip to your Storage Server." - -TEMPLATES_FILE=$(choose_correct_filename "./templates.tar.gz" $2) -exit_if_error $? "Please download templates.tar.gz to your Storage Server." - -VMOPS_DIR="/usr/local/vmops" -AGENT_DIR="/usr/local/vmops/agent" -CONF_DIR="/etc/vmops" -TEMPLATES_DIR="/root/template" - -# Make all the necessary directories if they don't already exist - -echo "Creating VMOps directories..." -for dir in $VMOPS_DIR $CONF_DIR $TEMPLATES_DIR -do - mkdir -p $dir -done - -# Unzip agent.zip to $AGENT_DIR - -echo "Uncompressing and installing VMOps Storage Agent..." -unzip -o $AGENT_FILE -d $AGENT_DIR >> /dev/null - -# Remove agent/conf/agent.properties, since we should use the file in the real configuration directory - -rm $AGENT_DIR/conf/agent.properties - -# Backup any existing VMOps configuration files, if there aren't any backups already - -if [ ! -d $CONF_DIR/BACKUP ] -then - echo "Backing up existing configuration files..." - mkdir -p $CONF_DIR/BACKUP - cp $CONF_DIR/*.properties $CONF_DIR/BACKUP >> /dev/null -fi - -# Copy all the files in storagehdpatch to their proper places - -echo "Installing system files..." -(cd $AGENT_DIR/storagehdpatch; tar cf - .) | (cd /; tar xf -) -exit_if_error $? "There was a problem with installing system files. Please contact VMOps Support." - -# Make vsetup executable -chmod +x /usr/sbin/vsetup - -# Make vmops executable -chmod +x /lib/svc/method/vmops - -# Uncompress the templates and copy them to the templates directory - -echo "Uncompressing templates..." -tar -xzf $TEMPLATES_FILE -C $TEMPLATES_DIR >> /dev/null -exit_if_error $? "There was a problem with uncompressing templates. Please contact VMOps Support." - -# Install the storage-server package, if it is not already installed -echo "Installing OpenSolaris storage server package..." -install_opensolaris_package "storage-server" -exit_if_error $? "There was a problem with installing the storage server package. Please contact VMOps Support." - -echo "Installing COMSTAR..." -install_opensolaris_package "SUNWiscsit" -exit_if_error $? "Unable to install COMSTAR iscsi target. Please contact VMOps Support." - -# Install the SUNWinstall-test package, if it is not already installed - -echo "Installing OpenSolaris test tools package..." -install_opensolaris_package "SUNWinstall-test" -exit_if_error $? "There was a problem with installing the test tools package. Please contact VMOps Support." - -# Print a success message -printf "\nSuccessfully installed the VMOps Storage Server.\n" -printf "Please complete the following steps to configure your networking settings and storage pools:\n\n" -printf "1. Specify networking settings in /etc/vmops/network.properties\n" -printf "2. Run \"vsetup networking\" and then specify disk settings in /etc/vmops/disks.properties\n" -printf "3. Run \"vsetup zpool\" and reboot the machine when prompted.\n\n" - - diff --git a/build/deploy/install.sh b/build/deploy/install.sh deleted file mode 100644 index 26f9970f197..00000000000 --- a/build/deploy/install.sh +++ /dev/null @@ -1,155 +0,0 @@ -#!/bin/bash -# -# install.sh -- installs MySQL, Java, Tomcat, and the VMOps server -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -#set -x -set -e - -EX_NOHOSTNAME=15 -EX_SELINUX=16 - -function usage() { - printf "Usage: %s [path to server-setup.xml]\n" $(basename $0) >&2 - exit 64 -} - -function checkhostname() { - if hostname | grep -qF . ; then true ; else - echo "You need to have a fully-qualified host name for the setup to work." > /dev/stderr - echo "Please use your operating system's network setup tools to set one." > /dev/stderr - exit $EX_NOHOSTNAME - fi -} - -function checkselinux() { -#### before checking arguments, make sure SELINUX is "permissible" in /etc/selinux/config - if /usr/sbin/getenforce | grep -qi enforcing ; then borked=1 ; fi - if grep -i SELINUX=enforcing /etc/selinux/config ; then borked=1 ; fi - if [ "$borked" == "1" ] ; then - echo "SELINUX is set to enforcing, please set it to permissive in /etc/selinux/config" > /dev/stderr - echo "then reboot the machine, after which you can run the install script again." > /dev/stderr - exit $EX_SELINUX - fi -} - -checkhostname -checkselinux - -if [ "$1" == "" ]; then - usage -fi - -if [ ! -f $1 ]; then - echo "Error: Unable to find $1" > /dev/stderr - exit 2 -fi - -#### check that all files exist -if [ ! -f apache-tomcat-6.0.18.tar.gz ]; then - printf "Error: Unable to find apache-tomcat-6.0.18.tar.gz\n" > /dev/stderr - exit 3 -fi - -if [ ! -f MySQL-client-5.1.30-0.glibc23.x86_64.rpm ]; then - printf "Error: Unable to find MySQL-client-5.1.30-0.glibc23.x86_64.rpm\n" > /dev/stderr - exit 4 -fi - -if [ ! -f MySQL-server-5.1.30-0.glibc23.x86_64.rpm ]; then - printf "Error: Unable to find MySQL-server-5.1.30-0.glibc23.x86_64.rpm\n" > /dev/stderr - exit 5 -fi - -if [ ! -f jdk-6u13-linux-amd64.rpm.bin ]; then - printf "Error: Unable to find jdk-6u13-linux-amd64.rpm.bin\n" > /dev/stderr - exit 6 -fi - -#if [ ! -f osol.tar.bz2 ]; then -# printf "Error: Unable to find osol.tar.bz2\n" -# exit 7 -#fi - -if [ ! -f apache-tomcat-6.0.18.tar.gz ]; then - printf "Error: Unable to find apache-tomcat-6.0.18.tar.gz\n" > /dev/stderr - exit 8 -fi - -if [ ! -f vmops-*.zip ]; then - printf "Error: Unable to find vmops install file\n" > /dev/stderr - exit 9 -fi - -if [ ! -f catalina ] ; then - printf "Error: Unable to find catalina initscript\n" > /dev/stderr - exit 10 -fi - -if [ ! -f usageserver ] ; then - printf "Error: Unable to find usageserver initscript\n" > /dev/stderr - exit 11 -fi - -###### install Apache -# if [ ! -d /usr/local/tomcat ] ; then - echo "installing Apache..." - mkdir -p /usr/local/tomcat - tar xfz apache-tomcat-6.0.18.tar.gz -C /usr/local/tomcat - ln -s /usr/local/tomcat/apache-tomcat-6.0.18 /usr/local/tomcat/current -# fi -# if [ ! -f /etc/profile.d/catalinahome.sh ] ; then -# echo "export CATALINA_HOME=/usr/local/tomcat/current" >> /etc/profile.d/catalinahome.sh -# fi -source /etc/profile.d/catalinahome.sh -# if [ ! -f /etc/init.d/catalina ] ; then - cp -f catalina /etc/init.d - /sbin/chkconfig catalina on -# fi - -####### set up usage server as a service -if [ ! -f /etc/init.d/usageserver ] ; then - cp -f usageserver /etc/init.d - /sbin/chkconfig usageserver on -fi - -##### set up mysql -if rpm -q MySQL-server MySQL-client > /dev/null 2>&1 ; then true ; else - echo "installing MySQL..." - yum localinstall --nogpgcheck -y MySQL-*.rpm -fi - -#### install JDK -echo "installing JDK..." -sh jdk-6u13-linux-amd64.rpm.bin -rm -rf /usr/bin/java -ln -s /usr/java/default/bin/java /usr/bin/java - -#### setting up OSOL image -#mkdir -p $CATALINA_HOME/webapps/images -#echo "copying Open Solaris image, this may take a few moments..." -#cp osol.tar.bz2 $CATALINA_HOME/webapps/images - -#### deploying database -unzip -o vmops-*.zip -cd vmops-* -sh deploy-server.sh -d "$CATALINA_HOME" -cd db -sh deploy-db.sh "../../$1" templates.sql - -exit 0 diff --git a/build/deploy/production/consoleproxy/conf/consoleproxy.properties b/build/deploy/production/consoleproxy/conf/consoleproxy.properties deleted file mode 100644 index a3cddbcab96..00000000000 --- a/build/deploy/production/consoleproxy/conf/consoleproxy.properties +++ /dev/null @@ -1,23 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -consoleproxy.tcpListenPort=0 -consoleproxy.httpListenPort=80 -consoleproxy.httpCmdListenPort=8001 -consoleproxy.jarDir=./applet/ -consoleproxy.viewerLinger=180 -consoleproxy.reconnectMaxRetry=5 diff --git a/build/deploy/production/db/server-setup-dev.xml b/build/deploy/production/db/server-setup-dev.xml deleted file mode 100644 index 85553d7252e..00000000000 --- a/build/deploy/production/db/server-setup-dev.xml +++ /dev/null @@ -1,550 +0,0 @@ - - - - - - 2.0 - - - 1 - AH - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 100-199 - 10.1.1.0/24 - - - 2 - KM - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 200-299 - 10.1.1.0/24 - - - 3 - KY - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 300-399 - 10.1.1.0/24 - - - 4 - WC - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 400-499 - 10.1.1.0/24 - - - 5 - CV - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 500-599 - 10.1.1.0/24 - - - 6 - KS - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 600-699 - 10.1.1.0/24 - - - 7 - ES - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 700-799 - 10.1.1.0/24 - - - 8 - RC - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 800-899 - 10.1.1.0/24 - - - 9 - AX - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 900-999 - 10.1.1.0/24 - - - 10 - JW - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 900-999 - 10.1.1.0/24 - - - 11 - AJ - 72.52.126.11 - 72.52.126.12 - 192.168.10.253 - 192.168.10.254 - 1000-1099 - 10.1.1.0/24 - - - - - - - 1 - 31 - VirtualNetwork - 192.168.31.1 - 255.255.255.0 - 192.168.31.150-192.168.31.159 - - - 2 - 32 - VirtualNetwork - 192.168.32.1 - 255.255.255.0 - 192.168.32.150-192.168.32.159 - - - 3 - 33 - VirtualNetwork - 192.168.33.1 - 255.255.255.0 - 192.168.33.150-192.168.33.159 - - - 4 - 34 - VirtualNetwork - 192.168.34.1 - 255.255.255.0 - 192.168.34.150-192.168.34.159 - - - 5 - 35 - VirtualNetwork - 192.168.35.1 - 255.255.255.0 - 192.168.35.150-192.168.35.159 - - - 6 - 36 - VirtualNetwork - 192.168.36.1 - 255.255.255.0 - 192.168.36.150-192.168.36.159 - - - 7 - 37 - VirtualNetwork - 192.168.37.1 - 255.255.255.0 - 192.168.37.150-192.168.37.159 - - - 8 - 38 - VirtualNetwork - 192.168.38.1 - 255.255.255.0 - 192.168.38.150-192.168.38.159 - - - 9 - 39 - VirtualNetwork - 192.168.39.1 - 255.255.255.0 - 192.168.39.150-192.168.39.159 - - - 10 - 40 - VirtualNetwork - 192.168.40.1 - 255.255.255.0 - 192.168.40.150-192.168.40.159 - - - 11 - 41 - VirtualNetwork - 192.168.41.1 - 255.255.255.0 - 192.168.41.150-192.168.41.159 - - - - - - 1 - AH - 1 - 192.168.10.20-192.168.10.24 - 192.168.10.0/24 - - - 2 - KM - 2 - 192.168.10.25-192.168.10.29 - 192.168.10.0/24 - - - 3 - KY - 3 - 192.168.10.30-192.168.10.34 - 192.168.10.0/24 - - - 4 - WC - 4 - 192.168.10.35-192.168.10.39 - 192.168.10.0/24 - - - 5 - CV - 5 - 192.168.10.40-192.168.10.44 - 192.168.10.0/24 - - - 6 - KS - 6 - 192.168.10.45-192.168.10.49 - 192.168.10.0/24 - - - 7 - ES - 7 - 192.168.10.50-192.168.10.54 - 192.168.10.0/24 - - - 8 - RC - 8 - 192.168.10.55-192.168.10.59 - 192.168.10.0/24 - - - 9 - AX - 9 - 192.168.10.62-192.168.10.64 - 192.168.10.0/24 - - - 10 - JW - 10 - 192.168.10.65-192.168.10.69 - 192.168.10.0/24 - - - 11 - AJ - 11 - 192.168.10.70-192.168.10.74 - 192.168.10.0/24 - - - - - - - 1 - Small Instance - Small Instance [500MHZ CPU, 512MB MEM, 16GB Disk] - $0.10 per hour - 1 - 512 - 500 - false - - - 2 - Medium Instance - Medium Instance [500MHZ CPU, 1GB MEM, 32GB Disk] - $0.20 per hour - 1 - 1024 - 512 - - - 3 - Large Instance - Large Instance [2GHZ CPU, 4GB MEM, 64GB Disk] - $0.30 per hour - 2 - 4096 - 2000 - - - - - - 1 - 1 - Small Disk - Small Disk [16GB Disk] - 16000 - - - 2 - 1 - Medium Disk - Medium Disk [32GB Disk] - 32000 - - - 3 - 1 - Large Disk - Large Disk [64GB Disk] - 64000 - - - - - - - 2 - admin - password - Admin - User - admin@mailprovider.com - - - - - - default.zone - AH - - - domain.suffix - cloud-test.cloud.com - - - instance.name - AH - - - consoleproxy.ram.size - 256 - - - host.stats.interval - 3600000 - - - storage.stats.interval - 120000 - - - volume.stats.interval - -1 - - - ping.interval - 60 - - - alert.wait - 1800 - - - expunge.interval - 86400 - - - usage.aggregation.timezone - GMT - - - - ssh.privatekey - -----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQEAnNUMVgQS87EzAQN9ufGgH3T1kOpqcvTmUrp8RVZyeA5qwptS\nrZxONRbhLK709pZFBJLmeFqiqciWoA/srVIFk+rPmBlVsMw8BK53hTGoax7iSe8s\nLFCAATm6vp0HnZzYqNfrzR2by36ET5aQD/VAyA55u+uUgAlxQuhKff2xjyahEHs+\nUiRlReiAgItygm9g3co3+8fJDOuRse+s0TOip1D0jPdo2AJFscyxrG9hWqQH86R/\nZlLJ7DqsiaAcUmn52u6Nsmd3BkRmGVx/D35Mq6upJqrk/QDfug9LF66yiIP/BEIn\n08N/wQ6m/O37WUtqqyl3rRKqs5TJ9ZnhsqeO9QIBIwKCAQA6QIDsv69EkkYk8qsK\njPJU06uq2rnS7T+bEhDmjdK+4MiRbOQx2vh6HnDktgM3BJ1K13oss/NGYHJ190lH\nsMA+QUXKx5TbRItSMixkrAta/Ne1D7FSScklBtBVbYZ8XtQhdMVML5GjWuCv2NZs\nU8eaw4xNHPyklcr7mBurI7b6p13VK5BNUWR/VNuigT4U89YzRcoEZ/sTlR+4ACYr\nxbUJJGBA03+NhdSAe2vodlMh5lGflD0JmHMFqqg9BcAtVb73JsOsxFQArbXwRd/q\nNckdoAvgJfhTOvXF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VZyeA5qwptSrZxONRbhLK709pZFBJLmeFqiqciWoA/srVIFk+rPmBlVsMw8BK53hTGoax7iSe8sLFCAATm6vp0HnZzYqNfrzR2by36ET5aQD/VAyA55u+uUgAlxQuhKff2xjyahEHs+UiRlReiAgItygm9g3co3+8fJDOuRse+s0TOip1D0jPdo2AJFscyxrG9hWqQH86R/ZlLJ7DqsiaAcUmn52u6Nsmd3BkRmGVx/D35Mq6upJqrk/QDfug9LF66yiIP/BEIn08N/wQ6m/O37WUtqqyl3rRKqs5TJ9ZnhsqeO9Q== root@test2.lab.vmops.com - - Hidden - - - - - memory.capacity.threshold - 0.85 - - - cpu.capacity.threshold - 0.85 - - - storage.capacity.threshold - 0.85 - - - storage.allocated.capacity.threshold - 0.85 - - - capacity.check.period - 3600000 - - - wait - 240 - - - network.throttling.rate - 200 - - - multicast.throttling.rate - 10 - - - - - - - diff --git a/build/deploy/production/db/templates-dev.sql b/build/deploy/production/db/templates-dev.sql deleted file mode 100644 index c1ec7a3bff0..00000000000 --- a/build/deploy/production/db/templates-dev.sql +++ /dev/null @@ -1,30 +0,0 @@ --- Licensed to the Apache Software Foundation (ASF) under one --- or more contributor license agreements. See the NOTICE file --- distributed with this work for additional information --- regarding copyright ownership. The ASF licenses this file --- to you under the Apache License, Version 2.0 (the --- "License"); you may not use this file except in compliance --- with the License. You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, --- software distributed under the License is distributed on an --- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --- KIND, either express or implied. See the License for the --- specific language governing permissions and limitations --- under the License. -INSERT INTO `vmops`.`vm_template` (id, unique_name, name, public, path, created, type, hvm, bits, created_by, url, checksum, ready, display_text, enable_password) - VALUES (1, 'routing', 'DomR Template', 0, 'tank/volumes/demo/template/private/u000000/os/routing', now(), 'ext3', 0, 64, 1, 'http://vmopsserver.lab.vmops.com/images/routing/vmi-root-fc8-x86_64-domR.img.bz2', 'd00927f863a23b98cc6df6e377c9d0c6', 0, 'DomR Template', 0); -INSERT INTO `vmops`.`vm_template` (id, unique_name, name, public, path, created, type, hvm, bits, created_by, url, checksum, ready, display_text, enable_password) - VALUES (3, 'centos53-x86_64', 'Centos 5.3(x86_64) no GUI', 1, 'tank/volumes/demo/template/public/os/centos53-x86_64', now(), 'ext3', 0, 64, 1, 'http://vmopsserver.lab.vmops.com/images/centos52-x86_64/vmi-root-centos.5-2.64.pv.img.gz', 'd4ca80825d936db00eedf26620f13d69', 0, 'Centos 5.3(x86_64) no GUI', 0); -#INSERT INTO `vmops`.`vm_template` (id, unique_name, name, public, path, created, type, hvm, bits, created_by, url, checksum, ready, display_text, enable_password) -# VALUES (4, 'centos52-x86_64-gui', 'Centos 5.2(x86_64) GUI', 1, 'tank/volumes/demo/template/public/os/centos52-x86_64-gui', now(), 'ext3', 0, 64, 1, 'http://vmopsserver.lab.vmops.com/images/centos52-x86_64/vmi-root-centos.5-2.64.pv.img.gz', 'd4ca80825d936db00eedf26620f13d69', 0, 'Centos 5.2(x86_64) GUI', 0); -INSERT INTO `vmops`.`vm_template` (id, unique_name, name, public, path, created, type, hvm, bits, created_by, url, checksum, ready, display_text, enable_password) - VALUES (5, 'winxpsp3', 'Windows XP SP3 (32-bit)', 1, 'tank/volumes/demo/template/public/os/winxpsp3', now(), 'ntfs', 1, 32, 1, 'http://vmopsserver.lab.vmops.com/images/fedora10-x86_64/vmi-root-fedora10.64.img.gz', 'c76d42703f14108b15acc9983307c759', 0, 'Windows XP SP3 (32-bit)', 0); -INSERT INTO `vmops`.`vm_template` (id, unique_name, name, public, path, created, type, hvm, bits, created_by, url, checksum, ready, display_text, enable_password) - VALUES (7, 'win2003sp2', 'Windows 2003 SP2 (32-bit)', 1, 'tank/volumes/demo/template/public/os/win2003sp2', now(), 'ntfs', 1, 32, 1, 'http://vmopsserver.lab.vmops.com/images/win2003sp2/vmi-root-win2003sp2.img.gz', '4d2cc51898d05c0f7a2852c15bcdc77b', 0, 'Windows 2003 SP2 (32-bit)', 0); -INSERT INTO `vmops`.`vm_template` (id, unique_name, name, public, path, created, type, hvm, bits, created_by, url, checksum, ready, display_text, enable_password) - VALUES (8, 'win2003sp2-x64', 'Windows 2003 SP2 (64-bit)', 1, 'tank/volumes/demo/template/public/os/win2003sp2-x64', now(), 'ntfs', 1, 64, 1, 'http://vmopsserver.lab.vmops.com/images/win2003sp2-x86_64/vmi-root-win2003sp2-x64.img.gz', '35d4de1c38eb4fb9d81a31c1d989c482', 0, 'Windows 2003 SP2 (64-bit)', 0); -INSERT INTO `vmops`.`vm_template` (id, unique_name, name, public, path, created, type, hvm, bits, created_by, url, checksum, ready, display_text, enable_password) - VALUES (9, 'fedora12-GUI-x86_64', 'Fedora 12 Desktop(64-bit)', 1, 'tank/volumes/demo/template/public/os/fedora12-GUI-x86_64', now(), 'ext3', 1, 64, 1, 'http://vmopsserver.lab.vmops.com/images/fedora12-GUI-x86_64/vmi-root-fedora12-GUI-x86_64.qcow2.gz', '', 0, 'Fedora 12 Desktop (with httpd,java and mysql)', 0); diff --git a/build/deploy/production/premium/conf/log4j-cloud_usage.xml b/build/deploy/production/premium/conf/log4j-cloud_usage.xml deleted file mode 100644 index f7e1c2e879b..00000000000 --- a/build/deploy/production/premium/conf/log4j-cloud_usage.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/deploy/production/premium/conf/log4j-cloud_usage.xml.template b/build/deploy/production/premium/conf/log4j-cloud_usage.xml.template deleted file mode 100644 index 64d4261528a..00000000000 --- a/build/deploy/production/premium/conf/log4j-cloud_usage.xml.template +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/deploy/production/premium/conf/usage-components.xml b/build/deploy/production/premium/conf/usage-components.xml deleted file mode 100644 index 02c9d1b90fe..00000000000 --- a/build/deploy/production/premium/conf/usage-components.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - 50 - -1 - - - - - - - - - - - - - - - - DAILY - - - diff --git a/build/deploy/production/server/conf/agent-update.properties b/build/deploy/production/server/conf/agent-update.properties deleted file mode 100644 index 2238fa77bbe..00000000000 --- a/build/deploy/production/server/conf/agent-update.properties +++ /dev/null @@ -1,18 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -agent.minimal.version=@agent.min.version@ diff --git a/build/deploy/production/server/conf/cloud-localhost.pk12 b/build/deploy/production/server/conf/cloud-localhost.pk12 deleted file mode 100644 index 79dfc4d7aa6f791c251561121d05b2079a59e008..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1597 zcmY+?do&XY90zdQY>au8DAJ6G6}CiJVPg@MXGUJJ8WBq@6k#Pdk2J5c%%v5PlGmk0 z(L8F&%3I-@W{JrotSIg}=ib}BfBeqxobUJiet&&XRERkc076m0>kugNiv1Ol96$dYX?sm#ze1Z`4BfyWevO!@r9efmBQ7 z_M(cNTBVDlgoI`oUV!m5d|Ob&118<+hEoCsS=p)G#mPoa4$Np=FYEE*WU0YU3O)w;8E6~j$`J)7xoX2++I(lD?vGf7f;#h_oLs}>4CTF zeWFr@V>c<&e8hIfrPiA`(^_v0B54puCT08*19tdPF%RK!t1o>;LmFfK5Q_bd!E?9) z=OnOD^L72jHe*d^qzH>J6lGnIv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y/production/server/conf/log4j-cloud.xml b/build/deploy/production/server/conf/log4j-cloud.xml deleted file mode 100755 index 83692bbbbd6..00000000000 --- a/build/deploy/production/server/conf/log4j-cloud.xml +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/deploy/production/server/conf/log4j-cloud.xml.template b/build/deploy/production/server/conf/log4j-cloud.xml.template deleted file mode 100644 index 39390003cf0..00000000000 --- a/build/deploy/production/server/conf/log4j-cloud.xml.template +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/deploy/production/server/conf/server.xml b/build/deploy/production/server/conf/server.xml deleted file mode 100755 index a4e85a7cc07..00000000000 --- a/build/deploy/production/server/conf/server.xml +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/package.xml b/build/package.xml index 979b8646bb9..09ed939c6d7 100755 --- a/build/package.xml +++ b/build/package.xml @@ -272,29 +272,6 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cloud.spec b/cloud.spec index ac683cde4a4..02aa64f8eef 100644 --- a/cloud.spec +++ b/cloud.spec @@ -468,6 +468,7 @@ fi %{_javadir}/commons-dbcp-1.4.jar %{_javadir}/commons-pool-1.6.jar %{_javadir}/gson-1.7.1.jar +%{_javadir}/CAStorSDK-*.jar %{_javadir}/backport-util-concurrent-3.1.jar %{_javadir}/ehcache-1.5.0.jar %{_javadir}/httpcore-4.0.jar