wiki:CompareFiles
Last modified 11 years ago Last modified on 07/29/10 14:16:57

To compare the two files they should be in the same order. Therefore start the dCache with the new file (.rpmnew) and save configuration in the PoolManager.

   [vm-dcache-se] ~ # mv /opt/d-cache/config/PoolManager.conf /opt/d-cache/config/PoolManager.conf.old

   [vm-dcache-se] ~ # mv /opt/d-cache/config/PoolManager.conf.rpmnew /opt/d-cache/config/PoolManager.conf

   [vm-dcache-se] ~ # /opt/d-cache/bin/dcache restart

   [vm-dcache-se] ~ # ssh -c blowfish -p 22223 admin@vm-dcache-se

   [vm-dcache-se.desy.de] (local) admin > cd PoolManager

   [vm-dcache-se.desy.de] (PoolManager) admin > save

Compare /opt/d-cache/config/PoolManager.conf.old with /opt/d-cache/config/PoolManager.conf

   [vm-dcache-se] ~ # diff -u /opt/d-cache/config/PoolManager.conf.old /opt/d-cache/config/PoolManager.conf | less

Move the files back.