Operating System - HP-UX
1748169 Members
4324 Online
108758 Solutions
New Discussion юеВ

Re: How to make the disk device files identical in HP-Ux 11.31?

 
jolight
Frequent Advisor

How to make the disk device files identical in HP-Ux 11.31?


Hi All,

I have installed 2 rx6600 servers with HP EVA storage for oracle ASM. After mapping new luns i can see the /dev/[r]dsk/cxtxdx disk device names are same in both the nodes. But I have to use the /dev/[r]disk/diskxx file names to get the new multipathing functionality. But each systems have different names in both the servers. Please share how to make it same on both the servers.
Can I go ahead with ioinit -rC disk ? or some other way...

Thanks

George
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: How to make the disk device files identical in HP-Ux 11.31?

Shalom,

Make sure all the hardware is in the same exact slots both systems.

Make sure any scsi settings are identical.

Make sure all disks are in the same positions.

Then install the OS.

That is the only way to be sure. If the OS was installed and anything was different the device names could be the same.

If you have everything normalized,then your ionit solution is ready to go. Have an Ignite make_tape_recovery backup ready on both systems or make_net_recovery

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
jolight
Frequent Advisor

Re: How to make the disk device files identical in HP-Ux 11.31?

Steve,

The fc slots are same in both nodes and I have checked evainfo is showing exactly same in both the nodes. I have problem with only the legacy file names.


Thanks

George
Wouter Jagers
Honored Contributor

Re: How to make the disk device files identical in HP-Ux 11.31?

Hiya,

In your initial post you write that the legacy DSFs (/dev/dsk) are OK, though.. the ones in /dev/disk would be the persistent ones.

Did you check the instance numbers of the disks in ioscan output ?

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
jolight
Frequent Advisor

Re: How to make the disk device files identical in HP-Ux 11.31?


Hi

Its my mistake.. Legacy names are okay ...
Persistent devices showing different names in both node.

george
Tim Nelson
Honored Contributor

Re: How to make the disk device files identical in HP-Ux 11.31?

kevin_m
Valued Contributor

Re: How to make the disk device files identical in HP-Ux 11.31?

You can use mksf to create custom device files. Even if the disk paths change in the future it's easy to keep both servers the same and have a consistent naming convention for Oracle. Here's the syntax I used:
mksf -C disk -H -v -r /dev//asm

- Kevin
jolight
Frequent Advisor

Re: How to make the disk device files identical in HP-Ux 11.31?

Hi All,

I have tried ioinitrc -rC disk..
I got the luns in order but wwid differs in each node. I think mksf will work for me..

I will update after my test.

George