admin@glassfish.java.net

Re: Admin iTeam agenda items?

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Tue, 20 Jul 2010 20:49:42 +0100

Can we review and finalize the CLI usage of cluster commands? And make
sure we're on the same page.
Here's the proposed final usage. Then I'll update the design spec:

create-local-instance:
Usage: asadmin [asadmin-utility-options] create-local-instance
       [--node <node_name>]
       [--nodedir <node_path>]
       [--savemasterpassword[=<savemasterpassword(default:false)>]]
       [--config <config_name> | --cluster <cluster_name>]
       [--systemproperties (name=value)[:name=name]*]
       [--portbase <portbase>]
       [--checkports[=<checkports(default:true)>]]
       [-?|--help[=<help(default:false)>]]
       instance_name

create-instance:
Usage: asadmin [asadmin-utility-options] create-instance
       --node <node_name>
       [--config <config_name> | --cluster <cluster_name>]
       [--systemproperties (name=value)[:name=name]*]
       [-?|--help[=<help(default:false)>]]
        instance_name

delete-local-instance:
Usage: asadmin [asadmin-utility-options] delete-local-instance
       [--node <node_name>]
       [--nodedir <node_path>]
       [-?|--help[=<help(default:false)>]]
       instance_name

delete-instance:
Usage: asadmin [asadmin-utility-options] delete-instance
       [-?|--help[=<help(default:false)>]]
       instance_name

start-local-instance:
Usage: asadmin [asadmin-utility-options] start-local-instance
       [--verbose[=<verbose(default:false)>]]
       [--debug[=<debug(default:false)>]]
       [--upgrade[=<upgrade(default:false)>]]
       [--nosync[=<nosync(default:false)>]]
       [--syncarchive[=<syncarchive(default:false)>]]
       [--syncallapps[=<syncallapps(default:false)>]]
       [--syncfull[=<syncfull(default:false)>]]
       [--node <node_name>]
       [--nodedir <node_path>]
       [-?|--help[=<help(default:false)>]]
       instance_name

start-instance:
Usage: asadmin [asadmin-utility-options] start-instance
       [--force[=<force(default:true)>]]
       [-?|--help[=<help(default:false)>]]
       instance_name

restart-instance:
Usage: asadmin [asadmin-utility-options] restart-instance
        [--debug[=<debug(default:false)>]]
[-?|--help[=<help(default:false)>]]

stop-local-instance:
Usage: asadmin [asadmin-utility-options] stop-local-instance
       [--node <node>]
       [--nodedir <nodedir>]
       [-?|--help[=<help(default:false)>]]
       instance_name

stop-instance:
Usage: asadmin [asadmin-utility-options] stop-instance
       [--force[=<force(default:true)>]]
[-?|--help[=<help(default:false)>]]
       instance_name

create-node-ssh:
Usage: asadmin [asadmin-utility-options] create-node-ssh --nodehost
<nodehost>
        --installdir <installdir> [--nodedir <nodedir>] [--sshport
<sshport>]
        [--sshuser <sshuser>] [--sshkeyfile <sshkeyfile>]
        [--force[=<force(default:false)>]]
[-?|--help[=<help(default:false)>]]
        name

create-node-config
Usage: asadmin [asadmin-utility-options] create-node-config
        [--nodedir <nodedir>] [--nodehost <nodehost>]
        [--installdir <installdir>] [-?|--help[=<help(default:false)>]] name

create-cluster:
Usage: asadmin [asadmin-utility-options] create-cluster
        [--config <config>]
        [--properties <properties>] [--systemproperties <systemproperties>]
        [--multicastport <multicastport>]
        [--multicastaddress <multicastaddress>]
        [-?|--help[=<help(default:false)>]]
        cluster_name

delete-cluster:
Usage: asadmin [asadmin-utility-options] delete-cluster
        [-?|--help[=<help(default:false)>]]
        cluster_name

start-cluster:
Usage: asadmin [asadmin-utility-options] start-cluster
        [--verbose[=<verbose(default:false)>]]
        [-?|--help[=<help(default:false)>]]
        cluster_name

stop-cluster:
Usage: asadmin [asadmin-utility-options] stop-cluster
        [--verbose[=<verbose(default:false)>]]
        [-?|--help[=<help(default:false)>]] cluster_name

copy-config:
Usage: asadmin [asadmin-utility-options] copy-config
        [--systemproperties <systemproperties>]
        [-?|--help[=<help(default:false)>]]
        source_config_name new_config_name

delete-config:
Usage: asadmin [asadmin-utility-options] delete-config
        [-?|--help[=<help(default:false)>]]
        destconfig

On 7/20/2010 3:57 AM, Nazrul Islam wrote:
> Hi Jennifer,
>
> Could you please send me usage for the 3.1 instance lifecycle commands
> (create-local-instance, create-instance, delete-local-instance,
> delete-instance, start-local-instance, start-instance)?
>
> Thanks.
>





On 7/20/2010 12:57 AM, Chris Kasso wrote:
> Please let me know if you have an agenda item for tomorrow's Admin iTeam
> otherwise I will cancel the meeting.
>
> thanks,
> Chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>