- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mirror lv and mount on another server
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
тАО05-05-2009 04:36 PM
тАО05-05-2009 04:36 PM
mirror lv and mount on another server
I have been searching the forums looking for a thread that could me help in this question, but I did not found anything helpfull.
I need to mirror-ux some lvs in a vg on a storage to another storage presented to both servers, in a way that I can split the lvs in the first server and mount them on the other server. The vg on the original server has an Oracle database. The target has to have the Oracle database mounted in this new server, uncorrupted.
Can someone give the steps to do this ?
I know that I have to vgexport -pvsm, vgchange -a n on the source node, do I need to lvreduce before mkdir,mknod,vgimport/vgchange/mount on the destination node?
There is no cluster involved;
I appreciated any help.
Best regards,TIA
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 06:54 AM
тАО05-07-2009 06:54 AM
Re: mirror lv and mount on another server
If the servers are each connected to their own separate array. Possibly the very most basic thing would be to create on the second node (not clustered) connected to second storage array, the same vg/lvol setup. Then simply remote copy the data from the first server to the second.
This type of copy might take a good while, it might be best to shutdown the database as opposed to running copy while in hotbackup mode.
Just a thought, till others jump in with more options.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:01 AM
тАО05-07-2009 07:01 AM
Re: mirror lv and mount on another server
If the two servers share some storage yes.
If not no.
lvextend will not extend a logical volume to another disk via the network.
dd will however with the correct syntax copy the data on the physical disk through the network.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2009 07:05 AM
тАО05-07-2009 07:05 AM
Re: mirror lv and mount on another server
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 07:15 AM
тАО05-08-2009 07:15 AM
Re: mirror lv and mount on another server
I mirror copy ( lvextend -m 1 ) 2 lvols.
After the sync is completed, I lvsplit them.
vgexport -pvsm, on the source node, do I need to lvreduce before mkdir,mknod,vgimport/vgchange/mount on the destination node?
Or there are another actions to do ?
Is this feasible ?
TIA, regards
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 11:20 AM
тАО05-08-2009 11:20 AM
Re: mirror lv and mount on another server
After the sync is completed, I lvsplit them.
vgexport -pvsm, on the source node, do I need to lvreduce before mkdir,mknod,vgimport/vgchange/mount on the destination node?
>>>Do an lvdisplay - does it show there is still a Mirror copies = 1 after you ran the lvsplit? If it does, then I'd say you would have to remove the mirror copy for every lvol.
Is this feasible?
>>>>>Feasible, is a point of view. Can you do this - yes.
Should it be done - depends on what your trying to do, how you do it, and can it create a problem. Cause it really could create an issue.
You would need to do a vgexport. But on the vgimport side you would only want to import the mirror disk. So you would have to create a textfile that contains the /dev/dsk/c-t-d- info (in one continual line seperated by space might be best) and run the import like this:
vgimport -v (-s maybe) -m /etc/lvmconf/vgname.mapxxx -f
Hope this gets you started..
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 11:26 AM
тАО05-08-2009 11:26 AM
Re: mirror lv and mount on another server
it would create the potential for a split brain on the disk when you mount the disks and potentially can have data being hit from both side.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 07:38 AM
тАО05-12-2009 07:38 AM
Re: mirror lv and mount on another server
If I lvreduce, the data is still there on the mirrored lvols?
TIA
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 07:42 AM
тАО05-12-2009 07:42 AM
Re: mirror lv and mount on another server
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 07:51 AM
тАО05-12-2009 07:51 AM
Re: mirror lv and mount on another server
The vols are already presented to the other server.
Another thought.
When the mirrors were split, the vg was active. Will be this a issue when trying to mount them on the other server ?
Regards
Jose