- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I know if I have PV Links
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
03-26-2003 02:38 PM
03-26-2003 02:38 PM
Thanks in advance...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 02:47 PM
03-26-2003 02:47 PM
Re: How do I know if I have PV Links
PV links come into play when you do a 'vgdisplay -v vgname' on a VG. When it lists the disks that are a part of the VG at the end of the output, it will list whether or not there is more than one path to a particular disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 02:51 PM
03-26-2003 02:51 PM
Re: How do I know if I have PV Links
you will see something like this:
PV Name /dev/dsk/c11t15d7
PV Name /dev/dsk/c12t15d7 Alternate Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 02:53 PM
03-26-2003 02:53 PM
Re: How do I know if I have PV Links
Do an
ioscan -fnC disk
and note all the /dev/dsk/cXtYdZ entries
If you notice a pattern of diff "c" entries with identical "t" & "d" entries, then do a
diskinfo /dev/rdsk/cXtYdZ
for both the diff c devices.
If you get the same info from both of them then the chances are good that you do have alt links.
Then try to vgextend the VG with the alt link.
Now any vgdisplay -v /dev/vg_name outputs will show the new link as an alternate link.
It's advised that you alternate the diff channels as primary/alternate - it's a kind of poor man's load balancing.
Of course, using the EMC symm* commands would be much easier.....
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 02:53 PM
03-26-2003 02:53 PM
Re: How do I know if I have PV Links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 03:16 PM
03-26-2003 03:16 PM
SolutionAsk your EMC people to provide you with the utility "inq". It will give you an output containing the devices files as well the serial numbers. Using the serial numbers, you should be able to find the alternate paths.
Another way is to export and volume groups with map files and import them back with -s option. Once imported, if there are alternate links, system will add them automatically to the volume groups.
One interesting way is to find out the VGID of the disks and then add them to the volume groups. Here we are finding all the disks corresponding to one volume group and add them so that the alternate links are also added. To do it, run the following script.
for DISK in /dev/dsk/*
do
VGID=$(echo 0x2010?2X|adb $DISK|awk '{print $3}')
echo $VGID $DISK >> vgid.out
done
sort vgid.out > vgid.good
In vgid.good file you will find the VGIDs in the first column and the corresponding disks in the second column.
Take one reference disk from each volume group (strings /etc/lvmtab or vgdisplay -v vgxx) and find out the VG ID corresponding to that Volume group by using the adb command given above on that disk. Using that VGID, get all other disks having the same VGID from vgid.good file. Find out the disks that are not already part of this volume group and they are your alternate links. You can extend the vg using those device files.
Once it is done, doing a "vgdisplay -v " will give you alternate links.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 04:07 PM
03-26-2003 04:07 PM
Re: How do I know if I have PV Links
To answer Micheal Tullys' question, I am using ioscan which does not show me any other disks. There are 18 physical disks (LUNs) in the array, but ioscan only shows me 18 disks and not 36 as I guess I should see from what I understand about alternate paths.
I really like Sris' script to check the VGIDs of the currently configure VGs against disk that are not in any VG. Using this script though does not reveal any other "alternate" disks.
I do have two SCSI interfaces connected to the EMC and the EMC CE has divided the 18 disks across the two controllers where each controller has 9 disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 05:33 AM
03-27-2003 05:33 AM
Re: How do I know if I have PV Links
Well, it looks like they way EMC zoned those disks you won't be able to get alt links. They need to zone them such that all LUNs are seen to both HBAs.
This will most likely require *some* downtime as EMC will have to apply a new config to the array.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 06:04 AM
03-27-2003 06:04 AM
Re: How do I know if I have PV Links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 08:58 AM
03-27-2003 08:58 AM
Re: How do I know if I have PV Links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 10:03 AM
03-27-2003 10:03 AM