Operating System - HP-UX
1833811 Members
3627 Online
110063 Solutions
New Discussion

HP-UX ServiceGuard Secondary Node LVM Awareness

 
coke
Occasional Contributor

HP-UX ServiceGuard Secondary Node LVM Awareness

Forum Post: HP-UX ServiceGuard Secondary Node LVM Awareness Problem Statement:

After expanding storage and extending LVM on ServiceGuard primary node, how to ensure secondary node recognizes the changes for proper failover?

Scenario:

  • Storage admin expanded LUNs from 100GB to 150GB at SAN level
  • diskinfo shows correct 240GB size on primary nodes
  • Primary node: Successfully extended using vgmodify, lvextend, fsadm
  • Filesystems now 240GB and Oracle running normally

Challenge:

Secondary node has inactive/shared VG - cannot verify LV sizes or filesystem capacity without activating VG. Standard LVM commands (vgdisplay, lvdisplay) fail on inactive VGs.

Current Status:

  • Primary node: VG active, all filesystems extended to 240GB
  • Secondary node: VG inactive, cannot verify LV configuration
  • ServiceGuard package running normally on primary

Questions:

  1. How to verify secondary node sees extended LV sizes without activating VG?
  2. Does LVM metadata sync automatically to shared storage, or additional steps needed?

Environment Details:

  • HP-UX 11.31, ServiceGuard A.11.20
  • LVM with shared storage (3PAR)
  • VxFS filesystems
  • Oracle databases

Looking for ServiceGuard/LVM experts who have handled similar storage expansions in clustered environments.

1 REPLY 1
mbarnwal
HPE Pro

Re: HP-UX ServiceGuard Secondary Node LVM Awareness

While the VG is active and filesystems are mounted on primary node, you can still activate the VG on other node in (only) read-only mode.

vgchange -a r <vg name>

Then you can mount the filesystems and check the size. Again, you would be able to mount the filesystems in read-only mode only.

mount -o ro /dev/<vg name>/<lv name> /mnt

Once done with verification, do not forget to unmount the filesystem and deactivate the vg

umount /mnt

vgchange -a n <vg name>

I am a HPE Employee