- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: ** Primary and Alternate Paths for Disks **
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
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
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
тАО10-31-2002 06:32 AM
тАО10-31-2002 06:32 AM
If you have been reading some of my questions here and there over the last few months I have been tinker-toying together a VA7400 SAN. I am really almost there and I have built in redundancy by getting another switch. Still waiting on dual HBAs but that must wait.
My question is: I want to create file systems that use LUNs on the VA. I know about the performance issues with Redundancy Groups and I understand that pretty well. I want to use Controller 1 for RG1 LUNs and Controller 2 for RG2 LUNs. How can create these volumes so that I can set a primary path and then an alternate path for some protection? I know that I should to this via the command line. Does someone have a quick recipe? I reading documentation and trying my best but I have an oracle guy coming in a few hours who wants to have everying ready for testing. Thanks in advance.
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2002 06:45 AM
тАО10-31-2002 06:45 AM
Re: ** Primary and Alternate Paths for Disks **
pvchange -s /dev/dsk/c#t#d#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2002 06:46 AM
тАО10-31-2002 06:46 AM
Re: ** Primary and Alternate Paths for Disks **
SAN is really a new area for me.
but in HP we can set the primary and alternate boot path using 'setboot'
#setboot -p disk-path set the disk to primary
#setboot -a disk-path set the disk to alternate
disk-path can be get by using
ioscan -fnC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2002 06:51 AM
тАО10-31-2002 06:51 AM
SolutionThe rule is simple. When a 'vgcreate' or 'vgextend' is done, the first unique physical path to a disk device becomes its "primary" link. The second (or third, etc.) path becomes the "alternate" link.
Thus, the "primary" link is nothing more than the FIRST path to a device as recorded in '/etc/lvmtab'.
To exchange the primary link to a device with its alternate, simply 'vgreduce' the primary path and then 'vgextend' that path back into the volume group. When the 'vgreduce' occurs, the "alternate" link is promoted to a "primary". When the 'vgextend' of the old primary path occurs, the path is noted to point to the same disk as that of another path and so it is added as an "alternate" link.
Thus, the order of paths in 'etc/lvmtab' determines the primary and alternate links to various devices. This is why you are warned when you do a 'vgscan' that the designated primary and alternate link might not be the same as it originallywas configured. (See the man pages for 'vgscan').
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2002 02:51 PM
тАО10-31-2002 02:51 PM
Re: ** Primary and Alternate Paths for Disks **
TO get the alter.link in place of teh prim.link, the simplest way is to use vgreduce.
Regards,
Hamdy