System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

RHEL 5.3 upgrade -> Found duplicate PV

 
SOLVED
Go to solution
Matthias Kretschmer
Frequent Advisor

RHEL 5.3 upgrade -> Found duplicate PV

Hello,
We are running a Service Guard Cluster with two nodes on RHEL 5.1
We are now trying to upgrade to RHEL 5.3.

What we did:
- Uninstalling the hp_qla2x00src rpm
- restored the /boot/initrd
- upgraded to 5.3
- installed HP Proliant Support Pack 8.25

After that we get now messages about duplicate PVs.
Found duplicate PV ......: using /dev/sdg1 not /dev/sda1

Looks like something is needed here to get the two HBAs working as failover with the native qla2x00 driver which should be used now.

Thanks for every hint.

Greetings,
Matthias
15 REPLIES
Steven E. Protter
Exalted Contributor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Shalom Matthias,

The suport Matrix for PSP 8.25 does not list RHEL 5.3. That is the source of your problem.

You need an updated version of PSP that supports that kernel.

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
Matthias Kretschmer
Frequent Advisor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Thank you Steven for that fast reply.

Where can we find these matrix?

I thougt 8.25 is the latest PSP.
Is there a PSP that supports RHEL 5.3?

Thank you very much in advance.

Greetings,
Matthias
Steven E. Protter
Exalted Contributor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Shalom,

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=1121516&prodNameId=3288134&swEnvOID=4006&swLang=8&mode=2&taskId=135&swItem=MTX-ff528c1bc8434a01b314485325

Or:

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3288134&prodTypeId=15351&prodSeriesId=1121516&swLang=8&taskId=135&swEnvOID=4006

I do not believe there is a PSP that supports RHEL 5.3 CentOS 5.3

I believe you will need to wait for the next version.

Click fast, this stuff is a moving target.

I searched for a DL380 server, you may need to start over and drill again, but I do not believe this stuff is hardware specific.

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
Matthias Kretschmer
Frequent Advisor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Thanks again,
I can not find any hint, that the PSP 8.25 does not support RHEL5.3.

But I found that in the Release Notes of the PSP:
Enhancement Note:
Added support for Red Hat Enterprise Linux 5 Update 3 (x86)


Therefore, I do not really believe that it is not supported.
Sorry.

But on the other hand, I found nothing about that it is supported.

Confused!

Greatings,
Matthias
anoldguy
Occasional Visitor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hey Matthias, it's Nathan. According to the readme in the PSP (8.25) (hppldu_v825.rhel5.txt):
--------------------------------------
While not all components support all errata kernels, the
PSP has been tested on the following distributions and errata kernels
for this release.


Distribution *Erratas
============================== ==================================
Red Hat Enterprise Linux 4
(32-bit) 2.6.9-11 (Update 1) through 2.6.9-78.EL (Update 7)
(64-bit) 2.6.9-11 (Update 1) through 2.6.9-78.EL (Update 7)

Red Hat Enterprise Linux 5
(32-bit) 2.6.18-8.el5 (Base) through 2.6.18-128.el5 (Update 3)
(64-bit) 2.6.18-8.el5 (Base) through 2.6.18-128.el5 (Update 3)
-----------------------------------------

I don't know how anyone (including HP) could maintain the position that RHEL 5.3 x86_64 is not supported. I don't suppose there's an authoritative source for this information?
Bharath_Pingali
Trusted Contributor
Solution

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hello Matthias,

You may have to re-think about moving to RHEL 5.3;

1. RHEL 5.3 is supported with native HBA Qlogic driver

2. The only failover software for RHEL 5.3 is Device Mapper

While you were running RHEL 5.1 with Qlogic, you may be using Qlogic failover for HA.

Now that you updated the OS, the Qlogic failover cannot be used with RHEL 5.3

This is causing your duplicate PV issue, without the failover software the OS is seeing the OS disk more than once.


This link has info on how-to move from Qlogic failover to Device Mapper.

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=12169&prodSeriesId=3559651&swItem=co-58149-1&prodNameId=3559652&swEnvOID=4004&swLang=13&taskId=135&mode=4&idx=0

Hope this helps.

-Thank You
Bharath
Matthias Kretschmer
Frequent Advisor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hi Bharath,
Thank you for that very important hint.

I tried to install that Device Mapper Migration kit you mentioned, but I am jammed at:
** Installation of HPDM Multipath tools **
#multipath-tools kit is not installed on your system
Enter the Location of HPDM Multipath bits("!" [To exit]) :

I do not know what is meant by "HPDM Multipath bits".
I downloaded the HPDMmultipath-4.3.0.tar.gz, unpacked it and tried to enter all possible things of that tool into the question above.
Unfortunately, I do not know what they want from me.

The other strange thing is:
# rpm -qa |grep multipath
device-mapper-multipath-0.4.7-23.el5

It looks like there is already a mulitpath tool installed.

Hope you can help me with this things.
Thank you in advance.

Greetings
Matthias
Steven E. Protter
Exalted Contributor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Shalom,

Few things to clear up.

PSP has a 64 bit version that supports 64 bit Linux.

PSP 8.25 seems to have come out at the same time as or just after 5.3. There is a support matrix that is part of the installation package.

Multipathing is built into the OS. There is no need to install PSP to take advantage of multipathing features.

There is a need I have found with RHEL 5 to install qlogic drivers to access shared storage. I never needed to do this with RHEL 4.x

PSP is very frustrating because the download location is a moving target and the documentation is not located in http://docs.hp.com . That is where I'd look for the matrix and you won't find it there.

Also, some of the PSP scripts mis-detect CentOS as not being RHEL, even though it is 100% binary compatible.

Fun. Fun. Fun. "Kef" (Transliterated Hebrew)

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
Bharath_Pingali
Trusted Contributor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hello Matthias,

Now that you have updated the OS to RHEL 5.3, you may the following method.

1. Modify modprobe.conf as per the device mapper guide

2. rebuild the ramdisk

3. Install HP device mapper

4. turn multipath service on

5. reboot

Are you booting from SAN?

Hope this helps.

-Thank You
Bharath
Bharath_Pingali
Trusted Contributor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hello Matthias,

Ignore the steps in my previous post. It is not an easy procedure.

Looks like the right path to update your configuration is;

1. Migrate RHEL 5.1 Qlogic failover to HP DM 4.0.0

2. Update OS to RHEL 5.3

3. Update Device Mapper to 4.2.0 or later

I am trying to find if there is way to do it after OS upgrade. I will post the steps as soon as i find out.

-Thank You
Bharath
Matthias Kretschmer
Frequent Advisor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Thank you Bharath,
I will try this now.
You do not need to figure out the way after the upgrade. I still have a disk mirror of my system before the upgrade.
I re-mirror now to 5.1 and try your steps.

Greetings,
Matthias
Matthias Kretschmer
Frequent Advisor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hi Bharath,
I tried to follow your steps.
I installed HP DM 4.0.0 on RHEL 5.1, which asked me for uninstalling device-mapper-multipath-0.4.7-23.el5. The script uninstalled that version.

Than I tried to upgrade to 5.3 and I got the following errors:

Transaction Check Error: file /etc/multipath.conf from install of device-mapper-multipath-0.4.7-23.el5 conflicts with file from package HPDMmultipath-tools-4.0.0-RHEL5.1

And a lot more transaction errors, all about device-mapper-multipath-0.4.7-23.el5 and HPDMmultipath-tools-4.0.0-RHEL5.1

Do not know how to proceed. :(

Greetings,
Matthias
loco_vikide
Frequent Advisor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hello,

Found duplicate PV messages is not a RHEL 5.3 per se. I have encountered these messages in RHEL 4.x and RHEL 5.2. Eveytime, my issues were related to LVM filter.

Your issue could be related to filter entries in your /etc/lvm/lvm.conf file. You have to find the correct syntax to fits your storage environment.

Example of using PowerPath pseudo devices and ignoring /dev/sd* pseudo device names:
filter = [ "a|mpath/.*|", "a|cciss/.*|", "a|emcpower.*|", "a|^/dev/hd|", "r/sd.*/", "r|.*|" ]

Cheers,
Bharath_Pingali
Trusted Contributor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hello Matthias,

Did you use the migration Kit?

-Thank You
Bharath
Matthias Kretschmer
Frequent Advisor

Re: RHEL 5.3 upgrade -> Found duplicate PV

Hi,
I used:
Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.0.0 (28 Feb 2008) HPDMmultipath-4.0.0.tar.gz
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18964&prodSeriesId=3559651&swItem=co-58129-1&mode=4&idx=1

and after the upgrade

Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.2.0 (2 Mar 2009) HPDMmultipath-4.2.0.tar.gz
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=US&swItem=co-68651-1&prodTypeId=18964&prodSeriesId=3559651

In the future i tried to use HPDMmigration-1.2.tar.gz, but then I ended up in the problems above:
(see post Jul 15, 2009 06:43:51 GMT )

I am really confused about all that versions of Enablement Kits and Migration Kits. I do not know what I have to use.
Could you please post exact names of the tar.gz files I need. Otherwise I do not really not what to use.
Thank you very much.

I am out of office for the next two weeks, but I will get back to here definitely.

Thank you all for the moment.

Greetings,
Matthias