stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Athanasios Tsitsipas" <athanasios.tsitsi...@uni-ulm.de>
Subject RE: Can't access application in topology instance via LB
Date Tue, 09 Jun 2015 10:05:38 GMT
Related also with this issue
https://issues.apache.org/jira/browse/STRATOS-859

 

I get also unknown host at the browser. It's really annoying to not getting
any errors for the LB and simply for a misconfiguration not working at all.

 

From: Athanasios Tsitsipas [mailto:athanasios.tsitsipas@uni-ulm.de] 
Sent: Tuesday, June 9, 2015 11:32 AM
To: dev@stratos.apache.org
Subject: RE: Can't access application in topology instance via LB

 

Any thoughts? At Stratos 4.0.0 you used the properties in the cartridges and
a load balancing vm was spawned, when a php cartridge initialized using the
[1] in its definition . We said let's go to the Stratos 4.1.0. But now I
cannot use correctly the load balancer. For the "Member Started", "Member
activated" topology events I get that the member doesn't exist! But it is
there working perfectly fine by its own. 

 

Regards,

Thanos

 

[1]     "loadBalancer":{

         "type":"lb",

         "property":{

            "name":"default.load.balancer",

            "value":"true"

         }

    }

 

 

From: Athanasios Tsitsipas [mailto:athanasios.tsitsipas@uni-ulm.de] 
Sent: Tuesday, June 9, 2015 10:58 AM
To: dev@stratos.apache.org <mailto:dev@stratos.apache.org> 
Subject: RE: Can't access application in topology instance via LB

 

Hi,

 

Also in the Stratos 4.0.0 you were having a configuration for load
balancing. In the lb cartridge you've added the following:

 "property":[

         {

            "name":"load.balancer",

            "value":"true"

         }

    ]

And in the php cartridge for instance:

,

    "loadBalancer":{

         "type":"lb",

         "property":{

            "name":"default.load.balancer",

            "value":"true"

         }

    }

And from that site it makes sense what to use
http://imesh.gunaratne.org/blog/advance-load-balancing-capabilities-in-apach
e-stratos-incubating-4/

 

But now in the Stratos 4.1.0 these configurations are gone. Something
changed as I can see but I cannot get it working

 

Regards,

Thanos

 

 

From: Athanasios Tsitsipas [mailto:athanasios.tsitsipas@uni-ulm.de] 
Sent: Tuesday, June 9, 2015 10:24 AM
To: dev@stratos.apache.org <mailto:dev@stratos.apache.org> 
Subject: Can't access application in topology instance via LB

 

Hi again,

 

I managed to start a Stratos Load Balancer without errors. But when another
application is in the cluster cannot be accessed through load balancer. Even
if I specify the host name of the app and the IP of LB to my client hosts
file nothing works. I get the following error:

 

TID: [0] [LB] [2015-06-08 22:51:13,156]  WARN
{org.apache.stratos.messaging.message.processor.topology.MemberStartedMessag
eProcessor} -  Member does not exist: [service] php [cluster]
php-lb.php-test.php.domain [member]
php-lb.php-test.php.domain49fe383c-500a-43ec-9556-69432665448d

 

 

When I start the load balancer with puppet of course the log file is
attached to the mail. Just to see if there are any erroneous behaviours.

 

Also in the loadbalancer.conf file the  # Topology service filter and   #
Topology cluster filter there is no information for them. Only for   #
Topology member filter. I have also attached the loabalancer.conf of the
machine.

 

What should I do it doesn't work apparently :/

 

Best regards,

Thanos


Mime
View raw message