Hi All,

Last week we discussed the fact that configuration entries stored in 
Configuration Admin are currently read-only. We agreed that we should add 
metatype information to the configuration entries so that will be editable 
using the Felix webconsole. However, while describing the steps to setup a 
2-node Cassandra cluster I figured that this still doesn't provide a real 
solution for common use cases, for several reasons:


*         To setup a Cassandra cluster, some 'autobootstrap' must be set to 
false on node 1 and to true on one 2, prior to starting the nodes. The nodes 
must never be started for the first time with the incorrect autobootstrap 
setting. So changing the configuration in the Felix webconsole won't do; that's 
just too late.

*         You cannot always access the Felix webconsole without the proper 
hostname and portnr defined prior to starting Amdatu, as the default port may 
already be occupied by another service. When the http service cannot be 
started, of course I cannot enter the Felix web console to change the 
configuration entries to the proper values. In my case I run the nodes on a 
Linux server and cannot access the httpservice as long as it tries to listen to 
the default hostname 'localhost' and port '8080'; it will fail with an 'address 
already in use' since 8080 is usually already taken by another service.

The only possible solution I see right now is replacing the filebased config 
bundle with fileinstall (yes, there it is again). In this case config files are 
stored on disk and can be changed to the proper values prior to starting Amdatu 
for the first time. I know that there is a lot of resistance against the use of 
fileinstall, but are there any better alternatives?

Regards, Ivo

GX | Ivo Ladage-van Doorn | Product Architect | Wijchenseweg 111 | 6538 SW 
Nijmegen | The Netherlands | T +31(0)24 - 388 82 61 | F +31(0)24 - 388 86 21 | 
ivo.ladage-vandoorn at gxsoftware.com<mailto:ivo.ladage-vandoorn at 
gxsoftware.com> | www.gxsoftware.com<http://www.gxsoftware.com> | 
twitter.com/GXSoftware<http://twitter.com/GXSoftware>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.amdatu.org/pipermail/amdatu-developers/attachments/20110118/3b961fcf/attachment.html
 

Reply via email to