Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am completely new to CentOS 5.0, (only a few days). Someone was asking me about installing Citrix XenServer on it (I don't know anything about "XenServer", I just heard about it yesterday). While searching around for info I found that CentOS 5.0 already has Xen installed on it.
Does anyone know the difference between Citrix XenServer and the Xen installed on CentOS 5.0.?
I was told if I use "uname -r" it will tell me if the Xen kernel is installed. I get: uname -r
2.6.18-92.1.10.el5xen
Which I assume means it's installed.
Now I was told t use "xm list" but "xm list" doesn't work. I get: xm list
bash: xm: command not found
Next, to setup a virtual machine use "virt-install", this does work: virt-install
What is the name of your virtual machine?
Why doesn't "xm list" work.? What do I need to do to make it work.?
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
1. I don't know the exact difference. But I know that XenSource the company behind Xen was bought by Citrix. So I guess they have a different product. Since Xen is Open Source it's been included with several distros in cluding RHEL, CentOS, Fedora and Ubuntu.
2. Why xm command doesn't work: Check whether you have the necessary packages. For example just having a Xen kernel (kernel-xen) doesn't guaruntee the availability if xen utilities.
Find what's installed
Code:
# rpm -qa xen*
Search the repos for what are available.
Code:
#yum search xen
If xen, xen-libs or any other necessary package is not installed try installing them with
Eg:
3. Try virt-manager. It's a GUI tool which can help you to manage Xen VMs. Also if your time allows ans need drives, have a look at the new oVirt project.
I have installed the xen kernel (Dom0) on CentOS 5 and is verified by the following:
root# uname -r
2.6.18-164.6.1.el5xen
I have also installed all the appropriate packages (xen xen-libs libvirt xen-kernel, etc) and I still get the following:
root# xm list
bash: xm: command not found
I can use the virt-manager GUI or virt-install from the terminal, but need to specifically use xm tools. I find it strange that after installing all the packages that they are not working.
Still no luck... Can't seem to run any xm commands... Here's what I've tried...
[root@localhost usr]# xm list
bash: xm: command not found
[root@localhost usr]# xm create
bash: xm: command not found
[root@localhost usr]# yum install xen*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.cs.wisc.edu
* base: mirrors.xmission.com
* extras: mirrors.liquidweb.com
* updates: mirror.hmc.edu
Setting up Install Process
Package xen-devel-3.0.3-94.el5_4.3.i386 already installed and latest version
Package xen-libs-3.0.3-94.el5_4.3.i386 already installed and latest version
Package xen-3.0.3-94.el5_4.3.i386 already installed and latest version
Nothing to do
[root@localhost usr]#
Again, the Virtual Machine Manager GUI is working, but I would like to run VM management from the terminal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.