Operating System - HP-UX
1825795 Members
2083 Online
109687 Solutions
New Discussion

change disk device names (HPUX 11.11/EVA/ioinit)

 
farid S
Frequent Advisor

change disk device names (HPUX 11.11/EVA/ioinit)

Hello,
I have 2 hosts that I'm going to deploy as Serviceguard Cluster. I'm trying to follow HP best practices and configure the same Disks Device names on the 2 nodes. The disks are presented from an EVA 3000, and each host has 2 FC cards connected to 2 separated fabrics. So, each disk is seen 4 times on each host (I'm not using SecurePath). I've read a note about forcing instance numbers and HW paths relations with (ioinit -f mapping_file -r). But after reboot the instance numbers changed, but not the Device names....I'm I missing something ?or is there another way to do it ?
Thanks,
Farid.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: change disk device names (HPUX 11.11/EVA/ioinit)

Shalom Farid,

You can force it but there are limits.

For example if both servers have fiber cards on the 4 bus and the 7 bus you can make all the device files match.

If however this is not how the fiber cards are installed on both systems then its going to be impossible to meet this goal.

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
farid S
Frequent Advisor

Re: change disk device names (HPUX 11.11/EVA/ioinit)

Thanks for your response,
But now I'm encountering some errors when trying to create the cluster: is this because of the different device names ?

Thanks.


edcte45-bash#cmapplyconf -v -C /etc/cmcluster/cmclconf.ascii

Checking cluster file: /etc/cmcluster/cmclconf.ascii
Checking nodes ... Done
Checking existing configuration ... Done
Warning: Can not find configuration for cluster MYSG-1
Gathering configuration information ... Done
Gathering configuration information .............. Done

Warning: The disk at /dev/dsk/c6t0d1 on node edcte45 does not have an ID, or a disk label.
Warning: Disks which do not have IDs cannot be included in the topology description.
Use pvcreate(1M) to initialize a disk for LVM or,
use vxdiskadm(1M) to initialize a disk for VxVM.
Error: Unable to determine a unique identifier for physical volume /dev/dsk/c6t0d1 on node edcte45. Use pvcreate to give the disk an identifier.
Warning: Volume group /dev/vgsg is configured differently on node edcte44 than on node edcte45
Error: Volume group /dev/vgsg on node edcte45 does not appear to have a physical volume corresponding to /dev/dsk/c13t0d1 on node edcte44 (12825277161162730535).
Warning: Volume group /dev/vgsg is configured differently on node edcte45 than on node edcte44
cmapplyconf : Unable to reconcile configuration file /etc/cmcluster/cmclconf.ascii
with discovered configuration information.
farid S
Frequent Advisor

Re: change disk device names (HPUX 11.11/EVA/ioinit)

Issue resolved, I think that you have 2 choices:

* Do the presentations only on one path...So, you will not have 4 devices.
* Install SecurePath...

I have chosen the second one...SecurePath is a wonderfull peace of software!.

Have Fun.
farid S
Frequent Advisor

Re: change disk device names (HPUX 11.11/EVA/ioinit)

Resolved