- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvchange and lvchange for cluster node
Operating System - HP-UX
1753519
Members
4766
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-11-2004 10:04 PM
тАО10-11-2004 10:04 PM
Hi,
I have a MC/SG two nodes cluster connected to VA7400. I need to do some lvchange and pvchange to the VG mounted in the primary node. Apart from this I need to do some vgreduce to remove non performance path and vgextend to import the new path. What else need to be done for the secondary node after changing all these in the primary node? Do I need do any vgimport?
I have a MC/SG two nodes cluster connected to VA7400. I need to do some lvchange and pvchange to the VG mounted in the primary node. Apart from this I need to do some vgreduce to remove non performance path and vgextend to import the new path. What else need to be done for the secondary node after changing all these in the primary node? Do I need do any vgimport?
abc
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2004 10:10 PM
тАО10-11-2004 10:10 PM
Solution
Hi,
While 'lvchange' and 'pvchange' do not require any importing, changing the disk paths certainly do imagining that you have the similar new paths available on the secondary servers too.
Simply export the VGs on the secondary node. Preview export the VGs on the primary node and generate map files. If you are changing how the paths are accessed, then I suggest you use '-f' option. For ex.,
#ll /dev/vgxx/group
(note the minor number)
#vgexport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
Copy /tmp/vgxx.map and vgxx.disks onto the secondary node.
On secondary node
#mkdir /dev/vgxx
#mknod /dev/vgxx/group c 64 (from primary node)
#vi /tmp/vgxx.disks
Modify the disks according to the secondary node. You may have to change c## numbers.
#vgimport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
That should build your lvmtab exactly like the primary node. If you are not concerned about PV paths, then use '-s' option with both export and import.
-Sri
While 'lvchange' and 'pvchange' do not require any importing, changing the disk paths certainly do imagining that you have the similar new paths available on the secondary servers too.
Simply export the VGs on the secondary node. Preview export the VGs on the primary node and generate map files. If you are changing how the paths are accessed, then I suggest you use '-f' option. For ex.,
#ll /dev/vgxx/group
(note the minor number)
#vgexport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
Copy /tmp/vgxx.map and vgxx.disks onto the secondary node.
On secondary node
#mkdir /dev/vgxx
#mknod /dev/vgxx/group c 64
#vi /tmp/vgxx.disks
Modify the disks according to the secondary node. You may have to change c## numbers.
#vgimport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
That should build your lvmtab exactly like the primary node. If you are not concerned about PV paths, then use '-s' option with both export and import.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2004 10:12 PM
тАО10-11-2004 10:12 PM
Re: pvchange and lvchange for cluster node
Fat finger
#vgexport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
Add -p to the above
#vgexport -p -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
-Sri
#vgexport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
Add -p to the above
#vgexport -p -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP