LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-09-2011, 05:03 PM   #1
mbenz04
LQ Newbie
 
Registered: Aug 2011
Location: California, USA
Posts: 2

Rep: Reputation: Disabled
Question 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
 
Old 08-10-2011, 10:55 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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
 
Old 08-10-2011, 10:56 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Double-post deleted.

Last edited by tredegar; 08-10-2011 at 11:57 AM.
 
Old 08-10-2011, 12:56 PM   #4
mbenz04
LQ Newbie
 
Registered: Aug 2011
Location: California, USA
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-10-2011, 01:34 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Sabayon Linux x86/x86-64 5.o GNOME and KDE Released LXer Syndicated Linux News 0 10-02-2009 06:21 PM
LXer: Sabayon Linux x86/x86-64 3.5 Stable release LXer Syndicated Linux News 0 07-03-2008 12:00 AM
LXer: Sabayon Linux x86/x86-64 3.5 Loop 2: Beta Release LXer Syndicated Linux News 0 03-17-2008 06:41 PM
ASM x32 vs ASM x64 Tegramon Programming 3 02-27-2008 02:26 PM
LXer: Sabayon Linux x86/x86-64 3.4 [Stable Release] LXer Syndicated Linux News 0 07-25-2007 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration