Remote control of geronimo instances via gshell processes running on the boxes 
where the instances are hosted
-------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-3669
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3669
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: Clustering
    Affects Versions: 2.0.2
            Reporter: Gianny Damour
            Assignee: Gianny Damour
             Fix For: 2.1


Add a couple of gshell commands to simplify the remote control of servers.
The commands being added are:
* alias: used to alias a commond along with some options and arguments.
etc/layout.xml provides a first aliasing mechanism: a hierarchical name is
mapped to a command. alias suplements this first aliasing mechanism with the
ability to alias a command along with its typical options and arguments.
* unalias: to remove an alias
* execute-alias: to execute an alias
* remote/rsh to start an rsh client
* remote/rsh-server to start an rsh-server
* remote-control/server-control to control a server

Samples for the aliasing commands:
// create the alias 'st' for the quoted command
> alias st 'geronimo/start-server -G server.name=yellow -D property=value'
// execute the alias 'st'. This executes the command in quote above
> excute-alias st
// display defined aliases
> alias
// remove the alias 'st'
> unalias st

Samples for the remote server control commands:
// start an rsh-server:
> remote/rsh-server tcp://localhost:9999
// remote 'start' the server 'defaultServer'
> remote-control/server-control start defaultServer
// remote 'stop' the server 'defaultServer'
> remote-control/server-control stop defaultServer



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to