- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to move storage from MCSG-RAC to LVM mirro...
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
04-15-2024 01:16 AM - last edited 3 weeks ago by support_s
04-15-2024 01:16 AM - last edited 3 weeks ago by support_s
If the MCSG-RAC Rawdevice Volume Group is vg01
I want to change PV of vg01 to another storage, so I'm working on it.
New Storage: Newdisk#1, #2, #3
Old Storage: Old disk#1, #2, #3
<Node#1>
Add Newdisk #1, #2, and #3 (PV) to VG01 while online.
#lvextend -m 1 /dev/vg01/(raw device) /dev/disk/Newdisk#1 /dev/disk/Newdisk#2 /dev/disk/Newdisk#3
When the mirror is complete.
<Node#2>
Node#2 Service Down on Oracle RAC
#cmhaltnode Node#2
<Node#1>
#lvreduce -m 0 /dev/vg01/(raw device) /dev/disk/Olddisk#1 /dev/disk/Olddisk#2 /dev/disk/Olddisk#3
#vgreduce /dev/vg01 /dev/disk/Olddisk#1 /dev/disk/Olddisk#2 /dev/disk/Olddisk#3
#vgexport -v -p -s -m /tmp/vg01.map /dev/vg01
Move the /tmp/vg01.map file to Node#2
<Node#2>
#vgexport /dev/vg01
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgimport -v -s -N -m /tmp/vg01.map /dev/vg01
#chown oracle:dba /dev/vg01/r*
#vgchange -a s /dev/vg01
#cmrunnode
Node#2 Service Startup on Oracle RAC
Is there a problem with the above procedure?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
3 weeks ago
SolutionHello zero1022,
It seems you have the vg activated in shared mode (running multinode package), if that's the case , then you wont be able to perform lvextend while the active in shared mode .
//from # man lvextend
Shared Volume Group Considerations
For volume group version 1.0 and 2.0, lvextend cannot be used if the
volume group is activated in shared mode. For volume groups version
2.1 (or higher), lvextend can be performed when activated in either
shared, exclusive, or standalone mode.
Please check the vg version and proceed .
If vg version 2.1 or higher, you may proceed with activity online , no need to halt the package .
Else , plan the downtime , halt the package and activate the vg in normal node perform lvextend,lvreduce,vgreduce export & import as you mentioned .
I work for HPE/ I am an HPE Employee (HPE Community)
I am an HPE Employee. .
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
3 weeks ago
Re: How to move storage from MCSG-RAC to LVM mirror Should I just do it like this?
That's the part I missed
Thanks to this, I was able to prepare well for the work.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
3 weeks ago
Re: How to move storage from MCSG-RAC to LVM mirror Should I just do it like this?
Hello @zero1022,
That's Excellent!
We are extremely glad to know the problem has been resolved.
Sunitha G
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]