On Mon, Jul 20, 2015 at 9:20 PM, Swapnil Patil <swapnil.r...@gmail.com> wrote: > > > Though there was some time lag for the extension to get to know the newly > spawned instance. When a new instance is spawned the extension's configure > method got called but the topology did not have this new member. This new > member was visible in the next topology update. I believe this is a known > issue. I guess Asanka also faced similar issue for GCE extension. Am I > right, Asanka? > > Members are only added to the load balancer topology when they become active. Members in other states are not visible to the load balancer.
On Mon, Jul 20, 2015 at 9:20 PM, Swapnil Patil <swapnil.r...@gmail.com> wrote: > Hi Lakmal, > > I tested the extension for scale up and scale down. And it did work as > expected. It attached the the newly spawned instances to the LB while > scaling up and detached the terminated instances from LB. > > Though there was some time lag for the extension to get to know the newly > spawned instance. When a new instance is spawned the extension's configure > method got called but the topology did not have this new member. This new > member was visible in the next topology update. I believe this is a known > issue. I guess Asanka also faced similar issue for GCE extension. Am I > right, Asanka? > > Thanks and Regards, > Swapnil > > On Mon, Jul 20, 2015 at 5:37 AM, Swapnil Patil <swapnil.r...@gmail.com> > wrote: > >> Thanks Lakmal! >> >> I have the logic in place to attach newly created instances to LB in case >> of scale up and same for scale down. But I have not tested it yet. That >> testing will be my next step. I am pretty sure that it will work but it is >> just that I need to verify it. >> >> I will get to know if any service interruption occurs in these cases when >> I test it. I will update the thread with my observations. >> >> Thanks and Regards, >> Swapnil >> >> On Mon, Jul 20, 2015 at 5:06 AM, Lakmal Warusawithana <lak...@wso2.com> >> wrote: >> >>> Great work Swapnil! >>> >>> Just for my clarification, I have few question. Say when cluster scale >>> up , does AWS load balancer extension attached the newly created instance >>> to LB? same like when scale down does it detached the deleted instance from >>> LB? Also when attaching and detaching does any service interruption occurs? >>> >>> thanks >>> >>> On Mon, Jul 20, 2015 at 10:11 AM, Swapnil Patil <swapnil.r...@gmail.com> >>> wrote: >>> >>>> Hi AIl, >>>> >>>> I have published screencast of AWS load balancer extension on YouTube. >>>> Here is the link : https://youtu.be/ZNl8JVB7xeU >>>> >>>> I would appreciate any suggestions. >>>> >>>> Thanks and Regards, >>>> Swapnil >>>> >>>> >>>> >>> >>> >>> -- >>> Lakmal Warusawithana >>> Vice President, Apache Stratos >>> Director - Cloud Architecture; WSO2 Inc. >>> Mobile : +94714289692 >>> Blog : http://lakmalsview.blogspot.com/ >>> >>> >> > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos