- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hp 11.11 extend vg
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
Discussions
Discussions
Forums
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
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
тАО09-07-2013 01:09 AM
тАО09-07-2013 01:09 AM
I would like your guide about extending vg.The vg is in shared mode between two nodes (cluster) and is used for storing data.There is free space that we can use in the va7410 for extending vg and online jfs is installed.
The ux is 11.11.
Thank you for your time.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2013 02:35 AM
тАО09-07-2013 02:35 AM
SolutionAs you probably have discovered, you cannot make any LVM-level changes to a VG that is active in shared mode.
You must first deactivate the VG in one node, then you can switch the VG to exclusive mode in the other node.
Deactivating the shared VG in one node usually means halting the appropriate multi-node Serviceguard package on that node. Obviously the application must be halted on that node, as a result.
Once the VG is active in only one node, you can switch it to exclusive mode:
vgchange -a e -x <VG name>
Now you can extend the VG as usual.
- to add new PVs (if necessary), first prepare the new PV with pvcreate, then use vgextend to add the new PV to the VG. Make sure both nodes can see the new PVs in "ioscan -fnCdisk".
- to extend LVs using available space in the VG, use lvextend.
- if you need to add a new LV, use lvcreate.
OnlineJFS is only needed if the LV that needs to be extended contains a filesystem (Did 11.11 even have a cluster filesystem option that did not also require VxVM?). If it contains a raw database, the database administrator should know what needs to be done to inform the database that the raw LV capacity has been increased or that new LVs have been made available.
If you add or remove any LVs or PVs, you must create a new map file for the VG, and re-import the VG to the node that is currently inactive. To create a new map file, use "vgexport -v -s -p -m /tmp/<VG name>.map <VG name>". Then copy the new map file to the inactive node, verify the minor device number of the VG with "ll /dev/<VG name>/group", export the VG, recreate the VG directory and the /dev/<VG name>/group device node using the proper minor number, then re-import the VG using the new map file.
(The procedure is the same as when making a new cluster VG available to other cluster nodes.)
Finally, switch the VG back to shared mode in the active node:
vgchange -a s -x <VG name>
Then you can restart the multi-node package on the inactive node... which should also automatically start the appropriate application/database process(es), if your cluster is configured correctly.
- Tags:
- vgchange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2013 03:04 AM
тАО09-07-2013 03:04 AM
Re: hp 11.11 extend vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2013 07:07 AM
тАО09-09-2013 07:07 AM
Re: hp 11.11 extend vg
I have extend successfully the vg.The procedure was as you instracted.
Thanks again.