In computing, virtualization (or virtualisation) is the creation of a virtual (rather than actual) version of something, such as a hardware platform, operating system (OS), storage device, or network resources. [http://en.wikipedia.org/wiki/Virtualization]

More and more I am using XEN at work, and here is a small how to of some very common operations.
Citrix® XenServer® is a complete, managed server virtualization platform built on the powerful Xen® hypervisor. Xen technology is widely acknowledged as the fastest and most secure virtualization software in the industry. XenServer is designed for efficient management of Windows® and Linux® virtual servers and delivers cost-effective server consolidation and business continuity.
By the way if you succeed installing XEN server on a Strato.com dedicated Linux server with a minimal downtime, contact me I am interested!
This uuid is required to identify XEN guest.
# xe vm-list
uuid ( RO) : 99bb0e42-0616-6f02-ed41-be48bb338280
name-label ( RW): server01
power-state ( RO): running
A sr-uuid identify a storage resources attached to a XEN server, this unique id is required for some operations as it allow you for eample to import XEN guest into it.
Run as root, in the XEN server console
# xe sr-list
uuid ( RO) : 99f191c4-4563-8672-7d8e-4602850fbeb0
name-label ( RW): Local storage
name-description ( RW):
host ( RO): xen01
type ( RO): lvm
content-type ( RO): user
Identify the locale storage by looking at the name-label and copy the uuid
Run as root, in the XEN server console
# xe vm-export vm=99bb0e42-0616-6f02-ed41-be48bb338280 filename=server01.xva
Run as root, in the XEN server console
# xe vm-import filename=server01.xva sr-uuid=99bb0e42-0616-6f02-ed41-be48bb338280
# xe template-list
If there is too much templates, you can filter with grep or by using name-label
# xe template-list name-label="myTemplate label”
uuid ( RO) : c4962b6b-5678-a72b-85cd-e33f01b1320a
name-label ( RW): mytemplate label
name-description ( RW):
To export, run
# xe template-export uuid=c4962b6b-5678-a72b-85cd-e33f01b1320a filename=myTemplate.xva
You can see the export progression in tab “logs“ of that template in XEN-Center
To import, run
# xe vm-import filename=myTemplate.xva sr-uuid=99bb0e42-0616-6f02-ed41-be48bb338280
My idea is to be able to run my production server (STRATO- OpenSuse) hosting www.waltercedric.com in a VMWARE instance. So I can test and make change to the operating first there before bringing down my host for several hours ;-)
I would like to duplicate the whole LINUX system (lets call it PROD for now), including data and make 2 VMWARE instance.. why two instances you may ask?
I am in the process of documenting everything, and I will provide You the set of scripts to make the whole things works. (mainly a bash file that use RSYNC to keep your new server TEST up to date with the PROD), First step is to copy the server on the fly and luckily this is the purpose of this article!
Read more: Make a VMWARE copy of a live Linux server
Privacy Statement | Copyright Notice | Licenses
© 1999-2012 Waltercedric.com. Designed by Cédric Walter. Sitemap
Reproduction without explicit permission is prohibited. All Rights Reserved. All photos remain copyright © their rightful owners. No copyright infringement is intended.
Disclaimer: The editor(s) reserve the right to edit any comments that are found to be abusive, offensive, contain profanity, serves as spam, is largely self-promotional, or displaying attempts to harbour irrelevant text links for any purpose.