On 30/03/2012 3:29 a.m., Mustafa Raji wrote:
> hi
> i have squid cache with some problem in the operating system, i want to install fresh os installation and install squid 3.1.11
> the cache server os is fedora, with squid 2.7 stable 9 with 1 Tera of cached objects
> i want to install new os debian with squid 3.1.11 with the consideration of keeping the cached object from the previous cache server
> of course i will use the same squid configuration file with some simple changed cache_dir not included in the changes
> i tried this operation on testing network, installing new squid version and refer to cache_dir to previous location of squid, it's done successfully,
> please is there any side effect of this operation just to ensure from people have more experience with squid cache server,
> and i assumes that debian with squid is better than fedora is that true?
>
> thanks with my Best Regards
If your cache is in UFS/AUFS/diskd format and the system architecture is
the same before and after the upgrade ... you can treat the cache
directory (whole thing) as you woudl any other directory of files to
preserve between the systems.
Three caveats:
* if the CPU architecture has changed the files will have a different
format so the new Squid wont read them properly.
* new Squid must have the same cache_dir settings as the old one did.
Meaning squid-2 COSS caches cannot be be saved this easily (have to
migrate the content to a UFS cache first).
* if the 32/64-bit nature of the OS has changed you may encounter some
issues with meta data formatting. Squid will recover these automatically
by erasing and replacing files. This is rare now and self-fixing, but be
aware it may happen just in case.
Amos
Received on Thu Mar 29 2012 - 21:21:47 MDT
This archive was generated by hypermail 2.2.0 : Fri Mar 30 2012 - 12:00:04 MDT