admin@glassfish.java.net

Re: Document --target in asadmin remote commands for Prelude or not? [Re: Action items for Kedar from today's]

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Thu, 21 Aug 2008 15:54:54 -0700

Kedar Mhaswade wrote:
>
>
> Bill Shannon wrote:
>> Kedar Mhaswade wrote:
>>> I was thinking specifically in terms of --target as that specifies
>>> a remote server instance or a cluster which might be accessed depending
>>> upon the value. Since the only target available for Prelude is the
>>> only server (call it DAS or whatever), I thought we can safely remove
>>> that for now rather than accept a value for it and then ignore it.
>>> If it's too much of work, let's not to do it. It was just a thought.
>>
>> Even though there's no way to create new targets, seems like we could
>> still accept --target and verify that its argument matches one of the
>> predefined targets. Compatibility-wise, that seems safest for Prelude.
>
> That can be done. So, if someone did "asadmin <cmd> --target xyz ...", s/he
> gets "invalid target: xyz" and the command fails, right?

Right.

> I was hoping to avoid those efforts, for now ;)

I'll leave it to you to assess the cost/benefit of doing this now.