Monday, May 3, 2010

Virtualization: Creating a Virtual Machine

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi


Creating a Virtual Machine

You can make a new virtual machine session from an XML machine definition. If you have a pre-existing guest that you created previously with the xm tool, you can also create a virtual machine for it:


virsh create 

Configuring an XML Dump

You can use virsh to perform a data dump for an existing virtual machine.

virsh dumpxml [domain-id | domain-name | domain-uuid]

This command outputs the domain information (in XML) to stdout . If you save the data to a file, you can use the create option to recreate the virtual machine.


Saturday, May 1, 2010

Virtualization: Connecting to a Hypervisor

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Storage

There are several ways to manage virtual machine storage. You can export a domain0 physical block device (hard drive or partition) to a guest domain as a virtual block device (VBD). You can also export directly from a partitioned image as a file-backed VBD. Red Hat Virtualization enables LVM and blktap by default during installation. You can also employ standard network protocols such as NFS, CLVM, or iSCSI to provide storage for virtual machines.

Connecting to a Hypervisor

You can use virsh to initiate a hypervisor session:


virsh connect 

Where is the machine name of the hypervisor. If you want to initiate a read—only connection, append the above command with —readonly.