Operating System - HP-UX
1825784 Members
2142 Online
109687 Solutions
New Discussion

Re: HP Service Guard and Logical Volume

 
SOLVED
Go to solution
Valerie_10
Advisor

HP Service Guard and Logical Volume

Hello,

I need some help on a HP's VA7100 (AutoRAID with 10 x36GB HDD, only connected to a pair of HP Servers with HPUX 11i and is 'HP
Service Guarded'). I need to add new HDD into the VA7100 (that is additional 5 x 73GB).

Qn : On the HP Service Guard, with the new addition, do I have to shut down the HP Service Guard to extend the LV? (There is HPUX Online JFS on each node, OS=HPUX 11i). The volume that is to be increased is a cluster volume in the VA7100.

Thanks all in advance.
+VK
8 REPLIES 8
Luk Vandenbussche
Honored Contributor

Re: HP Service Guard and Logical Volume

Hi,

Create an extra LUN on your VA.
Add this LUN to your VG.
Extend the LV to the requested size.

There is no downtime is you have onlineJFS
RAC_1
Honored Contributor

Re: HP Service Guard and Logical Volume

If you have OnlineJFS, you do not need to take lvol down. You just need to do add pv(vgextend), lvextend and fsadm. Export VG config to alternate node and import it there.

For adding the disks to VA7100, refer hardware documents. It should not be a problem at all.
There is no substitute to HARDWORK
Valerie_10
Advisor

Re: HP Service Guard and Logical Volume

Hello ,
Thanks for your reply. I understand the Online JFS bit.

Does it mean that I dont have to do any configuration on the HP Service Guard as the Online JFS takes care of the extended filesystem already (with the New Hard Disk addition)?

+VK
Luk Vandenbussche
Honored Contributor

Re: HP Service Guard and Logical Volume

Yes.

You don't have to modify SG is you use OnlineJFS to extend an existing filesystem.
RAC_1
Honored Contributor

Re: HP Service Guard and Logical Volume

Complete steps to follow once you identify a disk or you have enough space in vg to extend a lvol.

1. pvcreate /dev/rdsk/cxtxdx -> If you want to add new disk to VG. Else for extending lvol, you should have enough free space in that VG. Check it with vgdisplay and check free extents)

2. lvextend -L "new_size_in_MB" /dev/vgxx/lvolx

3. fsadm -b "new_size_in_mb" /mount_point_of_lvol Check with bdf now.

4. vgexport -pvs -m /tmp/vgxx.map /dev/vgxx
(-p optionis important. Ream man page for vgexport)

5. rcp/ftp/scp /tmp/vgxx.map file to aleternate node.

6. On alternate node.
vgexoprt /dev/vgxxx
mkdir /dev/vgxx
mknod /dev/vgxx/group c 64 0x0y0000
Minor number 0x0y0000 should be uniq.
vgimport -v -s -m /tmp/vgxx.map /dev/vgxxx

This should do it.
There is no substitute to HARDWORK
Valerie_10
Advisor

Re: HP Service Guard and Logical Volume

Hello RAC,

Thanks for the steps outline and commands issued.

Just a question, all this while the HP Service Guard and Package is up and running?

I am still apprehensive..that is.

Thanks;
+VK
RAC_1
Honored Contributor
Solution

Re: HP Service Guard and Logical Volume

Yes. You do not need to bring SG down at all.
There is no substitute to HARDWORK
Valerie_10
Advisor

Re: HP Service Guard and Logical Volume

Appreciate all replies.