 XC PNG migrating from other hypervisors so you can migrate from VMware, Microsoft Hyper-V KVM into XC PNG. I reference this because we're going to use some of the same commands in here but we're doing actually a P2V as in physical to virtual. This comes up because well, we like to consolidate old hardware or sometimes when clients have machines that they really need and the hardware may be getting aging and we got to bring that Windows install over to a nice good hypervisor system where we can manage it and keep an eye on it and make snapshots of it and then maintain it for whatever special purpose it may have. But this does work with not just older systems, this works with new systems as well. For our demo here, we're actually going to use a Windows 10 physical box and we're going to use disk2VHD. This is a free utility by Mark Krasinovich over a writer of sister internals. And this is download disk2VHD. So what this does is really simple utility that's going to convert the drive on a physical machine to a VHD and I've already started the process. So it's really simple. This is screen connect slash connectwise control. It is the utility by which we use to manage computers remotely. Remotely for this bigger computer is over on our workbench here at the office. So I connected to it, I'm in here recording and I'm kicking off this backup essentially creating an image. Now it's pretty straightforward. It selects the drives and by default it wants to select all the drives. This is an external USB3 and VME drive. I chose this one because well, it's fast and you have to give it a place to land that isn't the drive that you're actually copying. So these are part of the recovery partitions and boot partitions for Windows 10. This is the C drive for Windows 10 and we copied it over to D drive which is that USB drive desktop demo dot VHD. Now the only thing I had to do was uncheck this little box that says use VHDX because VHDX is not compatible with XP and G so we want to make sure we're exporting these as a VHD file and the other nice thing about this is you don't even have to shut down the system to do this. It's grabbing a volume shadow copy to create this file once you've created it awesome and then you can work on the file separately. It doesn't require me shutting this machine down. Matter of fact, it just moves over the way and now we can start working on the process to get this file moved over. Now the reason I'm referencing the Microsoft Hyper-V section of this is because there's a couple things we need to do. Now because it's already in VHD format there's not any more conversion. This VHD file can be copied over to XP and G. Now the way they said to do this is create a NFS share on that server. Mount the NFS share as a storage repository and these are perfectly good instructions but we can also bypass them for this particular setup and what we have here is I have XP and G with the local storage being EXT. Now EXT versus LVM storage, you can do some reading and search a net with XP and G but logical volume management is block storage, EXT with storage that has files that are completely available on the computer. It would be a lot more extensive and beyond my comprehension, well, beyond the scope of this video and not really comprehension for me to explain how to import them into LVM it's just easier to do it through EXT. Now you can always move them from EXT over to an LVM volume without any conversion within Zen Orchestra itself but for sake of this, this particular system happens to be EXT so that makes this easy. Now let's look right here is the UUID of the local storage. So go over here and we're gonna go and LS, actually I'm sorry, DF-H and we're gonna see run SR mount and that same UUID that we had here. So 136 ending in 87C, ending in 87C. So we wanna copy the files there. So if we go to CD slash run SR, oops, mount, it's a 85. And we see we have a couple of files in here already so great, we have them. Now what? Well we gotta get this one over here. This is my local computer and there I have the one terabyte USB NVMe and desktop demo VHD. Now, one of the instructions is if you notice this inside of here have to have a UUID themselves. So if we look at it, there's the UUID for that. So how do we create it? Well, go over here. UUID gen dash R. So we can go here and this is just utility generate a UUID. So we're gonna do that. Hey, look, we have a UUID. So I'm just gonna copy this. Whoops, gotta get all of it. Copy and we're going to rename desktop to this dot VHD. So now it's in a naming scheme compatible with Zen server. It's just a rename. So now that's that file name. So no big deal we just changed it. So we understand what it is. Now we can go from here and I'm gonna use SCP but if you were in Windows you could be doing these same steps with like a WinSCP to copy things over or learn how to load the bash shell inside of Windows is another way that this would work. So we're gonna SCP and we're gonna take this file here to the C6 and we're gonna go root at 172 16 69.215 that's the IP address of the XTP and G server which we're logged into up here colon slash and we wanna drop that file into here. Come on. Whoops. Copy, paste. And one too many slashes. That stuff matters. And have too many. So now we're just gonna take this file and copy it to this directory here and I'll speed this up cause it's take about four minutes and 50 seconds it'll get this file copied over. All right. So the file has been copied over and it's here and all set. So we now should see it inside of the Zen server, right? Dis, not there. Well, easy enough to set rescan dis. There we go. So this is our Windows 10 demo. Now the metadata around the dis name isn't there. That's where we're gonna name it now. So Windows 10 demo. They spelled Windows wrong. Probably DOWS. So there's our Windows 10 demo disk. We'll give it a description too. Demo drive. There we go. And as you can see, it's not attached to anything. It's just kind of hanging out here. So we have to get the VM set up. So we're gonna go ahead and create a new VM. Select the pool. This is Windows 10 64-bit, but you can choose whatever one you're importing. This is 10 U-Tube. There we go. We'll give it four CPUs, eight gigs of RAM. Tell it to boot PXE, ETH0 is fine. Local storage, yeah, that's fine. They don't have an option. This is one of the things that I'm gonna cover here real quick and why I'm doing it this way. There's not an easy option just to go ahead and automatically attach a VM. Also, please note of what the system was when you created it and moved it. So this was a UEFI system, so we have to set this to UEFI, click okay. It's just a notice we have to do. So boot VM after creation, I don't want. I don't want it to auto-power on and was gonna head and hit create now. We don't want to power on because a couple little housekeeping things you need to do. First, boot order. I don't care about network boot or DVD boot, so hit save. Next, this drive doesn't matter, it's not the right one. So we're gonna head and remove the VDI. You'll destroy all the data, sure will. No problem. Then we're gonna go attach disk and we just gotta get the Windows 10 demo disk on here. Hit attach. Windows 10 demo drive. There's that system like we were talking about. Now we can go over to the console and boot. Now like I said too, we wanna make sure. And if you forgot to set some of those things like the UEFI that can be set inside of here. This is where you set some of the other things. We're also gonna go ahead and turn on the Windows update utilities. People have asked about how to get the drivers in a couple times, just do that. That's fine so you can get the Windows update utilities in. But there's instructions on that. If you don't want the Windows update utility, you wanna load it. It is, to my knowledge, 100% compatible and I believe it's in our wiki with the Citrix tools if you wanna load those instead. So whichever one you wanted to do. Now let's go back over here to console. And now we're gonna start it. It'll give us a error the first time we start. Or it might not. Okay, it didn't, great. I've seen it sometimes when we move these, it'll give an error so it doesn't see the drive right away. You just select the drive and it'll boot. Also Windows 10 is a little bit more forgiving than some of the other operating systems. And there we go. We're setting up a QMU USB tablet. It actually uses a tablet driver for one of those things but it found the drivers. It's going ahead and using Windows update, load the drivers. I think it may ask me for a restart when it's done once, but we're done. That's it, that's all you have to do to get this in there. Hey, there we go. Device QMU tablet is set up ready to go. It's gonna pry down a little couple more drivers but you can see how quick that was. Pretty pain-free for getting this done. Of course, this is a pretty fast system. This particular server is going in to a client. Hey, there's our restart. We're gonna say no, restart in a second. This is a all flash array with an E2136 is the on CPU. It likes that this all flash array means this thing is just really, really fast. But we'll go ahead and restart it just to show you that it restarts with all the drivers. So we're gonna go ahead and restart system. And we'll do this in real time. I'm not gonna time compress this. That way you can see just how fast it boots up on a good piece of hardware. Even Windows 10 after loading drivers. There's the boot and it's booted. It's back up and running. The first thing you'd notice when it popped up, it said the session had been ended. That was actually because I ended that screen connect session. So that's all I had to do there. So, oh, one more restart it looks like. So we'll go ahead and do the one more restart and say yes again. But I think you get the idea that this system is fast. It's efficient to do it this way. I'll leave links for the disk to VHD and the tools but you can copy to the NFS volume. You can not copy it right to an EXT like I did there. Any EXT volume, just get that file over there. Make sure it's named properly. Use the unnamed HR to give it a name. Rescan the disk, attach the disk to the VM that you want. And now you virtualized it. That's pretty straight forward process. The hardest part about this is the waiting over time to wait for the files to copy. That's the only part that really takes a long time. And unfortunately, and this is gonna be the nature of where this machine is going to be living. It doesn't have 10 gig connections. So we have to do these migrations on only gig connections which is the same ones we just did them on here. So it took what five minutes to copy over a Windows basic with not too much data in it. I knew it was gonna be a little longer because there's some files on there. But that's it. All right, Anne thanks. Anne, thank you for making it to the end of the video. If you liked this video, please give it a thumbs up. If you'd like to see more content from the channel hit the subscribe button and hit the bell icon. If you'd like YouTube to notify you when new videos come out. If you'd like to hire us head over to laurancesystems.com fill out our contact page and let us know what we can help you with and what projects you'd like us to work together on. If you wanna carry on the discussion head over to forums.laurancesystems.com where we can carry on the discussion about this video, other videos or other tech topics in general even suggestions for new videos they're accepted right there on our forums which are free. Also if you'd like to help the channel in other ways head over to our affiliate page we have a lot of great tech offers for you and once again thanks for watching and see you next time.