Export a virtual machine (VM) to save an image of the VM to a network-mounted folder (that is, directory). Exporting a VM from an everRun system makes the VM image available for importing to another system or for importing back to the same everRun system to restore or duplicate the original VM. (You can directly export a VM from the everRun system as described in this topic, or create and export a snapshot. For an overview of snapshots, see Managing Snapshots.)
You prepare for exporting a VM by creating a network-mounted folder to store an exported VM in your environment. Create a folder for either a Windows share (also known as a Common Internet File System (CIFS) share) or a Network File System (NFS) export. After creating the folder, you mount it in the host operating system of the everRun system, as described in this topic. When you initiate an export in the everRun Availability Console, the everRun system saves the VM image to the network-mounted folder as standard Open Virtualization Format (OVF) and Virtual Hard Disk (VHD) files.
In addition, Windows-based VMs require Windows-specific preparation.
Log on to the everRun system with the everRun Availability Console.
Before you can export a VM, you must create and mount the folder to which the export(s) will be transferred, as follows:
Create a network-mounted folder for a Windows/CIFS share or an NFS export in your environment where you can store the exported VM.
Ensure that you have enough storage for the VMs that you want to export. Also, set full read/write permissions on the network-mounted folder to permit file transfers, or, for a Windows/CIFS share only, assign read/write permissions to a specific user on the system/domain that hosts the share. Record the location and settings of the NFS export or CIFS share, which you will specify in a later step.
Obtain the IP address of the primary node, if you do not already know it. For example, on the Preferences page, click IP Configuration. Click the Noden IP tab for the primary node and record the IP Address value.
Use a secure shell (ssh) utility to log on to the host operating system (host OS) of the primary node of the everRun system, where you will mount the network share. Log on as the root user.
The next step shows how to use the ftxmnt script to automatically mount the export share. The script should work in most cases, but you can also manually mount the share by executing standard mount commands if needed.
To automatically mount the NFS export or Windows/CIFS share, execute the ftxmnt script and respond to the interactive prompts. For example, the following output shows how to mount a Windows/CIFS share (\\192.168.0.111\ExportVMs) that is accessible by a specific user account:
Respond y to the prompt above if the share requires authentication. When you respond y, the following prompts appear:
What is your username?
Enter your domain\username.
Password for domain\username:
Enter your password.
If the share does not require authentication, type n and then respond to the following prompt:
Type the guest account name, if it exists.
The following message appears:
Switch to the /mnt/ft-export directory in the everRun host OS and create a file to verify that the export or share is present and that you have read/write permissions. For example:
Confirm that the file also appears in the export or share on the remote system. If the file is not present or the everRun host OS displays an error, verify your mount settings and permissions.
Remove the test file.
Later, you want to unmount the export or share after exporting your virtual machines, switch out of the /mnt/ft-export directory and execute the umount command, as follows:
# cd /
# umount /mnt/ft-export
In the Export VM dialog box, type the path in /mnt/ft-export where you want the VM to be exported and its OVF and VHD files to be stored. For example, if you want to export the VM to a new folder named ocean1, type ocean1. If you want the new ocean1 folder to be inside an existing directory named TestVMs, type TestVMs/ocean1.
Select the volumes to include under Data Volumes to Export. (The boot volume is required.)
You can monitor the Export Status in the Summary tab for the VM that you are exporting. Progress is reported as the percentage (%) completed. When the process is complete, the status changes to Export completed successfully.
The everRun system exports the VHD files (volumes) first, then it exports the OVF file. You can confirm that the process is finished when the OVF file appears in the folder.
After the export process, if you want to import or restore the OVF and VHD files on an everRun system, see Importing an OVF File from an everRun 7.x System
If necessary, use the following information to resolve problems with the export process.
To clean up after a canceled or failed export from the everRun system
Remove the VM files from the export folder or create a new folder for a subsequent export.
Related Topics
Creating and Migrating Virtual Machines
Managing Virtual Machine Resources
Managing the Operation of a Virtual Machine
Product Support and Downloads
|
About Stratus
|
Product Documentation (PDF Format)
|
About Help
|