The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: asadmin in v3: Requesting user feedback on functional spec ...

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: Apr 2, 2009 2:06 AM by: tecknobabble
km

Posts: 681
asadmin in v3: Requesting user feedback on functional spec ...
Posted: Mar 30, 2009 12:12 PM
  Click to reply to this thread Reply

I know everyone loves asadmin ;). Well, your wait is now over. We have been able to post the
first ready-for-review draft of asadmin functional specification. It's rather long, but is full of
exciting new features. And any and all feedback is welcome.

1- Spec is at: http://tinyurl.com/v3-asadmin-html (https://glassfish.dev.java.net/nonav/v3/admin/planning/j109/admin-cli.html)

2- Slides from a Webinar we did a month ago -- http://www.slideshare.net/pelegri/asadmin-webinar-12-feb-2009

So, all lovers of asadmin, please provide your feedback as a response to this thread.

Thank you,
Kedar Mhaswade
km@dev.java.net

iminar

Posts: 2
Re: asadmin in v3: Requesting user feedback on functional spec ...
Posted: Mar 30, 2009 2:33 PM   in response to: km
  Click to reply to this thread Reply

First of all let me just say that I love all the proposed enhancements and new features. Given that as developers we spend a great deal of time working with asadmin, it's great to see that the tool is getting attention in v3 release.

Some comments:
* [asadmin-options] [command-name] reordering - it really makes more sense in this order
* the use of http/https protocol - is it going to be a RESTful API? That would be sweet and would open up lots of new possibilities.
* the web mode - this can be a major differentiator from the competition
* will command aliasing support multiple commands? so that I could create an alias for a sequence of 2-3 commands?
* ruby bindings - really interesting, so is the ant and maven support
* asadmin.yml - thanks for doing the cleanup, the situation with all the various config files is getting messy

One thing that has always bugged me was an inability to do a domain restart with one command. I don't know why such a simple, yet commonly needed feature is missing.

asadmin restart-domain <domain>

This should work both locally and remotely.

thanks,
Igor

km

Posts: 681
Re: asadmin in v3: Requesting user feedback on functional spec ...
Posted: Mar 30, 2009 4:18 PM   in response to: iminar
  Click to reply to this thread Reply

> First of all let me just say that I love all the
> proposed enhancements and new features. Given that as
> developers we spend a great deal of time working with
> asadmin, it's great to see that the tool is getting
> attention in v3 release.

Thanks Igor. I am glad you like it.

>
> Some comments:
> * [asadmin-options] [command-name] reordering - it
> really makes more sense in this order
Yes.

> * the use of http/https protocol - is it going to be
> a RESTful API? That would be sweet and would open up
> lots of new possibilities.
Umm. Not the HTTP API. The RESTful way is something different.

> * the web mode - this can be a major differentiator
> from the competition

I sure hope so.

> * will command aliasing support multiple commands? so
> that I could create an alias for a sequence of 2-3
> commands?

That's a good thought. The problem is with error reporting, I guess. I modeled it on the simple Unix Shell concept.

> * ruby bindings - really interesting, so is the ant
> and maven support
Yes!
> * asadmin.yml - thanks for doing the cleanup, the
> situation with all the various config files is
> getting messy

Yeah.
>
> One thing that has always bugged me was an inability
> to do a domain restart with one command. I don't know
> why such a simple, yet commonly needed feature is
> missing.
>
> asadmin restart-domain <domain>

I think this should just be asadmin <identify host with --host, --port ...> restart.

Noted.

- Kedar

gildasun

Posts: 1
Re: asadmin in v3: Requesting user feedback on functional spec ...
Posted: Apr 2, 2009 1:20 AM   in response to: km
  Click to reply to this thread Reply

Hi Kedar,
I'm working on a migration with a big customer : they asked to get LDAP authentication support for the asadmin command (they also ask for this feature to be supported by the admin console either by the way).
Thanks,
Gildas.
PS : they even ask to have such functionality implemented in GFv2.1.

tecknobabble

Posts: 4
Re: asadmin in v3: Requesting user feedback on functional spec ...
Posted: Apr 2, 2009 2:06 AM   in response to: km
  Click to reply to this thread Reply

4.1.5.1

Consider having an option to stop processing script if a command in the script returns an exit code of 1.

4.1.5.3.3

I think a rethink might be an idea.... perhaps limit it to just being able to list and repeat a command, rather than implementing the the more powerful history feature set from bash (in this release at least). I guess there is an argument for a simple idempotent command, such as list-instances, you could argue that defining a short alias would prove a substitute for a repeatable history.

4.1.13.1

4. asadminenv.conf: I used it a lot .... but I can equally live without it, as it was probably the number one cause confusion especially when managing a mix of domains that are secure/non-secure (enterprise/cluster)

Steve

Message was edited by: tecknobabble




 XML java.net RSS