Repository: incubator-stratos Updated Branches: refs/heads/master 6406d267c -> ea1201f52
Changes to take message broker port separately Signed-off-by: Manula Thantriwatte <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/ea1201f5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/ea1201f5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/ea1201f5 Branch: refs/heads/master Commit: ea1201f52cb1041c6838b9dab15e7f778b39f438 Parents: 6406d26 Author: Dinesh Bandara <[email protected]> Authored: Wed Mar 19 11:48:37 2014 +0530 Committer: Manula Thantriwatte <[email protected]> Committed: Wed Mar 19 11:56:22 2014 +0530 ---------------------------------------------------------------------- tools/stratos-installer/conf/setup.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ea1201f5/tools/stratos-installer/conf/setup.conf ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/conf/setup.conf b/tools/stratos-installer/conf/setup.conf index 5b5bb0a..2a975d1 100644 --- a/tools/stratos-installer/conf/setup.conf +++ b/tools/stratos-installer/conf/setup.conf @@ -60,7 +60,7 @@ export as_port_offset=3 export cep_port_offset=4 export mb_port_offset=5 -export mb_port=5672 #port which the message broker service runs +export mb_port=5672 #default port which the message broker service runs export mb_hostname="mb.$stratos_domain" export cep_hostname="cep.$stratos_domain" @@ -89,7 +89,7 @@ export cep_path=$stratos_path/"wso2cep-3.0.0" export cep_pack_path=$stratos_pack_path/"wso2cep-3.0.0.zip" export cep_mb_ip=$mb_ip -export cep_mb_listen_port=$mb_port +export cep_mb_listen_port=$(($mb_port + $mb_port_offset)) # ---------------------------------------------------------------------------- @@ -98,7 +98,7 @@ export cep_mb_listen_port=$mb_port export cc_path=$stratos_path/"apache-stratos-cc-4.0.0-SNAPSHOT" export cc_pack_path=$stratos_pack_path/"apache-stratos-cc-4.0.0-SNAPSHOT.zip" -export cc_mb_listen_port=$mb_port +export cc_mb_listen_port=$(($mb_port + $mb_port_offset)) export cc_https_port=$((9443 + $cc_port_offset)) # IaaS Providers @@ -130,7 +130,7 @@ export openstack_security_groups="security-groups" export as_path=$stratos_path/"apache-stratos-autoscaler-4.0.0-SNAPSHOT" export as_pack_path=$stratos_pack_path/"apache-stratos-autoscaler-4.0.0-SNAPSHOT.zip" -export as_mb_listen_port=$mb_port +export as_mb_listen_port=$(($mb_port + $mb_port_offset)) export as_cc_https_port=$((9443 + $cc_port_offset)) export as_sm_https_port=$((9443 + $sm_port_offset)) @@ -151,7 +151,7 @@ export userstore_db_pass="mysql" export sm_puppet_ip=$puppet_ip export sm_puppet_hostname=$puppet_hostname export sm_puppet_environment=$puppet_environment -export sm_mb_listen_port=$mb_port +export sm_mb_listen_port=$(($mb_port + $mb_port_offset)) export sm_cc_https_port=$((9443 + $cc_port_offset)) export sm_as_https_port=$((9443 + $as_port_offset)) export sm_https_port=$((9443 + $sm_port_offset))
