- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX ServiceGuard Secondary Node LVM Awareness
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saturday - last edited Monday by support_s
Saturday - last edited Monday by support_s
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:
- How to verify secondary node sees extended LV sizes without activating VG?
- 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.
- Tags:
- storage controller
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Sunday
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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Monday
Re: HP-UX ServiceGuard Secondary Node LVM Awareness
thank you. this tells me we can safely activ ate a VG in ro mode, mount the mounts in ro mode
safely means - it wont affect the actual live mount in pri node. I do not know yet if i can try that yet - but thank you.
However I still wonder what is the approach for a mount which is a package - in a HP Service guard
There might be scenarios where you need to either add a disk or expand a disk to expand FS/mount point size
you do all the work in primary node to make LVM aware of increased size - but what do we need to do in secondary node
Thank you again,.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Monday
Re: HP-UX ServiceGuard Secondary Node LVM Awareness
If there are any changes to VG on primary node, like addition/removal of PV, you should redistribute the VG to update /etc/lvmtab on other cluster nodes using vgexport/vgimport method.
Refer "Distributing the Volume Group" in SG guide
https://support.hpe.com/hpesc/public/docDisplay?docId=a00062147en_us&docLocale=en_US
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Monday
Re: HP-UX ServiceGuard Secondary Node LVM Awareness
Thank you
correct me if I am wrong, pleasse
it looks like a new VG set up
my scenario is the VG already exists in both nodes
in node 1 the disk has been expanded then in OS I made lvm aware of it by vgmodify, lvextend and fsadm
what do i do in node 2 (vg is inactive as it is active in node1)
this VG/mount is part of a cluster pkg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Monday
Re: HP-UX ServiceGuard Secondary Node LVM Awareness
Hi @coke ,
Yes, I agree with @mbarnwal . As I remember, cluster node 2 will not update automatically once you change in VG of node 1.
Best method is to use the vgexport/vgimport method. Here are steps-
a. Use 'vgexport' command to export the vg map file in node 1 which has the modified VG.
b. Move the file to node 2 using tool such as Winscp.
c. Use 'vgexport' command to backup the vg map file in node 2.
d. Use 'vgimport' command to import the VG metadata of node1 to node2.
e. Run the command 'vgdisplay' or 'bdf' to view the VG details.
For more information, you can refer this post.
Regards,
Shiva_jr
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
