Geronimo
  1. Geronimo
  2. GERONIMO-4284

Server farm management based on plugins

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Clustering
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      Our current farm support is based on (IIUC) fairly hard coded farm members and deployment of applications with automatic distribution to farm members. We could also use farm management based on installing plugins with more dynamic farm membership and explicit distribution commands. For something like this database persistence seems more appropriate than using gbeans and repositories.

        Activity

        Hide
        David Jencks added a comment -

        Initial bits implemented in rev 692915. There's a FarmGBean that has a few commands on it to add nodes, plugin lists, and plugins, and a TestGBean that tries many of the methods out. To run the tests build the plugin-farm-it module or build clustering with -Pit

        This still needs some work, including moving the TestGBean out of the main source code

        TestGBean committed late in rev 692917.

        Show
        David Jencks added a comment - Initial bits implemented in rev 692915. There's a FarmGBean that has a few commands on it to add nodes, plugin lists, and plugins, and a TestGBean that tries many of the methods out. To run the tests build the plugin-farm-it module or build clustering with -Pit This still needs some work, including moving the TestGBean out of the main source code TestGBean committed late in rev 692917.
        Hide
        David Jencks added a comment -

        rev 693451 adds simple multicast discovery based on code from activemq via openejb. This is able to install one of the sample apps on a farm member via the discovery registering the farm member.

        Show
        David Jencks added a comment - rev 693451 adds simple multicast discovery based on code from activemq via openejb. This is able to install one of the sample apps on a farm member via the discovery registering the farm member.
        Hide
        David Jencks added a comment -

        rev 693703 fixes a lot of jpa problems and some multicast problems and adds a simple minded gshell command. It works, at least occasionally.

        Show
        David Jencks added a comment - rev 693703 fixes a lot of jpa problems and some multicast problems and adds a simple minded gshell command. It works, at least occasionally.
        Hide
        David Jencks added a comment -

        rev 693704 adds a plugin-farm-node assembliy based on a new framework plugin-group. The plugins need more customization.

        Show
        David Jencks added a comment - rev 693704 adds a plugin-farm-node assembliy based on a new framework plugin-group. The plugins need more customization.
        Hide
        David Jencks added a comment -

        rev 696524 adds a separate datasource for the plugin farm controller. This is mostly intended to make it easier to replace with a non-local datasource for real deployments.

        Show
        David Jencks added a comment - rev 696524 adds a separate datasource for the plugin farm controller. This is mostly intended to make it easier to replace with a non-local datasource for real deployments.
        Hide
        David Jencks added a comment -

        rev 698040 adds remove-plugin (from plugin list) and remove-plugin-list (from cluster) commands.

        Show
        David Jencks added a comment - rev 698040 adds remove-plugin (from plugin list) and remove-plugin-list (from cluster) commands.
        Hide
        David Jencks added a comment -

        rev 699449 change syntax of gshell commands to use actions of add/remove and options for the farm name, plugin list, and plugin. Based on the options supplied we figure out what method to call.

        Show
        David Jencks added a comment - rev 699449 change syntax of gshell commands to use actions of add/remove and options for the farm name, plugin list, and plugin. Based on the options supplied we figure out what method to call.
        Hide
        viola.lu added a comment -

        Hi,david, this function is complete? After verfication, i found out that, Plugin-farm-it(Intergration Test) plugin which usesTestGbean will run a test "add plugin" to cluster, but the sample plugin to be installed "org.apache.geronimo.samples/customer-service-jetty/2.2-SNAPSHOT/car" doesn't exist , so this will result in error, this intergration test plugin will be removed?And i can't find farm command in server trunck, thanks.

        Show
        viola.lu added a comment - Hi,david, this function is complete? After verfication, i found out that, Plugin-farm-it(Intergration Test) plugin which usesTestGbean will run a test "add plugin" to cluster, but the sample plugin to be installed "org.apache.geronimo.samples/customer-service-jetty/2.2-SNAPSHOT/car" doesn't exist , so this will result in error, this intergration test plugin will be removed?And i can't find farm command in server trunck, thanks.
        Hide
        David Jencks added a comment -

        rev 804750 I reorganized the it so it depends on a released sample ear and builds the plugins here. I'd still like to get the TestGBean out of the main source.

        Show
        David Jencks added a comment - rev 804750 I reorganized the it so it depends on a released sample ear and builds the plugins here. I'd still like to get the TestGBean out of the main source.
        Hide
        David Jencks added a comment -

        TestGBean moved out of main jar in rev 804897.

        Show
        David Jencks added a comment - TestGBean moved out of main jar in rev 804897.

          People

          • Assignee:
            David Jencks
            Reporter:
            David Jencks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development