Hi David, 

thank you for your answer! Actually my need is to let the DOSGi clients not be 
aware of a specific Zookeeper URL, I'd like to let the clients discover at 
least one ZooKeeper URL and then looking for the required services. I haven't 
found such feature in the ZooKeeper documentation...maybe you have ideas... 

Could you please clarify a little bit more  the following point? 
David Bosschaert wrote:
... 
Possibly a generally better approach would be to use a 
management/orchestration system which knows where in your system the 
zookeeper servers are. Then you use that information to configure your 
DOSGi nodes.
One extra question... I ask you if you know if CXF's DOSGi project will be 
enriched with other discovery protocol implementations e.g. SLP in similar way 
to the ECF project. 

Thanks a lot for your comments. 
Il giorno 29/apr/2011, alle ore 09.18, David Bosschaert[via CXF] ha scritto:

> Hi mikssin, 
> 
> As you've seen, location of the zookeeper server is set into the DOSGi 
> system through configuration admin. 
> I'm not sure zookeeper itself supports dynamic discovery of its server 
> (check their docs etc) but if it does you could write a a little 
> bundle that uses that mechanism to find out where the zookeeper server 
> is and then set that value dynamically through configadmin into DOSGi 
> (the DOSGi Zookeeper support supports dynamic reconfiguration at 
> runtime). 
> 
> However I'm not so sure the dynamic discovery if the zookeeper server 
> is always a good idea. Most systems that support this type of 
> discovery use a broadcast message of some sort. Generally that type of 
> message is considered not very secure and is not allowed in many 
> deployment scenarios. 
> 
> Possibly a generally better approach would be to use a 
> management/orchestration system which knows where in your system the 
> zookeeper servers are. Then you use that information to configure your 
> DOSGi nodes. 
> 
> Cheers, 
> 
> David 
> 
> On 29 April 2011 07:25, mikssin <[hidden email]> wrote: 
> > Hi Willem, 
> > 
> > You are right, I'm referring to DOSGi subproject. 
> > Sorry for the misunderstanding. 
> > 
> > Regards.-- 
> > View this message in context: 
> > http://cxf.547215.n5.nabble.com/Discover-ZooKeeper-URL-tp4346835p4357983.html
> > Sent from the cxf-user mailing list archive at Nabble.com. 
> > 
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://cxf.547215.n5.nabble.com/Discover-ZooKeeper-URL-tp4346835p4358049.html
> To unsubscribe from Discover ZooKeeper URL, click here.

Michele Girolami
ISTI - Area della ricerca CNR
via G. Moruzzi 1, I-56124 Pisa         Email: [email protected]
(entrance 20, 1st floor, room C66)
phone:  +39 050 315 2887              fax:+39 050 315 2040     




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Discover-ZooKeeper-URL-tp4346835p4358179.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to