- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need for online VG extend possibilities
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
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
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
10-22-2013 12:45 PM
10-22-2013 12:45 PM
need for online VG extend possibilities
Hi,
Pleaes find the present setup i have in our environment, we have sd2 super dome hardware and installed os is hp-ux 11.31.
we have to presnet new LUN in the server . production application is running
Question
1.in hp-ux 11.31 it is possible to extend the VG online without stoping the production application. because we know very well LV possoble to extend online. but i want to know. it is possible to extend the VG online
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2013 01:40 PM
10-22-2013 01:40 PM
Re: need for online VG extend possibilities
Once you have created the new LUN from your storage system, and verified that it is visible to the OS via 'ioscan', you can add it to the VG.
To do this you use the vgextend command and this can be done without any downtime.
If your new disk is /dev/disk/disk23 and your volume group is VG03 then you can do:
# pvcreate /dev/rdisk/disk23
# vgextend /dev/vg03 /dev/disk/disk23
Now you have a new disk in your VG.
- Tags:
- vgextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2013 04:44 PM
10-22-2013 04:44 PM
Re: need for online VG extend possibilities
You can extend the VG without stopping production. But first verify the VG limitations with vgdisplay. It will tell you what the maximum number of LUNs allowed (Max PV), and the largest LUN that can be added using the formula: PE_Size * Max_PE_per_PV.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2013 11:59 AM
10-23-2013 11:59 AM
Re: need for online VG extend possibilities
thanks for your reply
that production server is Data base server ,in this server 3 node cluster service running, so shall do the VGextend online .
please confirm vgextend affect any cluster service or we need to down the cluster before the activity or we need to move the cluster in debug mode. pleae confirm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2013 01:57 AM
11-28-2013 01:57 AM
Re: need for online VG extend possibilities
You need to identify/verify first that the VG is under what package and what nodes are involved on that package.
If lets say, that VG is on the identified package and that package is currenly running on the Primary node only, then you can extend the VG online.
1. Prepare a new disk or LUN; do a pvcreate on that disk/LUN
2. Perform vgextend
Afterwhich, you will need to get the latest mapfile of the updated VG.
3. vgexport -p -v -s -m /etc/lvmconf/vgNAME.map /dev/vgNAME
4. copy over the mapfile from Node1 to Node2 or Node3 - whichever is the concerned Secondary node.
then do vgexport and vgimport on the Secondary node.
5. vgexport vgNAME
6. vgimport -v -s -m /etc/lvmconf/vgNAME.map /dev/vgNAME
That's it.
Cheers!