[WPXperVideo id=455 ]copying virtual machines so the word copying is a little confusing with XenServer what they really mean by copying is cloning this is where you can clone or duplicate an existing virtual machine now when you’re doing a copy process you have to understand that you can only do it within the same resource pool VMs must be powered off in order for you to do a copy or clone of the particular virtual machine and there are two types of copy processes right there’s a fast clone and there’s a full copy for those of you that are VMware educated fast clone is the equivalent of a link clone so what happens is it will take the existing virtual machine it will use its base image and then create a writable Delta file so it’ll take the existing virtual machine and create a writable Delta file that this new virtual machine can run against now now there’s a catch here while the clone process is extremely fast you can bring it up and running very quickly you always have that dependency on the master image that you’re using this from so if you’re trying to recreate the virtual machine you will need the delta file but you will also need the original master image so pay attention here that the fast clone has a dependency on the master virtual disk that you used when you use fast clones whereas a full copy will take a full copy of the virtual machine and as a result you end up with an independent virtual machine that has no prerequisites or knowing dependencies however it obviously takes longer to create that full copy let me show you how that works within Zen Center here real quick now in order to do the copy process we have to power down the virtual machine so I’m going to take this opportunity to also show you how we’re going to gracefully shut down our windows 7 virtual machine here so I’m going to right click on it and we’re going to do a shutdown and you’ll see how it’s going to initiate a soft shutdown or a graceful shutdown from within the operating system and within a few seconds here it will be completely powered off and you’ll notice that once it’s powered off it’ll continue to have like this image or this JPEG of the shutting down process but the virtual machine is actually powered off as you can see up here where it says click here to start and you can see the red icon here that pretty much says that this virtual machine is powered down now in order to do a copy process we’re going to right click on the VM and you’ll see it says copy VM here I’m going to select it and once you get to this screen you have the option of doing either a fast clone or full copy now again fast clone is similar to Lync clones within VMware it’s where it preserves the master disk and then it creates a writable Delta file that you can write against it’s obviously much quicker it will finish the cloning process very quickly however it always has that dependency on the master virtual disk whereas with a full copy if you select that then it’s going to prompt you hey which storage repository do you want to save this new virtual machine on and you can go ahead and select whichever one you want you can obviously change the name of the virtual machine that you’re creating for the purposes of our demonstration we’re just going to select fast clone I’m going to leave the default name here and I’m going to go ahead and select copy I mean it is that quick it’s done so if you select it now you can right-click it you can start it you can do whatever it is that you need to do with this particular VM and if you don’t need to do anything with it like is the case with us we are going to right click on it come down here to where it says delete VM and I’m going to select all the associated disks that make up this new configuration and I’m just going to go ahead and select delete and it’s going to get rid of it completely preserving a my original windows 7 virtual machine here all right let’s move forward here import and export virtual machines so the import process allows data to be sent over SSL so the data is going to be secured as part of the import process is going to create a new UUID for the virtual machine it’s going to create a new MAC address for the virtual machine and it’s also if available the VM will be attached to the same network so if you’re importing a virtual machine on the same network from another XenServer in the environment if the network is configured it’s going to try to connect to the original network of the virtual machine if not then it will fall back to the default configuration import/export process of the virtual machines as well from an export the virtual machine must be powered off the virtual machine exported as a single uncompressed binary file exporting use cases can be for mobility in a virtual machine it facilitates VM library creation you’ll have a full VM backup when you export it that virtual machine can be you know you can do whatever you want with it you can back it up save it on a USB Drive if you wanted to and it’s also useful for archiving a virtual machine so again all of these are backups and you know 4dr and business recovery standpoint you can use the export use cases for these types of scenarios now we talked about import and export of virtual machines and while we’ve used the import command more than once an earlier lessons to import virtual appliances let me show you real quick where you can do that again and then we’ll come back to the export so if you select XenServer training here or my Zen server host you right click on it you can always import and this will take you through the wizard of importing a virtual machine or virtual appliance typically it would be an O VF or an OVA as we’ve done in earlier lessons again very simple very straightforward process here now from if you wanted to take an existing virtual machine you’ve configured it and you want to turn it into an appliance so that you can pass it around or maybe you just wanted to save it for archiving purposes for backup purposes for whatever the case is so let’s take for instance the windows 7 VM that we have powered off here if I right-click on it and select export then I have the ability to give it a name I have the ability of giving it a location and I have the ability of giving it a format right so what format do you want to export this virtual machine in and you can select you want maybe an X V a Zen server virtual appliance or maybe you want it an OVF now if you export it as an OVA if you can import it onto a VMware platform so again because OVF is an open virtual machine file format that vmware also understands and hyper-v and others so depending on what the purpose is behind your exporting of this virtual machine you can then select the appropriate format if it’s going to stay on the end server then you might as well leave it as a xva file format and from a location perspective again you can choose to put it maybe on your desktop for easier access let’s go through next here it’s going to tell you the size of this virtual disc essentially if we go through and select next you can add a EULA to this virtual machine if you wanted to for end-users we’re going to leave that out so we’re going to click on next you can create a manifest and digital signature or digital signing of this particular virtual machine if you needed to do that you can create the OVA package as a single OVA export file so this is kind of cool if you wanted to do that as well and you can compress the OVF files if you want to so again it gives you a lot of granularity here terms of what you want to do with it and if we click on next this is where you get configure some of the options for the network for instance for that particular appliance that you’re exporting you can do it so that automatically obtains a DHCP address or you can force it to get its own IP address I would obviously recommend you keep it at dhcp because you never know where you’re going to power it on just makes it easier and then you can change it if you need to and then when you’re ready you’re going to get here a summary of the tasks that it’s going to do if you’re comfortable with everything that it’s going to do then you can you know click on finish and it’s going to run its course and create this particular appliance on your desktop which you can just treat as a file at that point and move it around wherever you need to within your environment now I’m not going to go ahead and click on finish as the process will just go through I just want to show you what you can do here if you wanted to export this as a virtual machine so I’m going to ahead and click on cancel all right now what if you wanted to move a virtual machine right now this virtual machine that’s on local storage and you maybe want to move it to shared storage how would you do that so if you right click the virtual machine here you’ll see that you have the option to do move VM you click on move VM you can select which storage repository you want to move this particular VM to so you for instance you can move it to the I scuzzy virtual disk or you can you move it to the NFS virtual disk so you can select the storage repository you want to move it to and click on move and it will go through and move the virtual disks of this virtual machine from where they’re at today which is on local disk onto the other storage repository that you’ve chosen

Please let us know...

Q 1. Which of the Following Devices You Need Help With?

  • Hard Drive
  • RAID Array
  • Memory Card / Stick
  • Cell Phone / Tablet

Next >

es_MXSpanish en_USEnglish