admin@glassfish.java.net

Re: list-instances command

From: Yamini K B <Yamini.Kb_at_Sun.COM>
Date: Mon, 05 Jul 2010 23:10:23 +0530
Oh, my workspace is not up to date. Thanks Anissa..

-Yamini

Anissa Lam wrote:

list-instances takes in an operand which is the target.   It can be name of cluster, node, config, instance.  Its been working since last week.   You may need to update your workspace.

Usage: asadmin [asadmin-utility-options] list-instances
    [--verbose[=<verbose(default:false)>]]
    [--timeoutmsec <timeoutmsec(default:2000)>]
    [--standaloneonly[=<standaloneonly(default:false)>]]
    [--nostatus[=<nostatus(default:false)>]]
    [-?|--help[=<help(default:false)>]] [target]


%asadmin  list-instances clusterABC
ABC-1 not running
ABC-2 not running

Command list-instances executed successfully.

Anissa.

On 7/5/10 10:10 AM, Yamini K B wrote:
Hi,

v2 list-instances allows for listing of instances belonging to a cluster whereas current list-instances doesn't have this option. Why so?

(v2 usage)
Usage: list-instances [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure|-s=true] [--user admin_user] [--passwordfile file_name] [target(Default domain)]

(v3.1 usage)
Usage: asadmin [asadmin-utility-options] list-instances
    [--timeoutmsec <timeoutmsec(default:2000)>]
    [--standaloneonly[=<standaloneonly(default:false)>]]
    [--nostatus[=<nostatus(default:false)>]]
    [-?|--help[=<help(default:false)>]]

Thanks,
-Yamini
--------------------------------------------------------------------- To unsubscribe, e-mail: admin-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: admin-help@glassfish.dev.java.net