Export a snapshot to transfer a virtual machine (VM) image from an everRun system to a network-mounted folder (that is, directory). Exporting a snapshot 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. (For an overview of snapshots, see Managing Snapshots.)
You prepare for exporting snapshots 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.
Before you can export a snapshot, 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 VM exports.
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 folder. Log on as the root user.
The next step shows how to use the ftxmnt script to automatically mount the folder. The script should work in most cases, but you can also manually mount the folder 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.
If the share does not require authentication, you must type y (if you type n, you will be unable to mount a CIFS share). For Username, enter a guest username, and for Password, enter an empty password.
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
On the Snapshots page, select the snapshot to export.
Snapshots are usually in a normal state () the State column. If a snapshot is broken (), it may indicate that one or more volumes in the snapshot are unavailable for export. You can check volume availability in step 7.
In the Export Snapshot dialog box, type the path in /mnt/ft-export where you want the snapshot to be exported.
For example, if you want the export process to create a new directory named ocean1 to store the OVF and VHD files, type ocean1. If you want the export process to create the ocean1 directory inside an existing directory named TestVMs, type TestVMs/ocean1.
Review the list of Captured Volumes and select the volumes to include in the export.
In most cases, the dialog box shows that All Captured Volumes are available for Export on noden , the primary node. You can select any snapshots for export.
If one or more snapshots are unavailable on the primary node (usually because the node was offline when the snapshot was taken), the dialog box allows you to select only the available snapshots. If necessary, you can cancel the export, ensure that both nodes are in the running state , and create a new snapshot for export.
You can monitor the Export Status in the Summary tab for the snapshot 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 the Operation of a Virtual Machine
Product Support and Downloads
|
About Stratus
|
Product Documentation (PDF Format)
|
About Help
|