geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viola lu <>
Subject Re: Server farm management based on plugins
Date Fri, 25 Sep 2009 08:04:04 GMT
Thanks. David.

I tried this function, and some details to confirm with you:

 1.Farm Controller should install plugin-farm, plugin-farm-datasource
plugins , set its DefaultPluginRepository attribute in file as a share repository accessible by all farm
members.If farm members has no access authority to this share repository,
farm deploy will fail.

 2.Every farm member should install plugin-farm-member plugin, set NodeName,
and ServerHostname=[NODE_IP] attributes in file ServerHostname is not set to its
corresponding IP, this farm node will not be added into this farm goup.Also
farm member should add share install plugin repository to its file including access username and password like

So that access passes.

 3.After run cluster/deploy remove -l pluginlist1 -a **/hello/**, this will
remove the plugin from all farm members, but fail to delete the plugin
record from table PLUGINLIST_PLUGIN of  PluginFarmDatatabase db on
controller node,  this will result in duplicate(redundant) records in db,
and if  i run cluster/deploy remove -c cluster1 -l pluginlist1, plugin list
will be removed from table PLUGINLIST_CLUSTER, but pluginlist1 is still kept
in table PLUGINLIST, when add a pluginlist to cluster, both tables are
updated meantime, so seems PluginFarmDatatabase can't keep integrity when



On Wed, Sep 23, 2009 at 9:19 AM, David Jencks <>wrote:

> On Sep 22, 2009, at 2:25 AM, viola lu wrote:
> Hi, David:
>  According to jira,
> there should be a FarmComand.groovy file under
> server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/FarmCommand.groovy<>,
which should implement deploy/farm, but from Geronimo 2.2 branch and
> server trunk, this file is missing.
> And also from doc
>, there should
> be a GShell *deploy/farm* command to mange farm.But after i installed
> plugins below,
> org.apache.geronimo.configs/plugin-farm-datasource/2.2-SNAPSHOT/car<http://localhost:8080/console/portal//Services/Repository/__ac0x3console-base0x2RepositoryViewer%21604305819%7C0/__pm0x3console-base0x2RepositoryViewer%21604305819%7C0_view?res=org.apache.geronimo.configs%2Fplugin-farm-datasource%2F2.2-SNAPSHOT%2Fcar&action=usage&formId=-5661674799437896392>
> org.apache.geronimo.configs/plugin-farm-member/2.2-SNAPSHOT/car<http://localhost:8080/console/portal//Services/Repository/__ac0x3console-base0x2RepositoryViewer%21604305819%7C0/__pm0x3console-base0x2RepositoryViewer%21604305819%7C0_view?res=org.apache.geronimo.configs%2Fplugin-farm-member%2F2.2-SNAPSHOT%2Fcar&action=usage&formId=-5661674799437896392>
> org.apache.geronimo.configs/plugin-farm/2.2-SNAPSHOT/car<http://localhost:8080/console/portal//Services/Repository/__ac0x3console-base0x2RepositoryViewer%21604305819%7C0/__pm0x3console-base0x2RepositoryViewer%21604305819%7C0_view?res=org.apache.geronimo.configs%2Fplugin-farm%2F2.2-SNAPSHOT%2Fcar&action=usage&formId=-5661674799437896392>
> i still can't find out this command via gshell command, just cluster/deploy
> and cluster/heartmonitor.Can you give some hints?
> At some point the "farm" commands were renamed to "cluster".  AFAIK there
> are no gshell commands related to deployment based clustering since you set
> that up with some special repositories in the server that are then accessed
> using normal gshell commands.
> And "Server farm management based on plugins" means install plugins to farm
> members, but if we want to deploy applications (non-plugin forma) to farm
> members, we still follow "Farming using Deployment<>"
>, right?
> I think you should first consider which farm technology better suits your
> needs, then decide whether to pre-deploy your apps as plugins and use the
> plugin based clustering or deploy your apps directly to a deployment based
> cluster.  I can't think of any good reasons to use the deployment based
> cluster, but other people might be able to.
> hope this is correct and helps
> thanks
> david jencks
> Thanks.
> --
> viola


View raw message