Operating System - HP-UX
1830899 Members
3380 Online
110017 Solutions
New Discussion

Extend and add VG in cluster - itanium

 
SOLVED
Go to solution

Extend and add VG in cluster - itanium

Hi.

I need extend a VG and to add new VG in a cluster with two intanium server with hp-ux 11.23. I have the procedure and i know if this is correct to this platform.

thanks.
8 REPLIES 8
Devender Khatana
Honored Contributor
Solution

Re: Extend and add VG in cluster - itanium

Hi,


Put option 7,8 after option 12 on first page.i.e. do a vgexport after extending the lvol & file system. Rest is fine.

Regards,
Devender
Impossible itself mentions "I m possible"
Kent Ostby
Honored Contributor

Re: Extend and add VG in cluster - itanium

Eknath
Trusted Contributor

Re: Extend and add VG in cluster - itanium

Hi,

You cannot export when the VG is active, Hence steps 7 and 8 should be followed after step 13.

Cheers!!!
eknath
Nguyen Anh Tien
Honored Contributor

Re: Extend and add VG in cluster - itanium

Hi Marchan.
You have same case as mine.
If your system has been installed Online JFS, This job will be easier.
these is my Working plan (if U need detail mail to me at tiennaATgmailDOTcom)It had been done 3 months ago.
see attached for detail. IT is so long so i was unable to post it here

I will check you WP now.
HTH
tienna
HP is simple
Nguyen Anh Tien
Honored Contributor

Re: Extend and add VG in cluster - itanium

FOR EXTENDING I CORRECT YOU WORKING PLANS AS FOLLOWING;

Extend a VG in cluster (two new disk), and extend LV and FS

nodo e ( active):

1.- # ioscan â fnC disk ï ¨ to see the new disks

2.- # cmhaltpkg -v â paqueteâ ï ¨ halt the package

3.- # vgchange -a e /dev/vgXX ï ¨ to activate VG

4.- # pvcreate /dev/rdsk/cXtYdZ .

5.- # vgextend /dev/vgXX /dev/dsk/cXtYdZ /dev/dsk/cRtVdW

6.- # vgdisplay vgXX ï ¨ to verify the new size

7.-------

8.- # lvextend -L "nuevo tamaño en Mb" /dev/vgXX/lvolXX ï ¨ extend the LV

9.- # extendfs /dev/vgXX/lvolXX ï ¨ extend the filesystem

EXPORT VG MAP SHOULD DO AFTER EXTENDING LV

# vgexport -v -p -s -m /tmp/vgXX.map /dev/vgXX ï ¨export the VG.

I RECOMMEND YOU COPY CONFIG FIL AT THIS STEP (AFTER EXTENDING)
10.- Copy the mapfile to node B

11.- # mount /dev/vgXX/lvolXX /tmp_test ï ¨ to verify the new size

12.- # umount /tmp_test

13.- # vgchange -a n /dev/vgXX ï ¨ to deactivate the VG in the node A

14.- # vgimport â v â s â m /tmp/vgXX.map /dev/vgXX ï ¨ import the VG in node B

15.- # cmrunpkg -n "node" â packageâ ï ¨ Stara the package in the node.

16
HP is simple
vinod_25
Valued Contributor

Re: Extend and add VG in cluster - itanium

hi

check the link for detailed information on service guard

http://www.docs.hp.com/en/B3936-90073/index.html

regards

Vinod

Re: Extend and add VG in cluster - itanium

Thanks to all...

GM

Re: Extend and add VG in cluster - itanium

Thanks to all, the procedure was well, i had to do any change for example export VG without options to erase it of lvmtab file and after to make the import.