Received: from datsunx.us.oracle.com (datsunx [10.132.180.90])
	by datsun.us.oracle.com (8.14.2+Sun/8.14.2) with ESMTP id o9FMwn8g017145
	for <shannon-record@datsun.us.oracle.com>; Fri, 15 Oct 2010 15:58:49 -0700 (PDT)
Received: from [IPv6:::1] (localhost [IPv6:::1] (may be forged))
	by datsunx.us.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id o9FN2PiA019948;
	Fri, 15 Oct 2010 16:02:25 -0700 (PDT)
Message-ID: <4CB8DD81.2070204@oracle.com>
Date: Fri, 15 Oct 2010 16:02:25 -0700
From: Bill Shannon <bill.shannon@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.7) Gecko/20100817 Lightning/1.0b2 Thunderbird/3.1.1
MIME-Version: 1.0
To: Tom Mueller <tom.mueller@oracle.com>
CC: Elena Asarina <elena.asarina@oracle.com>, admin@glassfish.dev.java.net
Subject: Re: start instance sync behavior
References: <4C522CD2.1040100@oracle.com> <4C56F176.9080601@oracle.com> <4C56F635.4000606@oracle.com>
In-Reply-To: <4C56F635.4000606@oracle.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I'm not sure my answer to this was correct.

If I create a new instance and tell it that it's part of a cluster,
then I would expect it to get all the cluster's applications.

But if I create a new instance and just tell it to use the same
configuration as the cluster is using, it's not actually part of the
cluster, and shouldn't inherit the cluster's applications.

I would close https://glassfish.dev.java.net/issues/show_bug.cgi?id=12853
as invalid.


Bill Shannon wrote on 08/ 2/10 09:45 AM:
> Sounds like it to me.
>
> Tom Mueller wrote on 8/2/10 9:25 AM:
>> > Currently, the application-refs that are needed in the <server> element
>> > are not automatically created for a stand-alone instance when it is
>> > created using a cluster's config.  Are you saying that this is a bug?
>> >
>> > Tom
>> >
>> > Bill Shannon wrote:
>>> >> The instance using the config should get all resources and all
>> > application referenced by the config.
>> >
>> > On 7/29/2010 8:37 PM, Elena Asarina wrote:
>>> >> Hello Tom,
>>> >>
>>> >> Could you please clarify start instance sync behavior.  I.e., for
>>> >> example,  was created a cluster with instances,   for that cluster
>>> >> were created resources, and apps were deployed.  Then
>>> >> a) Was added a new instance to the cluster.
>>> >> b) Created a new stand  alone instance with --config
>>> >> <claster_name>-config
>>> >>
>>> >> Then executed one of these commands:
>>> >> 1) start-instance <instance_name>
>>> >> 2) start-local-instance <instance_name>
>>> >> 3) start-local-instance --nosync=true <instance_name>
>>> >> 4) start-local-instance --syncarchive=true <instance_name>
>>> >> 5) start-local-instance --syncallapps=true <instance_name>
>>> >> 6) start-local-instance --syncfull=true <instance_name>
>>> >>
>>> >>
>>> >> What is expected behavior  in a)  and  b) cases regarding availability
>>> >> of precreated  resources and deployed apps for all that starts.
>>> >>
>>> >> Thank you,
>>> >>
>>> >> Elena