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
dtc_write_xenhvm_conf(8)				      System Manager's Manual					  dtc_write_xenhvm_conf(8)

NAME
dtc_write_xenhvm_conf - rewrites the xen startup script with selected params SYNOPSIS
dtc_write_xenhvm_conf VPS_NUMBER MEMORY_SIZE ALL_IP_ADDRESSES VNC_CONSOLE_PASSWORD HOW_TO_BOOT DESCRIPTION
dtc_write_xenhvm_conf This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server. This script generate a Xen startup file with the parameters given to the script. PARAMETERS
Note that ALL parameters are mendatory. VPS_NUMBER has to be a number between 01 and 29 MEMORY_SIZE is the amount of memory in mega bytes that you want to have setup in the Xen startup file for this VPS ALL_IP_ADDRESSES is a list of IPs that you want to be set in the VM's startup file and in the VM's configuration. Note that the IPs have to be separated by spaces, and thus you might want to use single quotes like this: '1.2.3.4 1.2.3.5'. Note that only the first IP will be set in the VM's configuration, but the list will be set in the Xen startup file so you can use the anti-spoofing facilities of Xen if you need it (with untrusted users / unknown customers for example). VNC_CONSOLE_PASSWORD This is the VNC console password that you want to have set-up in the Xen domU configuration file, so that you can con- nect using VNC to the the setup. Note that special value no_vnc can be used to declare that you do not want the VNC console to be used at all. HOW_TO_BOOT This controls what the VPS will use to boot. A special value of hdd can be used to tell dtc_write_xenhvm_conf that you want to boot on the hard drive of the domU. Any other parameters will be used as a .iso file located in /var/lib/dtc-xen/ttyssh_home/xenXX where xenXX equals to the VPS number set in the VPS_NUMBER parameter (see above). Note that whatever is set in this parameter, dtc_write_xenhvm_conf will add as many cdrom devices as it finds .iso files in the /var/lib/dtc-xen/ttyssh_home/xenXX folder. EXAMPLE
The following command: dtc_write_xenhvm_conf 14 512 '1.2.3.4 1.2.3.5' mYvNcPaSs boot.iso will produce this config file in /etc/xen/xen14: kernel = "/usr/lib/xen/boot/hvmloader" builder = 'hvm' memory = 512 name = "xen14${VPSNAME}" vcpus=1 pae=0 acpi=0 apic=0 vif = [ 'type=ioemu, mac=00:00:00:00:00:00, ip=1.2.3.4 1.2.3.5' ] disk=[ 'phy:/dev/mapper/lvm1-xen14,ioemu:hda,w', 'file:/var/lib/dtc-xen/ttyssh_home/xen14/boot.iso,hdb:cdrom,r', 'file:/var/lib/dtc- xen/ttyssh_home/xen14/cd2.iso,hdc:cdrom,r' ] cdrom="/var/lib/dtc-xen/ttyssh_home/xen14/boot.iso" boot="d" vfb = [ "type=vnc,vncdisplay=21,vncpasswd=mYvNcPaSs" ] nographic=0 vnc=1 stdvga=1 serial='pty' Note that the above mac address will be calculated and depend on your node name: it will NOT be like the above example. UPDATES
See http://www.gplhost.com/software-dtc-xen.html for updates. dtc_write_xenhvm_conf(8)
All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy