Hey there,
Thanks for the mention Rudiger, Lars work on this is great indeed as he also 
thoroughly documented how to replicate his setup while on top of it providing 
all the required materials (source rpms and spec files).
I am currently working on "extending" Lars work on the Matterhorn rpm package 
itself so it can be used for distributed setups on top of All-in-One installs. 
The direction I'm currently taking of having a single package for all 
Matterhorn profiles (admin,engage,worker,...)means a modification of the 
current way of deploying a Matterhorn node with a specific role, so I'd be more 
than happy to hear what the community has to say in particular 
Operations/Systems folks tasked with deploying Matterhorn clusters.

At the moment the way to "configure" a Matterhorn node with a particular role 
is to have the required jars in the right directory (i.e. the one configured in 
$MATTERHORN_HOME/load/org.apache.felix.fileinstall-matterhorn.cfg) and then 
they will <emphasis>all</emphasis> be loaded, if for some reason you miss a jar 
required by the role or worse you have a conflicting jar in that directory your 
node will be dysfunctional. 
This might not be as apparent when you are running "mvn clean install 
-P<profile> -DdeployTo=$MATTERHORN_HOME in particular when you  only do it once 
per host, but in production environments you actually don't want to be running 
"mvn clean install" on each host,and so through an .rpm or via scp what you end 
up doing is moving jars around (plus of course configuration).

I don't know about the other folks but this approach is not what I'm used to 
with the distributed/Service Oriented Applications I've dealt with in the past, 
typically you specify a nodes role through a configuration file/or a GUI 
option, not by having the right files in the right directory and load 
everything in that directory.

Thus _so far_ my idea is an rpm package that will contain all the jars created 
by 

mvn clean install 
-Padmin,dist,engage,worker,workspace,serviceregistry,directory-db,capture,oaipmh,export,gstreamer-launch-service,directory-cas,directory-ldap,test-load,dist-stub,engage-stub,worker-stub,workspace-stub,serviceregistry-stub,test
 

while the person doing the deployment will have to edit a config file 
specifying the node role which in turn will assure only the required jars are 
loaded (currently this can be achieved via felix system.properties).
The alternative to this is profile based packages (e.g. 
matterhorn-1.3.1-worker.rpm) that only contain and install the jars specific to 
the profile which  would indeed be an antagonist to a single rpm package 
approach, but then I'd be more happy to hear different opinions and reflections 
on this =)


J.

On Aug 24, 2012, at 7:32 AM, Ruediger Rolf wrote:

> Hi,
> 
> I mentioned before that there is a Matterhorn repo for CentOS (RHEL, 
> Scientific Linux, etc) available and waiting for someone to host it. As no 
> one came up who is willing to host this we decided to do it here in Osnabrück.
> 
> The repo will not be public and you will have to register to use it. You can 
> find the registration page here:
> http://www.lernfunk.de/repo/
> 
> Each registration is checked manually and we take the right to turn down a 
> registration without providing any reasons. And we take the right to delete 
> your account at any time without further notice.
> 
> If you get a login for the repo, you can install a Matterhorn All-In-One with 
> all needed 3rd-party tools on CentOS with these 3 lines:
> cd /etc/yum.repos.d
> curl -O http://lernfunk.de/matterhorn_repo/matterhorn_3rd-party.repo
> yum install epel-release
> yum install opencast-matterhorn13
> 
> The repo will work with CentOS 6.2 and CentOS 5.7 distributions.
> 
> We here in Osnabrück don't plan to provide repos for other OSes and Linux 
> distributions currently.
> 
> I'd like to thank Lars Kiesow for the work that he had done to create the 
> packages for this repo. Thanks to Jaime Gago too, for providing some feedback 
> to improve this.
> 
> Rüdiger
> 
> -- 
> 
> ________________________________________________
> Rüdiger Rolf, M.A.
> Universität Osnabrück - Zentrum virtUOS
> Heger-Tor-Wall 12, 49069 Osnabrück
> Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
> E-Mail: [email protected]
> Internet: www.virtuos.uni-osnabrueck.de
> 
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to