Operating System - HP-UX
1834388 Members
2627 Online
110066 Solutions
New Discussion

how to add 9 alternative path for 3 disk which contains in a VG

 
SOLVED
Go to solution
yokus
Advisor

how to add 9 alternative path for 3 disk which contains in a VG

Here is the case.
I have to setup a vg using 3 disks which come from eva storage. each disk have 3 alternative path.
how to write the command?

Primary Path AlternativePath1 AlternativePath2 AlternativePath3
/dev/dsk/c12t0d6 /dev/dsk/c8t0d6 /dev/dsk/c10t0d6 /dev/dsk/c6t0d6
/dev/dsk/c8t2d2 /dev/dsk/c12t2d2 /dev/dsk/c6t2d2 /dev/dsk/c10t2d2
/dev/dsk/c6t2d3 /dev/dsk/c10t2d3 /dev/dsk/c8t2d3 /dev/dsk/c12t2d3

I don't know if the following will works.
I add the first disk when vgcreate, and assign the alternative path for the first disk.
then ,using the vgextend to load the other two disks and their's alternative path.

vgcreate -s 32 /dev/vg_arcsdata01 /dev/dsk/c12t0d6 /dev/dsk/c8t0d6 /dev/dsk/c10t0d6 /dev/dsk/c6t0d6 ; echo $?
vgextend /dev/vg_arcsdata01 /dev/dsk/c8t2d2 /dev/dsk/c12t2d2 /dev/dsk/c6t2d2 /dev/dsk/c10t2d2 ; echo $?
vgextend /dev/vg_arcsdata01 /dev/dsk/c6t2d3 /dev/dsk/c10t2d3 /dev/dsk/c8t2d3 /dev/dsk/c12t2d3 ; echo $?

or should be the following?

vgcreate -s 32 /dev/vg_arcsdata01 /dev/dsk/c12t0d6 /dev/dsk/c8t2d2 /dev/dsk/c6t2d3
vgextend /dev/vg_arcsdata01 /dev/dsk/c8t0d6 /dev/dsk/c10t0d6 /dev/dsk/c6t0d6
vgextend /dev/vg_arcsdata01 /dev/dsk/c12t2d2 /dev/dsk/c6t2d2 /dev/dsk/c10t2d2
vgextend /dev/vg_arcsdata01 /dev/dsk/c10t2d3 /dev/dsk/c8t2d3 /dev/dsk/c12t2d3

thanks for all.
6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: how to add 9 alternative path for 3 disk which contains in a VG

IMHO this makes no difference.

Check with

# vgdisplay -v vg_arcsdata01

to see the order of the alternative pathes.
Without knowing your hardware layout I can't advise much more ...

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!   
Jeeshan
Honored Contributor

Re: how to add 9 alternative path for 3 disk which contains in a VG

vgextend command hels this scenario

when you create a vg with its primary path, after that you just need to extend its alternative paths

#vgextend /dev/vg_arcsdata01 /dev/dsk/c8t0d6 /dev/dsk/c10t0d6 /dev/dsk/c6t0d6
a warrior never quits
Sharma Sanjeev
Respected Contributor

Re: how to add 9 alternative path for 3 disk which contains in a VG

Hi

Any one you can use it no difference

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
yokus
Advisor

Re: how to add 9 alternative path for 3 disk which contains in a VG

thanks for all.

By the way,one more things i want to confirm.

Since there is a software call securepath which used for the multiple path management for the EVA, so is there a must to installed this software at the hpux 11.23 ?

LVM can also manage the alternative path, what's the difference between them?

thanks very much.
Torsten.
Acclaimed Contributor

Re: how to add 9 alternative path for 3 disk which contains in a VG

Securepath was intended for active/passive arrays, since EVAs are active/active you can use pvlinks instead.

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

Re: how to add 9 alternative path for 3 disk which contains in a VG

since the disk will be used for an Automated Resource Control System (ARCS) system, The Automated Resource Control System (ARCS) is a planning and operational tool designed to improve productivity and enhance the ground handling agent's ability to react to changes in the fast moving environment at the world's busiest airports. how can the pe sized to be seted is better for small but high frequence data read-write?