- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RHEL 3 to RHEL 4 upgrade, EMC SAN and LVM
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
Forums
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
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
тАО09-30-2010 06:02 PM
тАО09-30-2010 06:02 PM
RHEL 3 to RHEL 4 upgrade, EMC SAN and LVM
I performed an upgrade on a server yesterday from RHEL 3 AS to RHEL 4 AS but had to back out due to SAN connection issues. I'm hoping someone can shed light on this problem.
Environment:
HP BLp class Blades
RHEL 3 AS 32bit / RHEL 4 AS 32bit
EMC Symmetrix
The specific problem after the upgrade to RHEL4 was that , when we plugged the SAN cables back in, the boot process stopped immediately after it remounted / to rw, as the LVM management process was working. The end situation was LVM not being able to find any VGs, including the local disk VG. From there it dropped into maintenance mode.
Shutting down, unplugging cables and booting without SAN, and the system booted up fine. Even local VG.
As you will know, the upgrade from RHEL3 to RHEL4 means moving from LVM1 to LVM2
So specifically this problem looks to be focused on the LVM2 reading the LVM1 information from the SAN devices.
As I previously (last week) upgraded a very similar server successfully, I obviously focused on what I did differently from one upgrade to the last one.
The only thing that I recall is the order in which I upgraded and plugged the SAN back in.
i.e. First upgrade (successful)
1. shutdown, unplug SAN (commenting out SAN devices in /etc/fstab of course)
2. kickstart to upgrade, perform upgrade, shutdown.
3. plug SAN back in, boot, reimport previously exported VGs, uncomment SAN devices in /etc/fstab.
4. register and then up2date
5. Done. Successful.
Failed attempt.
1. shutdown, unplug SAN (commenting out SAN devices in /etc/fstab of course)
2. kickstart to upgrade, perform upgrade, reboot.
3. register/patch/full up2date to RHEL 4.8
4. plug SAN back in, boot,
> Errors. Can't vind any VGs.
> back out of upgrade.
So, my specific question is this: would a system update of the LVM2 package (while up2date-ing) BEFORE the SAN was attached, cause this problem?
That is what I suspect, but I would like to get confirmation on that idea before I invest hours to re-plan and re-execute.
Thank you for your assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 08:59 AM
тАО10-01-2010 08:59 AM
Re: RHEL 3 to RHEL 4 upgrade, EMC SAN and LVM
Firstly, Red Hat do not support or recommend upgrading between major versions of RHEL.
You might get things working, but you'll be on your own with regards official support...
That said, looking at the differences in your two attempts, did you export the volume groups on the failed one ?
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 09:26 AM
тАО10-01-2010 09:26 AM
Re: RHEL 3 to RHEL 4 upgrade, EMC SAN and LVM
Although we can not do the upgrade in all instances, (i.e. from RHEL 3 to RHEL 5 or from 32bit to 64bit - re-imaging from scratch is required) in this scenario we have done this hundreds of times successfully. We will have no trouble with support for the upgraded servers.
Yes, I deactivated and exported the VGs. In fact, I had to import them back when we backed out of the change in order to get back to square one. All went successfully.
The problem is specifically on the how the new LVM2 first sees the LVM1 VGs on the SAN, and it seems to be related to the state of LVM2 (i.e. first incarnation of that RPM as opposed to getting updated via up2date.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 10:02 AM
тАО10-01-2010 10:02 AM
Re: RHEL 3 to RHEL 4 upgrade, EMC SAN and LVM
If you "...will have no trouble with support for the upgraded servers." then why not log a call with Red Hat and ask them ?
This KB doc is quite clear though:
https://access.redhat.com/kb/docs/DOC-3246
"WARNING: Use of the "upgrade" option during the installation process can cause erratic system behavior in various cases and is unsupported by Red Hat. If you experience problems with an upgraded system and are seeking assistance from Red Hat Support, you will be instructed to perform a clean installation."
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 12:51 PM
тАО10-01-2010 12:51 PM
Re: RHEL 3 to RHEL 4 upgrade, EMC SAN and LVM
Well that certainly is clear.
I will initiate a call with RedHat to see where that gets us.