RH Switching rootvg/sanvg to New SAN


 
Thread Tools Search this Thread
Operating Systems Linux RH Switching rootvg/sanvg to New SAN
# 1  
Old 11-05-2015
Hammer & Screwdriver RH Switching rootvg/sanvg to New SAN

Hi, what's the safest procedure to reconfigure RH BFS to a new SAN?

Current setup boots rootvg and sanvg from a SAN.
Now a new SAN LUN is presented to the Linux Server.
The first and second SAN are srdf'd - so they are always in sync.

Can I re-use the existing LVM structure and somehow switch the underlying devices to the new LUNs?

Or, do I have to start from scratch, create new luns, re-build LVM, and re-install RH?

Urgent - this is scary. Thanks.
# 2  
Old 11-05-2015
When I have migrated LVM managed volumes in the past, we would:-
  • Present the new LUNs
  • Grow the volume groups be adding the new LUNs
  • Use pvmigrate, pvmove or migratepv (as appropriate to the OS to move the logical volumes from the old to the new LUNs
  • Remove the old (empty) LUNs from the volume group
  • Remove the old LUNs from the OS
  • Remove the old LUNs from the old SAN
The boot volume group is rather trickier and you may have to do some when booted from CD, else the devices will be in use. You would probably need to edit the grub, however I have not had to do this as we were always local boot and just the data volume groups were moving.

There is commercial software that may assist you with this, such as that from Storix (see https://www.youtube.com/user/StorixSoftware and Linux, AIX and Solaris Backup and System Recovery Software) or Christie Clone Manager (see Cristie and Cristie Software CloneManager) that may help. If it's a one-off, you might even manage the process with the demo software, but perhaps it would be worth investing in one of them anyway.



I hope that this helps,
Robin
# 3  
Old 11-05-2015
RH Switching rootvg/sanvg to New SAN cont'd

Hi, wow that sounds awesome - thanks for the insights.

This is a live production server I have to work with - any chance you know how to accept the new LUN presentations on RH - and how to write the pvmigrate command?

The entire rootvg including /boot is on the SAN - so do you think the pvmigrate will cover the /boot as well - or will I have to create a new /boot on the new SAN?
# 4  
Old 11-16-2015
I regret that I have not moved the boot volume group before and don't have a server I can try it on available. I would have to defer to those wiser than I on the procedure to follow. Have you approached Red Hat themselves for advice? They are normally very good. It depends on your support contract I suppose.

It might be relatively simple, something like:-
  • Boot from CD (or image)
  • Slice new LUN to create /boot and LVM partitions
  • Copy /boot from old to new
  • Vary on & extend the boot volume group with the new LUN
  • Migrate (as above)
  • Alter the boot parameter and/or grub.conf
  • Shutdown & boot.
Of course I can't be sure and I would not know how to alter the boot parameters and/or grub.conf so more advice is required.



Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Reducing / on rootvg

The root filesystem was mirrored, someone/something stopped mirroring, and increased / and /home to ridiculous values (/ got increased to 102gb and its only using 4.3gb, so 98gb is free). Can I reduce the / (/dev/hd4) filesytem down WITHOUT corrupting the the OS? I would do a: chfs -a size=10g... (6 Replies)
Discussion started by: mrmurdock
6 Replies

2. Filesystems, Disks and Memory

Faster way: SAN hd to SAN hd copying

hi! i got a rhel 6.3 host that already have an xfs filesystem mounted from a SAN (let's call it SAN-1) whose size is 9TB. i will be receiving another SAN (let's call it SAN-2) storage of 15TB size. this new addition is physically on another SAN storage. SAN-1 is on a Pillar storage while the new... (6 Replies)
Discussion started by: rino19ny
6 Replies

3. AIX

IBM SAN TO SAN Mirroring

Has anyone tried SAN to SAN mirroring on IBM DS SAN Storage. DS5020 mentions Enhanced Remote Mirror to multi-LUN applications I wonder if Oracle High availibility can be setup using Remote Mirror option of SAN ? (1 Reply)
Discussion started by: filosophizer
1 Replies

4. AIX

rootvg mirrored

I want to increase the size of /tmp by 1GB I know that the command is chfs -a size=+1G /tmp But the rootvg is mirrored and when I do a lsvg -p rootvg, I could see 2 disks. Will there be any impact if I increase the size of /tmp when the rootvg is mirrored ? Please advise. (1 Reply)
Discussion started by: newtoaixos
1 Replies

5. AIX

mirroring rootvg

I would like to konw wheather below steps are sufficient for mirroring rootvg. extendvg rootvg hdisk1 mirrorvg rootvg bootlist -m normal hdisk0 hdisk1 bosboot -ad hdisk0 bosboot -ad hdisk1 or anything needs to be added. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

6. AIX

extendvg and rootvg

When attempting to extend rootvg to a new physical disk I received the following message: 0516-1162 extendvg: Warning, The Physical Partition Size of 64 requires the creation of 1093 partitions for hdisk5. The limitation for volume group rootvg is 1016 physical partitions... (4 Replies)
Discussion started by: jyoung
4 Replies

7. AIX

AIX 5.2/5.3 - rootvg on SAN disk - pros and cons

We are considering a DR strategy of booting AIX 5.3 and 5.3 logical partitions from EMC Symmetrix SAN disks, so that we can replicate via SRDF to a recovery site. Has anyone tried configuring AIX 5.x systems to boot from SAN disk? If so, can you provide any information on the pros and cons of... (6 Replies)
Discussion started by: jjgarrot
6 Replies

8. AIX

Anyone know how to access rootvg?

I'm trying to troubleshoot an issue with an AIX system here. I have no experience with system administration of IBM stuff. Our local admin is ... um ... not available at this time. I found something online that said enter service mode - How the heck do I do that??? Why is IBM stuff lack proper... (2 Replies)
Discussion started by: bbbngowc
2 Replies

9. Solaris

Thoughts/experiences of SAN attaching V880 to EMC SAN

Hi everyone, I wonder if I can canvas any opinions or thoughts (good or bad) on SAN attaching a SUN V880/490 to an EMC Clarion SAN? At the moment the 880 is using 12 internal FC-AL disks as a db server and seems to be doing a pretty good job. It is not I/O, CPU or Memory constrained and the... (2 Replies)
Discussion started by: si_linux
2 Replies

10. Filesystems, Disks and Memory

Switching SAN storage

Hi, I have an existing SUN server that has a SAN storage installed on it. It also has softwares like Appwrox(scheduler), Taradata (database client), Samba Share and a few more installed on it. Now suppose that I have a new unix server server and i switch the same SAN store from the old unix... (1 Reply)
Discussion started by: myloginid
1 Replies
Login or Register to Ask a Question