Opinions wanted: Is smartfrog the right framework for my osgi-based system?

"Stanley C. Burnitt" <[email protected]> Tue, 13 Jul 2010 01:34:17 -0300
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
--===============6320844171981802484==
Content-Type: multipart/alternative; boundary=001485f44beadb0daf048b3d61c4

--001485f44beadb0daf048b3d61c4
Content-Type: text/plain; charset=UTF-8

I am one day into learning how to use smartfrog on my home network (fedora12
+ mac osx platforms).   So far so good.

But I want to know how --* or if *-- smartfrog should be used to install and
configure non-jar artifacts such as db server distributions, hadoop
distributions, solr distributions, and standalone eclipse-osgi products,  on
remote linux servers running smartfrog daemons.

If I am not misinterpreting the docs, I *could*:

1.  Use "cluster ssh" to install a jdk or jvm, smartfrog, and start the
sf-daemon on each target linux host.

2.  Use smartfrog to deploy and run bash scripts which download and install
db distributions (via yum),  edit db configuration files,  ceate db users /
schemas / tables, and issue startup & shutdown commands.

3.  Use smartfrog to deploy and run bash scripts which install cloudera.repo
files, then install cloudera's hadoop / hbase / zookeeper distributions (via
yum),  edit configuration files, and issue startup & shutdown commands.

4.  Use smartfrog to deploy and configure a solr cluster.  (There is no yum
pkg for solr, to my knowledge.  Can I use smartfrog to deploy & run a bash
script which scp's, extracts, and configures gzipped solr distributions on a
cluster of solr servers?)

5.  Deploy and manage the dependencies and lifecycles of all of my system's
OSGi components -- standalone product launchers on top of dozens of plugins.

Does this seem reasonable?  My entire system is implemented in java, and for
this reason I chose to look at smartfrog first, before bcfg2 or puppet.  But
this is an OSGi based system, not J2EE, and I will be deploying (then
extracting) gzipped eclipse products, not jars.
Also, the OSGi bundles are started from native product launchers -- again,
not java jars.

And I intend to run system / scalability tests on EC2.

I see smartfrog's advantages when all the java components are up and
running, but is smartfrog the right tool for managing the remote
installation and configuration of all these subsystems?  I don't know... I
would really appreciate some feedback.

Thanks,
Stan

--001485f44beadb0daf048b3d61c4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font size=3D"4">I am one day into learning how to use smartfrog on my home=
 network (fedora12 + mac osx platforms).=C2=A0=C2=A0 So far so good.<br><br=
>But I want to know how --<i> or if </i>-- smartfrog should be used to inst=
all and configure non-jar artifacts such as db server distributions, hadoop=
 distributions, </font><font size=3D"4">solr distributions, </font><font si=
ze=3D"4">and </font><font size=3D"4">standalone eclipse-osgi products,=C2=
=A0 </font><font size=3D"4">on remote linux servers running smartfrog daemo=
ns.<br>
<br>If I am not misinterpreting the docs, I <i>could</i>:<br><br>1.=C2=A0 U=
se &quot;cluster ssh&quot; to install a jdk or jvm, smartfrog, and start th=
e sf-daemon on each target linux host.<br><br>2.=C2=A0 Use smartfrog to dep=
loy and run bash scripts which download and install db distributions (via y=
um),=C2=A0 edit db configuration files,=C2=A0 ceate db users / schemas / ta=
bles, and issue startup &amp; shutdown commands.<br>
<br></font><font size=3D"4">3.=C2=A0 Use smartfrog to deploy and run bash s=
cripts which install cloudera.repo files, then install cloudera&#39;s hadoo=
p / hbase / zookeeper distributions (via yum),=C2=A0 edit configuration fil=
es, </font><font size=3D"4">and issue startup &amp; shutdown commands.</fon=
t><br>
<br><font size=3D"4">4.=C2=A0 </font><font size=3D"4">Use smartfrog to d</f=
ont><font size=3D"4">eploy and configure a solr cluster.=C2=A0 </font><font=
 size=3D"4">(</font><font size=3D"4">There is no yum pkg for solr, to my kn=
owledge.=C2=A0 Can I use smartfrog to deploy &amp; run a bash script which =
scp&#39;s, extracts, and configures gzipped solr distributions on a cluster=
 of solr servers?)<br>

</font><font size=3D"4"><br>5.=C2=A0 Deploy and manage the dependencies and=
 lifecycles of all of my system&#39;s OSGi components -- standalone product=
 launchers on top of dozens of plugins.<br><br>Does this seem reasonable?=
=C2=A0 My entire system is implemented in java, and for this reason I chose=
 to look at smartfrog first, before bcfg2 or puppet.=C2=A0 But this is an O=
SGi based system, not J2EE, and I will be deploying (then extracting) gzipp=
ed eclipse products, not jars.<br>
Also, the OSGi bundles are started from native product launchers -- again, =
not java jars.<br><br>And I intend to run system / scalability tests on EC2=
.<br><br>I see smartfrog&#39;s advantages when all the java components are =
up and running, but is smartfrog the right tool for managing the remote ins=
tallation and configuration of all these subsystems?=C2=A0 I don&#39;t know=
... I would really appreciate some feedback.<br>
</font><font size=3D"4"><br>Thanks,</font>
<font size=3D"4"><br>Stan<br><br></font>

--001485f44beadb0daf048b3d61c4--


--===============6320844171981802484==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--===============6320844171981802484==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Smartfrog-users mailing list
Smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-users

--===============6320844171981802484==--