You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/05/10 20:45:15 UTC
stratos git commit: Updating load balancer extensions INSTALL.md files
Repository: stratos
Updated Branches:
refs/heads/master 2ccd5eb61 -> 25b09fa3f
Updating load balancer extensions INSTALL.md files
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/25b09fa3
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/25b09fa3
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/25b09fa3
Branch: refs/heads/master
Commit: 25b09fa3f3fec380590a2220129d79e54d4061b1
Parents: 2ccd5eb
Author: Imesh Gunaratne <im...@apache.org>
Authored: Mon May 11 00:15:05 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Mon May 11 00:15:05 2015 +0530
----------------------------------------------------------------------
.../load-balancer/haproxy-extension/INSTALL.md | 32 +++++++++++++++++
.../load-balancer/haproxy-extension/INSTALL.txt | 36 --------------------
.../load-balancer/haproxy-extension/README.md | 3 +-
.../load-balancer/nginx-extension/INSTALL.md | 33 ++++++++++++++++++
.../load-balancer/nginx-extension/README.md | 5 ++-
5 files changed, 71 insertions(+), 38 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/25b09fa3/extensions/load-balancer/haproxy-extension/INSTALL.md
----------------------------------------------------------------------
diff --git a/extensions/load-balancer/haproxy-extension/INSTALL.md b/extensions/load-balancer/haproxy-extension/INSTALL.md
new file mode 100644
index 0000000..826419f
--- /dev/null
+++ b/extensions/load-balancer/haproxy-extension/INSTALL.md
@@ -0,0 +1,32 @@
+# Installing Apache Stratos HAProxy Extension
+
+Apache Stratos HAProxy Extension could be used for integrating HAProxy load balancer with Apache Stratos. Please follow
+below steps to proceed with the installation:
+
+1. Download and extract HAProxy binary distribution to a desired location: <haproxy-home>.
+
+2. Extract org.apache.stratos.haproxy.extension-<version>.zip to a desired location: <haproxy-extension-home>.
+
+3. Open <haproxy-extension-home>/bin/haproxy-extension.sh file in a text editor and update following system properties:
+ ```
+ # Define haproxy host private ip address:
+ -Dhaproxy.private.ip=127.0.0.1
+
+ # Define the haproxy executable file path:
+ -Dexecutable.file.path=<haproxy-home>/haproxy
+
+ # Enable/disable cep statistics publisher:
+ -Dcep.stats.publisher.enabled=false
+
+ # If cep statistics publisher is enabled define the following properties:
+ -Dthrift.receiver.ip=127.0.0.1
+ -Dthrift.receiver.port=7615
+ -Dnetwork.partition.id=network-partition-1
+ ```
+
+4. Open <haproxy-extension-home>/conf/jndi.properties file in a text editor and update message broker information:
+ ```
+ java.naming.provider.url=tcp://localhost:61616
+ ```
+5. Run <haproxy-extension-home>/bin/haproxy-extension.sh as the root user.
+
http://git-wip-us.apache.org/repos/asf/stratos/blob/25b09fa3/extensions/load-balancer/haproxy-extension/INSTALL.txt
----------------------------------------------------------------------
diff --git a/extensions/load-balancer/haproxy-extension/INSTALL.txt b/extensions/load-balancer/haproxy-extension/INSTALL.txt
deleted file mode 100644
index c6ff692..0000000
--- a/extensions/load-balancer/haproxy-extension/INSTALL.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-================================================================================
- Installing Apache Stratos HAProxy Extension 4.0.0
-================================================================================
-
-
-Apache Stratos HAProxy Extension could be used for integrating HAProxy load balancer with Apache Stratos. Please follow
-below steps to proceed with the installation:
-
-1. Download and extract HAProxy binary distribution to a desired location: <haproxy-home>.
-
-2. Extract apache-stratos-haproxy-extension-4.0.0.zip to a desired location: <haproxy-extension-home>.
-
-3. Open <haproxy-extension-home>/bin/haproxy-extension.sh file in a text editor and update following system properties:
-
- # Define haproxy host private ip address:
- -Dhaproxy.private.ip=127.0.0.1
-
- # Define the haproxy executable file path:
- -Dexecutable.file.path=<haproxy-home>/haproxy
-
- # Enable/disable cep statistics publisher:
- -Dcep.stats.publisher.enabled=false
-
- # If cep statistics publisher is enabled define the following properties:
- -Dthrift.receiver.ip=127.0.0.1
- -Dthrift.receiver.port=7615
- -Dnetwork.partition.id=network-partition-1
-
-4. Open <haproxy-extension-home>/conf/jndi.properties file in a text editor and update message broker information:
- connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://<message-broker-ip>:<message-broker-port>'
-
-5. Run <haproxy-extension-home>/bin/haproxy-extension.sh as the root user.
-
-
-Thank you for using Apache Stratos!
-Apache Stratos Team
http://git-wip-us.apache.org/repos/asf/stratos/blob/25b09fa3/extensions/load-balancer/haproxy-extension/README.md
----------------------------------------------------------------------
diff --git a/extensions/load-balancer/haproxy-extension/README.md b/extensions/load-balancer/haproxy-extension/README.md
index c6d9705..50a49a1 100644
--- a/extensions/load-balancer/haproxy-extension/README.md
+++ b/extensions/load-balancer/haproxy-extension/README.md
@@ -11,7 +11,8 @@ tenant application signups and domain mapping information received from Stratos
4. Reload HAProxy instance with the new topology configuration.
5. Periodically publish statistics to Complex Event Processor (CEP).
-Please refer INSTALL.txt for information on the installation process.
+## Installation
+Please refer INSTALL.md for information on the installation process.
Thanks to Vaadin for HAProxyController implementation:
https://vaadin.com/license
http://git-wip-us.apache.org/repos/asf/stratos/blob/25b09fa3/extensions/load-balancer/nginx-extension/INSTALL.md
----------------------------------------------------------------------
diff --git a/extensions/load-balancer/nginx-extension/INSTALL.md b/extensions/load-balancer/nginx-extension/INSTALL.md
new file mode 100644
index 0000000..3e0aa5a
--- /dev/null
+++ b/extensions/load-balancer/nginx-extension/INSTALL.md
@@ -0,0 +1,33 @@
+# Installing Apache Stratos Nginx Extension
+
+Apache Stratos Nginx Extension could be used for integrating Nginx load balancer with Apache Stratos. Please follow
+below steps to proceed with the installation:
+
+1. Download and extract Nginx binary distribution to a desired location: <nginx-home>.
+
+2. Extract org.apache.stratos.nginx.extension-<version>.zip to a desired location: <nginx-extension-home>.
+
+3. Open <nginx-extension-home>/bin/nginx-extension.sh file in a text editor and update following system properties:
+ ```
+ # Define nginx host private ip address:
+ -Dnginx.private.ip=127.0.0.1
+
+ # Define the nginx executable file path:
+ -Dexecutable.file.path=<nginx-home>/nginx
+
+ # Enable/disable cep statistics publisher:
+ -Dcep.stats.publisher.enabled=false
+
+ # If cep statistics publisher is enabled define the following properties:
+ -Dthrift.receiver.ip=127.0.0.1
+ -Dthrift.receiver.port=7615
+ -Dnetwork.partition.id=network-partition-1
+ ```
+
+4. Open <nginx-extension-home>/conf/jndi.properties file in a text editor and update message broker information:
+ ```
+ java.naming.provider.url=tcp://localhost:61616
+ ```
+
+5. Run <nginx-extension-home>/bin/nginx-extension.sh as the root user.
+
http://git-wip-us.apache.org/repos/asf/stratos/blob/25b09fa3/extensions/load-balancer/nginx-extension/README.md
----------------------------------------------------------------------
diff --git a/extensions/load-balancer/nginx-extension/README.md b/extensions/load-balancer/nginx-extension/README.md
index 66ef238..cfbe2a3 100644
--- a/extensions/load-balancer/nginx-extension/README.md
+++ b/extensions/load-balancer/nginx-extension/README.md
@@ -21,4 +21,7 @@ nginx -V 2>&1 | grep -o with-http_stub_status_module
If HttpStubStatusModule is installed the following output will be given:
```
with-http_stub_status_module
-```
\ No newline at end of file
+```
+
+## Installation
+Please refer INSTALL.md for information on the installation process.