- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle ASM and RAW devices.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 08:55 AM
тАО11-12-2007 08:55 AM
Please advice how i can use my raw devices for the oracle ASM.
i have HP Storageworks Virtual Array 7110.
when i created a LUN for 10Gb for the system. it generated 2 devices
/dev/rdsk/c6t0d2
/dev/rdsk/c4t0d2
for Oracle ASM, i just need to change ownership and add to Oracle ASM. But which one?
If someone has done this before.
Please advice.
Thanks in advance.
Regards,
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 09:11 AM
тАО11-12-2007 09:11 AM
Re: Oracle ASM and RAW devices.
# ioscan -funC ext_bus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 09:31 AM
тАО11-12-2007 09:31 AM
Re: Oracle ASM and RAW devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 09:45 AM
тАО11-12-2007 09:45 AM
Re: Oracle ASM and RAW devices.
there are 2 HBA on the host.
yes i could pick any device for the ASM and it would work. But i worry about fail over when one path goes dead.
yes, these 2 devices are from the same physical LUN.
i guess the question is how to make it failover when ASM only know of 1 device. we have EVA3000 with securePath and it taking care of this by combine the 2 devices into one. is there a similar way to do it.
#ioscan -funC ext_bus
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
ext_bus 0 0/0/1/0 c8xx CLAIMED INTERFACE SCSI C896 Ultra Wid
e LVD
ext_bus 1 0/0/1/1 c8xx CLAIMED INTERFACE SCSI C896 Ultra Wid
e Single-Ended
ext_bus 2 0/0/2/0 c8xx CLAIMED INTERFACE SCSI C87x Ultra Wid
e Single-Ended
ext_bus 3 0/0/2/1 c8xx CLAIMED INTERFACE SCSI C87x Ultra Wid
e Single-Ended
ext_bus 4 0/10/0/0.8.0.110.0 fcparray CLAIMED INTERFACE FCP Array Int
erface
ext_bus 5 0/10/0/0.8.0.255.6 fcpdev CLAIMED INTERFACE FCP Device In
terface
ext_bus 6 0/12/0/0.8.0.108.0 fcparray CLAIMED INTERFACE FCP Array Int
erface
ext_bus 7 0/12/0/0.8.0.255.6 fcpdev CLAIMED INTERFACE FCP Device In
terface
and these are 2 path from 2 HBA with the same physical LUN
disk 5 0/10/0/0.8.0.110.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 6 0/12/0/0.8.0.108.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c6t0d2 /dev/rdsk/c6t0d2
Thanks,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 11:22 AM
тАО11-12-2007 11:22 AM
Re: Oracle ASM and RAW devices.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=692210
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 11:44 AM
тАО11-12-2007 11:44 AM
Re: Oracle ASM and RAW devices.
if i use LVM, pvlink will be perfectly fine. In my case, i use Raw devices in Oracle ASM. i could use one link for the ASM and it would work fine also, but in case this link dies there is no failover for the survive link.
how to combine the 2 path to become one as securepath on my EVA3000 does?
Thanks,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 04:57 PM
тАО11-12-2007 04:57 PM
Re: Oracle ASM and RAW devices.
http://h20000.www2.hp.com/bc/docs/support/SupportManual/lpg28858/lpg28858.pdf?jumpid=reg_R1002_USEN
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 06:53 PM
тАО11-12-2007 06:53 PM
Re: Oracle ASM and RAW devices.
now i got autopath working but i still have to devices.
please advice how i can map it so it present me with one device.
thanks in advance.
Tom,
#autopath display -l 6F00-0200-0000-0000-1D00-0000-0000-0000
==================================================================
HPswsp Version : A.3.0F.02F.02F
==================================================================
Array WWN : 060B-0000-151A-6F50
==================================================================
Lun WWN : 6F00-0200-0000-0000-1D00-0000-0000-0000
Virtual Device File : /hpap/dsk/hpap0
Load Balancing Policy : Round Robin
Lun Timeout : Infinite Retry (-1)
==================================================================
Device Path Status
==================================================================
/dev/dsk/c4t0d2 Active
/dev/dsk/c6t0d2 Active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 08:22 PM
тАО11-12-2007 08:22 PM
Re: Oracle ASM and RAW devices.
You already have a single device:
Virtual Device File : /hpap/dsk/hpap0
You just need to change you ASM_DISKSTRING parameter in your ASM instance to point to /hpap/dsk
I guess you may need to chnage the permissions/ownership on that device as well
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2007 11:41 PM
тАО11-12-2007 11:41 PM
Re: Oracle ASM and RAW devices.
Now that you have identified the Virtual Device File : /hpap/dsk/hpap0
The Oracle data directory could be setup the following way:
$ ln -s /hpap/dsk/hpap0 /u02/oradata/asmdisks/disk00
$ ln -s /hpap/dsk/hpap1 /u02/oradata/asmdisks/disk01
$ ln -s /hpap/dsk/hpap2 /u02/oradata/asmdisks/disk02
$ ln -s /hpap/dsk/hpap3 /u02/oradata/asmdisks/disk03
And the following command needs to be executed after each reboot:
# chown oracle.dba /u02/oradata/asmdisks/*
You need to ensure that the ownership of block devices is changed to oracle:dba or oracle:oinstall. Otherwise Oracle will not be able to access the block devices and ASM disk discovery will not list them. (NB. In linux, we had to ensure that the ownership of block devices was set after each reboot since Linux changes the ownership of block devices back to "brw-rw---- 1 root disk" at boot time. You will need to verify if the behaviour is the same on HP-UX).
and finally, to create your ASM disk group, you will need to set the Disk Discovery Path to "/u02/oradata/asmdisks/*"
Hope this helps too!
kind regards
yogeeraj