Adding Custom Endpoints to Monitor Load Balanced Services

16 views
Skip to first unread message

Shaan Jayaratna

unread,
Jul 18, 2011, 3:35:30 AM7/18/11
to membrane-registry
Hi,

when you have load balanced services, the same service will be
deployed on different mashines. Because the different services have
the same targetnamespace the registry is not able to differentiate
between them and won't let you register them all. So you will only be
able to register one of the services.

Although you can monitor the other services by using additional
endpoints.

To add a endpoint do the following:

-Login as admin. Default: admin/admin.
-Go to the service details page by clicking the the name of a service
listed on the main page.
-Open the endpoints tab.
-Click on "add endpoint"
-Choose a name for the endpoint and specifiy the URL of the service
endpoint. The URL can by found in the WSDL of the other service. The
address will be given in the port element of the service element.

E.G
<service name="IDService">
<port name="IDServicePort" binding="tns:IDServiceBinding">
<soap:address location="http://testhost/base/IDService"/>
</port>
</service>

Now the registry will ping the additional endpoint, too.
Reply all
Reply to author
Forward
0 new messages