- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing VG primary path
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
Discussions
Discussions
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
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
02-12-2014 07:00 AM - last edited on 02-13-2014 04:31 PM by Maiko-I
02-12-2014 07:00 AM - last edited on 02-13-2014 04:31 PM by Maiko-I
Hi,
We're are planing to do a disk load balancing on all our VG's that our Informix 9 databases are using. These vg's are using EVA 4400 virtual disks. Right now 80 percent of our production databases vg's/chunks are using the same primary path group "/dev/dsk/c4t???? and we want to alternate each vg's primary path to use other Alternate link for load balancing.
Our plan is, run a vgreduce on the volume group current primary path so it will use the next alternate path then run vgextend from the original primary path so to put back that path again for re-use in case of fail-over.
Would this be the right approach? The last time we did these on our test database it works fine and the test database recognized the new vg primary path but when we run these again on a production database, the database wont go online and treats the newly adjusted vg as bad chunks. We are afraid to continue these steps to other production database vg's now.
Any suggestions would be greatly appreciated
Kurt
P.S. This thread has been moved from Storage Area Networks (SAN) (Enterprise) to HP-UX > LVM and VxVM. - Hp Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 07:28 AM
02-12-2014 07:28 AM
Re: Changing VG primary path
hello,
(I'm assuming you are using HP-UX 11i v& or v2, with legacy disk device names)
if you just want to switch the primary paths from your PVs, there is no need to vgextend/vreduce the PVs : the pvchange -s /dev/dsk/c command brings an alternate to primary path.
(it doesn't modify the VG headers, unlike a vgextend/vgreduce)
but if you have EVA Securepath installed, it's kind of a moot point ; all the paths are used anyway, and the LVM commands are just for legacy reasons.
you can see the primary/alternate paths the from the "physical volumes" section on vgdisplay -v (sorry, my term locale is in French..)
--- Volumes physiques ---
Nom PV /dev/dsk/c23t3d7
Nom PV /dev/dsk/c25t3d7 Lien secondaire
Nom PV /dev/dsk/c39t3d7 Lien secondaire
Nom PV /dev/dsk/c31t3d7 Lien secondaire
Nom PV /dev/dsk/c33t3d7 Lien secondaire
Nom PV /dev/dsk/c15t3d7 Lien secondaire
Nom PV /dev/dsk/c17t3d7 Lien secondaire
Nom PV /dev/dsk/c41t3d7 Lien secondaire
Etat PV disponible
PE total 3198
PE disponible 3198
Autocommutateur En fonction
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 07:48 AM
02-12-2014 07:48 AM
Re: Changing VG primary path
Still using 11.11 or 11.23?
With or without autopath?
The vgreduce/vgextend method will give you the expected result, the pvchange will give it too, but only until the next boot.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 08:23 AM
02-12-2014 08:23 AM
Re: Changing VG primary path
HI,
Were running hpux 11.23 with Autopatch/Autoswitch "On". Maybe this is why when we apply both these (vgreduce and vgextend) commands on our production database it says that the vg/chunk is offline because the other admin run a pvchange instead of vgreduce and didn't do any server reboot then I did run the vgreduced and vgextend to the same primary path for I didn't know that the other admin already run a pvchange. Do you think this is why the database treats this as a bad chunk? we end up doing a warm restore on the database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 08:34 AM
02-12-2014 08:34 AM
Re: Changing VG primary path
# autopath display -r
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 09:31 AM
02-12-2014 09:31 AM
Re: Changing VG primary path
we dont have autopath installed on the machine. is this something I should be installing? if yes, it this something for purchase? thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 10:19 AM
02-12-2014 10:19 AM
Re: Changing VG primary path
But why not upgrading to 11.31?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 12:37 PM
02-12-2014 12:37 PM
Re: Changing VG primary path
We are on summer time. Does 11.31 has the AutoPath included already?
Thanks
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 09:52 PM
02-12-2014 09:52 PM
Re: Changing VG primary path
Version 11.31 has native multipathing, so the server will do load balancing accross the paths.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2014 08:08 AM
02-13-2014 08:08 AM