- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating vg's and lvol's on a multipath SC10
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
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
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
05-08-2002 05:38 AM
05-08-2002 05:38 AM
Creating vg's and lvol's on a multipath SC10
I am assuming that I would do the following:
vgcreate /dev/vgXX /dev/dsk/c5t0d0 /dev/dsk/c6t0d0
The device files are for the same disk but two controllers (seperate SC10 paths). I think this will give me automatic failover to the other channel if one fails.
Is this correct?
Thanks,
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 05:44 AM
05-08-2002 05:44 AM
Re: Creating vg's and lvol's on a multipath SC10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 05:45 AM
05-08-2002 05:45 AM
Re: Creating vg's and lvol's on a multipath SC10
Sam lets you add the alternate Path, or select which one should be primary.
Hartmut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 05:46 AM
05-08-2002 05:46 AM
Re: Creating vg's and lvol's on a multipath SC10
You are correct , vgcreate /dev/vgxx < primary >
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 12:54 PM
05-09-2002 12:54 PM
Re: Creating vg's and lvol's on a multipath SC10
Of course, if throughput exceeds 50% on each bus, failover will cause a slowdown as the single bus becomes a bottleneck. However, using both buses can delay a bus upgrade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 01:07 PM
05-09-2002 01:07 PM
Re: Creating vg's and lvol's on a multipath SC10
# vgreduce vg01 /dev/dsk/c5t0d0
==> reducing yr pri path so that c6t0d0 now becomes pri
# vgextend vg01 /dev/dsk/c5t0d0
===> now c5t0d0 becomes alt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 01:45 PM
05-09-2002 01:45 PM
Re: Creating vg's and lvol's on a multipath SC10
To use an alternate link, you can create a volume group with vgcreate specifying both the primary link and the alternate link device file names. Both must represent paths to the same physical volume. (Do not run pvcreate on the alternate link; it must already be the same physical volume as the primary link.) When you indicate two device file names both referring to the same disk using vgcreate, LVM configures the first one as the primary link and the second one as the alternate link.
For example, if a disk has two cables and you want to make one the primary link and the other an alternate link, enter:
vgcreate /dev/vg01 /dev/dsk/c3t0d0 /dev/dsk/c5t0d0
To add an alternate link to a physical volume that is already part of a volume group, use vgextend to indicate the new link to the physical volume. For example, if /dev/dsk/c2t0d0 is already part of your volume group but you wish to add another connection to the physical volume, enter:
vgextend /dev/vg02 /dev/dsk/c4t0d0
If the primary link fails, LVM will automatically switch from the primary controller to the alternate controller. However, you can also tell LVM to switch to a different controller at any time by entering, for example
pvchange -s /dev/dsk/c2t1d0
After the primary link has recovered, LVM will automatically switch back from the alternate controller to the original controller unless you previously instructed it not to by using pvchange as illustrated below:
pvchange -S n /dev/dsk/c2t2d0
The current links to a physical volume can be viewed using vgdisplay with the -v option.
HP-UX documentation disc English docs.hp.com
March 2001 Hp-ux instant Information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 05:14 PM
05-09-2002 05:14 PM
Re: Creating vg's and lvol's on a multipath SC10
One thing to alwasy remember when creating a new volume group is to make sure that you increase the number of physical volumes from the default setting. I've found many times where SA's have been caught out by not allowing enough physical volumes at the creation time.
e.g.
# vgcreate -p 128 /dev/myvg /dev/dsk/c6t0d0
Have a look at the man page for vgcreate the other default options that you may wish to change.
Cheers
~Michael~