Operating System - HP-UX
1832695 Members
2689 Online
110043 Solutions
New Discussion

Configuring the aternar link on VA7100

 
SOLVED
Go to solution
Miguel Carabano_1
Regular Advisor

Configuring the aternar link on VA7100

Hi,

I need configuring the alternar link on VA7100, after system ready with database in working.

Thanks

MC
12 REPLIES 12
Patrick Wallek
Honored Contributor

Re: Configuring the aternar link on VA7100

If you are just looking to add a PV LINK to the VG, then you just need to use vgextend to add the /dev/dsk/c?t?d? device file to the VG.

This can be done on-line and should not effect users at all.

The syntax would be:

# vgextend vg?? /dev/dsk/c?t?d?

Miguel Carabano_1
Regular Advisor

Re: Configuring the aternar link on VA7100

Hi,

How i can identify which is alterner link ?

File Anexed!

MC

Charles Holland
Trusted Contributor
Solution

Re: Configuring the aternar link on VA7100

Miguel,

please execute the following and report

ioscan -fnCfcp

Also how many volumn groups are these disks in? Are they ALL assigned to the db? What is the output of

vgdisplay -v vgXX

examply the output, at the end, of vg02 is

--- Physical volumes ---
PV Name /dev/dsk/c16t0d4
PV Name /dev/dsk/c18t0d4 Alternate Link
PV Status available
Total PE 31227
Free PE 1
Autoswitch On

Thanks
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
Miguel Carabano_1
Regular Advisor

Re: Configuring the aternar link on VA7100

Hi Charles,

Excelent! I can see the alternate link

MC

Note: vgdisplay.nodeA.txt
Nguyen Anh Tien
Honored Contributor

Re: Configuring the aternar link on VA7100

I do not know why you need many LUNS in VA7100.
I found that there are at least 24 LUN in VA.
HOw to identify alternate link:
- the syntax of device file is cxtxdx
1, the cx mean controller
2, dx is LUN ID to server dx=d0->d7 If lun id > 7 (for eg=9) it will convert to t1d1 (9-7=2)
if LUN ID=17 it will be t2d1 (2x6=16+1=17)
SO THAT all same txdx will be alternate of other controller.
for eg: /dev/rdsk/c13t2d6
and /dev/rdsk/c14t2d6
HTH
tienna
HP is simple
Nguyen Anh Tien
Honored Contributor

Re: Configuring the aternar link on VA7100

You should create the bigger LUN and use LV and mount point to your application (except for raw file such as oracle 9i...) bigger LUN make you reduce the number of LUN and easy to manage the array.
Pls assign point to the solution that help you to solve your problem
thanks
HP is simple
Miguel Carabano_1
Regular Advisor

Re: Configuring the aternar link on VA7100

Hi Charles and Nguyen,

I can add PV alternate with cluster running ???

Thanks

Charles Holland
Trusted Contributor

Re: Configuring the aternar link on VA7100

Miguel,

You have a LOT of work in front of you.
I toally agree with the previous two posts. It would have been easier to creat a LARGE LUN and the carve it up into the appropriate size of LV's. For whatever reason that is not the path you took.
In your first attachment you only had listings for channels c13 c14 and c15 indicating you had 3 "paths" leaving your server.

In the second attachement you had c13, c14, c15, AND c5, which now indicate 4 "paths" leaving your server.

After reviewing the second listing, and the established alternate links it appears that channel c13 and c14 are working together as primay / alternate paths, and c15 and c5 are doing the same. I would suggest that you follow the same pattern. As an example vga_02 on the second physical volume designated as /dev/dsk/c13t1d4 to establish an alternate link you would do the following

vgextend vga_02 /dev/dsk/c14t1d4

Redoing the vgdisplay -v vga_02 should show you that you now have an alternate link established and you are done with that volume group. The only thing that might be different in the command is that the man page on vgextend indicates that it should be

vgextend /dev/vga_02 /dev/dsk/c14t1d4

As I said you have a bit of work in front of you. It would be easier to list the ones that are correct already, but I believe that the folloing is a list of all vg's that need to be addressed.
vga_01 vgb_01
vga_02 vgb_02
vga_03 vgb_03
vga_04 vgb_04
vga_06 vgb_06
convert3
cal_b01
cal_a02 cal_b02
cal_b03
cal_b04
cal_b05

Once you believe you have completed establishing the alternate links for each volume group go back and run the vgdisplay -v command again each to verify your process.

Regards

P.S.: Points assignment would be great for those who helped in solving your question.
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
Charles Holland
Trusted Contributor

Re: Configuring the aternar link on VA7100

Meguel,

Sure can.

Regards
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
Nguyen Anh Tien
Honored Contributor

Re: Configuring the aternar link on VA7100

Of course.
Just use
1, extend vg
#vgextend /dev/vgxx /dev/dsk/cxtxdx
2, vgexport on active node
3, vgimport on other node
HTH
pls assign points
HP is simple
Charles Holland
Trusted Contributor

Re: Configuring the aternar link on VA7100

Miguel,

I have to say that we did not do the vgexport and vgimport process as listed above.

If your db is up and running I'd have to think a bit about doing them. Do a man vgexport and make your own decision.

How about an update on how things are going.

Regards
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
Miguel Carabano_1
Regular Advisor

Re: Configuring the aternar link on VA7100

Thanks Team!

MC