Operating System - HP-UX
1834137 Members
2510 Online
110064 Solutions
New Discussion

Adding a LV to the VG owned by a package in a two node cluster

 
shikhar_1
Regular Advisor

Adding a LV to the VG owned by a package in a two node cluster

Hello,

 

Can anyone please clear my query?

Suppose there is a two node cluster and running a package i.e. PKGA owned by volume group "vg05" having few Lvols in that vg.

Now i wanted to add one more Lvol in that vg(vg05) so in that do we need to halt the pack? or can we do it online?

Please let me know the steps also

 

Appreciate your quick response.

 

2 REPLIES 2
Hiren N Dave
Valued Contributor

Re: Adding a LV to the VG owned by a package in a two node cluster

> Now i wanted to add one more Lvol in that vg(vg05) so in that do we need to halt the pack? or can we do it online?

 

Yes, package need to be halted and re-compiled after changes, no need to stop whole cluster...It can not be done online while package is running

 

> Please let me know the steps also

 

What is the version of ServiceGuard cluster? General steps for 11.20 are as below...

 

(1) Create required VGs/LVs/File System on one node
(2) vgimport the same on another node
(3) Edit package config file and add "vg vg05" line
(4) copy the same package file on another node
(5) Compile the cluster with package and start the package
(6) Check with bdf command on node where package is running

 

I am an HP Employee

Was this post useful? - You may click the KUDOS! star to say thank you.
Hiren N Dave
Valued Contributor

Re: Adding a LV to the VG owned by a package in a two node cluster

The steps given above are for addional VGs...

To add new LVs to same package, you also need to add below lines apart from other steps...

 

# fs_name /dev/vg01/lvol50

# fs_server ""

# fs_directory /pkg01bx

# fs_mount_opt "-o rw"

# fs_umount_opt "-s"

# fs_fsck_opt "-s"

# fs_type "vxfs"

 

I am an HP Employee

Was this post useful? - You may click the KUDOS! star to say thank you.