- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- V2P cloning using qemu and ssh
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
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-21-2010 09:04 AM
10-21-2010 09:04 AM
1. At the source, execute:
• # qemu-img convert *.vmdk -O raw test.iso
This will take approximately 15 minutes to convert formats
2. At the destination, using a network-capable LiveCD, execute:
• # ssh root@
My question is, is there any way to condense this sequence down to 1 command line (i.e., pipe qemu-img directly through ssh)? I'm thinking along the lines of something like:
• # ssh root@
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2010 10:33 AM
10-21-2010 10:33 AM
Solutionqemu-img convert redhat.vmdk -O raw - |dd of=/somewhere/redhat.raw
if it can, then your SSH construct could be:
qemu-img convert redhat.vmdk -O raw - | ssh serverX dd of=/dev/sda
Any reason why you are doing a V2P man? Some issues with vendor support you must demonstrate?
I usually employ MondoRescue for my V2P and P2V needs. (For the Saladheads - that's Physical to Virtual, Virtual to Physical Linux conversions)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2010 10:39 AM
10-21-2010 10:39 AM
Re: V2P cloning using qemu and ssh
And, since this is an automated test/compile platform as well, we get performance improvements by working on bare-metal as well.
I'll try your suggestion -- it won't be a big deal if it doesn't work since my way does. I'm just looking to tighten up the documentation a little bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2010 10:44 AM
10-21-2010 10:44 AM
Re: V2P cloning using qemu and ssh
We are using vSphere 4.0, but going with 4.1 soon. Our Linux Guests are either RHEL 5.4 or 5.5. We have HyperThreading ON on some servers but OFF on some. For heavy CPU need processes like single thread monolothic apps we have HyperThreading OFF.... I think Intel or GCC compilers would prefer real cores over threaded cores. Try it.
Or you may want switching your geusts to use KVM instead. I find KVM under RHEL 5.5 faster for Linux and WIdnows guests over vSphere even. And no vMare Toolz to be worried too as guests aer FULLY Virtuaized.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2010 10:51 AM
10-21-2010 10:51 AM
Re: V2P cloning using qemu and ssh
I have converted the vmdks to run off of ESXi and VirtualBox, both environments providing better performance -- but the best environment of all of them is still the bare metal one (there is a developer's process that tends to max out a single core, so when that core is a virtualized one being shared across a set of physical cores under VMWare, we run into a variety of issues).
We ran virtualized here in order to save money. Now that the project is being moved overseas to a company not so frightened about purchasing additional servers, it just makes sense to go the V2P route.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2010 11:07 AM
10-21-2010 11:07 AM
Re: V2P cloning using qemu and ssh
And I am amazed the venerable vMware Server 2.0 (the freebee) is in use this way. Wow!
I use it on top of an UBuntu Desktop so I can have Windows Virtual PCs running on top of my Ubuntu Main OS. The trick that I use to get the most performance out of vMware server 2.0 guests is to use actual physical disks or partitions thereof instead of a vmdk file resident on a Linux filesystem.
ESXi (free too) would be better as it is a bare metal hypervisor. I use KVM as I can do Live guest moves to different physical machines without the costly licenses of vMotion on ESX/vSPhere.
Good Luck...!