Sponsored Content
Full Discussion: Help using XEN in CentOS 5.9
Operating Systems Linux Red Hat Help using XEN in CentOS 5.9 Post 302767317 by mccabec123 on Wednesday 6th of February 2013 04:09:46 PM
Old 02-06-2013
Linux Help using XEN in CentOS 5.9

Hey guys, I've been straddling with this issue for quite some time now and I'm getting absolutely nowhere with it. It took me a long time to get XEN up and running on my server. We only use SSH to manipulate our servers, but we finally got it up and running. Now I'm at the point of actually attempting to create the servers. But my problem is, there doesn't seem to be any good documentation out there with a step by step guide on setting up Virtual Servers using XEN on CentOS 5.9, I can find various bits and bobs, but nothing solid to go on. I feel like I'm just guessing half of the time.

I'm trying to create VPS's with CentOS installed on them and some default folders etc. but I don't know how to create the initial image and then how to use it. I attempted to create the image using 'xen-image-create' with various parameters. The VPS sets up and the domain is listed, but I can't connect to it, which leads me to believe that the image is not working correctly. I just really need somebody to go over the steps for me, it'd be a great help and I'd really appreciate it, I'm trying to set up a hosting company with my friend, and we're trying to do it properly rather than using CGroup's and all of that terrible stuff to create servers. We want, full dedicated VPS's for our clients, we want to be a very permium hosting company, obviously we need to learn more, but there doesn't seem to be many companies out there that are willing to do that.

Back to my original topic, if somebody could just go over all of the steps to create a XEN VPS then that would be really really helpful. Before we were using the 'xm' command to create and administrate the servers, I assume this is Xen Management.

If you need any documents then I will provide, just not sure which documents you'll need to know about. Also our dedicated server is running CentOS 5.9 and we are trying to install CentOS onto the VPS's.

Thanks a lot guys, really appreciate this.
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

xen

was looking for some help /tutorials on xen ..im a beginner on virtualisation ..so any help would be greatly appreciated ...p.s. whats the basic difference between para and full virtualisation (2 Replies)
Discussion started by: tarunicon
2 Replies

2. Red Hat

xen vnc not working in Centos

i configured XEN to use port 5902 and it worked. I installed vncserver on the host machine. Now when i connect to 5902 it redirects me to the centos machine not to the XEN guest. (0 Replies)
Discussion started by: mrjoli021
0 Replies

3. Red Hat

need help in installing Xen on Centos 6

Hello folks, I am trying to install Xen on centos 6! Kindly check out the following screen shots! What should I do? Regards (0 Replies)
Discussion started by: ahmedamer12
0 Replies

4. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

5. Red Hat

Help with setting up Networking for XEN on CentOS 5.9

Hey guys, I've reached the point of setting up VM's on XEN but the net installations seem to be failing when I am in the netinstall on the actual VM, so this leads me to believe that the networking on the host machine is not set up correctly. I am running CentOS 5.9 along with XEN and was just... (0 Replies)
Discussion started by: mccabec123
0 Replies
XEN(4)							   BSD Kernel Interfaces Manual 						    XEN(4)

NAME
xen -- Xen Hypervisor Guest (DomU) Support SYNOPSIS
To compile para-virtualized (PV) Xen guest support into an i386 kernel, place the following lines in your kernel configuration file: options PAE options XEN nooptions NATIVE To compile hardware-assisted virtualization (HVM) Xen guest support with para-virtualized drivers into an amd64 kernel, place the following lines in your kernel configuration file: options XENHVM device xenpci DESCRIPTION
The Xen Hypervisor allows multiple virtual machines to be run on a single computer system. When first released, Xen required that i386 ker- nels be compiled "para-virtualized" as the x86 instruction set was not fully virtualizable. Primarily, para-virtualization modifies the vir- tual memory system to use hypervisor calls (hypercalls) rather than direct hardware instructions to modify the TLB, although para-virtualized device drivers were also required to access resources such as virtual network interfaces and disk devices. With later instruction set extensions from AMD and Intel to support fully virtualizable instructions, unmodified virtual memory systems can also be supported; this is referred to as hardware-assisted virtualization (HVM). HVM configurations may either rely on transparently emu- lated hardware peripherals, or para-virtualized drivers, which are aware of virtualization, and hence able to optimize certain behaviors to improve performance or semantics. FreeBSD supports a fully para-virtualized (PV) kernel on the i386 architecture using options XEN and nooptions NATIVE; currently, this requires use of a PAE kernel, enabled via options PAE. FreeBSD supports hardware-assisted virtualization (HVM) on both the i386 and amd64 kernels; however, PV device drivers with an HVM kernel are only supported on the amd64 architecture, and require options XENHVM and device xenpci. Para-virtualized device drivers are required in order to support certain functionality, such as processing management requests, returning idle physical memory pages to the hypervisor, etc. Xen DomU device drivers Xen para-virtualized drivers are automatically added to the kernel if a PV kernel is compiled using options XEN; for HVM environments, options XENHVM and device xenpci are required. The follow drivers are supported: balloon Allow physical memory pages to be returned to the hypervisor as a result of manual tuning or automatic policy. blkback Exports local block devices or files to other Xen domains where they can then be imported via blkfront. blkfront Import block devices from other Xen domains as local block devices, to be used for file systems, swap, etc. console Export the low-level system console via the Xen console service. control Process management operations from Domain 0, including power off, reboot, suspend, crash, and halt requests. evtchn Expose Xen events via the /dev/xen/evtchn special device. netback Export local network interfaces to other Xen domains where they can be imported via netfront. netfront Import network interfaces from other Xen domains as local network interfaces, which may be used for IPv4, IPv6, etc. pcifront Allow physical PCI devices to be passed through into a PV domain. xenpci Represents the Xen PCI device, an emulated PCI device that is exposed to HVM domains. This device allows detection of the Xen hypervisor, and provides interrupt and shared memory services required to interact with the hypervisor. Performance considerations In general, PV drivers will perform better than emulated hardware, and are the recommended configuration for HVM installations. Using a hypervisor introduces a second layer of scheduling that may limit the effectiveness of certain FreeBSD scheduling optimisations. Among these is adaptive locking, which is no longer able to determine whether a thread holding a lock is in execution. It is recommended that adaptive locking be disabled when using Xen: options NO_ADAPTIVE_MUTEXES options NO_ADAPTIVE_RWLOCKS options NO_ADAPTIVE_SX SEE ALSO
pae(4) HISTORY
Support for xen first appeared in FreeBSD 8.1. AUTHORS
FreeBSD support for Xen was first added by Kip Macy <kmacy@FreeBSD.org> and Doug Rabson <dfr@FreeBSD.org>. Further refinements were made by Justin Gibbs <gibbs@FreeBSD.org>, Adrian Chadd <adrian@FreeBSD.org>, and Colin Percival <cperciva@FreeBSD.org>. This manual page was written by Robert Watson <rwatson@FreeBSD.org>. BUGS
FreeBSD is only able to run as a Xen guest (DomU) and not as a Xen host (Dom0). A fully para-virtualized (PV) kernel is only supported on i386, and not amd64. Para-virtualized drivers under hardware-assisted virtualization (HVM) kernel are only supported on amd64, not i386. As of this release, Xen PV DomU support is not heavily tested; instability has been reported during VM migration of PV kernels. Certain PV driver features, such as the balloon driver, are under-exercised. BSD
December 17, 2010 BSD
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy