You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/07/22 11:45:28 UTC

[09/11] Added missing files of cloud controller from cloud controller 1.0.1

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/main/resources/launch.ini
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/main/resources/launch.ini b/products/cloud_controller/modules/distribution/src/main/resources/launch.ini
new file mode 100644
index 0000000..f05201c
--- /dev/null
+++ b/products/cloud_controller/modules/distribution/src/main/resources/launch.ini
@@ -0,0 +1,248 @@
+# Eclipse Runtime Configuration Overrides
+# These properties are loaded prior to starting the framework and can also be used to override System Properties
+# @null is a special value used to override and clear the framework's copy of a System Property prior to starting the framework
+# "*" can be used together with @null to clear System Properties that match a prefix name.
+
+osgi.*=@null
+org.osgi.*=@null
+eclipse.*=@null
+
+osgi.parentClassloader=ext
+osgi.contextClassLoaderParent=ext
+
+# When osgi.clean is set to "true", any cached data used by the OSGi framework 
+# will be wiped clean. This will clean the caches used to store bundle 
+# dependency resolution and eclipse extension registry data. Using this 
+# option will force OSGi framework to reinitialize these caches.
+# The following setting is put in place to get rid of the problems
+# faced when re-starting the system. Please note that, when this setting is 
+# true, if you manually start a bundle, it would not be available when 
+# you re-start the system. To avid this, copy the bundle jar to the plugins 
+# folder, before you re-start the system. 
+osgi.clean=true
+
+# Uncomment the following line to turn on Eclipse Equinox debugging. 
+# You may also edit the osgi-debug.options file and fine tune the debugging 
+# options to suite your needs. 
+#osgi.debug=./repository/conf/osgi-debug.options
+
+# Following system property allows us to control the public JDK packages exported through the system bundle.
+org.osgi.framework.system.packages=javax.accessibility,\
+javax.activity,\
+javax.crypto,\
+javax.crypto.interfaces,\
+javax.crypto.spec,\
+javax.imageio,\
+javax.imageio.event,\
+javax.imageio.metadata,\
+javax.imageio.plugins.bmp,\
+javax.imageio.plugins.jpeg,\
+javax.imageio.spi,\
+javax.imageio.stream,\
+javax.jms,\
+javax.management,\
+javax.management.loading,\
+javax.management.modelmbean,\
+javax.management.monitor,\
+javax.management.openmbean,\
+javax.management.relation,\
+javax.management.remote,\
+javax.management.remote.rmi,\
+javax.management.timer,\
+javax.naming,\
+javax.naming.directory,\
+javax.naming.event,\
+javax.naming.ldap,\
+javax.naming.spi,\
+javax.net,\
+javax.net.ssl,\
+javax.print,\
+javax.print.attribute,\
+javax.print.attribute.standard,\
+javax.print.event,\
+javax.rmi,\
+javax.rmi.CORBA,\
+javax.rmi.ssl,\
+javax.script,\
+javax.security.auth,\
+javax.security.auth.callback,\
+javax.security.auth.kerberos,\
+javax.security.auth.login,\
+javax.security.auth.spi,\
+javax.security.auth.x500,\
+javax.security.cert,\
+javax.security.sasl,\
+javax.sound.midi,\
+javax.sound.midi.spi,\
+javax.sound.sampled,\
+javax.sound.sampled.spi,\
+javax.sql,\
+javax.sql.rowset,\
+javax.sql.rowset.serial,\
+javax.sql.rowset.spi,\
+javax.swing,\
+javax.swing.border,\
+javax.swing.colorchooser,\
+javax.swing.event,\
+javax.swing.filechooser,\
+javax.swing.plaf,\
+javax.swing.plaf.basic,\
+javax.swing.plaf.metal,\
+javax.swing.plaf.multi,\
+javax.swing.plaf.synth,\
+javax.swing.table,\
+javax.swing.text,\
+javax.swing.text.html,\
+javax.swing.text.html.parser,\
+javax.swing.text.rtf,\
+javax.swing.tree,\
+javax.swing.undo,\
+javax.transaction,\
+javax.transaction.xa,\
+javax.xml.namespace,\
+javax.xml.parsers,\
+javax.xml.transform,\
+javax.xml.transform.stream,\
+javax.xml.transform.dom,\
+javax.xml.transform.sax,\
+javax.xml,\
+javax.xml.validation,\
+javax.xml.datatype,\
+javax.xml.xpath,\
+javax.activation,\
+com.sun.activation.registries,\
+com.sun.activation.viewers,\
+org.ietf.jgss,\
+org.omg.CORBA,\
+org.omg.CORBA_2_3,\
+org.omg.CORBA_2_3.portable,\
+org.omg.CORBA.DynAnyPackage,\
+org.omg.CORBA.ORBPackage,\
+org.omg.CORBA.portable,\
+org.omg.CORBA.TypeCodePackage,\
+org.omg.CosNaming,\
+org.omg.CosNaming.NamingContextExtPackage,\
+org.omg.CosNaming.NamingContextPackage,\
+org.omg.Dynamic,\
+org.omg.DynamicAny,\
+org.omg.DynamicAny.DynAnyFactoryPackage,\
+org.omg.DynamicAny.DynAnyPackage,\
+org.omg.IOP,\
+org.omg.IOP.CodecFactoryPackage,\
+org.omg.IOP.CodecPackage,\
+org.omg.Messaging,\
+org.omg.PortableInterceptor,\
+org.omg.PortableInterceptor.ORBInitInfoPackage,\
+org.omg.PortableServer,\
+org.omg.PortableServer.CurrentPackage,\
+org.omg.PortableServer.POAManagerPackage,\
+org.omg.PortableServer.POAPackage,\
+org.omg.PortableServer.portable,\
+org.omg.PortableServer.ServantLocatorPackage,\
+org.omg.SendingContext,\
+org.omg.stub.java.rmi,\
+org.w3c.dom,\
+org.w3c.dom.bootstrap,\
+org.w3c.dom.css,\
+org.w3c.dom.events,\
+org.w3c.dom.html,\
+org.w3c.dom.ls,\
+org.w3c.dom.ranges,\
+org.w3c.dom.stylesheets,\
+org.w3c.dom.traversal,\
+org.w3c.dom.views ,\
+org.xml.sax,\
+org.xml.sax.ext,\
+org.xml.sax.helpers,\
+org.apache.xerces.xpointer,\
+org.apache.xerces.xni.grammars,\
+org.apache.xerces.impl.xs.util,\
+org.apache.xerces.jaxp.validation,\
+org.apache.xerces.impl.dtd.models,\
+org.apache.xerces.impl.xpath,\
+org.apache.xerces.dom3.as,\
+org.apache.xerces.impl.dv.xs,\
+org.apache.xerces.util,\
+org.apache.xerces.impl.xs.identity,\
+org.apache.xerces.impl.xs.opti,\
+org.apache.xerces.jaxp,\
+org.apache.xerces.impl.dv,\
+org.apache.xerces.xs.datatypes,\
+org.apache.xerces.dom.events,\
+org.apache.xerces.impl.msg,\
+org.apache.xerces.xni,\
+org.apache.xerces.impl.xs,\
+org.apache.xerces.impl,\
+org.apache.xerces.impl.io,\
+org.apache.xerces.xinclude,\
+org.apache.xerces.jaxp.datatype,\
+org.apache.xerces.parsers,\
+org.apache.xerces.impl.dv.util,\
+org.apache.xerces.xni.parser,\
+org.apache.xerces.impl.xs.traversers,\
+org.apache.xerces.impl.dv.dtd,\
+org.apache.xerces.xs,\
+org.apache.xerces.impl.dtd,\
+org.apache.xerces.impl.validation,\
+org.apache.xerces.impl.xs.models,\
+org.apache.xerces.impl.xpath.regex,\
+org.apache.xml.serialize,\
+org.apache.xerces.dom,\
+org.apache.xalan,\
+org.apache.xalan.xslt,\
+org.apache.xalan.templates,\
+org.apache.xalan.xsltc,\
+org.apache.xalan.xsltc.cmdline,\
+org.apache.xalan.xsltc.cmdline.getopt,\
+org.apache.xalan.xsltc.trax,\
+org.apache.xalan.xsltc.dom,\
+org.apache.xalan.xsltc.runtime,\
+org.apache.xalan.xsltc.runtime.output,\
+org.apache.xalan.xsltc.util,\
+org.apache.xalan.xsltc.compiler,\
+org.apache.xalan.xsltc.compiler.util,\
+org.apache.xalan.serialize,\
+org.apache.xalan.client,\
+org.apache.xalan.res,\
+org.apache.xalan.transformer,\
+org.apache.xalan.extensions,\
+org.apache.xalan.lib,\
+org.apache.xalan.lib.sql,\
+org.apache.xalan.processor,\
+org.apache.xalan.trace,\
+org.apache.xml.dtm,\
+org.apache.xml.dtm.ref,\
+org.apache.xml.dtm.ref.sax2dtm,\
+org.apache.xml.dtm.ref.dom2dtm,\
+org.apache.xml.utils,\
+org.apache.xml.utils.res,\
+org.apache.xml.res,\
+org.apache.xml.serializer,\
+org.apache.xml.serializer.utils,\
+org.apache.xpath,\
+org.apache.xpath.domapi,\
+org.apache.xpath.objects,\
+org.apache.xpath.patterns,\
+org.apache.xpath.jaxp,\
+org.apache.xpath.res,\
+org.apache.xpath.operations,\
+org.apache.xpath.functions,\
+org.apache.xpath.axes,\
+org.apache.xpath.compiler,\
+org.apache.xml.resolver,\
+org.apache.xml.resolver.tools,\
+org.apache.xml.resolver.helpers,\
+org.apache.xml.resolver.readers,\
+org.apache.xml.resolver.etc,\
+org.apache.xml.resolver.apps,\
+javax.xml.ws,\
+javax.xml.bind,\
+javax.xml.bind.annotation,\
+javax.annotation,\
+javax.jws,\
+javax.jws.soap,\
+javax.xml.soap,\
+com.sun.xml.internal.messaging.saaj.soap.ver1_1,\
+com.sun.xml.internal.messaging.saaj.soap,\
+com.sun.tools.internal.ws.spi,\
+org.github.jamm

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/main/resources/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/main/resources/wso2server.sh b/products/cloud_controller/modules/distribution/src/main/resources/wso2server.sh
new file mode 100644
index 0000000..2022e92
--- /dev/null
+++ b/products/cloud_controller/modules/distribution/src/main/resources/wso2server.sh
@@ -0,0 +1,296 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+#  Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
+#
+#  Licensed 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.
+
+# ----------------------------------------------------------------------------
+# Main Script for the WSO2 Carbon Server
+#
+# Environment Variable Prequisites
+#
+#   CARBON_HOME   Home of WSO2 Carbon installation. If not set I will  try
+#                   to figure it out.
+#
+#   JAVA_HOME       Must point at your Java Development Kit installation.
+#
+#   JAVA_OPTS       (Optional) Java runtime options used when the commands
+#                   is executed.
+#
+# NOTE: Borrowed generously from Apache Tomcat startup scripts.
+# -----------------------------------------------------------------------------
+
+# OS specific support.  $var _must_ be set to either true or false.
+
+cygwin=false;
+darwin=false;
+os400=false;
+mingw=false;
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+MINGW*) mingw=true;;
+OS400*) os400=true;;
+Darwin*) darwin=true
+        if [ -z "$JAVA_VERSION" ] ; then
+             JAVA_VERSION="CurrentJDK"
+           else
+             echo "Using Java version: $JAVA_VERSION"
+           fi
+           if [ -z "$JAVA_HOME" ] ; then
+             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
+           fi
+           ;;
+esac
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ]; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '.*/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+
+# Get standard environment variables
+PRGDIR=`dirname "$PRG"`
+
+# Only set CARBON_HOME if not already set
+[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
+
+# Set AXIS2_HOME. Needed for One Click JAR Download
+AXIS2_HOME=$CARBON_HOME
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin; then
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
+  [ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
+fi
+
+# For OS400
+if $os400; then
+  # Set job priority to standard for interactive (interactive - 6) by using
+  # the interactive priority - 6, the helper threads that respond to requests
+  # will be running at the same priority as interactive jobs.
+  COMMAND='chgjob job('$JOBNAME') runpty(6)'
+  system $COMMAND
+
+  # Enable multi threading
+  QIBM_MULTI_THREADED=Y
+  export QIBM_MULTI_THREADED
+fi
+
+# For Migwn, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+  [ -n "$CARBON_HOME" ] &&
+    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+  [ -n "$AXIS2_HOME" ] &&
+    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
+  # TODO classpath?
+fi
+
+if [ -z "$JAVACMD" ] ; then
+  if [ -n "$JAVA_HOME"  ] ; then
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+      # IBM's JDK on AIX uses strange locations for the executables
+      JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+      JAVACMD="$JAVA_HOME/bin/java"
+    fi
+  else
+    JAVACMD=java
+  fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+  echo "Error: JAVA_HOME is not defined correctly."
+  echo " CARBON cannot execute $JAVACMD"
+  exit 1
+fi
+
+# if JAVA_HOME is not set we're not happy
+if [ -z "$JAVA_HOME" ]; then
+  echo "You must set the JAVA_HOME variable before running CARBON."
+  exit 1
+fi
+
+# ----- Process the input command ----------------------------------------------
+for c in $*
+do
+    if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
+          CMD="--debug"
+          continue
+    elif [ "$CMD" = "--debug" ]; then
+          if [ -z "$PORT" ]; then
+                PORT=$c
+          fi
+    elif [ "$c" = "--n" ] || [ "$c" = "-n" ] || [ "$c" = "n" ]; then
+          CMD="--n"
+          continue
+    elif [ "$CMD" = "--n" ]; then
+          if [ -z "$INSTANCES" ]; then
+                INSTANCES=$c
+          fi
+    elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
+          CMD="stop"
+    elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
+          CMD="start"
+    elif [ "$c" = "--console" ] || [ "$c" = "-console" ] || [ "$c" = "console" ]; then
+          CMD="console"
+    elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
+          CMD="version"
+    elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
+          CMD="restart"
+    elif [ "$c" = "--dump" ] || [ "$c" = "-dump" ] || [ "$c" = "dump" ]; then
+          CMD="dump"
+    elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
+          CMD="test"
+    elif [ "$c" = "--status" ] || [ "$c" = "-status" ] || [ "$c" = "status" ]; then
+          CMD="status"
+    fi
+done
+
+if [ "$CMD" = "--debug" ]; then
+  if [ "$PORT" = "" ]; then
+    echo " Please specify the debug port after the --debug option"
+    exit 1
+  fi
+  if [ -n "$JAVA_OPTS" ]; then
+    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
+  fi
+  CMD="RUN"
+  JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
+  echo "Please start the remote debugging client to continue..."
+elif [ "$CMD" = "--n" ]; then
+  if [ "$INSTANCES" = "" ] || [ ! -z `echo $INSTANCES | sed 's/[0-9]//g'` ]]; then
+    echo " Please specify the number of instances to start after the --n option"
+    exit 1
+  fi
+elif [ "$CMD" = "start" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  nohup $CARBON_HOME/bin/wso2server.sh &
+  exit 0
+elif [ "$CMD" = "stop" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
+  exit 0
+elif [ "$CMD" = "restart" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
+  nohup $CARBON_HOME/bin/wso2server.sh &
+  exit 0
+elif [ "$CMD" = "test" ]; then
+    JAVACMD="exec "$JAVACMD""
+elif [ "$CMD" = "version" ]; then
+  cat $CARBON_HOME/bin/version.txt
+  cat $CARBON_HOME/bin/wso2carbon-version.txt
+  exit 0
+fi
+
+# ---------- Handle the SSL Issue with proper JDK version --------------------
+jdk_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
+if [ "$jdk_16" = "" ]; then
+   echo " Starting WSO2 Carbon (in unsupported JDK)"
+   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
+fi
+
+CARBON_XBOOTCLASSPATH=""
+for f in "$CARBON_HOME"/lib/xboot/*.jar
+do
+    if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
+        CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
+    fi
+done
+
+JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
+
+CARBON_CLASSPATH=""
+if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
+    CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
+fi
+for f in "$CARBON_HOME"/bin/*.jar
+do
+    if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
+        CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
+    fi
+done
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
+  CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
+  AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
+  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
+  CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
+  CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
+fi
+
+# ----- Execute The Requested Command -----------------------------------------
+
+echo JAVA_HOME environment variable is set to $JAVA_HOME
+echo CARBON_HOME environment variable is set to $CARBON_HOME
+
+cd "$CARBON_HOME"
+
+START_EXIT_STATUS=121
+status=$START_EXIT_STATUS
+
+while [ "$status" = "$START_EXIT_STATUS" ]
+do
+    $JAVACMD \
+     -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
+     -d64 \
+     -server \
+     -Xms1500m -Xmx3000m \
+     -XX:PermSize=256m -XX:MaxPermSize=512m \
+     -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \
+     -XX:+CMSClassUnloadingEnabled \
+     -XX:+OptimizeStringConcat \
+     -XX:+HeapDumpOnOutOfMemoryError \
+     -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh &" \
+     -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
+     -XX:ErrorFile=repository/logs/hs_err_pid.log \
+     -XX:OnError="nohup ./wso2server.sh &" \
+     -javaagent:"$CARBON_HOME/repository/components/plugins/jamm_0.2.5.wso2v2.jar" \
+    $JAVA_OPTS \
+    -DandesConfig=qpid-config.xml \
+    -Ddisable.cassandra.server.startup=true \
+    -Dcom.sun.management.jmxremote \
+    -classpath "$CARBON_CLASSPATH" \
+    -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
+    -Djava.io.tmpdir="$CARBON_HOME/tmp" \
+    -Dcatalina.base="$CARBON_HOME/lib/tomcat" \
+    -Dwso2.server.standalone=true \
+    -Dcarbon.registry.root=/ \
+    -Djava.command="$JAVACMD" \
+    -Dcarbon.home="$CARBON_HOME" \
+    -Dwso2.transports.xml="$CARBON_HOME/repository/conf/mgt-transports.xml" \
+    -Djava.util.logging.config.file="$CARBON_HOME/repository/conf/log4j.properties" \
+    -Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
+    -Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
+    -Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
+    -Dcom.atomikos.icatch.hide_init_file_path=true \
+    -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
+    -Dcom.sun.jndi.ldap.connect.pool.authentication=simple  \
+    -Dcom.sun.jndi.ldap.connect.pool.timeout=3000  \
+    -Dorg.terracotta.quartz.skipUpdateCheck=true \
+    org.wso2.carbon.bootstrap.Bootstrap $*
+    status=$?
+done

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/addMessage.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/addMessage.png b/products/cloud_controller/modules/distribution/src/site/resources/images/addMessage.png
new file mode 100644
index 0000000..1697d67
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/addMessage.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/addPermission.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/addPermission.png b/products/cloud_controller/modules/distribution/src/site/resources/images/addPermission.png
new file mode 100644
index 0000000..3c9ec93
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/addPermission.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_02.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_02.png b/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_02.png
new file mode 100644
index 0000000..6c8c003
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_02.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_03.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_03.png b/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_03.png
new file mode 100644
index 0000000..0db2694
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/cluster_scenario_03.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/createMB.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/createMB.png b/products/cloud_controller/modules/distribution/src/site/resources/images/createMB.png
new file mode 100644
index 0000000..abbf81b
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/createMB.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/mb-docs-bg.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/mb-docs-bg.gif b/products/cloud_controller/modules/distribution/src/site/resources/images/mb-docs-bg.gif
new file mode 100644
index 0000000..9dee07b
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/mb-docs-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/state1_esper.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/state1_esper.png b/products/cloud_controller/modules/distribution/src/site/resources/images/state1_esper.png
new file mode 100644
index 0000000..a2b7984
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/state1_esper.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/table-header.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/table-header.gif b/products/cloud_controller/modules/distribution/src/site/resources/images/table-header.gif
new file mode 100644
index 0000000..92283f0
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/table-header.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/topicBrowser.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/topicBrowser.png b/products/cloud_controller/modules/distribution/src/site/resources/images/topicBrowser.png
new file mode 100644
index 0000000..e7512d1
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/topicBrowser.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/topic_addSubscription.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/topic_addSubscription.png b/products/cloud_controller/modules/distribution/src/site/resources/images/topic_addSubscription.png
new file mode 100644
index 0000000..276710c
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/topic_addSubscription.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/topic_updatePermissions.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/topic_updatePermissions.png b/products/cloud_controller/modules/distribution/src/site/resources/images/topic_updatePermissions.png
new file mode 100644
index 0000000..aaa6aaf
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/topic_updatePermissions.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/user-mgt.PNG
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/user-mgt.PNG b/products/cloud_controller/modules/distribution/src/site/resources/images/user-mgt.PNG
new file mode 100644
index 0000000..63a5dc8
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/user-mgt.PNG differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/resources/images/zookeeperConfig.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/resources/images/zookeeperConfig.png b/products/cloud_controller/modules/distribution/src/site/resources/images/zookeeperConfig.png
new file mode 100644
index 0000000..42f707c
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/resources/images/zookeeperConfig.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css
new file mode 100644
index 0000000..3b3e9ea
--- /dev/null
+++ b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css
@@ -0,0 +1,74 @@
+body {
+    background-color: white;
+    padding-left: 20px;
+    padding-top: 0px;
+    padding-right: 20px;
+    padding-bottom: 50px;
+    margin: 0px;
+    font-family: "Lucida Grande","Lucida Sans","Microsoft Sans Serif", "Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms";
+    color: #111;
+	font-size:12px;
+	font-size-adjust:none;
+	font-stretch:normal;
+	font-style:normal;
+	font-variant:normal;
+	font-weight:normal;
+	line-height:1.25em;
+	background-image: url(../images/help-footer.gif);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+
+p { margin-left: 20px;
+margin-right: 20px;}
+
+td { }
+
+a:link { }
+
+a:visited { }
+
+a:hover { }
+
+a:active { }
+
+h1, h2, h3, h4, h5 {
+margin: 0px;
+padding-left: 20px;
+padding-top: 5px;
+padding-bottom: 5px;
+font-weight: normal;
+}
+
+h1 {
+	background-image: url(../images/help-header.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+	padding-top: 90px;
+	padding-bottom: 25px;
+	font-size: 225%;
+	font-weight: normal;
+	padding-left: 20px;
+	color: #f47b20;
+	margin-left: -20px;
+	margin-right: -20px;
+}
+
+a img {
+ 	border: 0px;
+}
+table.styled {
+border: solid 0px #ccc;
+border-collapse: collapse;
+}
+table.styled tr td {
+border: solid 1px #ccc;
+padding: 3px;
+}
+table.styled tr td.subHeader {
+border: solid 0px #ccc;
+padding-top: 10px;
+padding-bottom: 5px;
+font-size: 125%;
+font-weight: bold;
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
new file mode 100644
index 0000000..ad3d634
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
new file mode 100644
index 0000000..42ccba2
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
new file mode 100644
index 0000000..4443fdc
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
new file mode 100644
index 0000000..7c9fa6c
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_454545_256x240.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_454545_256x240.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_454545_256x240.png
new file mode 100644
index 0000000..59bd45b
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_454545_256x240.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_cd0a0a_256x240.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_cd0a0a_256x240.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_cd0a0a_256x240.png
new file mode 100644
index 0000000..2ab019b
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/css/smoothness/images/ui-icons_cd0a0a_256x240.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/1px.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/1px.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/1px.gif
new file mode 100644
index 0000000..f866f1d
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/1px.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-collection.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-collection.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-collection.gif
new file mode 100644
index 0000000..b5b64e9
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-collection.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-resource.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-resource.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-resource.gif
new file mode 100644
index 0000000..de45602
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/add-resource.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/addNewTab.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/addNewTab.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/addNewTab.gif
new file mode 100644
index 0000000..6be28f5
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/addNewTab.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/am_logo_h23.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/am_logo_h23.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/am_logo_h23.gif
new file mode 100644
index 0000000..9d6af9f
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/am_logo_h23.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/appserver_logo_h23.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/appserver_logo_h23.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/appserver_logo_h23.gif
new file mode 100644
index 0000000..3b4d1b5
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/appserver_logo_h23.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/arrow-up.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/arrow-up.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/arrow-up.png
new file mode 100644
index 0000000..8ba09a8
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/arrow-up.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/atom.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/atom.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/atom.gif
new file mode 100644
index 0000000..b6bc882
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/atom.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/bam_logo_h23.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/bam_logo_h23.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/bam_logo_h23.gif
new file mode 100644
index 0000000..5f987a0
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/bam_logo_h23.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/brick_edit.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/brick_edit.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/brick_edit.gif
new file mode 100644
index 0000000..4e18c36
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/brick_edit.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/buttonRow-bg.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/buttonRow-bg.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/buttonRow-bg.gif
new file mode 100644
index 0000000..c6bf2b0
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/buttonRow-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/calendar.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/calendar.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/calendar.gif
new file mode 100644
index 0000000..2b1c1e7
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/calendar.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/create-checkpoint.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/create-checkpoint.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/create-checkpoint.gif
new file mode 100644
index 0000000..c9995c3
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/create-checkpoint.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/default-menu-icon.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/default-menu-icon.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/default-menu-icon.gif
new file mode 100644
index 0000000..5a3db6f
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/default-menu-icon.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/down-arrow.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/down-arrow.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/down-arrow.png
new file mode 100644
index 0000000..ed06ba1
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/down-arrow.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/excelicon.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/excelicon.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/excelicon.gif
new file mode 100644
index 0000000..0e874cc
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/excelicon.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/favicon.ico
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/favicon.ico b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/favicon.ico
new file mode 100644
index 0000000..f7b2bbf
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/favicon.ico differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/header-region-bg.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/header-region-bg.gif
new file mode 100644
index 0000000..dc9c627
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/header-region-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/help.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/help.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/help.gif
new file mode 100644
index 0000000..368068d
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/help.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/icon-feed-small-res.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/icon-feed-small-res.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/icon-feed-small-res.gif
new file mode 100644
index 0000000..06205c5
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/icon-feed-small-res.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/information.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/information.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/information.gif
new file mode 100644
index 0000000..a9c63b1
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/information.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/invisible.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/invisible.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/invisible.gif
new file mode 100644
index 0000000..c0b332e
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/invisible.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/issue-tracker.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/issue-tracker.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/issue-tracker.gif
new file mode 100644
index 0000000..9029c12
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/issue-tracker.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/mainIcons.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/mainIcons.png b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/mainIcons.png
new file mode 100644
index 0000000..c0dac71
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/mainIcons.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/oops.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/oops.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/oops.gif
new file mode 100644
index 0000000..6484f57
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/oops.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/star.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/star.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/star.gif
new file mode 100644
index 0000000..20aeeef
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/star.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/table-header.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/table-header.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/table-header.gif
new file mode 100644
index 0000000..92283f0
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/table-header.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/trace-icon-disabled.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/trace-icon-disabled.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/trace-icon-disabled.gif
new file mode 100644
index 0000000..ddcd94c
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/trace-icon-disabled.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/up-arrow.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/up-arrow.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/up-arrow.gif
new file mode 100644
index 0000000..325a93a
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/up-arrow.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/user-guide.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/user-guide.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/user-guide.gif
new file mode 100644
index 0000000..9342adc
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/admin/images/user-guide.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/list.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/list.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/list.gif
new file mode 100644
index 0000000..638d8ab
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/list.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/nodewiseQueueWorkers.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/nodewiseQueueWorkers.png b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/nodewiseQueueWorkers.png
new file mode 100644
index 0000000..a1867af
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/nodewiseQueueWorkers.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/queue_type_admin.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/queue_type_admin.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/queue_type_admin.gif
new file mode 100644
index 0000000..e3643a5
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/queue_type_admin.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/secure.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/secure.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/secure.gif
new file mode 100644
index 0000000..d0fa668
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/images/secure.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/styles/dsxmleditor.css
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/styles/dsxmleditor.css b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/styles/dsxmleditor.css
new file mode 100644
index 0000000..91cde2a
--- /dev/null
+++ b/products/cloud_controller/modules/distribution/src/site/xdoc/andes-cluster-mgt/styles/dsxmleditor.css
@@ -0,0 +1,82 @@
+.treeControl div.title{
+    font-size:14px;
+    font-weight:bold;
+    color:#788cb3;
+}
+.topicData{
+	border:solid 1px #ccc;
+	padding:5px;
+}
+td.tree-top{
+   background-image:url(../images/treetop.jpg);
+   background-repeat:repeat-x;
+    height:21px;
+}
+td.tree-top h3{
+    padding-left:10px !important;
+    padding-right:0px !important;
+    padding-top:3px !important;
+    padding-bottom:0px !important;
+    margin:0px !important;
+    font-size:12px !important;
+    font-weight:bold !important;
+    color:#414141;
+    
+}
+.leftBox{
+	border:solid 1px #ccc;
+	padding:5px;
+}
+.treeControl{
+margin-bottom:10px;
+}
+.selected{
+    background-color:#a0afcd;
+    color:#fff !important;
+    padding:3px;
+}
+.secure{
+    color: #009966 !important;
+    text-decoration:underline;
+    background-image:url(../images/secure.gif);
+    background-repeat:no-repeat;
+    background-position:right center;
+    padding-right:15px;
+}
+div#eprInput {
+    margin: 0px 0px 0px 0px;
+    display: block;
+}
+
+div#scriptInput {
+    margin: 0px 20px 0px 20px;
+    display: none;
+}
+
+.initE {
+    border: solid 1px #e8e7e7;
+    text-align: left;
+    font-style: italic;
+    color: #adadad;
+}
+
+.normalE {
+    border: solid 1px #bfbebe;
+    text-align: left;
+}
+.importantArea {
+background-color:#DDDDDD;
+border:1px solid #949494;
+padding:5px;
+}
+#permissionsDiv h4 {
+color:#999999;
+font-size:12px !important;
+font-weight:bold !important;
+}
+.perRow td {
+background-color:#C6C7C8;
+border-right:1px solid #DFDFDF !important;
+font-weight:bold;
+text-align:center;
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_03.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_03.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_03.xml
new file mode 100644
index 0000000..2a8c48c
--- /dev/null
+++ b/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_03.xml
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. 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.
+  -->
+
+<!DOCTYPE html
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
+    <title>
+      WSO2 MB Clustered Deployment - Scenario 03
+    </title>
+    <link href="css/mb-docs.css" rel="stylesheet"/>
+    <link href="styles/dist-docs.css" rel="stylesheet" type="text/css" media="all"/>
+  </head>
+  <body xml:lang="en">
+      [ <a href="docs_index.html"> Documentation Index </a> ]
+
+      <h2>Starting external cassandra server and use inbuilt zoo keeper server in ring model with broker nodes</h2>
+      <p>
+          In this model you need to get downloaded following apache products
+      </p>
+
+      <ul>
+          <li><a href="http://cassandra.apache.org/download/">Apache Cassandra</a><p> Version 1.0.*</p></li>
+      </ul>
+      <p> Deployment model will be like bellow </p>
+      <p>
+          <img src="images/cluster_scenario_03.png" alt="Cluster Setup Scenario 03" height="600" width ="950"/>
+      </p>
+      <p> In this model we have a common cassandra server. Since we are shipping a zoo keeper server with Message broker product we can
+          use that and create a zoo keeper ring in the cluster.</p>
+      <ul>
+          <li>Cassandra Server - 192.168.0.100</li>
+      </ul>
+      <p> We have three Message Broker servers in three different hosts as</p>
+       <ul>
+          <li>MB Server 01 - 192.168.0.101</li>
+          <li>MB Server 02 - 192.168.0.102</li>
+          <li>MB Server 03 - 192.168.0.103</li>
+      </ul>
+
+      <p>First we need to configure the HostName in carbon.xml file which is located in "wso2mb-2.0.1/repository/conf/" directory.
+           Specify the ip of the host as follows. <font color="red">You need to configure this for all the three servers.</font></p>
+           <pre>
+               &lt;!--
+                      Host name or IP address of the machine hosting this server
+                      e.g. www.wso2.org, 192.168.1.10
+                      This is will become part of the End Point Reference of the
+                      services deployed on this server instance.
+                   -->
+                   &lt;HostName>192.168.0.101&lt;/HostName>
+
+           </pre>
+
+
+      <p> Then we need to configure cassandra server to listen to all the broker nodes.For that we need to change the following entries
+      in the "Cassandra.yaml" file which is located in the "apache-cassandra-1.0.1/conf/" directory.</p>
+
+      <ul>
+          <li>Change the data storage directories of cassandra. Here by default it will point to the location "/var/lib/". But
+          it will be better, if you can keep the data locally inside the folder where you have the server setup. So change it to "./repository/database" off
+          all three entries as</li>
+          <pre>
+              # directories where Cassandra should store data on disk.
+              data_file_directories:
+                  - ./repository/database/cassandra/data
+
+              # commit log
+              commitlog_directory: ./repository/database/cassandra/commitlog
+
+              # saved caches
+              saved_caches_directory: ./repository/database/cassandra/saved_caches
+
+          </pre>
+
+          <li>Change listen address of the server. By default it is "localhost", change it to the ip address of the host where you
+          have the cassandra server.
+          </li>
+          <pre>
+             listen_address: 192.168.0.100
+          </pre>
+
+          <li>Change RPC address of the server.By default it is "localhost", change it to the ip address of the host where you
+          have the cassandra server. </li>
+           <pre>
+             rpc_address: 192.168.0.100
+          </pre>
+      </ul>
+      <p> Now save the cassandra.yaml file and you can start the cassandra server by executing the script "cassandra" with the
+          option -f.  Eg: "./cassandra -f"
+      </p>
+
+      <p>
+          <b>Configuring Zookeeper Cluster</b>
+      </p>
+      <p> Then we need to configure the Zoo Keeper Servers to create a ring within among all broker nodes. We can do it by
+       adding client port address to the "zoo.cfg" which is located at "wso2mb-2.0.1/repository/conf/etc " . </p>
+
+      <p>After modifying the file , it will look like bellow. </p>
+      <pre>
+           tickTime=2000
+           dataDir=repository/data/zookeeper
+           clientPort=2181
+          <b>start_zk_server=true</b>
+          <b>clientPortAddress=192.168.0.101</b>
+          <b>server.1=192.168.0.100:2888:3888</b>
+          <b>server.2=192.168.0.101:2888:3888</b>
+          <b>server.3=192.168.0.102:2888:3888</b>
+      </pre>
+
+      <p> Above zoo.cfg file is for the server 192.168.0.101. You can copy the same zoo.cfg file to other two servers
+      and change the entry "clientPortAddress" to the ip of that particular server.</p>
+
+      <p> Then you need to create file "myid" in the data directory (repository/data/zookeeper) of each server. In that file
+      you need to specify the id of the server.</p>
+
+      <p>
+          eg: Id of the the server 192.168.0.100 will be "1". You need only to have the number 1 in that myid file.
+      </p>
+
+      <p>You can find more information on this in  <a href="http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_zkMulitServerSetup">zookeeper clustering setup guide</a></p>
+
+      <p>
+          <b>You need to do above configuration in each of the message broker servers appropriately.</b>
+      </p>
+
+      <p>
+          Then you need to do the following configuration changes in each Message broker nodes
+      </p>
+      <p>
+         Modify qpid-config.xml file which is located at : /repository/conf/advanced directory as bellow
+      </p>
+      <ul>
+
+          <li>Enable clustering</li>
+          <li>Change the server ip of the Zookeeper by adding all zoo keeper server details</li>
+      </ul>
+      <pre>
+          &lt;clustering>
+
+          &lt;enabled><b>true</b>&lt;/enabled>
+          &lt;OnceInOrderSupportEnabled>false&lt;/OnceInOrderSupportEnabled>
+          &lt;externalCassandraServerRequired>true&lt;/externalCassandraServerRequired>
+
+          &lt;coordination>
+              &lt;!-- Apache Zookeeper Address -->
+              &lt;ZooKeeperConnection><b>192.168.0.101:2181,192.168.0.102:2181,192.168.0.103:2181</b>&lt;/ZooKeeperConnection>
+              &lt;!-- Format yyyy-MM-dd HH:mm:ss -->
+              &lt;ReferenceTime>2012-02-29 08:08:08&lt;/ReferenceTime>
+          &lt;/coordination>
+      </pre>
+
+      <p>Modify qpid-virtualhosts.xml file which is located at :/repository/conf/advanced directory as bellow</p>
+       <ul>
+          <li>Change the connection string by pointing to the cassandra server</li>
+      </ul>
+      <pre>
+          &lt;store>
+              &lt;class>org.wso2.andes.server.store.CassandraMessageStore&lt;/class>
+              &lt;username>admin&lt;/username>
+              &lt;password>admin&lt;/password>
+              &lt;cluster>ClusterOne&lt;/cluster>
+              &lt;idGenerator>org.wso2.andes.server.cluster.coordination.TimeStampBasedMessageIdGenerator&lt;/idGenerator>
+              &lt;connectionString><b>192.168.0.100</b>:9160&lt;/connectionString>
+          &lt;/store>
+      </pre>
+
+      <p>Now you can start all three Message Broker nodes.</p>
+
+      <h2>
+
+      Other Resources
+    </h2>
+    <p/>
+    <p>
+      <a href="http://wso2.org/library/mb">The WSO2 Oxygen Tank
+      Library</a> : The Library contains articles, tutorials,
+      presentations, and other knowledge base items published on The Oxygen
+      Tank on different styles of deployments.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_05.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_05.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_05.xml
new file mode 100644
index 0000000..dec9837
--- /dev/null
+++ b/products/cloud_controller/modules/distribution/src/site/xdoc/cluster_scenario_05.xml
@@ -0,0 +1,215 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. 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.
+  -->
+
+<!DOCTYPE html
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
+    <title>
+      WSO2 MB Clustered Deployment - Scenario 04
+    </title>
+    <link href="css/mb-docs.css" rel="stylesheet"/>
+    <link href="styles/dist-docs.css" rel="stylesheet" type="text/css" media="all"/>
+  </head>
+  <body xml:lang="en">
+      [ <a href="docs_index.html"> Documentation Index </a> ]
+
+      <h2>Use inbuilt cassandra server and zoo keeper server in a customized manner</h2>
+
+      <p> The deployment model of this scenario will be like bellow </p>
+      <p>
+          <img src="images/cluster_scenario_05.png" alt="Cluster Setup Scenario 05" height="600" width ="950"/>
+      </p>
+      <p> In this model we have two rings, Cassandra ring and ZooKeeper ring. There is a common Message broker node for these rings.
+          <b>The reason for having a common broker node is , there should be at least on cassandra server and one zoo keeper server
+          to start WSO2 Message broker in clustered mode</b>   Apart from that we have a message broker server
+          which points to both of these rings.Since we are shipping a cassandra server and zoo keeper server
+          with Message broker product we can use them and create a cassandra ring and a zoo keeper ring in the cluster.</p>
+
+      <p> As in the image, We have four Message Broker servers in four different hosts. In that we use two servers to create a cassandra ring, another two
+      servers to create a zoo keeper ring and another server uses above created rings as in the diagram.</p>
+
+      <p>Servers used to create cassandra ring</p>
+      <ul>
+          <li>MB Server 01 - 192.168.0.100</li>
+          <li>MB Server 02 - 192.168.0.101</li>
+      </ul>
+
+      <p>Servers used to create zoo keeper ring</p>
+
+      <ul>
+          <li>MB Server 01 - 192.168.0.101</li>
+          <li>MB Server 02 - 192.168.0.102</li>
+      </ul>
+
+      <p>Standalone server</p>
+      <ul>
+          <li>MB Server 01 - 192.168.0.103</li>
+      </ul>
+
+      <p><font color="red">Note that 192.168.0.101 server is common to both rings !</font> </p>
+
+      <p>First we need to configure the HostName in carbon.xml file which is located in "wso2mb-2.0.1/repository/conf/" directory.
+      Specify the ip of the host as follows</p>
+      <pre>
+          &lt;!--
+                 Host name or IP address of the machine hosting this server
+                 e.g. www.wso2.org, 192.168.1.10
+                 This is will become part of the End Point Reference of the
+                 services deployed on this server instance.
+              -->
+              &lt;HostName>192.168.0.101&lt;/HostName>
+
+      </pre>
+
+      <p> We need to configure cassandra servers in these MB servers to form a cassandra ring. For that we need to change the following
+          entries in the "Cassandra.yaml" file which is located in the "wso2mb-2.0.1/repository/conf/etc" directory.</p>
+
+      <ul>
+          <li>Change the seeds in the ring. You can get a better idea on setting a cassandra from following <a href="http://www.datastax.com/docs/1.0/install/cluster_init">web page.</a>
+          Here we are configuring two seed nodes. (MB Server 01 and 02)</li>
+
+          <pre>
+              # seeds is actually a comma-delimited list of addresses.
+              # Ex: "&lt;ip1>,&lt;ip2>,&lt;ip3>"
+              - seeds: "192.168.0.100,192.168.0.101"
+
+          </pre>
+
+          <li>Change listen address of the server. By default it is "localhost", change it to the ip address of the host where you
+          have the cassandra server. <b>You need to change the listen address of the each server to it's ip address. Here
+          for the server 192.168.0.100, it will like bellow. </b>
+          </li>
+          <pre>
+             listen_address: 192.168.0.100
+          </pre>
+
+          <li>Change RPC address of the server.By default it is "localhost", change it to the ip address of the host where you
+          have the cassandra server. <b>You need to change the RPC address of the each server to it's ip address. Here
+          for the server 192.168.0.100, it will like bellow. </b></li>
+           <pre>
+             rpc_address: 192.168.0.100
+          </pre>
+      </ul>
+       <p>
+          <b>You need to change this entry in the 192.168.0.101 message broker server also.</b>
+      </p>
+
+
+      <p>
+               <b>Configuring Zookeeper Cluster</b>
+           </p>
+           <p> Then we need to configure the Zoo Keeper Servers to create a ring within among all broker nodes. We can do it by
+            adding client port address to the "zoo.cfg" which is located at "wso2mb-2.0.1/repository/conf/etc " . </p>
+
+           <p>After modifying the file , it will look like bellow. </p>
+           <pre>
+                tickTime=2000
+                dataDir=repository/data/zookeeper
+                clientPort=2181
+               <b>start_zk_server=true</b>
+               <b>clientPortAddress=192.168.0.101</b>
+               <b>server.1=192.168.0.101:2888:3888</b>
+               <b>server.2=192.168.0.102:2888:3888</b>
+           </pre>
+
+           <p> Above zoo.cfg file is for the server 192.168.0.101. You can copy the same zoo.cfg file to other two servers
+           and change the entry "clientPortAddress" to the ip of that particular server.</p>
+
+           <p> Then you need to create file "myid" in the data directory (repository/data/zookeeper) of each server. In that file
+           you need to specify the id of the server.</p>
+
+           <p>
+               eg: Id of the the server 192.168.0.101 will be "1". You need only to have the number 1 in that myid file.
+           </p>
+
+           <p>You can find more information on this in  <a href="http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_zkMulitServerSetup">zookeeper clustering setup guide</a></p>
+
+           <p>
+               <b>You need to do above configuration in each of the message broker servers appropriately.</b>
+           </p>
+
+      <p>
+          <b>You need to change this entry in the 192.168.0.102 message broker server also.</b>
+      </p>
+
+      <p>
+          Then you need to do the following configuration changes in 192.168.0.100,192.168.0.101 (Servers with cassandra) Message broker nodes
+          and 192.168.0.103 node.
+      </p>
+      <p>
+         Modify qpid-config.xml file which is located at : /repository/conf/advanced directory as bellow
+      </p>
+      <ul>
+
+          <li>Enable clustering</li>
+          <li>Change the server of the Zookeeper</li>
+      </ul>
+      <pre>
+          &lt;clustering>
+
+          &lt;enabled><b>true</b>&lt;/enabled>
+          &lt;OnceInOrderSupportEnabled>false&lt;/OnceInOrderSupportEnabled>
+          &lt;externalCassandraServerRequired>false&lt;/externalCassandraServerRequired>
+
+          &lt;coordination>
+              &lt;!-- Apache Zookeeper Address -->
+              &lt;ZooKeeperConnection><b>192.168.0.101:2181,192.168.0.102:2181</b>&lt;/ZooKeeperConnection>
+              &lt;!-- Format yyyy-MM-dd HH:mm:ss -->
+              &lt;ReferenceTime>2012-02-29 08:08:08&lt;/ReferenceTime>
+          &lt;/coordination>
+      </pre>
+
+       <p>
+          Then you need to do the following configuration changes in 192.168.0.101,192.168.0.102 (Servers with zookeeper) Message broker nodes
+            and 192.168.0.103 node.
+      </p>
+
+        <p>Modify qpid-virtualhosts.xml file which is located at :/repository/conf/advanced directory as bellow</p>
+       <ul>
+          <li>Change the connection string by pointing to the cassandra server</li>
+      </ul>
+      <pre>
+          &lt;store>
+              &lt;class>org.wso2.andes.server.store.CassandraMessageStore&lt;/class>
+              &lt;username>admin&lt;/username>
+              &lt;password>admin&lt;/password>
+              &lt;cluster>ClusterOne&lt;/cluster>
+              &lt;idGenerator>org.wso2.andes.server.cluster.coordination.TimeStampBasedMessageIdGenerator&lt;/idGenerator>
+              &lt;connectionString><b>192.168.0.101</b>:9160&lt;/connectionString>
+          &lt;/store>
+      </pre>
+      <p>Now you can start node common to both of the rings (192.168.0.101) which have cassandra servers and  zookeeper server and
+      then you can start all the other nodes.</p>
+
+      <h2>
+
+      Other Resources
+    </h2>
+    <p/>
+    <p>
+      <a href="http://wso2.org/library/mb">The WSO2 Oxygen Tank
+      Library</a> : The Library contains articles, tutorials,
+      presentations, and other knowledge base items published on The Oxygen
+      Tank on different styles of deployments.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/dialog.css
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/dialog.css b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/dialog.css
new file mode 100644
index 0000000..72718e5
--- /dev/null
+++ b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/dialog.css
@@ -0,0 +1,129 @@
+div#messagebox {
+    background-image: url(../img/confirm.gif);
+    background-position: 15px 15px;
+    background-repeat: no-repeat;
+    background-attachment: scroll;
+    padding-left: 75px;
+    padding-right: 15px;
+    padding-top: 15px;
+    padding-bottom: 15px;
+    width: 360px;
+    height: 68px;
+    _height: 150px;
+    overflow: auto;
+}
+
+div#messagebox img {
+    float: left;
+    margin-right: 20px;
+}
+
+div#messagebox p {
+    font-size: 115%;
+    margin: 0px;
+}
+
+div#messagebox-warning {
+    background-image: url(../img/warning.gif);
+    background-position: 15px 15px;
+    background-repeat: no-repeat;
+    background-attachment: scroll;
+    padding-left: 75px;
+    padding-right: 15px;
+    padding-top: 15px;
+    padding-bottom: 15px;
+    width: 360px;
+    height: 68px;
+    _height: 150px;
+    overflow: auto;
+}
+
+div#messagebox-warning img {
+    float: left;
+    margin-right: 20px;
+}
+
+div#messagebox-warning p {
+    font-size: 115%;
+    margin: 0px;
+}
+div#messagebox-error { 
+	background-image: url(../img/error.gif); 
+	background-position: 15px 15px; 
+	background-repeat: no-repeat; 
+	background-attachment: scroll; 
+	height: 108px;
+	width: 400px; 
+	padding: 15px 15px 15px 75px;
+    overflow:auto;
+}
+
+div#messagebox-error img {
+    float: left;
+    margin-right: 20px;
+}
+
+div#messagebox-error p {
+    font-size: 115%;
+    margin: 0px;
+}
+div#messagebox-info {
+    background-image: url(../img/info.gif);
+    background-position: 15px 15px;
+    background-repeat: no-repeat;
+    background-attachment: scroll;
+    padding-left: 75px;
+    padding-right: 15px;
+    padding-top: 15px;
+    padding-bottom: 15px;
+    height: 68px;
+    _height: 150px;
+    width: 360px;
+    overflow: auto;
+}
+
+div#messagebox-info img {
+    float: left;
+    margin-right: 20px;
+}
+
+div#messagebox-info p {
+    font-size: 115%;
+    margin: 0px;
+}
+div#messagebox-confirm {
+    background-image: url(../img/confirm.gif);
+    background-position: 15px 15px;
+    background-repeat: no-repeat;
+    background-attachment: scroll;
+    padding-left: 75px;
+    padding-right: 15px;
+    padding-top: 15px;
+    padding-bottom: 15px;
+    width: 360px;
+    height: 68px;
+    _height: 150px;
+    overflow:auto;
+}
+
+div#messagebox-confirm img {
+    float: left;
+    margin-right: 20px;
+}
+
+div#messagebox-confirm p {
+    font-size: 115%;
+    margin: 0px;
+}
+div.ui-dialog-overlay{
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../img/overlay.png');
+}
+div.ui-dialog-overlay[class] {
+    background-image:url(../img/overlay.png);
+}
+/* dialog overflow fix */
+.ui-dialog-content{
+padding:0px;
+overflow: auto;
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_11x11_icon_close.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_11x11_icon_close.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_11x11_icon_close.gif
new file mode 100644
index 0000000..70d0c82
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_11x11_icon_close.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_7x7_arrow_left.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_7x7_arrow_left.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_7x7_arrow_left.gif
new file mode 100644
index 0000000..9f95efa
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/222222_7x7_arrow_left.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/454545_7x7_arrow_left.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/454545_7x7_arrow_left.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/454545_7x7_arrow_left.gif
new file mode 100644
index 0000000..cf01ff3
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/454545_7x7_arrow_left.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/888888_11x11_icon_close.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/888888_11x11_icon_close.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/888888_11x11_icon_close.gif
new file mode 100644
index 0000000..326d015
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/888888_11x11_icon_close.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_01_flat_0.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_01_flat_0.png b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_01_flat_0.png
new file mode 100644
index 0000000..ac8b229
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_01_flat_0.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_02_glass_65.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_02_glass_65.png b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_02_glass_65.png
new file mode 100644
index 0000000..2c16183
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/css/jqueryui/images/ffffff_40x100_textures_02_glass_65.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/img/warning.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/img/warning.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/img/warning.gif
new file mode 100644
index 0000000..b4ba52f
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/img/warning.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_doc.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_doc.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_doc.gif
new file mode 100644
index 0000000..26db434
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_doc.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_plus.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_plus.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_plus.gif
new file mode 100644
index 0000000..74ac5cb
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_11x11_icon_plus.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_down.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_down.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_down.gif
new file mode 100644
index 0000000..29c6c70
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_down.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_right.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_right.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_right.gif
new file mode 100644
index 0000000..bc02050
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/222222_7x7_arrow_right.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_arrows_leftright.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_arrows_leftright.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_arrows_leftright.gif
new file mode 100644
index 0000000..136e626
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_arrows_leftright.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_doc.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_doc.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_doc.gif
new file mode 100644
index 0000000..e91c733
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_doc.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_folder_open.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_folder_open.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_folder_open.gif
new file mode 100644
index 0000000..f6414c7
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_folder_open.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6fdeacea/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_minus.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_minus.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_minus.gif
new file mode 100644
index 0000000..25b3e17
Binary files /dev/null and b/products/cloud_controller/modules/distribution/src/site/xdoc/dialog/js/jqueryui/tabs/images/454545_11x11_icon_minus.gif differ