OnDemand Users Group

Archive => Other => Topic started by: Glenn on July 10, 2015, 01:03:56 PM

Title: cache data
Post by: Glenn on July 10, 2015, 01:03:56 PM
I am going from an AIX platform to a Linux platform for CMOD / DB2 / TSM.
I have installed CMOD V9.5, DB2 10.5.3 on one Linux server and TSM 7.1.1 on another Linux server.
I have copied the db2 using both db2look and db2move, and have exported both the server and nodes for TSM.
What is the best way to get the cache data over to Linux from AIX?
I have a file system on AIX, /arscache/cache1 and the same file system name on Linux, /arscache/cache1.
Title: Re: cache data
Post by: Alessandro Perucchi on July 10, 2015, 01:15:38 PM
Hello Glenn,

You "simply" need to copy the whole /arscache/cache1 from AIX to Linux.

Be aware that you have a lots of links in there, so a "simple" cp -pr or scp -pr won't work.

One of the way to do it, is to use "tar -cv ..." on the AIX, and "tar -xv ..." on the Linux side.

Hope that helps a little bit.
Title: Re: cache data
Post by: Justin Derrick on July 10, 2015, 02:14:28 PM
I'd use rdist or rsync if they're available on both machines.  You'll want to make sure you read the documentation on how these utilities deal with links.

-JD.