LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to migrate ASM disks from solaris10 (X86) to linux OS. (https://www.linuxquestions.org/questions/linux-general-1/how-to-migrate-asm-disks-from-solaris10-x86-to-linux-os-896438/)

mbenz04 08-09-2011 05:03 PM

How to migrate ASM disks from solaris10 (X86) to linux OS.
 
We are planning to move from solaris-10 to Redhat linux. Most of our database are using ASM raw devices (EMC symmtrix).

Is there way to migrate all asm raw devices (/dev/rdrd) running on solaris to redhat linux ?

Any suggestion will be appreciated .

Thanks

tredegar 08-10-2011 10:55 AM

I searched on linux ASM raw devices
Try these links from that search: http://admindba.com/forum.php?gcm=2&grid=115612
http://www.oracle-base.com/articles/...RawDevices.php

tredegar 08-10-2011 10:56 AM

Double-post deleted.

mbenz04 08-10-2011 12:56 PM

Thanks Tredegar for response .

I apologize for complexity of my question. Here what i want ..

I am running solaris 10 X86 atleast 20 servers with oracle 10.2.0.5 ASM database.

Now we are moving from solaris to RHEL 5.5 . ASM disks are on EMC symmtrix FC disks .

My solaris server & ASM disks

marsh:> uname -a
SunOS Marsh 5.10 Generic_137112-02 i86pc i386 i86pc


marsh:> cd /dev/rdrd

marsh:> ls -l

lrwxrwxrwx 1 root root 20 Jul 22 15:54 db_grp_0000 -> /dev/rdsk/emcpower2g
lrwxrwxrwx 1 root root 20 Jul 22 15:54 db_grp_0001 -> /dev/rdsk/emcpower4g
lrwxrwxrwx 1 root root 20 Jul 22 15:54 db_grp_0002 -> /dev/rdsk/emcpower6g
lrwxrwxrwx 1 root root 20 Jul 22 15:54 db_grp_0003 -> /dev/rdsk/emcpower8g

In this example i have to move this 4 disk to Linux .

Linux server

Linux moon 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

I should be able to see disk in following format

#fdisk -l /dev/emcpowerr

Disk /dev/emcpowerr: 48.2 GB, 48275128320 bytes
64 heads, 32 sectors/track, 46038 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/emcpowerr1 * 1 46038 47142896 da Non-FS data

But on RHEL i am unable to read partition information for emc disks moved solaris to linux . It showed no partition on disks.

tredegar 08-10-2011 01:34 PM

Thanks for the additional information. I just guessed that it was likely to be an oracle database.

I am no expert at things-oracle (but did develop a medium-sized application on it once back in 1990, it worked).

It seems to me that you cannot just copy your ASM devices from solaris to linux (some one please correct me). But these devices are just raw devices (without any traditional "filesystem" holding your database-data [a bit like swap]). The binary format in which they do this may differ between OSs or implementations of oracle. I don't know. You should probably:
  1. Backup your solaris oracle database data using oracle's tools to however many external files it needs. Maybe best to use a linux-formatted drive (ext2,3,4) to do this.
  2. Set up a new oracle instance on linux.
  3. Configure it to use ASM (linux seems to be able to handle this OK).
  4. Restore your oracle database to the linux system
  5. Test it.

If you have trouble, I am sure oracle will be able to help you. (They did me, waaaay back).

Good luck.


All times are GMT -5. The time now is 11:08 AM.