1753865 Members
7313 Online
108809 Solutions
New Discussion юеВ

Pvlinks wanted!!

 
Igor_31
Advisor

Pvlinks wanted!!

Hello,

I have a problem.

I have installed HP-UX(11.23) on rx2660 server. The server has FC double port card and is connected to EVA4000 in two FC path configuration. The server has no internal disks and is booted from EVA4000. At the installation the server was connected to EVA by two FC ports and i can see four path to boot LUN. It is normal as i understand. But at the installation the HP-UX installer don't suggest to create alternative links for boot LUN. I didn't pay attention to it.
Now I have boot LUN configuration as the following:

bash-3.2# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=================================================================================
disk 0 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 2 0/2/1/0.1.4.0.0.0.1 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c1t0d1 /dev/dsk/c1t0d1s2 /dev/rdsk/c1t0d1 /dev/rdsk/c1t0d1s2
/dev/dsk/c1t0d1s1 /dev/dsk/c1t0d1s3 /dev/rdsk/c1t0d1s1 /dev/rdsk/c1t0d1s3
disk 1 0/2/1/0.1.5.0.0.0.1 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c3t0d1 /dev/dsk/c3t0d1s2 /dev/rdsk/c3t0d1 /dev/rdsk/c3t0d1s2
/dev/dsk/c3t0d1s1 /dev/dsk/c3t0d1s3 /dev/rdsk/c3t0d1s1 /dev/rdsk/c3t0d1s3
disk 4 0/4/1/0.1.4.0.0.0.1 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c5t0d1 /dev/dsk/c5t0d1s2 /dev/rdsk/c5t0d1 /dev/rdsk/c5t0d1s2
/dev/dsk/c5t0d1s1 /dev/dsk/c5t0d1s3 /dev/rdsk/c5t0d1s1 /dev/rdsk/c5t0d1s3
disk 3 0/4/1/0.1.5.0.0.0.1 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c7t0d1 /dev/dsk/c7t0d1s2 /dev/rdsk/c7t0d1 /dev/rdsk/c7t0d1s2
/dev/dsk/c7t0d1s1 /dev/dsk/c7t0d1s3 /dev/rdsk/c7t0d1s1 /dev/rdsk/c7t0d1s3
bash-3.2#

The my MAIN question is how to do alternative links(pvlinks) for boot LUN now or have i "pvlinks" configuration for boot LUN?
Vgdisplay does not show any alternative links for root vg00:

bash-3.2# vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 3153
VGDA 2
PE Size (Mbytes) 16
Total PE 3143
Alloc PE 3037
Free PE 106
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 560
Current LE 35
Allocated PE 35
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 1504
Current LE 94
Allocated PE 94
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 7968
Current LE 498
Allocated PE 498
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 1504
Current LE 94
Allocated PE 94
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 8032
Current LE 502
Allocated PE 502
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8720
Current LE 545
Allocated PE 545
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c1t0d1s2
PV Status available
Total PE 3143
Free PE 106
Autoswitch On
Proactive Polling On


bash-3.2#

At this time all disks are already included in vg00 and i can not use vgextend command.
(i can enter: vgextend /dev/vg00 /dev/dsk/c1t0d3 )
And what is the strange disk name c1t0d1s(x)? Is it equal to c1t0d(x)?

Thank you very much!





8 REPLIES 8
skt_skt
Honored Contributor

Re: Pvlinks wanted!!

that disk name is normal with 11.23/Itanium.

"At this time all disks are already included in vg00 and i can not use vgextend command.".. this is a little confusing.. what is your observation here?

could u do diskinfo on /dev/dsk/c1t0d1 or /dev/dsk/c1t0d1s2 && /dev/dsk/c3t0d1 or /dev/dsk/c3t0d1s2

Looks like they are same device..
D Block 2
Respected Contributor

Re: Pvlinks wanted!!

also run: lssf on the special devices to list the scsi info.

also run: adb on the special devices to list the first section of the lvm area.

eco "0x2008?4X" | adb /dev/dsk/cXtYdZ

see book: "HP-UX CSE by Charles Keenan" for this adb command example. The first section of the lvm area, 4 words in Hex are dumped.

at least you know then what devices have the same data in lvm.
Golf is a Good Walk Spoiled, Mark Twain.
Torsten.
Acclaimed Contributor

Re: Pvlinks wanted!!

Igor,

this looks pretty normal.


The installer never includes pvlinks - this is up to you (you are a good admin, right?)!



The "sx" part is the partition on the disk:

c1t0d0 - whole disk
c1t0d0s1 - EFI partition
c1t0d0s2 - HP_UX
c1t0d0s3 - Service

Now sort your pathes (!) and include them into the vg:

vgextend vg00 /dev/dsk/c7t0d1s2
vgextend vg00 /dev/dsk/c5t0d1s2
vgextend vg00 /dev/dsk/c3t0d1s2


Check with vgdisplay and you are done.

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!   
Dennis Handly
Acclaimed Contributor

Re: Pvlinks wanted!!

>Tom: also run: adb on the special devices to list the first section of the lvm area.
echo "0x2008?4X" | adb /dev/dsk/cXtYdZ

If this is the only command you are using in adb, you should replace it by something easier to use, xd(1):
# xd -tx4 -j 0x2008 -N 16 /dev/dsk/cXtYdZ
Torsten.
Acclaimed Contributor

Re: Pvlinks wanted!!

Regarding sort pathes:

It looks like you have 2 FC HBAs in slot 1 and 2 (it depends on the type of riser board in this machine) - H/W path is either

0/4/0 for slot 1
and
0/2/0 for slot 2

You are using 2 different switches both with
Domain ID 1 (not really nice, but no problem).

EVA ports are connected to switch port 4 and 5 on each switch.


If your first path is using

HBA in slot 1
switch 1
EVA controller A

I would use the opposite path as first alternate link:

HBA in slot 2
switch 2
EVA controller B

because if one of the components fail, you have the best chance to get a really healthy path now.
The other pathes only use another switch port and EVA port.

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!   
Igor_31
Advisor

Re: Pvlinks wanted!!

Thanks a lot to all!
I have fullfilled your recomendations.
I have created alternative links for boot LUN by entering command:
vgextend /dev/vg00 /dev/dsk/c(x)t0ds2 (for other physical disks).
Really, the command:
vgextend /dev/vg00 /dev/dsk/c(x)t0d1

was wrong.

Thanks,thanks!
Torsten.
Acclaimed Contributor

Re: Pvlinks wanted!!

No points???

Have fun!

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!   
Torsten.
Acclaimed Contributor

Re: Pvlinks wanted!!

Because you never assigned any points, this will help you:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

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!