Hi,

I've deployed my stratos installation with the attached policies with load
balancing enabled. When I subscribe to the lb enabled cartridge the
subscription completes successfully. The load balancer receives the
notification that the cartridge (php in my case) was activated
successfully. However the domain name of the php cartridge (
helloworld.stratos.com) is missing from load balancer's log.

TID: [0] [LB] [2014-09-07 15:41:16,733]  INFO
{org.apache.stratos.messaging.message.processor.topology.MemberStartedMessageProcessor}
-  Member started: [service] php [cluster] helloworld.php.domain [member]
helloworld.php.domaine70b695a-1ca0-4b84-9d99-2f1ae5b25f63
TID: [0] [LB] [2014-09-07 15:41:26,329]  INFO
{org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor}
-  Member activated: [service] php [cluster] helloworld.php.domain [member]
helloworld.php.domaine70b695a-1ca0-4b84-9d99-2f1ae5b25f63

I have mapped the load balancer's public IP with the provided domain name
in the /etc/hosts file. However I can't access the url provided by the
subscribed cartridge (http://helloworld.stratos.com:8280).

I can independently access the php cartridge through its public IP. And I
can access the cartridge with load balancing through the port 80 (
http://helloworld.stratos.com).

I assume it's something to do with the proxyPort port mapping specified in
the cartridge deployment but I'm not clear on the details.

Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com

Attachment: lb-cartridge-deployment.json
Description: application/json

Attachment: php-cartridge-deployment-with-lb.json
Description: application/json

Reply via email to