trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladyslav Bachynskyi <v.bachyns...@gmail.com>
Subject Re: Upgrade procedure.
Date Thu, 21 Nov 2013 09:11:16 GMT
Anyway, I don't understand why I can't use the same cache when I switch
over to newly compiled version?
I've checked the object with cache inspector and found, that the key
(not url-key) is different for same object under 4.0.1 and 4.1.1, but
"first key" is the same:

ATS 4.0.1
Volume  #1 - store='/dev/sda'
first key       409542BD429764BEE60B0610B8924C4D
key     6BA7E5696E9A9E7A1E05212E5264D3C4
sync_serial     10836
write_serial    388912
header length   2480
fragment type   1
No of Alternates        1

ATS 4.1.1
Volume  #1 - store='/dev/sda'
first key       409542BD429764BEE60B0610B8924C4D
key     34CEA58AC5FBA6D240C484307DE4C315
sync_serial     10837
write_serial    388912
header length   2480 
fragment type   1    
No of Alternates        1


Should I copy anything else but *.config files from previous 4.0.1 to
4.1.1 to make 4.1.1 found cached objects?


On 20.11.2013 12:20, Reindl Harald wrote:
>
> Am 20.11.2013 11:00, schrieb Vladyslav Bachynskyi:
>> On 20.11.2013 11:24, Reindl Harald wrote:
>>> Am 20.11.2013 08:04, schrieb Vladyslav Bachynskyi:
>>>> Could someone please advise me on proper upgrade procedure for ATS.
>>>>
>>>> I have 4.0.1 instance installed under:
>>>> /opt/trafficserver-4.0.1
>>>>
>>>> I've compiled the new 4.1.1 under:
>>>> /opt/trafficserver-4.1.1
>>> ouch - you should build packages so that you could
>>> do *clean* updates / downgrades
>>>
>>>> I've copied all configs from /opt/trafficserver-4.0.1/etc/trafficserver/*
to newly installed 4.1.1, and after I
>>>> started the new version of ATS I can see in logs that all objects which was
HITed before, now are MISSed.
>>>> When I switched back to previous version (4.0.1), all objects which was HITed
before are HITed now as well.
>>>>
>>>> What I'm doing wrong?
>>> look in the logfiles, normally /var/log/trafficserver/
>> Nothing special in logs:
>>
>> diags.log:
>>
>> [Nov 19 16:30:36.053] {0x2b499f3be3c0} STATUS: opened
>> /opt/trafficserver/var/log/trafficserver/diags.log
>>
>>>> I could not found the upgrade procedure in docs and wiki, please, give me
a link, If it's exists
>>> for 4.0 to 4.1 there is no change needed
>> So I can just install the new version over previous, and everything
>> should work fine?
> yes, but that is why i *strongly* recommend to build *packages*
> RPM removes obsolete files and you have always a clean install
> you should never install compilers on servers and build packages on isolated environment
with a restricted user
> a plain "make install" is the root of all evil on a server over the long
>


Mime
View raw message