dev@glassfish.java.net

Re: Upgrade from glassfish to glassfish

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Mon, 21 Aug 2006 18:39:44 -0700

Is Issue 524 (refer below) not enough?
If not, please do.

Kedar

Eduardo Pelegri-Llopart wrote:
> Should I file an RFE?
>
> - eduard/o
>
> Kedar Mhaswade wrote:
>
>>> * Can one upgrade from GF V1 fcs o GF V2 fcs?
>>
>>
>>
>> Yes, one should be able to do so, seamlessly.
>>
>>> * Can one upgrade from GF V1 fcs to GF V2 Mx for some Mx?
>>
>>
>>
>> Yes, one should be able to do so, seamlessly.
>>
>>> * Can one upgrade from GF V2 Mn to GF V2 Mm for some m,n?
>>
>>
>>
>> Yes, one should be able to do so, for all m >= n but not otherwise.
>> In other words, binary downgrades might break existing domain
>> configurations and should not be "supported", IMO.
>>
>> This would be a little less stable than release to release upgrade.
>>
>> For 9.1, we are also working on something called a network installer
>> and update center. See issue 524 which I am going to work on.
>>
>> Also note that "asadmin backup-domain" and "asadmin-restore-domain"
>> should not be required (although it could be used)
>> for such simple binary upgrade scenarios. The bottom
>> line is that going ahead, all the domain configuration changes should
>> be handled with care, which enables us to take care of these issues.
>>
>> This will be presented to the community as a one pager in the
>> days/weeks to come.
>>
>> Regards,
>> Kedar
>>
>>>
>>> Upgradability seems very important if we want aggressive use of the
>>> Milestones, and I think we want that to be sure the final result is
>>> as useful to the customer/community as possible...
>>>
>>> Thanks!
>>> - eduard/o
>>>
>>>
>>> Shreedhar Ganapathy wrote:
>>>
>>>> Hello Rajiv
>>>> You are right and I should have earlier posted a clarification to
>>>> the alias.
>>>> When the installations of GF have an incompatible change such as a
>>>> class dependency of admin tool in the earlier build no longer being
>>>> available in the newer build (example,
>>>> GlassFishConfigureListener.java in b48 no longer being there in b05
>>>> v1ur1 in my pre-blog experimentation) then the admin tool would
>>>> break unless the admin app also got updated.
>>>> Seems to me that if the backup/restore would not touch system apps
>>>> such as admin apps, this problem would go away but I hesitate to
>>>> generalize.
>>>>
>>>> Byron and Kedar clarified when I discussed this with them (and here
>>>> I share this information for benefit of others) that the
>>>> backup/restore command's original intention was not to port a domain
>>>> from one installation to another but to only save a good domain
>>>> configuration for later use (say if the domain got corrupted) within
>>>> the same installation.
>>>>
>>>> One of the alternatives suggested was to save the domain config
>>>> directory from earlier build elsewhere and then do an in place
>>>> install of newer build and then move back config dir. This might
>>>> work subject to caveat that incompatible changes from earlier build
>>>> to newer build in the installation bits could possibly pose problems
>>>> and that inplace upgrade to newer build is an irreversible change.
>>>>
>>>> In sum, I think that if there is sufficient developer/user demand
>>>> for build to build upgrades, then this should be considered an RFE
>>>> and should be filed as such.
>>>>
>>>> best regards
>>>> Shreedhar
>>>>
>>>> Rajiv Mordani wrote:
>>>>
>>>>> Shreedhar,
>>>>> Unfortunately this does not seem to work. I tried to backup a
>>>>> domain that was installed on glassfish v1 and then restore
>>>>> it on glassfish v1 ur1 and some apps worked but in particular the
>>>>> admin tool was broken.
>>>>>
>>>>> - Rajiv
>>>>>
>>>>> Shreedhar Ganapathy wrote:
>>>>>
>>>>>> Alright, I Will do so today or tomorrow.
>>>>>>
>>>>>> Eduardo Pelegri-Llopart wrote:
>>>>>>
>>>>>>> Shreedhar, what about writging a short blog on tihs? Later we
>>>>>>> need to captgure it in the public wiki...
>>>>>>>
>>>>>>> - eduard/o
>>>>>>>
>>>>>>> Shreedhar Ganapathy wrote:
>>>>>>>
>>>>>>>> Hello Dmitry
>>>>>>>> At present I believe there is no upgrade mechanism between
>>>>>>>> nightly or promoted builds. A possible way is to use asadmin
>>>>>>>> backup-domain/restore-domain commands which would back up your
>>>>>>>> domain configuration to your specified directory and allow you
>>>>>>>> to restore it when the new build is installed.
>>>>>>>> See the documentation here:
>>>>>>>> https://glassfish.dev.java.net/nonav/javaee5/docs/SJSASEETSG.pdf
>>>>>>>> page 11
>>>>>>>> and
>>>>>>>> http://fisheye5.cenqua.com/viewrep/glassfish/appserv-docs/sman/cat1/backup-domain.1?r1=1.6.2.1&r2=1.6.2.2&u=-1&ignore=&k=k
>>>>>>>>
>>>>>>>>
>>>>>>>> Hope this helps.
>>>>>>>>
>>>>>>>> regards
>>>>>>>> Shreedhar
>>>>>>>>
>>>>>>>>
>>>>>>>> Dmitry Mozheyko wrote:
>>>>>>>>
>>>>>>>>> Hello all.
>>>>>>>>> How to safely upgrade glassfish version for example from v2-b09
>>>>>>>>> to v2-b11?
>>>>>>>>> WBR, Dmitry
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>