[prev in list] [next in list] [prev in thread] [next in thread]
List: esb-java-dev
Subject: [Dev] [Improvement] Registered, Tenant Aware Load Balance Endpoint Programmatically and get its
From: Nirmal Fernando <nirmal () wso2 ! com>
Date: 2012-09-30 13:51:52
Message-ID: CAJ+w7FnqESnNH06pq+xP2ef_53dT2J=trR1d9Hg-COC1H+MDFw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi All,
I did the $subject. With this in hand you do not need to go to main.xml of
ELB to edit properties (such as session time out, fail over) of Tenant
Aware Load Balance Endpoint.
This adds two new properties to loadbalancer.conf file's 'loadbalancer'
section.
loadbalancer {
# minimum number of load balancer instances
instances 1;
# whether autoscaling should be enabled or not.
enable_autoscaler false;
#please use this whenever url-mapping is used through LB.
#size_of_cache 100;
# End point reference of the Autoscaler Service
autoscaler_service_epr https://
{host_address}:{https_port}/services/AutoscalerService/;
# interval between two task executions in milliseconds
autoscaler_task_interval 25000;
# after an instance booted up, task will wait maximum till this much of
time and let the server started up
server_startup_delay 100000; #default will be 60000ms
* # session time out
session_timeout 90000;
# enable fail over
fail_over true;*
}
Public JIRA: https://wso2.org/jira/browse/LB-46
--
Thanks & regards,
Nirmal
Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
[Attachment #5 (text/html)]
Hi All,<br><br>I did the $subject. With this in hand you do not need to go to \
main.xml of ELB to edit properties (such as session time out, fail over) of Tenant \
Aware Load Balance Endpoint.
<br>
<br>
This adds two new properties to loadbalancer.conf file's 'loadbalancer' \
section. <br>
<br>
loadbalancer {<br> # minimum number of load balancer instances <br> instances \
1;<br> # whether autoscaling should be enabled or not.<br> enable_autoscaler \
false;<br> #please use this whenever url-mapping is used through LB.<br>
#size_of_cache 100;<br> # End point reference of the Autoscaler Service<br> \
autoscaler_service_epr \
https://{host_address}:{https_port}/services/AutoscalerService/;<br> # interval \
between two task executions in milliseconds <br>
autoscaler_task_interval 25000;<br> # after an instance booted up, task will \
wait maximum till this much of time and let the server started up<br> \
server_startup_delay 100000; #default will be 60000ms<br> <b> # session time \
out<br>
session_timeout 90000;<br> # enable fail over <br> fail_over \
true;</b><br>}<br><br>Public JIRA: <a \
href="https://wso2.org/jira/browse/LB-46">https://wso2.org/jira/browse/LB-46</a><br \
clear="all"><br>-- <br><br> Thanks & regards,<br>
Nirmal<br><br>Software Engineer- Platform Technologies Team, WSO2 Inc.<br>Mobile: \
+94715779733<br>Blog: <a href="http://nirmalfdo.blogspot.com/" \
target="_blank">http://nirmalfdo.blogspot.com/</a><br>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic