Currently SM listens for TopologyEvents MemberStarted, MemberActivated,
MemberSuspended and MemberTerminated. I have implemented a full event
processor chain which we can use to listen to other TopologyEvents as and
when we need in future.

+1 for keeping the partition information as well, this would be useful for
monitoring purposes as you mentioned.

I'll proceed with persisting relevant member information, will update the
DB schema accordingly.


On Sun, Nov 24, 2013 at 5:59 PM, Lahiru Sandaruwan <[email protected]> wrote:

> Isuru, +1.
>
> So what are the list of events that would listened by SM?
> Does it keep complete topology(in memory) ?
>
> Also with the latest enhancements to Topology, Member will have
> "partition" in its information model.
>
> I think this would help providing topology information to user about his
> Server cluster... May be with a dashboard in the new Stratos web app...
> WDYT?
>
> Thanks.
>
>
>
> On Sun, Nov 24, 2013 at 5:24 PM, Isuru Haththotuwa <[email protected]>wrote:
>
>> Hi Devs,
>>
>> I will be doing $subject, as a part of refactoring of SC backend. We need
>> to do this since SM interface should support methods to get obtain these
>> information. We sould need this for the UI as well. Will be getting this
>> information from the Topology events (specially MemberActivated event) and
>> persisting accordingly. AFAIK this is the only way to get this information
>> since CC no longer supports TopologyMgtService which was used earlier to
>> get member information.
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> Software Engineer, WSO2 Inc.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: [email protected] cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Thanks and Regards,

Isuru H.
Software Engineer, WSO2 Inc.
+94 716 358 048* <http://wso2.com/>*

Reply via email to