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
XT-CREATE-XEN-CONFIG(8) 				 Perl Programmers Reference Guide				   XT-CREATE-XEN-CONFIG(8)

NAME
xt-create-config - Create a Xen configuration file for a new guest SYNOPSIS
xt-create-config [options] Filename Options: --output Specify the output directory to use. --extension Specify the file extension to use. General Options: --admins Specify some administrator accounts which should be created for use by the xen-shell. --template Specify the template file to use when creating the Xen configuration file. Help Options: --help Show this scripts help information. --manual Read this scripts manual. --version Show the version number and exit. Debugging Options: --verbose Be verbose in our execution. All other options from xen-create-image, such as the new IP address(es) to give to the new instance, will be passed as environmental variables. ABOUT
This script is invoked by xen-create-image after it has created and customised a new Xen guest. It is responsible for creating the configuration file which Xen will use to start the instance. The configuration file will be created in the directory /etc/xen using a template file to determine how the configuration file should be created. By default the script will use /etc/xen-tools/xm.tmpl as its input. INVOCATION
This script will be invoked by the xen-create-image script, rather than directly. This is because it will expect to receive the values to insert into the output template in as environmental variables. You could execute it manually via a long command line, but that is error-prone and probably not useful: hostname=foo.my.flat ip=192.168.1.2 ... xm-create-xen-config --output=/etc/xen --template=/etc/xen-tools/xm.tmpl ARGUMENT PASSING
This script will be invoked with a full copy of the arguments from xen-create-image in its environment, along with several command line arguments. This has several implications for customization. If you wish to setup a new variable in the output template such as "foo=bar" you could update the script to include "${foo}", then invoke xen-create-image with this environmental variable set. $ foo=bar xen-create-image --hostname=test.my.flat ... The environment will be duplicated/inheritted by this script when it is executed, and your variable will be included in the output file. For details on the template file syntax please see the documentation for the "Text::Template" perl module. (If you have the perldoc package installed you can read this with "perldoc Text::Template".) AUTHORS
Steve Kemp, http://www.steve.org.uk/ Axel Beckert, http://noone.org/abe/ StA~Xphane Jourdois LICENSE
Copyright (c) 2005-2009 by Steve Kemp, (c) 2010-2012 by The Xen-Tools Development Team. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license. 4.3.1 2012-06-30 XT-CREATE-XEN-CONFIG(8)
All times are GMT -4. The time now is 04:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy