HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Persistent DSF for Oracle RAC

 
SOLVED
Go to solution
Andrew Young_2
Honored Contributor

Persistent DSF for Oracle RAC

Hi.

I have two little rx2660's running Oracle RAC on HPUX 11.31 connecting to an EVA4100.

I have created an additional LUN on the EVA and presented the disk to both rx2660's. However when I presented it to the second 2660 it turned out that the persistent DSF allocated by the first 2660 was already in use on the second and has therefor allocated a different one.

I am open to suggestions on how to get the same persistent DSF on both servers.

Regards

Andrew Y
Si hoc legere scis, nimis eruditionis habes
6 REPLIES
Turgay Cavdar
Honored Contributor

Re: Persistent DSF for Oracle RAC

You can create /dev/oracle directory then you can use mknod to create device files such as: raw_ora_ocr1_1g,raw_ora_vote1_1g,raw_db_asm1_120g
kevin_m
Valued Contributor

Re: Persistent DSF for Oracle RAC

I created additional device files as suggested above to keep a consistent naming convention. That way you can assign specific ownership and permissions as required by Oracle without worrying about them getting reset by the OS. For example:

mksf -C disk -H -r /dev//asm/arch01
chown oracle:dba /dev//asm/arch01
chmod 660 /dev//asm/arch01

- Kevin
Andrew Young_2
Honored Contributor

Re: Persistent DSF for Oracle RAC

Hi.

According to what docs I have managed to read it seems this is the only way of doing it, and there is a much reduced risk of permissions problems after an insf command.

Thanks for your assistance.

Regards

Andrew Young
Si hoc legere scis, nimis eruditionis habes
Andrew Young_2
Honored Contributor

Re: Persistent DSF for Oracle RAC

Hi.

The use of mksf is all good and well but since my disks are multipath devices I would prefer to use the persistent DSF's to retain the redundancy.

Would

mkdir /dev/oracle
ln -s /dev/rdisk/disk142 /dev/oracle/oradb

work?

Regards

Andrew Y
Si hoc legere scis, nimis eruditionis habes
Turgay Cavdar
Honored Contributor
Solution

Re: Persistent DSF for Oracle RAC

Lets say yoour device is disk142

Get minor number of device:
#cd /dev/oracle
#ll /dev/rdisk/disk142
crw-r----- 1 bin sys 22 0x00004a Feb 10 08:24 /dev/rdisk/disk142

Create device file:
#mknod raw_ora_ocr1_1g c 22 0x00004a
kevin_m
Valued Contributor

Re: Persistent DSF for Oracle RAC

The mksf syntax I used works fine with multipathing. We had at least one instance of a storage processor going down in a Clariion array and the database (using raw devices w/ 11.31) was not affected. If you want to make sure the new DSF is configured for multipathing run the command:

scsimgr get_attr -D /dev/oracle/oradb -a leg_mpath_enable