Configurations can be provisioned alongside bundles, so before you start a node 
you make sure the configuration is correct.

WebConsole is a developer tool, just like FileInstall, and both should not be 
shipped with Amdatu as a means to hand-edit configurations.

Greetings, Marcel


On 18 Jan 2011, at 12:00 , Ivo Ladage-van Doorn wrote:

> 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 | www.gxsoftware.com | 
> twitter.com/GXSoftware
>  
> _______________________________________________
> Amdatu-developers mailing list
> Amdatu-developers at amdatu.org
> http://lists.amdatu.org/mailman/listinfo/amdatu-developers

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

Reply via email to