OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: teeraw on August 16, 2015, 09:22:29 AM

Title: Migrate CMOD AIX to CMOD Linux
Post by: teeraw on August 16, 2015, 09:22:29 AM
Can CMOD AIX migrate to CMOD Linux without export/import all report in repository?

Can we used DB2 backup/restore and CMOD Cache storage copy across two platform? (Assuming that same version)

Thanks.
Title: Re: Migrate CMOD AIX to CMOD Linux
Post by: Justin Derrick on August 17, 2015, 12:19:22 PM
No, and no.  :)

You have to do a variety of steps to migrate cross platform, it's not as simple as a backup and restore.

In some cases, doing a full extract-and-restore is the best way forward -- if the system is old, and you want to correct problems, an export/import is the way to go.  Things you can fix off the top of my head:


Even if you don't want to do any of that, a very basic migration across platforms is very difficult.  There are other threads on migrations on the forums -- this one is the most recent:

http://ODUG.net/index.php?topic=1699.0

Feel free to ask more specific questions -- and don't forget to include important information like version numbers for all of the software you're  using on the old and new systems.

-JD.
Title: Re: Migrate CMOD AIX to CMOD Linux
Post by: jeffs42885 on August 17, 2015, 12:34:05 PM
I agree with JD. In our case, the db2move + arscache move worked perfectly but since you're on AIX and working with links, retr directory, etc, you're going to want to do an ARSDOC GET / ARSLOAD combo (Correct me if wrong!)
Title: Re: Migrate CMOD AIX to CMOD Linux
Post by: Alessandro Perucchi on August 17, 2015, 12:38:53 PM
Officially it is not supported.
But unofficially it has been done several times. (Personally I've done it from AIX -> Linux, Windows -> Linux, Windows -> Solaris, Solaris -> Linux, AIX -> AIX, Linux -> Linux, Linux -> AIX, ...)

That's not a very difficult task, BUT, you really need to know what you are doing, and if you are just following instructions without understanding what is going on... then I will never do that kind of task.
Because the margin of errors and having a non working system, making people lose time for nothing is too great.
And when you have problems, on why it doesn't work, you cannot ask IBM Support for help, because it is not a supported operation. So you are on your own.
And you will feel it, if it doesn't work as you imagine it works, and you need to find why...

If you don't have really good TSM / Unix / DB2 / CMOD knowledge... then better to ask support from people who has already done it, and can prove that they have done it (could be IBM or IBM Business Partner).

And as Justin said it rightly... in some cases, the export / import is the best and only way to do it.
And if you are not sure enough, and if you don't find the correct people to do it, the export / import is the only way too.

Title: Re: Migrate CMOD AIX to CMOD Linux
Post by: Alessandro Perucchi on August 17, 2015, 12:40:52 PM
Quote from: jsamsung85 on August 17, 2015, 12:34:05 PM
I agree with JD. In our case, the db2move + arscache move worked perfectly but since you're on AIX and working with links, retr directory, etc, you're going to want to do an ARSDOC GET / ARSLOAD combo (Correct me if wrong!)

Cache and retr works exactly the same on AIX and Linux. There are zero differences!
And the way to do it (db2move + arscache move) is the correct one.

If you have TSM, the idea is nearly the same :-)
Title: Re: Migrate CMOD AIX to CMOD Linux
Post by: jeffs42885 on August 17, 2015, 02:46:00 PM
That makes total sense. Thank you Allesandro

*Must stay off ODUG before my daily caffeine regiment! :D *
Title: Re: Migrate CMOD AIX to CMOD Linux
Post by: teeraw on August 30, 2015, 08:12:49 AM
Quote from: Alessandro Perucchi on August 17, 2015, 12:38:53 PM
Officially it is not supported.
But unofficially it has been done several times. (Personally I've done it from AIX -> Linux, Windows -> Linux, Windows -> Solaris, Solaris -> Linux, AIX -> AIX, Linux -> Linux, Linux -> AIX, ...)

That's not a very difficult task, BUT, you really need to know what you are doing, and if you are just following instructions without understanding what is going on... then I will never do that kind of task.
Because the margin of errors and having a non working system, making people lose time for nothing is too great.
And when you have problems, on why it doesn't work, you cannot ask IBM Support for help, because it is not a supported operation. So you are on your own.
And you will feel it, if it doesn't work as you imagine it works, and you need to find why...

If you don't have really good TSM / Unix / DB2 / CMOD knowledge... then better to ask support from people who has already done it, and can prove that they have done it (could be IBM or IBM Business Partner).

And as Justin said it rightly... in some cases, the export / import is the best and only way to do it.
And if you are not sure enough, and if you don't find the correct people to do it, the export / import is the only way too.

When you was migrated from AIX to Linux, did you found problem on ENDIAN of character?
And for DB2 database, which method you used for migrate? (db2move or restore DB)


Title: Re: Migrate CMOD AIX to CMOD Linux
Post by: Alessandro Perucchi on August 31, 2015, 08:12:26 AM
Hello teeraw,

never have an ENDIAN problem if you use "db2move", that's the only proven method to move DB2 databases from 32/64bits environments, from Windows/Unix/Linux to Windows/Unix/Linux, from Big/Little Endian to Big/Little Endian.

Hope that helps.