In order to allow Cartridges to register themselves with the LB, we should
write a Web service which will run on the LB.

MemberRegistrationService
   - addMember(MemberInfo memberInfo)

MemberInfo
  - String host
  - String domain
  - String subDomain,
  - int httpPort
  - int httpsPort

The implementation will add new configuration into the LB. This will
specifically create a new GroupManagement agent, or get an
existing GroupManagement agent & add the member to it.

For members added through this service, we will need a task that will check
whether the members are alive by pinging the HTTP/S ports & remove inactive
nodes.

We will need this for the Cartridges milestone where any random Cartridge
can be added to the LB.

-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to